GNU bug report logs - #17084
undefined variable access trigger "variable is void: unread-command-char"

Previous Next

Package: emacs;

Reported by: Jakub Jankiewicz <jcubic <at> onet.pl>

Date: Mon, 24 Mar 2014 14:36:01 UTC

Severity: normal

Tags: notabug

Merged with 17089

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17084 in the body.
You can then email your comments to 17084 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17084; Package emacs. (Mon, 24 Mar 2014 14:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jakub Jankiewicz <jcubic <at> onet.pl>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Mar 2014 14:36:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jakub Jankiewicz <jcubic <at> onet.pl>
To: bug-gnu-emacs <at> gnu.org
Subject: undefined variable access trigger "variable is void:
 unread-command-char"
Date: Mon, 24 Mar 2014 14:27:48 +0100
[Message part 1 (text/plain, inline)]
whenever I use undefined varaible this message is triggered:

(message "%s" some-undefined-variable)

message: Symbol's value as variable is void: unread-command-char

(in *Messages* buffer)

or

(mapcar 'car some-undefined-var)

mapcar: Symbol's value as variable is void: unread-command-char

when it's in .emacs file or when I call eval-last-sexp (C-x C-e)

Strange but when I call emacs -q I don't have that error I have
message from debuger (*Backtrace* buffer)

Emacs version:

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-07-27 on
roseapple, modified by Debian

I don't know what inside by .emacs is causing this, I don't have
unread-command-char in any mode I'm using.

Any idea how to find the root of the bug?

--
𝑱𝒂𝒌𝒖𝒃 𝑱𝒂𝒏𝒌𝒊𝒆𝒘𝒊𝒄𝒛 (𝑊𝑒𝑏 𝐷𝑒𝑣𝑒𝑙𝑜𝑝𝑒𝑟)
http://jcubic.pl
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17084; Package emacs. (Mon, 24 Mar 2014 14:44:02 GMT) Full text and rfc822 format available.

Message #8 received at 17084 <at> debbugs.gnu.org (full text, mbox):

From: Jakub Jankiewicz <jcubic <at> onet.pl>
To: 17084 <at> debbugs.gnu.org
Subject: It must be a bug
Date: Mon, 24 Mar 2014 15:42:59 +0100
[Message part 1 (text/plain, inline)]
When I run emacs -q and run M-x load-file "~/.emacs" I don't get that message
and have normal message with backtrace.

So this must be somewhere in Emacs not in my customizations.

--
𝑱𝒂𝒌𝒖𝒃 𝑱𝒂𝒏𝒌𝒊𝒆𝒘𝒊𝒄𝒛 (𝑊𝑒𝑏 𝐷𝑒𝑣𝑒𝑙𝑜𝑝𝑒𝑟)
http://jcubic.pl
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17084; Package emacs. (Mon, 24 Mar 2014 15:54:02 GMT) Full text and rfc822 format available.

Message #11 received at 17084 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Jakub Jankiewicz <jcubic <at> onet.pl>
Cc: 17084 <at> debbugs.gnu.org
Subject: Re: bug#17084: It must be a bug
Date: Mon, 24 Mar 2014 16:53:41 +0100
Jakub Jankiewicz <jcubic <at> onet.pl> writes:

> When I run emacs -q and run M-x load-file "~/.emacs" I don't get that
> message and have normal message with backtrace.

I'm not sure what this bug report is exactly about.  That the debugger
doesn't pop up in your situation?  Note that this is controlled by the
user option `debug-on-error'.

Or is it about the error you get about `unread-command-char' when
loading your Emacs?  Then you should bisect your config file and try to
find out what causes the error, i.e., please post a recipe starting from
emacs -Q reproducing the problem.  Also a backtrace of the error you get
would be helpful.

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17084; Package emacs. (Mon, 24 Mar 2014 16:43:02 GMT) Full text and rfc822 format available.

Message #14 received at 17084 <at> debbugs.gnu.org (full text, mbox):

From: Jakub Jankiewicz <jcubic <at> onet.pl>
To: 17084 <at> debbugs.gnu.org
Subject: Fw: bug#17084: It must be a bug
Date: Mon, 24 Mar 2014 17:42:14 +0100
[Message part 1 (text/plain, inline)]
Forget about the list.

Begin forwarded message:

Date: Mon, 24 Mar 2014 17:30:58 +0100
From: Jakub Jankiewicz <jcubic <at> onet.pl>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Subject: Re: bug#17084: It must be a bug


It pup up message with `unread-command-char` `debug-on-error' have no effect,
it don't enter debuger. And it have nothing to do with my config since when I
load .emacs file using load-file it work fine, I enter debuger. Also I run
emacs with --debug-init.

So it's wrong message and debuger don't work.

The *Messages* have:

Entering debugger...
message: Symbol's value as variable is void: unread-command-char

also *Backtrace* buffer is empty and it's not show up. I have the same when I
try to execute non-exiting function:

(foobar)

foobar: Symbol's value as variable is void: unread-command-char

It's Emacs fault since my .emacs run fine when I run it using load-file.

PS: are there other files that Emacs can run on init, maybe I miss something?

On Mon, 24 Mar 2014 16:53:41 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> wrote:

> Jakub Jankiewicz <jcubic <at> onet.pl> writes:
> 
> > When I run emacs -q and run M-x load-file "~/.emacs" I don't get that
> > message and have normal message with backtrace.
> 
> I'm not sure what this bug report is exactly about.  That the debugger
> doesn't pop up in your situation?  Note that this is controlled by the
> user option `debug-on-error'.
> 
> Or is it about the error you get about `unread-command-char' when
> loading your Emacs?  Then you should bisect your config file and try to
> find out what causes the error, i.e., please post a recipe starting from
> emacs -Q reproducing the problem.  Also a backtrace of the error you get
> would be helpful.
> 
> Michael.

--
Jakub Jankiewicz, Web Developer
http://jcubic.pl


--
Jakub Jankiewicz, Web Developer
http://jcubic.pl
[signature.asc (application/pgp-signature, attachment)]

Merged 17084 17089. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 24 Mar 2014 21:14:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17084; Package emacs. (Tue, 25 Mar 2014 09:49:02 GMT) Full text and rfc822 format available.

Message #19 received at 17084 <at> debbugs.gnu.org (full text, mbox):

From: Jakub Jankiewicz <jcubic <at> onet.pl>
To: 17084 <at> debbugs.gnu.org
Subject: Close [invalid]
Date: Tue, 25 Mar 2014 10:48:01 +0100
[Message part 1 (text/plain, inline)]
Ok, I found the reason, I had "emacs-24.1/lisp/emacs-lisp" in my load-path
path.

--
𝑱𝒂𝒌𝒖𝒃 𝑱𝒂𝒏𝒌𝒊𝒆𝒘𝒊𝒄𝒛 (𝑊𝑒𝑏 𝐷𝑒𝑣𝑒𝑙𝑜𝑝𝑒𝑟)
http://jcubic.pl
[signature.asc (application/pgp-signature, attachment)]

Added tag(s) notabug; removed tag(s) moreinfo. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 25 Mar 2014 14:10:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 17084 <at> debbugs.gnu.org and Jakub Jankiewicz <jcubic <at> onet.pl> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 25 Mar 2014 14:10:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Apr 2014 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.