From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Cross Newsgroups: gmane.emacs.bugs Subject: bug#8999: 24.0.50; abbrev-mode infinite loop Date: Tue, 05 Jul 2011 15:26:05 +1000 Message-ID: <871uy5b8nm.fsf@blind-mole.une.edu.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1309843646 345 80.91.229.12 (5 Jul 2011 05:27:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2011 05:27:26 +0000 (UTC) To: 8999@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 05 07:27:21 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QdyAL-0002ay-JQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2011 07:27:21 +0200 Original-Received: from localhost ([::1]:42096 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdyAK-0006dA-CM for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2011 01:27:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdyA4-0006d5-OJ for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2011 01:27:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdyA3-0006RH-8H for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2011 01:27:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdyA3-0006RD-50 for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2011 01:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QdyA2-0003Yi-JV; Tue, 05 Jul 2011 01:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tim Cross Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jul 2011 05:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8999 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.130984358913638 (code B ref -1); Tue, 05 Jul 2011 05:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Jul 2011 05:26:29 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qdy9U-0003Xu-Aw for submit@debbugs.gnu.org; Tue, 05 Jul 2011 01:26:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qdy9Q-0003Xh-HE for submit@debbugs.gnu.org; Tue, 05 Jul 2011 01:26:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qdy9J-0006EV-IF for submit@debbugs.gnu.org; Tue, 05 Jul 2011 01:26:19 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:37782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdy9J-0006EP-Gh for submit@debbugs.gnu.org; Tue, 05 Jul 2011 01:26:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdy9H-0006cQ-TI for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2011 01:26:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qdy9F-0006Dy-OU for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2011 01:26:15 -0400 Original-Received: from mailfilter2.une.edu.au ([129.180.1.42]:33944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qdy9E-0006CZ-SV for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2011 01:26:13 -0400 X-ASG-Debug-ID: 1309843566-01568809a84ad280001-HqB3X1 Original-Received: from postal.une.edu.au (postal.une.edu.au [129.180.1.20]) by mailfilter2.une.edu.au with ESMTP id fwQh9sUyKUseXX6H; Tue, 05 Jul 2011 15:26:06 +1000 (EST) X-Barracuda-Envelope-From: tcross@une.edu.au X-Barracuda-Apparent-Source-IP: 129.180.1.20 Original-Received: from blind-mole.une.edu.au (blind-mole.une.edu.au [129.180.124.2]) by postal.une.edu.au (Postfix) with ESMTP id E9E2680005; Tue, 5 Jul 2011 15:26:05 +1000 (EST) X-ASG-Orig-Subj: 24.0.50; abbrev-mode infinite loop X-Barracuda-Connect: postal.une.edu.au[129.180.1.20] X-Barracuda-Start-Time: 1309843566 X-Barracuda-URL: http://129.180.1.42:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at une.edu.au X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.68012 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 05 Jul 2011 01:27:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48008 Archived-At: There appears to be an infinite loop issue with the current emacs bzr sources and abbrev-mode. When abbrev-mode is enabled, typing any word and hitting an end of word marker (i.e. space) puts emacs into an infinite loop. Hitting C-g breaks out of the loop, but you cannot enter an end of word character (i.e. something that triggers an abbrev expansion lookup) without the loop.=20 To reproduce 1. Start emacs with=20 emacs -Q 2. Turn on Enter debugger on quit 3. Turn on abbrev mode M-x abbrev-mode 4. In the scratch buffer try to enter=20 (abbrev-mode 0) When you hit '-', emacs stops responding, the mouse changes to the 'busy' icon and emacs is frozen until you hit C-g.=20 The backtrace produced is shown below. The version I've tried this with is revno 104957 A build from last Wednesday did not show this problem. backtrace is Debugger entered--Lisp error: (quit) abbrev-symbol(#("abbrev" 0 6 (fontified t)) [ 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 ...]) abbrev--before-point() #[0 "\304 \211A\262@\211A\262@\211A\262@\211A\262@\203)\305\306\307\310G= \\D\"\210\205G\204;\311\312 !\204;\313 \210=11=12=13\314=04=04$\207" [noni= nteractive last-abbrev-text last-abbrev last-abbrev-location abbrev--before= -point signal wrong-number-of-arguments nil 4 window-minibuffer-p selected-= window undo-boundary abbrev-insert] 10 "\n\n(fn)"]() apply(#[0 "\304 \211A\262@\211A\262@\211A\262@\211A\262@\203)\305\306\307= \310G\\D\"\210\205G\204;\311\312 !\204;\313 \210=11=12=13\314=04=04$\207"= [noninteractive last-abbrev-text last-abbrev last-abbrev-location abbrev--= before-point signal wrong-number-of-arguments nil 4 window-minibuffer-p sel= ected-window undo-boundary abbrev-insert] 10 "\n\n(fn)"] nil) #[771 ":\2030=02@\301=3D\203=00\300@\302=05A\"\303#\207\304@\305\306\307\= 310\311\312\300!\313\"\314\315%=06A=06##\207\304\316\"\207" [(#0) t append = nil apply apply-partially make-byte-code 642 "\300@=03#\207" vconcat vector= [] 7 "\n\n(fn FUNS GLOBAL &rest ARGS)" #[0 "\304 \211A\262@\211A\262@\211A= \262@\211A\262@\203)\305\306\307\310G\\D\"\210\205G\204;\311\312 !\204;\3= 13 \210=11=12=13\314=04=04$\207" [noninteractive last-abbrev-text last-abbr= ev last-abbrev-location abbrev--before-point signal wrong-number-of-argumen= ts nil 4 window-minibuffer-p selected-window undo-boundary abbrev-insert] 1= 0 "\n\n(fn)"]] 12 "\n\n(fn FUNS GLOBAL ARGS)"](nil nil nil) expand-abbrev() self-insert-command(1) call-interactively(self-insert-command nil nil) In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4) of 2011-07-05 on blind-mole Windowing system distributor `The X.Org Foundation', version 11.0.11001000 configured using `configure '--prefix=3D/usr/local'' 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: en_AU.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Org Minor modes in effect: show-paren-mode: t display-time-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t transient-mark-mode: t abbrev-mode: t Recent input: M-x r e p o r t - e m a Recent messages: Loading /home/tcross/git/jabber-el/trunk/jabber-autoloads.el (source)...done Loading time...done Loading paren...done Loading w3m-fb...done Warning: show-paren mode with Emacspeak will not work. Loading emacspeak-keymap...done OVERVIEW Restoring clock data Loading /home/tcross/.emacs.d/org-clock-save.el (source)...done OVERVIEW Load-path shadows: /home/tcross/bzr/vm/trunk/lisp/tapestry hides /home/tcross/git/emacspeak/li= sp/tapestry /home/tcross/git/emacspeak/lisp/tetris hides /usr/local/share/emacs/24.0.50= /lisp/play/tetris Features: (shadow sort mail-extr emacspeak-message message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader emacsbug emacspeak-imenu imenu tabify org-table auctex-autoloads emacspeak-auctex tex-site emacspeak-info info package tabulated-list jabber-console emacspeak-sgml-mode sgml-mode ewoc jabber-util jabber-keymap saveplace org-w3m org-wl org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda org-info org-gnus org-bibtex org-bbdb w3m-fb paren time server tx-jabber jabber-autoloads tx-magit magit-svn magit diff-mode log-edit pcvs-util emacspeak-add-log add-log magit-key-mode tx-chrome edit-server edmacro emacspeak-kmacro kmacro tx-mew tx-fold txutils tx-eudc eudcb-ldap eudc emacspeak-eudc emacspeak-custom cus-edit cus-start eudc-vars ldap tx-plsql plsql-mode tx-sql emacspeak-sql sql tx-org org-clock emacspeak-org org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-complete org-list org-faces org-compat org-entities org-macs emacspeak-outline foldout noutline outline easy-mmode tx-mode-compile tc-w3m w3m-load tc-timestamp tc-template emacspeak-tempo tempo tc-diary appt cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs diary-lib diary-loaddefs emacspeak-calendar cal-menu calendar cal-loaddefs tc-browse-url tx-mail vm-autoloads vm-version vm-vars bbdb-autoloads emacspeak-bbdb bbdb timezone smtpmail sendmail rfc2047 rfc2045 ietf-drums mail-utils generic-x emacspeak-generic generic dired-aux dired-x emacspeak-dired emacspeak-desktop desktop dired ls-lisp tx-emacspeak emacspeak-setup emacspeak-aumix emacspeak-forms forms-mode forms emacspeak-webspace emacspeak-webutils url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse auth-source eieio assoc gnus-util password-cache url-vars mm-util mail-prsvr mailcap gweb greader browse-url g-auth gfeeds g-utils json derived emacspeak-alsaplayer emacspeak-amark emacspeak-replace emacspeak-advice shell pcomplete comint ring emacspeak-redefine emacspeak-personality byte-opt warnings bytecomp byte-compile cconv macroexp emacspeak emacspeak-widget emacspeak-view emacspeak-facemenu emacspeak-fix-interactive emacspeak-buff-menu g-cus-load cus-load regexp-opt emacspeak-sounds emacspeak-preamble emacspeak-keymap emacspeak-speak emacspeak-pronounce dtk-speak flite-voices dtk-interp voice-setup dectalk-voices espeak-voices mac-voices multispeech-voices outloud-voices dtk-unicode descr-text help-mode easymenu view dtk-css-speech acss-structure emacspeak-load-path thingatpt wid-edit advice help-fns advice-preload vc-git cl tx-paths time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) --=20 Tim Cross Information Technology=20 University of New England Phone: +61 2 6773 3210 Mobile: 0428 212217 Fax: +61 2 6773 3424 E-Mail: tcross@une.edu.au Web: http://www.une.edu.au/itd --- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Any fool can make things bigger, more complex, and more violent. It takes a touch of genius (and a lot of courage) to move in the opposite direction. =E2=80=94Albert = Einstein