* bug#15713: 24.3.50; wrong-type-argument char-table-p when visiting C++ file
@ 2013-10-25 9:15 Claudio Bley
2013-10-25 9:59 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Claudio Bley @ 2013-10-25 9:15 UTC (permalink / raw)
To: 15713
1. run "emacs -Q".
2. C-x C-f test.cpp RET
Debugger entered--Lisp error: (wrong-type-argument char-table-p nil)
char-table-parent(nil)
c++-mode()
set-auto-mode-0(c++-mode nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer test.cpp> "x:/src/test.cpp" nil nil "x:/src/test.cpp" ((1536 7 . 46561) (16106 . 22486)))
find-file-noselect("x:/src/test.cpp" nil nil t)
find-file("x:/src/test.cpp" t)
call-interactively(find-file nil nil)
command-execute(find-file)
In GNU Emacs 24.3.50.11 (i686-pc-mingw32)
of 2013-10-22 on CLAUDIO-PC
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/emacs24.3
CPPFLAGS=-I/c/Users/Claudio/src/emacs-dep/stage/include
'LDFLAGS=-shared-libgcc -L/c/Users/Claudio/src/emacs-dep/stage/lib''
Important settings:
value of $LANG: DEU
locale-coding-system: cp1252
default enable-multibyte-characters: t
Major mode: Debugger
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
transient-mark-mode: t
Recent input:
C-x C-f <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> x : / s r <tab>
t <tab> . <tab> c <tab> <return> <help-echo>
M-x r e p o <tab> r t - <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Debug on Error enabled globally
Making completion list... [2 times]
File mode specification error: (wrong-type-argument char-table-p nil)
Entering debugger...
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils debug cus-start cus-load vc-hg cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
help-mode easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type
mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
w32notify w32 multi-tty emacs)
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#15713: 24.3.50; wrong-type-argument char-table-p when visiting C++ file
2013-10-25 9:15 bug#15713: 24.3.50; wrong-type-argument char-table-p when visiting C++ file Claudio Bley
@ 2013-10-25 9:59 ` Eli Zaretskii
2013-10-25 13:09 ` Claudio Bley
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2013-10-25 9:59 UTC (permalink / raw)
To: Claudio Bley; +Cc: 15713
> Date: Fri, 25 Oct 2013 11:15:02 +0200
> From: Claudio Bley <claudio.bley@googlemail.com>
>
>
> 1. run "emacs -Q".
> 2. C-x C-f test.cpp RET
>
> Debugger entered--Lisp error: (wrong-type-argument char-table-p nil)
> char-table-parent(nil)
> c++-mode()
> set-auto-mode-0(c++-mode nil)
> set-auto-mode()
> normal-mode(t)
> after-find-file(nil t)
> find-file-noselect-1(#<buffer test.cpp> "x:/src/test.cpp" nil nil "x:/src/test.cpp" ((1536 7 . 46561) (16106 . 22486)))
> find-file-noselect("x:/src/test.cpp" nil nil t)
> find-file("x:/src/test.cpp" t)
> call-interactively(find-file nil nil)
> command-execute(find-file)
What is "test.cpp"? Or are you saying this happens with any C++
source file, even an empty one? If the latter, I cannot reproduce
that with the current trunk.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#15713: 24.3.50; wrong-type-argument char-table-p when visiting C++ file
2013-10-25 9:59 ` Eli Zaretskii
@ 2013-10-25 13:09 ` Claudio Bley
2013-10-25 13:29 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Claudio Bley @ 2013-10-25 13:09 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 15713
At Fri, 25 Oct 2013 12:59:43 +0300,
Eli Zaretskii wrote:
>
> > Date: Fri, 25 Oct 2013 11:15:02 +0200
> > From: Claudio Bley <claudio.bley@googlemail.com>
> >
> >
> > 1. run "emacs -Q".
> > 2. C-x C-f test.cpp RET
> >
> > Debugger entered--Lisp error: (wrong-type-argument char-table-p nil)
> > char-table-parent(nil)
> > c++-mode()
> > set-auto-mode-0(c++-mode nil)
> > set-auto-mode()
> > normal-mode(t)
> > after-find-file(nil t)
> > find-file-noselect-1(#<buffer test.cpp> "x:/src/test.cpp" nil nil "x:/src/test.cpp" ((1536 7 . 46561) (16106 . 22486)))
> > find-file-noselect("x:/src/test.cpp" nil nil t)
> > find-file("x:/src/test.cpp" t)
> > call-interactively(find-file nil nil)
> > command-execute(find-file)
>
> What is "test.cpp"? Or are you saying this happens with any C++
> source file, even an empty one?
Yes, I've tried several Java, C and C++ files. It happens also when
I'm doing "M-x c++-mode RET" in an empty buffer.
> If the latter, I cannot reproduce that with the current trunk.
That's what I feared... I'll try to recompile from scratch, once
again.
If you've an idea about what might cause this I'm all ears.. :-)
--
Claudio
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#15713: 24.3.50; wrong-type-argument char-table-p when visiting C++ file
2013-10-25 13:09 ` Claudio Bley
@ 2013-10-25 13:29 ` Eli Zaretskii
2013-10-25 14:31 ` Claudio Bley
0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2013-10-25 13:29 UTC (permalink / raw)
To: Claudio Bley; +Cc: 15713
> Date: Fri, 25 Oct 2013 15:09:28 +0200
> From: Claudio Bley <claudio.bley@googlemail.com>
> Cc: 15713@debbugs.gnu.org
>
> > What is "test.cpp"? Or are you saying this happens with any C++
> > source file, even an empty one?
>
> Yes, I've tried several Java, C and C++ files. It happens also when
> I'm doing "M-x c++-mode RET" in an empty buffer.
>
> > If the latter, I cannot reproduce that with the current trunk.
>
> That's what I feared... I'll try to recompile from scratch, once
> again.
>
> If you've an idea about what might cause this I'm all ears.. :-)
I'd try bootstrapping first.
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#15713: 24.3.50; wrong-type-argument char-table-p when visiting C++ file
2013-10-25 13:29 ` Eli Zaretskii
@ 2013-10-25 14:31 ` Claudio Bley
2013-10-25 15:01 ` Eli Zaretskii
0 siblings, 1 reply; 6+ messages in thread
From: Claudio Bley @ 2013-10-25 14:31 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 15713
At Fri, 25 Oct 2013 16:29:57 +0300,
Eli Zaretskii wrote:
>
> > Date: Fri, 25 Oct 2013 15:09:28 +0200
> > From: Claudio Bley <claudio.bley@googlemail.com>
> > Cc: 15713@debbugs.gnu.org
> >
> > > What is "test.cpp"? Or are you saying this happens with any C++
> > > source file, even an empty one?
> >
> > Yes, I've tried several Java, C and C++ files. It happens also when
> > I'm doing "M-x c++-mode RET" in an empty buffer.
> >
> > > If the latter, I cannot reproduce that with the current trunk.
> >
> > That's what I feared... I'll try to recompile from scratch, once
> > again.
> >
> > If you've an idea about what might cause this I'm all ears.. :-)
>
> I'd try bootstrapping first.
Never mind. A "make clean && configure && make" cleared this up.
However, getting things working this way without knowing what broke
them in the first place is a bit unsatisfactory...
I prepared a diff of the old and new install locations with "diff -x
\*.gz -x \*.exe -waur OLD NEW" but looking at it turned nothing up
that piqued my interest.
If you want to take a look, I could upload that somewhere. But I doubt
that it's worth it... Thanks!
--
Claudio
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#15713: 24.3.50; wrong-type-argument char-table-p when visiting C++ file
2013-10-25 14:31 ` Claudio Bley
@ 2013-10-25 15:01 ` Eli Zaretskii
0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2013-10-25 15:01 UTC (permalink / raw)
To: Claudio Bley; +Cc: 15713-done
> Date: Fri, 25 Oct 2013 16:31:09 +0200
> From: Claudio Bley <claudio.bley@googlemail.com>
> Cc: 15713@debbugs.gnu.org
>
> > I'd try bootstrapping first.
>
> Never mind. A "make clean && configure && make" cleared this up.
>
> However, getting things working this way without knowing what broke
> them in the first place is a bit unsatisfactory...
>
> I prepared a diff of the old and new install locations with "diff -x
> \*.gz -x \*.exe -waur OLD NEW" but looking at it turned nothing up
> that piqued my interest.
>
> If you want to take a look, I could upload that somewhere. But I doubt
> that it's worth it... Thanks!
It isn't worth it: too many stupid things, like inconsistency between
*.elc files of several core Lisp packages, could cause this.
Thanks for reporting back. I'm closing the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-10-25 15:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 9:15 bug#15713: 24.3.50; wrong-type-argument char-table-p when visiting C++ file Claudio Bley
2013-10-25 9:59 ` Eli Zaretskii
2013-10-25 13:09 ` Claudio Bley
2013-10-25 13:29 ` Eli Zaretskii
2013-10-25 14:31 ` Claudio Bley
2013-10-25 15:01 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.