From: emacs18@gmail.com
To: 8998@debbugs.gnu.org
Subject: bug#8998: culprit found
Date: Mon, 04 Jul 2011 19:14:30 -0700 [thread overview]
Message-ID: <qtmsjqlcw3d.fsf@gmail.com> (raw)
In-Reply-To: <qtmy60dd047.fsf@gmail.com>
I think the infinite loop problem that I reported was introduced by
revision 104853 shown below.
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog 2011-07-01 13:37:00 +0000
+++ lisp/ChangeLog 2011-07-01 16:41:02 +0000
@@ -1,3 +1,8 @@
+2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
+ inherit from parent.
+
2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* dired-aux.el (dired-diff): Doc fixup (bug#8816).
=== modified file 'lisp/emacs-lisp/derived.el'
--- lisp/emacs-lisp/derived.el 2011-03-22 20:58:27 +0000
+++ lisp/emacs-lisp/derived.el 2011-07-01 16:41:02 +0000
@@ -253,8 +253,11 @@
`(let ((parent (char-table-parent ,syntax)))
(unless (and parent
(not (eq parent (standard-syntax-table))))
- (set-char-table-parent ,syntax (syntax-table)))))))
-
+ (set-char-table-parent ,syntax (syntax-table)))))
+ ,(when declare-abbrev
+ `(unless (abbrev-table-get ,abbrev :parents)
+ (abbrev-table-put ,abbrev :parents
+ (list local-abbrev-table))))))
(use-local-map ,map)
,(when syntax `(set-syntax-table ,syntax))
,(when abbrev `(setq local-abbrev-table ,abbrev))
next prev parent reply other threads:[~2011-07-05 2:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-05 0:47 bug#8998: 24.0.50; expand-abbrev goes into infinite loop Richard Kim
2011-07-05 2:14 ` emacs18 [this message]
2011-07-05 3:50 ` bug#8998: further analysis of the problem emacs18
2011-07-05 18:28 ` Stefan Monnier
[not found] ` <qtm39ikiij3.fsf@gmail.com>
2011-07-06 1:09 ` Stefan Monnier
2011-07-05 15:32 ` bug#8998: #8999 seems to be duplicate of #8998 Richard Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=qtmsjqlcw3d.fsf@gmail.com \
--to=emacs18@gmail.com \
--cc=8998@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.