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: Tue, 26 Sep 2006 22:14:44 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87r6xytq1w.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 1159303280 18936 80.91.229.2 (26 Sep 2006 20:41:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Sep 2006 20:41:20 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 26 22:41:17 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 1GSJjC-0003Yy-RQ for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Sep 2006 22:40:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GSJjC-0004to-8N for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Sep 2006 16:40:30 -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:UEdqmoo2zuF7cM2mA7I9P01Or+w= Original-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1159302602 134.60.10.123 (26 Sep 2006 22:30:02 +0200) Original-Lines: 30 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.isc.org!news.glorb.com!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:142035 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:37655 Archived-At: On Tue, Sep 26 2006, Tassilo Horn wrote: > a) The abbrevs for `message-mode' I defined with `edit-abbrevs'. Then I > started writing a message (in `message-mode') and wondered why my > abbrevs don't expand. I inserted a new abbrev with > `add-mode-abbrev'. But that abbrev was added to > `text-mode-abbrev-table' instead of message-mode's one. And in > `message-mode' only abbrev defined in `text-mode-abbrev-table' > expand. Why? Is it a bug? FWIW, `message.el' sets `local-abbrev-table' to `text-mode-abbrev-table': (define-derived-mode message-mode text-mode "Message" "Major mode for editing mail and news to be sent. Like Text Mode but with these additional commands:\\ [...] M-RET `message-newline-and-reformat' (break the line and reformat)." (setq local-abbrev-table text-mode-abbrev-table) [...] I don't know if this is good or not, but it has been there since ages: | 6.202 (zsh 07-Feb-02): (setq local-abbrev-table text-mode-abbrev-table) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/