From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: abbrevs broken since 2009-11-19 03:12:51 +0000 Date: Thu, 19 Nov 2009 19:11:35 +0200 Message-ID: <878we2o2wo.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1258651634 11735 80.91.229.12 (19 Nov 2009 17:27:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 17:27:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 19 18:27:07 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NBAme-0004Xk-8b for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2009 18:27:04 +0100 Original-Received: from localhost ([127.0.0.1]:53631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBAmd-0005Fw-KR for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2009 12:27:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBAY4-0001Ss-4G for emacs-devel@gnu.org; Thu, 19 Nov 2009 12:12:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBAXz-0001N9-Bd for emacs-devel@gnu.org; Thu, 19 Nov 2009 12:11:59 -0500 Original-Received: from [199.232.76.173] (port=42713 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBAXz-0001Mx-6I for emacs-devel@gnu.org; Thu, 19 Nov 2009 12:11:55 -0500 Original-Received: from poseidon.ceid.upatras.gr ([150.140.141.169]:52040) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBAXy-0008PS-JJ for emacs-devel@gnu.org; Thu, 19 Nov 2009 12:11:55 -0500 Original-Received: from mail.ceid.upatras.gr (unknown [10.1.0.143]) by poseidon.ceid.upatras.gr (Postfix) with ESMTP id 7DFF4EB494F; Thu, 19 Nov 2009 19:11:51 +0200 (EET) Original-Received: from localhost (europa.ceid.upatras.gr [127.0.0.1]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 70CEB452F9; Thu, 19 Nov 2009 19:11:51 +0200 (EET) X-Virus-Scanned: amavisd-new at ceid.upatras.gr Original-Received: from mail.ceid.upatras.gr ([127.0.0.1]) by localhost (europa.ceid.upatras.gr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D60+1PNV0RBy; Thu, 19 Nov 2009 19:11:51 +0200 (EET) Original-Received: from kobe.laptop (ppp-94-64-253-167.home.otenet.gr [94.64.253.167]) by mail.ceid.upatras.gr (Postfix) with ESMTP id 1D16C451B2; Thu, 19 Nov 2009 19:11:51 +0200 (EET) Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.3/8.14.3) with ESMTP id nAJHBnsU021251 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Nov 2009 19:11:49 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.3/8.14.3/Submit) id nAJHBmmh021246; Thu, 19 Nov 2009 19:11:48 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117266 Archived-At: --=-=-= 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 : 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. --=-=-= Content-Disposition: inline; filename=mail-bug.txt Content-Description: backtrace of abbrev expansion Content-Transfer-Encoding: quoted-printable Debugger entered--Lisp error: (wrong-number-of-arguments #[(G73706 funs g= lobal args) "\306\307!\306\310!=18\211=19 L\210=08=0BL\210 J:\203HJ=0B#\207" [G73705 G73704 G73703 args] 4] quote -= -cl-rest-- #[nil "\306 \211=18\211A=10@=19=08\211A=10@=1A=08\211A=10@=1B=08= \211A=10@=1C=08\203)=16=10 =16=11=0B=16=12\316=09 =0B=0C$)-\207" [--cl-rest-- sym name wordstart wordend value abbrev--befo= re-point signal wrong-number-of-arguments nil 4 window-minibuffer-p selec= ted-window undo-boundary abbrev-insert noninteractive last-abbrev-text la= st-abbrev last-abbrev-location] 6]] 11] 3) #[(G73706 funs global args) "\306\307!\306\310!=18\211=19\nL\210=08=0BL= \210 J:\203H apply(#[(G73706 funs global args) "\306\307!\306\310!=18\21= 1=19\nL\210=08=0BL\210 J:\203H (lambda (&rest --cl-rest--) (apply #[... = "\306\307!\306\310!=18\211=19\nL\210=08=0BL\210 J:\203H apply((lambda (&= rest --cl-rest--) (apply #[... "\306\307!\306\310!=18\211=19\nL\210=08=0B= L\210 J:\203H #[(G73706 funs global args) "\306\307!\306\310!=18\211=19\= nL\210=08=0BL\210 J:\203H apply(#[(G73706 funs global args) "\306\307!\3= 06\310!=18\211=19\nL\210=08=0BL\210 J:\203H (lambda (&rest --cl-rest--) = (apply #[... "\306\307!\306\310!=18\211=19\nL\210=08=0BL\210 J:\203H #[(= G73703 G73704 G73705 &rest args) "=08J JA\nJ=0B#\207" [G73705 G73704 G737= 03 args] 4](--global-- --funs-- ----cl-var--73702--) apply(#[(G73703 G73704 G73705 &rest args) "=08J JA\nJ=0B#\207" [G73705 = G73704 G73703 args] 4] --global-- --funs-- ----cl-var--73702-- nil) (lambda (&rest --cl-rest--) (apply #[... "=08J JA\nJ=0B#\207" [G73705 G= 73704 G73703 args] 4] (quote --global--) (quote --funs--) (quote ----cl-v= ar--73702--) --cl-rest--))() mail-abbrev-expand-wrapper((lambda (&rest --cl-rest--) (apply #[... "=08= J JA\nJ=0B#\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 #[.= .. "=08J JA\nJ=0B#\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!=18\211=19\nL\210=08=0BL= \210 J:\203H apply(#[(G73706 funs global args) "\306\307!\306\310!=18\21= 1=19\nL\210=08=0BL\210 J:\203H (lambda (&rest --cl-rest--) (apply #[... = "\306\307!\306\310!=18\211=19\nL\210=08=0BL\210 J:\203H expand-abbrev() --=-=-=--