From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: abbrev-mode in LaTeX-mode uses text-mode-abbrev-table Date: Sat, 17 Apr 2004 16:04:15 +0200 (CEST) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1082210887 15399 80.91.224.253 (17 Apr 2004 14:08:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Apr 2004 14:08:07 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 17 16:07:55 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BEqU7-0004wD-00 for ; Sat, 17 Apr 2004 16:07:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEqSb-0004gh-Eh for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Apr 2004 10:06:21 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BEqSA-0004TJ-Pm for bug-gnu-emacs@gnu.org; Sat, 17 Apr 2004 10:05:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BEqRc-0004CN-HO for bug-gnu-emacs@gnu.org; Sat, 17 Apr 2004 10:05:51 -0400 Original-Received: from [216.184.201.86] (helo=pelican.sc3d.org) by monty-python.gnu.org with esmtp (SSLv3:DES-CBC3-SHA:168) (Exim 4.30) id 1BEqRb-0004Au-SV for bug-gnu-emacs@gnu.org; Sat, 17 Apr 2004 10:05:19 -0400 Original-Received: from mnemosyne ([82.67.147.59]) by pelican.sc3d.org (Merak 7.2.0) with ASMTP (SSL) id FFA74365 for ; Sat, 17 Apr 2004 10:04:18 -0400 X-X-Sender: rrt@mnemosyne.localdomain Original-To: Emacs Bugs X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list 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 Xref: main.gmane.org gmane.emacs.bugs:7632 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:7632 Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2003-10-27 on daffy.perf.redhat.com configured using `configure --host=i386-redhat-linux --build=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: POSIX 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_GB.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: [Originally posted to g.e.help, Stefan Monnier suggested I report it a bug.] I am using abbrev-mode in LaTeX-mode (sic, I'm using AUCTeX). I define all my abbreviations using C-x a l (add-mode-abbrev) and I just noticed when using edit-abbrevs that my abbreviations are mostly in text-mode-abbrev-table. I say mostly, because some of them had ended up (often duplicated) in log-edit-mode-abbrev-table. What is going on here? Why is there no LaTeX-mode-abbrev-table? More importantly, how is Emacs choosing which table to add abbrevs to? (I can see how it might be something like "the mode table corresponding to the last major mode I used that has a mode table": I'm using CVS, so I do use log-edit-mode.) Recent input: M-x g n u s d d d d d d d d d d d d d d d d d d d d d d n n n n n C-p C-n M-x e m c a s - r e p o a a c s - r e p o b u g r e p o r t - e m Recent messages: Retrieving newsgroup: gnu.emacs.help... Fetching headers for gnu.emacs.help...done Generating summary...done Loading gnus-cite...done Loading smiley-ems...done Parsing BBDB... (frobnicating...done) No more unread articles (Type n to exit gnu.emacs.help) No more unread newsgroups call-interactively: Text is read-only [3 times] Loading emacsbug...done