* 23.0.50; wrong-type-argument stringp cperl-mode-abbrev-table upon reading abbrevs
@ 2007-11-04 13:46 Eric Hanchrow
2007-11-04 20:23 ` Stefan Monnier
2007-11-05 4:29 ` Stefan Monnier
0 siblings, 2 replies; 3+ messages in thread
From: Eric Hanchrow @ 2007-11-04 13:46 UTC (permalink / raw)
To: emacs-pretest-bug
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I simply started Emacs with "emacs -nw".
Debugger entered--Lisp error: (wrong-type-argument stringp cperl-mode-abbrev-table)
intern(cperl-mode-abbrev-table [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...])
define-abbrev([ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] cperl-mode-abbrev-table "=head1" cperl-electric-pod 0)
apply(define-abbrev [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] (cperl-mode-abbrev-table "=head1" cperl-electric-pod 0))
define-abbrev-table(cperl-mode-abbrev-table ((cperl-mode-abbrev-table "=head1" cperl-electric-pod 0) (cperl-mode-abbrev-table "=head2" cperl-electric-pod 0) (cperl-mode-abbrev-table "=over" cperl-electric-pod 0) (cperl-mode-abbrev-table "=pod" cperl-electric-pod 0) (cperl-mode-abbrev-table "continue" cperl-electric-else 0) (cperl-mode-abbrev-table "do" cperl-electric-keyword 0) (cperl-mode-abbrev-table "else" cperl-electric-else 0) (cperl-mode-abbrev-table "elsif" cperl-electric-keyword 0) (cperl-mode-abbrev-table "for" cperl-electric-keyword 0) (cperl-mode-abbrev-table "foreach" cperl-electric-keyword 0) (cperl-mode-abbrev-table "foreachmy" cperl-electric-keyword 0) (cperl-mode-abbrev-table "formy" cperl-electric-keyword 0) (cperl-mode-abbrev-table "head1" cperl-electric-pod 0) (cperl-mode-abbrev-table "head2" cperl-electric-pod 0) (cperl-mode-abbrev-table "if" cperl-electric-keyword 0) (cperl-mode-abbrev-table "over" cperl-electric-pod 0) (cperl-mode-abbrev-table "pod" cperl-electric-pod 0) (cperl-mode-abbrev-table "unless" cperl-electric-keyword 0) (cperl-mode-abbrev-table "until" cperl-electric-keyword 0) (cperl-mode-abbrev-table "while" cperl-electric-keyword 0)))
eval-buffer(#<buffer *load*> nil "/home/erich/.abbrev_defs" nil t) ; Reading at buffer position 2442
load-with-code-conversion("/home/erich/.abbrev_defs" "/home/erich/.abbrev_defs" nil t)
load("~/.abbrev_defs" nil t)
read-abbrev-file("~/.abbrev_defs" t)
quietly-read-abbrev-file("~/.abbrev_defs")
command-line()
normal-top-level()
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/src/emacs-cvs-trunk/etc/DEBUG for instructions.
In GNU Emacs 23.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2007-11-04 on debian
configured using `configure '--enable-maintainer-mode' '--with-xpm=no' '--with-jpeg=no' '--with-gif=no' '--with-tiff=no' '--with-xft' '--with-gtk' '--enable-font-backend''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Debugger
Minor modes in effect:
erc-autojoin-mode: t
erc-match-mode: t
erc-log-mode: t
erc-services-mode: t
recentf-mode: t
display-time-mode: t
shell-dirtrack-mode: t
iswitchb-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
C-x h ESC w ESC x r e p o r t - e m TAB b TAB RET
Recent messages:
Cleaning up the recentf list...done (0 removed)
I guess we don't have tabbar available.
Loading /home/erich/.emacs.d/erc-stuff.el (source)...done
Loading /home/erich/.emacs.d/mwolsons-erc-timestamp-stuff.el (source)...done
Loading /home/erich/.environment.el (source)...done
I guess we don't have amz-common available.
Loading /home/erich/.emacs.d/elpa/package.el (source)...done
I guess we don't have xml-rpc available.
Entering debugger...
Mark set [2 times]
--
... democracy is the worst form of government except all those
other forms that have been tried from time to time.
-- Winston Churchill, cited at http://en.wikipedia.org/wiki/Democracy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 23.0.50; wrong-type-argument stringp cperl-mode-abbrev-table upon reading abbrevs
2007-11-04 13:46 23.0.50; wrong-type-argument stringp cperl-mode-abbrev-table upon reading abbrevs Eric Hanchrow
@ 2007-11-04 20:23 ` Stefan Monnier
2007-11-05 4:29 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2007-11-04 20:23 UTC (permalink / raw)
To: Eric Hanchrow; +Cc: emacs-pretest-bug
> I simply started Emacs with "emacs -nw".
Can you send us your ~/.abbrev_defs (be careful to sanitize it first, if
necessary, of course)?
Stefan
> Debugger entered--Lisp error: (wrong-type-argument stringp cperl-mode-abbrev-table)
> intern(cperl-mode-abbrev-table [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...])
> define-abbrev([ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] cperl-mode-abbrev-table "=head1" cperl-electric-pod 0)
> apply(define-abbrev [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] (cperl-mode-abbrev-table "=head1" cperl-electric-pod 0))
> define-abbrev-table(cperl-mode-abbrev-table ((cperl-mode-abbrev-table "=head1" cperl-electric-pod 0) (cperl-mode-abbrev-table "=head2" cperl-electric-pod 0) (cperl-mode-abbrev-table "=over" cperl-electric-pod 0) (cperl-mode-abbrev-table "=pod" cperl-electric-pod 0) (cperl-mode-abbrev-table "continue" cperl-electric-else 0) (cperl-mode-abbrev-table "do" cperl-electric-keyword 0) (cperl-mode-abbrev-table "else" cperl-electric-else 0) (cperl-mode-abbrev-table "elsif" cperl-electric-keyword 0) (cperl-mode-abbrev-table "for" cperl-electric-keyword 0) (cperl-mode-abbrev-table "foreach" cperl-electric-keyword 0) (cperl-mode-abbrev-table "foreachmy" cperl-electric-keyword 0) (cperl-mode-abbrev-table "formy" cperl-electric-keyword 0) (cperl-mode-abbrev-table "head1" cperl-electric-pod 0) (cperl-mode-abbrev-table "head2" cperl-electric-pod 0) (cperl-mode-abbrev-table "if" cperl-electric-keyword 0) (cperl-mode-abbrev-table "over" cperl-electric-pod 0) (cperl-mode-abbrev-table "pod" cperl-electric-pod 0) (cperl-mode-abbrev-table "unless" cperl-electric-keyword 0) (cperl-mode-abbrev-table "until" cperl-electric-keyword 0) (cperl-mode-abbrev-table "while" cperl-electric-keyword 0)))
> eval-buffer(#<buffer *load*> nil "/home/erich/.abbrev_defs" nil t) ; Reading at buffer position 2442
> load-with-code-conversion("/home/erich/.abbrev_defs" "/home/erich/.abbrev_defs" nil t)
> load("~/.abbrev_defs" nil t)
> read-abbrev-file("~/.abbrev_defs" t)
> quietly-read-abbrev-file("~/.abbrev_defs")
> command-line()
> normal-top-level()
> If Emacs crashed, and you have the Emacs process in the gdb debugger,
> please include the output from the following gdb commands:
> `bt full' and `xbacktrace'.
> If you would like to further debug the crash, please read the file
> /usr/local/src/emacs-cvs-trunk/etc/DEBUG for instructions.
> In GNU Emacs 23.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
> of 2007-11-04 on debian
> configured using `configure '--enable-maintainer-mode' '--with-xpm=no' '--with-jpeg=no' '--with-gif=no' '--with-tiff=no' '--with-xft' '--with-gtk' '--enable-font-backend''
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: nil
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: nil
> locale-coding-system: utf-8
> default-enable-multibyte-characters: t
> Major mode: Debugger
> Minor modes in effect:
> erc-autojoin-mode: t
> erc-match-mode: t
> erc-log-mode: t
> erc-services-mode: t
> recentf-mode: t
> display-time-mode: t
> shell-dirtrack-mode: t
> iswitchb-mode: t
> mouse-wheel-mode: t
> file-name-shadow-mode: t
> global-font-lock-mode: t
> font-lock-mode: t
> unify-8859-on-encoding-mode: t
> utf-translate-cjk-mode: t
> auto-compression-mode: t
> line-number-mode: t
> transient-mark-mode: t
> Recent input:
> C-x h ESC w ESC x r e p o r t - e m TAB b TAB RET
> Recent messages:
> Cleaning up the recentf list...done (0 removed)
> I guess we don't have tabbar available.
> Loading /home/erich/.emacs.d/erc-stuff.el (source)...done
> Loading /home/erich/.emacs.d/mwolsons-erc-timestamp-stuff.el (source)...done
> Loading /home/erich/.environment.el (source)...done
> I guess we don't have amz-common available.
> Loading /home/erich/.emacs.d/elpa/package.el (source)...done
> I guess we don't have xml-rpc available.
> Entering debugger...
> Mark set [2 times]
> --
> ... democracy is the worst form of government except all those
> other forms that have been tried from time to time.
> -- Winston Churchill, cited at http://en.wikipedia.org/wiki/Democracy
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 23.0.50; wrong-type-argument stringp cperl-mode-abbrev-table upon reading abbrevs
2007-11-04 13:46 23.0.50; wrong-type-argument stringp cperl-mode-abbrev-table upon reading abbrevs Eric Hanchrow
2007-11-04 20:23 ` Stefan Monnier
@ 2007-11-05 4:29 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2007-11-05 4:29 UTC (permalink / raw)
To: Eric Hanchrow; +Cc: emacs-pretest-bug
> I simply started Emacs with "emacs -nw".
> Debugger entered--Lisp error: (wrong-type-argument stringp cperl-mode-abbrev-table)
I believe the problem was in the .abbrev_defs file because of a bug in
abbrev--write. More specifically, the patch below should fix it.
Stefan
Index: abbrev.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/abbrev.el,v
retrieving revision 1.60
diff -u -u -b -r1.60 abbrev.el
--- abbrev.el 4 Nov 2007 22:58:50 -0000 1.60
+++ abbrev.el 5 Nov 2007 04:28:02 -0000
@@ -825,7 +825,7 @@
Presumes that `standard-output' points to `current-buffer'."
(unless (or (null (symbol-value sym)) (abbrev-get sym :system))
(insert " (")
- (prin1 name)
+ (prin1 sym)
(insert " ")
(prin1 (symbol-value sym))
(insert " ")
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-05 4:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-04 13:46 23.0.50; wrong-type-argument stringp cperl-mode-abbrev-table upon reading abbrevs Eric Hanchrow
2007-11-04 20:23 ` Stefan Monnier
2007-11-05 4:29 ` Stefan Monnier
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.