Comments (6)
the starter kit currently uses the user-login-name
variable provided by Emacs. If this isn't set correctly on windows then perhaps this is a more general problem than this starter kit and an upstream solution should be tried. Can you confirm if this variable has the correct value on your system?
from emacs24-starter-kit.
Hi, I just checked that the user-login-variable returns correctly. I tried
it both with the USER variable set to %USERNAME% and without the variable
and both times the user-login-variable returns the username correctly. The
problem is that if the USER variable is not set (which is not by default on
windows) Emacs throws an error about stringp being nil which probably
happens because the value of USER is nil. The error shown is "let*: Wrong
type argument: stringp, nil"
Regards,
Nikos
On Tue, Jan 17, 2012 at 5:45 PM, Eric Schulte <
[email protected]
wrote:
the starter kit currently uses the
user-login-name
variable provided by
Emacs. If this isn't set correctly on windows then perhaps this is a more
general problem than this starter kit and an upstream solution should be
tried. Can you confirm if this variable has the correct value on your
system?
Reply to this email directly or view it on GitHub:
from emacs24-starter-kit.
Could you start Emacs with the --debug-init flag enabled, and then send
me the debug trace. I'm not sure where anything in the starter kit
would attempt to use the USER variable.
Thanks,
Nikos Tzanos
[email protected]
writes:
Hi, I just checked that the user-login-variable returns correctly. I tried
it both with the USER variable set to %USERNAME% and without the variable
and both times the user-login-variable returns the username correctly. The
problem is that if the USER variable is not set (which is not by default on
windows) Emacs throws an error about stringp being nil which probably
happens because the value of USER is nil. The error shown is "let*: Wrong
type argument: stringp, nil"Regards,
Nikos
On Tue, Jan 17, 2012 at 5:45 PM, Eric Schulte <
[email protected]wrote:
the starter kit currently uses the
user-login-name
variable provided by
Emacs. If this isn't set correctly on windows then perhaps this is a more
general problem than this starter kit and an upstream solution should be
tried. Can you confirm if this variable has the correct value on your
system?
Reply to this email directly or view it on GitHub:
Reply to this email directly or view it on GitHub:
#20 (comment)
Eric Schulte
http://cs.unm.edu/~eschulte/
from emacs24-starter-kit.
Hi again,
--debug-init did not work so I tried (setq debug-on-error t) and I got the
following output:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
expand-file-name(nil
"c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/")
(let* ((user (getenv "USER")) (org (expand-file-name (concat user ".org")
starter-kit-dir)) (el (expand-file-name (concat user ".el")
starter-kit-dir)) (dir (expand-file-name user starter-kit-dir))) (cond
((file-exists-p org) org) ((file-exists-p el) el) (t dir)))
(cons (quote file) (let* ((user (getenv "USER")) (org (expand-file-name
(concat user ".org") starter-kit-dir)) (el (expand-file-name (concat user
".el") starter-kit-dir)) (dir (expand-file-name user starter-kit-dir)))
(cond ((file-exists-p org) org) ((file-exists-p el) el) (t dir))))
(list 73 (cons (quote file) (let* ((user (getenv "USER")) (org
(expand-file-name (concat user ".org") starter-kit-dir)) (el
(expand-file-name (concat user ".el") starter-kit-dir)) (dir
(expand-file-name user starter-kit-dir))) (cond ((file-exists-p org) org)
((file-exists-p el) el) (t dir)))))
(list (list 105 (cons (quote file) (concat starter-kit-dir "init.el")))
(list 73 (cons (quote file) (let* ((user (getenv "USER")) (org
(expand-file-name (concat user ".org") starter-kit-dir)) (el
(expand-file-name (concat user ".el") starter-kit-dir)) (dir
(expand-file-name user starter-kit-dir))) (cond ((file-exists-p org) org)
((file-exists-p el) el) (t dir))))) (list 115 (cons (quote file) (concat
starter-kit-dir "starter-kit.org"))) (list 114 (cons (quote file) (concat
starter-kit-dir "starter-kit-registers.org"))))
( ((105 (file \, (concat starter-kit-dir "init.el"))) (73 (file \, (let\* ((user (getenv "USER")) (org (expand-file-name ... starter-kit-dir)) (el (expand-file-name ... starter-kit-dir)) (dir (expand-file-name user starter-kit-dir))) (cond ((file-exists-p org) org) ((file-exists-p el) el) (t dir))))) (115 (file \, (concat starter-kit-dir "starter-kit.org"))) (114 (file \, (concat starter-kit-dir "starter-kit-registers.org"))))) (let ((--cl-dolist-temp-- (
((105 (file , (concat starter-kit-dir
"init.el"))) (73 (file , (let* ... ...))) (115 (file , (concat
starter-kit-dir "starter-kit.org"))) (114 (file , (concat starter-kit-dir "
starter-kit-registers.org")))))) r) (while --cl-dolist-temp-- (setq r (car
--cl-dolist-temp--)) (set-register (car r) (cadr r)) (setq
--cl-dolist-temp-- (cdr --cl-dolist-temp--))))
(catch (quote --cl-block-nil--) (let ((--cl-dolist-temp-- ( ((105 (file \, ...)) (73 (file \, ...)) (115 (file \, ...)) (114 (file \, ...))))) r) (while --cl-dolist-temp-- (setq r (car --cl-dolist-temp--)) (set-register (car r) (cadr r)) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))))) (cl-block-wrapper (catch (quote --cl-block-nil--) (let ((--cl-dolist-temp-- (
((105 ...) (73 ...) (115 ...) (114 ...)))) r)
(while --cl-dolist-temp-- (setq r (car --cl-dolist-temp--)) (set-register
(car r) (cadr r)) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))))))
(block nil (let ((--cl-dolist-temp-- ( ((105 (file \, ...)) (73 (file \, ...)) (115 (file \, ...)) (114 (file \, ...))))) r) (while --cl-dolist-temp-- (setq r (car --cl-dolist-temp--)) (set-register (car r) (cadr r)) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--))))) (dolist (r (
((105 (file , (concat starter-kit-dir "init.el"))) (73
(file , (let* (... ... ... ...) (cond ... ... ...)))) (115 (file ,
(concat starter-kit-dir "starter-kit.org"))) (114 (file , (concat
starter-kit-dir "starter-kit-registers.org")))))) (set-register (car r)
(cadr r)))
eval-buffer(#<buffer load<3>> nil
"c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit-registers.el"
nil t) ; Reading at buffer position 726
load-with-code-conversion("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit-registers.el"
"c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit-registers.el"
nil nil)
load("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit-registers.el"
nil nil t)
load-file("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit-registers.el")
org-babel-load-file("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/
starter-kit-registers.org")
(let ((file (expand-file-name (if (string-match "starter-kit-.+.org"
file) file (format "starter-kit-%s.org" file)) starter-kit-dir)))
(org-babel-load-file (if header-or-tag (let* ((base (file-name-nondirectory
file)) (dir (file-name-directory file)) (partial-file (expand-file-name
(concat "." ... ".part." header-or-tag ".org") dir))) (unless
(file-exists-p partial-file) (with-temp-file partial-file (insert
(with-temp-buffer ... ...)))) partial-file) file)))
starter-kit-load("starter-kit-registers.org")
eval-buffer(#<buffer load<2>> nil
"c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit.el" nil
t) ; Reading at buffer position 3314
load-with-code-conversion("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit.el"
"c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit.el" nil
nil)
load("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit.el"
nil nil t)
load-file("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/starter-kit.el")
org-babel-load-file("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/
starter-kit.org")
eval-buffer(#<buffer load> nil
"c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/init.el" nil t) ;
Reading at buffer position 519
load-with-code-conversion("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/init.el"
"c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/init.el" nil t)
load("c:/Users/nikos.tzanos.IB/AppData/Roaming/.emacs.d/e24/init.el" nil
t)
command-line-1(("-l"
"C:\Users\nikos.tzanos.IB\AppData\Roaming.emacs.d\e24\init.el"))
command-line()
normal-top-level()
I hope I helped,
Nikos
On Wed, Jan 18, 2012 at 9:18 PM, Eric Schulte <
[email protected]
wrote:
Could you start Emacs with the --debug-init flag enabled, and then send
me the debug trace. I'm not sure where anything in the starter kit
would attempt to use the USER variable.Thanks,
Nikos Tzanos
[email protected]
writes:Hi, I just checked that the user-login-variable returns correctly. I
tried
it both with the USER variable set to %USERNAME% and without the variable
and both times the user-login-variable returns the username correctly.
The
problem is that if the USER variable is not set (which is not by default
on
windows) Emacs throws an error about stringp being nil which probably
happens because the value of USER is nil. The error shown is "let*: Wrong
type argument: stringp, nil"Regards,
Nikos
On Tue, Jan 17, 2012 at 5:45 PM, Eric Schulte <
[email protected]wrote:
the starter kit currently uses the
user-login-name
variable provided
by
Emacs. If this isn't set correctly on windows then perhaps this is a
more
general problem than this starter kit and an upstream solution should be
tried. Can you confirm if this variable has the correct value on your
system?
Reply to this email directly or view it on GitHub:
Reply to this email directly or view it on GitHub:
Eric Schulte
http://cs.unm.edu/~eschulte/
Reply to this email directly or view it on GitHub:
from emacs24-starter-kit.
AH,
The USER environment variable is used in the starter-kit-registers.org file. I just pushed up a change which should fix this problem, please let me know if it persists.
Thanks,
from emacs24-starter-kit.
Problem fixed.
Thanks.
On Thu, Jan 19, 2012 at 7:09 PM, Eric Schulte <
[email protected]
wrote:
AH,
The USER environment variable is used in the starter-kit-registers.orgfile. I just pushed up a change which should fix this problem, please let
me know if it persists.Thanks,
Reply to this email directly or view it on GitHub:
from emacs24-starter-kit.
Related Issues (20)
- How to override buildin CEDET HOT 1
- Auto completion of C-x-C-f HOT 3
- flet is deprecated HOT 1
- espresso mode no longer available, renamed to js-mode HOT 1
- Publish to MELPA? HOT 6
- adding turn-on-flyspell text-mode hook throws an error HOT 1
- How to use starter kit with desktop.el and other init-dependant functions? HOT 1
- why three elisp code in starter-kit.org no run? HOT 2
- head of packaged python-mode needs python-mode installation dir set HOT 1
- starter-kit-lisp.org breaks the SLIME debugger
- custom.el not loading HOT 1
- Autocompletion? HOT 2
- "Package `emacs-24.4' is unavailable" HOT 1
- conflict between `org-src-tab-acts-natively` and yasnippet
- No starter-git-gnus-imap.el was found
- Upgrading org-mode?
- Put files to be loaded in a sub-directory of .emacs.d
- [:Query] on starter-kit.org
- starter-kit-gnus.org contains stuff related to GMail which seems weird
- Common code for personal settings that aren't dependent on usernames or system-names
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs24-starter-kit.