Re: [Bug 583133] Re: Symbol's value as variable is void: on

2010-05-21 Thread danh
Hi Era, Thanks for all your help in all of the comments you've made (i think each one has something useful). Just for reference for anybody who happens to have the same problem and stumbles over this thread, what i ended up doing is: sudo apt-get --reinstall install emacs22-gtk which seems

[Bug 583133] Re: Symbol's value as variable is void: on

2010-05-21 Thread era
Actually /etc/emacs/site-start.el is for site customizations, and is empty by default. The files in /etc/emacs/site-start.d are loaded on startup as well; I'm not sure if this is a Debian/Ubuntu customization or the default behavior of Emacs. But your *Messages* snippet above indicates that this

[Bug 583133] Re: Symbol's value as variable is void: on

2010-05-21 Thread era
I'm taking the liberty to mark this as Invalid, as per your latest comment. (However, -Q also disables any installed Emacs extensions, so the problem need not necessarily be in a local site file.) For the record, dpkg -S tells you which package installed a particular file. So the question is rea

Re: [Bug 583133] Re: Symbol's value as variable is void: on

2010-05-20 Thread danh
Ah, bingo! emacs -Q works without error. So first, thanks for pointing out the -Q option which looks very useful, and second, i suppose there must be a buggy local site file. (But hard to imagine what, as we have not customized anything on a site-wide basis.) I see from the emacs man page that

[Bug 583133] Re: Symbol's value as variable is void: on

2010-05-20 Thread era
Oh, and could you please also check with emacs -Q, to rule out a local site file with a bug in it. -- Symbol's value as variable is void: on https://bugs.launchpad.net/bugs/583133 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubunt

[Bug 583133] Re: Symbol's value as variable is void: on

2010-05-20 Thread era
> (Could it be trying > to eval something which was not meant to be eval'ed?) That's what I'm guessing. Can you do an ls -l and dpkg -S on /usr/bin/emacs still, please? It should be a symlink to /etc/alternatives/emacs which in turn should be a symlink to /usr/bin/emacs22 (and so on for a couple

Re: [Bug 583133] Re: Symbol's value as variable is void: on

2010-05-20 Thread danh
emacs is aliased to `emacs -nw' emacs is /usr/bin/emacs But --- there's no particular reason for the symbol 'on' to be defined, is there? (Could it be trying to eval something which was not meant to be eval'ed?) dan era wrote: > Do you have a wrapper of some sort? What does "type -all emacs"

[Bug 583133] Re: Symbol's value as variable is void: on

2010-05-20 Thread era
Do you have a wrapper of some sort? What does "type -all emacs" in bash return? I can reproduce the symptom with emacs --eval on but emacs22 as shipped in 9.10 does not do this, I believe. I have seen no other reports of this behavior and it's over six months since 9.10 was released so I doubt

Re: [Bug 583133] Re: Symbol's value as variable is void: on

2010-05-20 Thread danh
Thanks Era for looking into this. The answer is "yes": If i start with -q (or --no-init-file) it comes up exactly the same. So i don't think the fault is the ~/.emacs. The *Messages* buffer has this in it: ("emacs") Loading encoded-kb...done command-line: Symbol's value as variable is v

[Bug 583133] Re: Symbol's value as variable is void: on

2010-05-20 Thread era
I'm not sure I understand. If you start up emacs with emacs -q, do you still get this error? I'm setting the Status of this bug report to Incomplete to mark it as pending on a reply from you. It can be set back to New once you supply the requested information. Thank you. ** Changed in: emacs22