From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13348 Path: main.gmane.org!not-for-mail From: Michael R Cook Newsgroups: gmane.emacs.gnus.general Subject: Re: who is unsetting local-abbrev-table in message.el? Date: 24 Dec 1997 13:47:13 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <8ciuselimj.fsf@gadget.cscaper.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035152731 8843 80.91.224.250 (20 Oct 2002 22:25:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:25:31 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id LAA26444 for ; Wed, 24 Dec 1997 11:00:57 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA28720 for ; Wed, 24 Dec 1997 13:02:17 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id MAJ25030; Wed, 24 Dec 1997 12:48:53 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 24 Dec 1997 12:48:00 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id MAA25017 for ; Wed, 24 Dec 1997 12:47:53 -0600 (CST) Original-Received: (qmail 1506 invoked by uid 504); 24 Dec 1997 18:47:37 -0000 Original-Received: (qmail 1503 invoked from network); 24 Dec 1997 18:47:37 -0000 Original-Received: from cognex-bh.cognex.com (198.232.30.66) by claymore.vcinet.com with SMTP; 24 Dec 1997 18:47:37 -0000 Original-Received: (from uucp@localhost) by cognex-bh.cognex.com (8.6.12/8.6.11) id NAA29104; Wed, 24 Dec 1997 13:47:35 -0500 Original-Received: from isys.com by cognex-bh.cognex.com via smap (3.2) id xma029101; Wed, 24 Dec 97 13:47:19 -0500 Original-Received: from erawan.cognex.com (erawan.cognex.com [10.10.1.80]) by cognex.cognex.com (8.8.7/8.8.7) with ESMTP id NAA26703; Wed, 24 Dec 1997 13:47:17 -0500 (EST) Original-Received: by erawan.cognex.com (8.6.12/8.6.12) id NAA18771; Wed, 24 Dec 1997 13:47:15 -0500 Original-To: Randal Schwartz , ding@gnus.org In-Reply-To: Michael R Cook's message of "24 Dec 1997 13:31:57 -0500" Original-Lines: 21 X-Mailer: Quassia Gnus v0.18/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:13348 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:13348 >>>>> "MRC" == Michael R Cook writes: >>>>> "RS" == Randal Schwartz writes: RS> And sure enough, the next time I went into message mode for a compose, RS> mode-line says abbrev is on, message-mode-mode-abbrev-table looked RS> fine, *but* local-abbrev-table was nil! How come? MRC> For me, local-abbrev-table is setup correctly initially (typing C-h MRC> v local-abbrev-table immediately upon entering message mode, I see MRC> that the symbol is set as expected--non-nil), but type a little and MRC> check again, and the symbol has been magically set to nil. `mailabbrev.el' is the culprit. `sendmail-pre-abbrev-expand-hook' tries to dynamically select between two abbrev tables (mail-mode-abbrev-table and mail-abbrevs) based on point. So, you could put your abbrevs into `mail-mode-abbrev-table' rather than `message-mode-abbrev-table'. Dunno whether to call that a workaround or a fix. Michael.