Re: void-variable c-subword-mode with debug-on-error

2006-04-15 Thread Eli Zaretskii
> From: Richard Stallman <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org > Date: Fri, 14 Apr 2006 18:44:05 -0400 > > It doesn't seem to help, at least not on MS-Windows. I still get the > error message when I invoke Emacs like this: > > emacs -Q -f toggle-deb

Re: void-variable c-subword-mode with debug-on-error

2006-04-14 Thread Richard Stallman
It doesn't seem to help, at least not on MS-Windows. I still get the error message when I invoke Emacs like this: emacs -Q -f toggle-debug-on-error test.c and then click on the "C" menu-bar item. Would you please investigate why? Did that defvar get loaded in your failure cas

Re: void-variable c-subword-mode with debug-on-error

2006-04-14 Thread Eli Zaretskii
> Cc: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org > From: Stefan Monnier <[EMAIL PROTECTED]> > Date: Fri, 14 Apr 2006 16:20:31 -0400 > > But in retrospect, don't you agree it was obvious? No. ___ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.

Re: void-variable c-subword-mode with debug-on-error

2006-04-14 Thread Stefan Monnier
>> >> > The menu item in question toggles a minor mode whose symbol is >> >> > autoloaded (or at least it's supposed to). How will testing with >> >> > boundp help in this situation? >> >> I don't see where the variable is autoloaded. >> > Note that I didn't say ``variable'', I said ``symbol''. >>

Re: void-variable c-subword-mode with debug-on-error

2006-04-14 Thread Eli Zaretskii
> Cc: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org > From: Stefan Monnier <[EMAIL PROTECTED]> > Date: Fri, 14 Apr 2006 07:32:50 -0400 > > >> > The menu item in question toggles a minor mode whose symbol is > >> > autoloaded (or at least it's supposed to). How will testing with > >> > boundp help

Re: void-variable c-subword-mode with debug-on-error

2006-04-14 Thread Stefan Monnier
>> > The menu item in question toggles a minor mode whose symbol is >> > autoloaded (or at least it's supposed to). How will testing with >> > boundp help in this situation? >> I don't see where the variable is autoloaded. > Note that I didn't say ``variable'', I said ``symbol''. Check the thread

Re: void-variable c-subword-mode with debug-on-error

2006-04-14 Thread Stefan Monnier
> Stefan had a different suggestion, but I couldn't parse it. Hard to believe. Here's the patch I installed. Stefan --- lisp/progmodes/cc-langs.el 24 Feb 2006 15:33:02 - 1.37 +++ lisp/progmodes/cc-langs.el 14 Apr 2006 11:29:32 - @@ -267,7 +267,8 @@ ["Hungry dele

Re: void-variable c-subword-mode with debug-on-error

2006-04-14 Thread Eli Zaretskii
> Cc: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org > From: Stefan Monnier <[EMAIL PROTECTED]> > Date: Thu, 13 Apr 2006 12:29:04 -0400 > > > The menu item in question toggles a minor mode whose symbol is > > autoloaded (or at least it's supposed to). How will testing with > > boundp help in this

Re: void-variable c-subword-mode with debug-on-error

2006-04-14 Thread Eli Zaretskii
> From: Richard Stallman <[EMAIL PROTECTED]> > CC: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org > Date: Fri, 14 Apr 2006 00:19:11 -0400 > > Richard, can you try this in a windowed session, and if so, can you > try clicking the menu bar? > > I now get the error even before clicking. > It s

Re: void-variable c-subword-mode with debug-on-error

2006-04-14 Thread Eli Zaretskii
> Cc: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org > From: Stefan Monnier <[EMAIL PROTECTED]> > Date: Thu, 13 Apr 2006 13:36:33 -0400 > > The function is autoloaded, but not the variable (and I think it's > perfectly correct that way: the fix shouldn't be to autoload the var, but > to check bound

Re: void-variable c-subword-mode with debug-on-error

2006-04-13 Thread Richard Stallman
Richard, can you try this in a windowed session, and if so, can you try clicking the menu bar? I now get the error even before clicking. It seems to occur because cc-langs.el has been loaded and cc-subword.el has not been. This patch fixes it. Someone please install it if I don't. *** c

Re: void-variable c-subword-mode with debug-on-error

2006-04-13 Thread Stefan Monnier
> "Eli" == Eli Zaretskii <[EMAIL PROTECTED]> writes: >> Cc: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org >> From: Stefan Monnier <[EMAIL PROTECTED]> >> Date: Thu, 13 Apr 2006 12:29:04 -0400 >> >> > The menu item in question toggles a minor mode whose symbol is >> > autoloaded (or at least it

Re: void-variable c-subword-mode with debug-on-error

2006-04-13 Thread Eli Zaretskii
> Cc: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org > From: Stefan Monnier <[EMAIL PROTECTED]> > Date: Thu, 13 Apr 2006 12:29:04 -0400 > > > The menu item in question toggles a minor mode whose symbol is > > autoloaded (or at least it's supposed to). How will testing with > > boundp help in this

Re: void-variable c-subword-mode with debug-on-error

2006-04-13 Thread Stefan Monnier
> The menu item in question toggles a minor mode whose symbol is > autoloaded (or at least it's supposed to). How will testing with > boundp help in this situation? I don't see where the variable is autoloaded. As with allmost minor modes, if the variable is unbound, the minor mode can be assumed

Re: void-variable c-subword-mode with debug-on-error

2006-04-13 Thread Eli Zaretskii
> Cc: Ralf Angeli <[EMAIL PROTECTED]>, emacs-pretest-bug@gnu.org > From: Stefan Monnier <[EMAIL PROTECTED]> > Date: Thu, 13 Apr 2006 07:57:51 -0400 > > > With the above recipe, namely: > > > emacs -Q -f toggle-debug-on-error test.c > > > this doesn't happen for me on Windows as well. Only if

Re: void-variable c-subword-mode with debug-on-error

2006-04-13 Thread Stefan Monnier
> With the above recipe, namely: > emacs -Q -f toggle-debug-on-error test.c > this doesn't happen for me on Windows as well. Only if I touch the > menu bar, I see the error message. Either way, the error shoud be fixed (e.g. by checking boundp in the menubar entry's expression). Ste

Re: void-variable c-subword-mode with debug-on-error

2006-04-13 Thread Eli Zaretskii
> From: Ralf Angeli <[EMAIL PROTECTED]> > Date: Wed, 12 Apr 2006 21:34:04 +0200 > > * Richard Stallman (2006-04-10) writes: > > > >> emacs -Q -f toggle-debug-on-error test.c > > >> > > >> the following error occurs: > > >> > > >> Debugger entered--Lisp error: (void-variable

Re: void-variable c-subword-mode with debug-on-error

2006-04-13 Thread Eli Zaretskii
> From: Ralf Angeli <[EMAIL PROTECTED]> > Date: Wed, 12 Apr 2006 21:34:04 +0200 > > * Richard Stallman (2006-04-10) writes: > > > >> emacs -Q -f toggle-debug-on-error test.c > > >> > > >> the following error occurs: > > >> > > >> Debugger entered--Lisp error: (void-variable

Re: void-variable c-subword-mode with debug-on-error

2006-04-12 Thread Ralf Angeli
* Richard Stallman (2006-04-10) writes: > >> emacs -Q -f toggle-debug-on-error test.c > >> > >> the following error occurs: > >> > >> Debugger entered--Lisp error: (void-variable c-subword-mode) > > It did not happen for me on GNU/Linux. > (I fetched the sources today and reb

Re: void-variable c-subword-mode with debug-on-error

2006-04-09 Thread Nick Roberts
Richard Stallman writes: > >> emacs -Q -f toggle-debug-on-error test.c > >> > >> the following error occurs: > >> > >> Debugger entered--Lisp error: (void-variable c-subword-mode) > > It did not happen for me on GNU/Linux. > (I fetched the sources today and rebuilt.)

Re: void-variable c-subword-mode with debug-on-error

2006-04-09 Thread Richard Stallman
>> emacs -Q -f toggle-debug-on-error test.c >> >> the following error occurs: >> >> Debugger entered--Lisp error: (void-variable c-subword-mode) It did not happen for me on GNU/Linux. (I fetched the sources today and rebuilt.) ___

Re: void-variable c-subword-mode with debug-on-error

2006-04-09 Thread Ralf Angeli
* Eli Zaretskii (2006-04-09) writes: >> From: Ralf Angeli <[EMAIL PROTECTED]> >> >> c:/Programme/Emacs/bin/emacs -batch -no-site-file -eval (let* ((x (if >> (featurep (quote xemacs)) "yes" "no"))) (write-region (if (stringp x) x >> (prin1-to-string x)) nil "./conftest-140")) >> Wrong type argum

Re: void-variable c-subword-mode with debug-on-error

2006-04-09 Thread Eli Zaretskii
> Cc: emacs-pretest-bug@gnu.org > From: Ralf Angeli <[EMAIL PROTECTED]> > Date: Sun, 09 Apr 2006 10:08:44 +0200 > > Unrelated, but annoying: With the new build on Windows AUCTeX cannot > be configured. I got the following error in config.log: > > configure:1539: checking if c:/Programme/Emacs/bi

Re: void-variable c-subword-mode with debug-on-error

2006-04-09 Thread Ralf Angeli
* Eli Zaretskii (2006-04-08) writes: >> From: Ralf Angeli <[EMAIL PROTECTED]> >> Date: Sat, 08 Apr 2006 21:23:21 +0200 >> >> When starting Emacs with >> >> emacs -Q -f toggle-debug-on-error test.c >> >> the following error occurs: >> >> Debugger entered--Lisp error: (void-variable c-subword-mo

Re: void-variable c-subword-mode with debug-on-error

2006-04-08 Thread Eli Zaretskii
> From: Ralf Angeli <[EMAIL PROTECTED]> > Date: Sat, 08 Apr 2006 21:23:21 +0200 > > When starting Emacs with > > emacs -Q -f toggle-debug-on-error test.c > > the following error occurs: > > Debugger entered--Lisp error: (void-variable c-subword-mode) > > Ater quitting the debugger with `q' the

void-variable c-subword-mode with debug-on-error

2006-04-08 Thread Ralf Angeli
When starting Emacs with emacs -Q -f toggle-debug-on-error test.c the following error occurs: Debugger entered--Lisp error: (void-variable c-subword-mode) Ater quitting the debugger with `q' the error can be provoked as well by clicking with the mouse on a menu. (That's in fact the way I notic