unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* abbrevs broken since 2009-11-19 03:12:51 +0000
@ 2009-11-19 17:11 Giorgos Keramidas
  2009-11-19 20:36 ` Manoj Srivastava
  2009-11-19 20:59 ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Giorgos Keramidas @ 2009-11-19 17:11 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 950 bytes --]

I pulled a new Emacs snapshot from the Git repository this morning and
noticed that typing a space in message-mode fails with a backtrace
similar to the one attached to this message.

Bisecting the changes since my last successful update I found out that
this is the first change that breaks abbrevs in message-mode:

: commit be11c6010ad352ebb93a7921f356a436a6d49f64
: Author: Stefan Monnier <monnier@cs.yale.edu>
: Date:   Thu Nov 19 03:12:51 2009 +0000
:
:     * abbrev.el (abbrev-with-wrapper-hook): (re)move...
:     * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
:     * minibuffer.el (completion-in-region-functions): New hook.
:     (completion-in-region): New function.
:     * emacs-lisp/lisp.el (lisp-complete-symbol):
:     * pcomplete.el (pcomplete-std-complete): Use it.

The backtrace is attached below, but it includes bytecode bits, so if it
doesn't help a lot, I'll try looking at the changes in a few minutes.


[-- Attachment #2: backtrace of abbrev expansion --]
[-- Type: text/plain, Size: 2231 bytes --]

Debugger entered--Lisp error: (wrong-number-of-arguments #[(G73706 funs global args) "\306\307!\306\310!\x18\211\x19
L\210\b\vL\210	J:\203HJ\v#\207" [G73705 G73704 G73703 args] 4] quote --cl-rest-- #[nil "\306 \211\x18\211A\x10@\x19\b\211A\x10@\x1a\b\211A\x10@^[\b\211A\x10@\x1c\b\203)\x16\x10	\x16\x11\v\x16\x12\316	
\v\f$)-\207" [--cl-rest-- sym name wordstart wordend value abbrev--before-point signal wrong-number-of-arguments nil 4 window-minibuffer-p selected-window undo-boundary abbrev-insert noninteractive last-abbrev-text last-abbrev last-abbrev-location] 6]] 11] 3)
  #[(G73706 funs global args) "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  apply(#[(G73706 funs global args) "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  (lambda (&rest --cl-rest--) (apply #[... "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  apply((lambda (&rest --cl-rest--) (apply #[... "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  #[(G73706 funs global args) "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  apply(#[(G73706 funs global args) "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  (lambda (&rest --cl-rest--) (apply #[... "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  #[(G73703 G73704 G73705 &rest args) "\bJ	JA\nJ\v#\207" [G73705 G73704 G73703 args] 4](--global-- --funs-- ----cl-var--73702--)
  apply(#[(G73703 G73704 G73705 &rest args) "\bJ	JA\nJ\v#\207" [G73705 G73704 G73703 args] 4] --global-- --funs-- ----cl-var--73702-- nil)
  (lambda (&rest --cl-rest--) (apply #[... "\bJ	JA\nJ\v#\207" [G73705 G73704 G73703 args] 4] (quote --global--) (quote --funs--) (quote ----cl-var--73702--) --cl-rest--))()
  mail-abbrev-expand-wrapper((lambda (&rest --cl-rest--) (apply #[... "\bJ	JA\nJ\v#\207" [G73705 G73704 G73703 args] 4] (quote --global--) (quote --funs--) (quote ----cl-var--73702--) --cl-rest--)))
  apply(mail-abbrev-expand-wrapper (lambda (&rest --cl-rest--) (apply #[... "\bJ	JA\nJ\v#\207" [G73705 G73704 G73703 args] 4] (quote --global--) (quote --funs--) (quote ----cl-var--73702--) --cl-rest--)) nil)
  #[(G73706 funs global args) "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  apply(#[(G73706 funs global args) "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  (lambda (&rest --cl-rest--) (apply #[... "\306\307!\306\310!\x18\211\x19\nL\210\b\vL\210	J:\203H  expand-abbrev()

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-19 23:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-19 17:11 abbrevs broken since 2009-11-19 03:12:51 +0000 Giorgos Keramidas
2009-11-19 20:36 ` Manoj Srivastava
2009-11-19 20:59 ` Stefan Monnier
2009-11-19 22:24   ` Giorgos Keramidas
2009-11-19 23:29   ` Giorgos Keramidas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).