From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.help Subject: Re: Troubles with abbrev-mode Date: Sat, 30 Sep 2006 10:02:08 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87r6xytq1w.fsf@baldur.nicundtas.de> <87hcyu8g9p.fsf@baldur.nicundtas.de> <871wpx1whw.fsf@baldur.nicundtas.de> <878xk2e2rl.fsf@baldur.nicundtas.de> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1159605634 22868 80.91.229.2 (30 Sep 2006 08:40:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 30 Sep 2006 08:40:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 30 10:40:30 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GTaOY-0001J2-GN for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Sep 2006 10:40:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GTaOY-0007nL-2E for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Sep 2006 04:40:26 -0400 Original-Newsgroups: gnu.emacs.help X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T; w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv, vbL^XF1nIp\:F=$Ei2o&mEe:%N~, :3]vtQ~s9u$9izmX$IF@VgGl7/, ^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:2I0NewTCmsWqAqK5+7HC3Qy8HLc= Original-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1159604249 134.60.10.123 (30 Sep 2006 10:17:29 +0200) Original-Lines: 33 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.uni-ulm.de!viandante.physik.uni-ulm.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:142110 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37731 Archived-At: On Sat, Sep 30 2006, Tassilo Horn wrote: > So the only question is why gnus uses text-mode-abbrev-table (where > interactively added abbrevs go, too) when there's a > message-mode-abbrev-table in `edit-abbrevs' by default. `define-derived-mode' does this by default: ,----[ (info "(elisp)Derived Modes") | Emacs 22 ] | * The new mode has its own abbrev table, kept in the variable | `VARIANT-abbrev-table', unless you override this using the | `:abbrev-table' keyword (see below). | | [...] | | `:abbrev-table' | You can use this to explicitly specify an abbrev table for | the new mode. If you specify a `nil' value, the new mode | uses the same abbrev table as PARENT, or | `fundamental-mode-abbrev-table' if PARENT is `nil'. (Again, | a `nil' value is _not_ equivalent to not specifying this | keyword.) `---- Maybe `message-mode' could use ":abbrev-table nil" instead of "(setq local-abbrev-table text-mode-abbrev-table)". (Probably we need it for compatibility with Emacs 21 and/or XEmacs.) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/