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: Fri, 29 Sep 2006 22:52:27 +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> 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 1159566076 4462 80.91.229.2 (29 Sep 2006 21:41:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Sep 2006 21:41:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 29 23:41:04 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 1GTQ69-0002SG-Fu for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Sep 2006 23:40:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GTQ68-0002LD-Vu for geh-help-gnu-emacs@m.gmane.org; Fri, 29 Sep 2006 17:40:45 -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:3S6vI54Wn7tI71JPm51l/bdjhME= Original-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1159563189 134.60.10.123 (29 Sep 2006 22:53:09 +0200) Original-Lines: 46 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-ulm.de!viandante.physik.uni-ulm.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:142100 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:37722 Archived-At: On Wed, Sep 27 2006, Tassilo Horn wrote: > Reiner Steib writes: [...] > If you know what's going on, you can handle it, but for a normal user > without any knowledge about how abbrev-mode works it's simply wrong > accoring to the docs. > > ,----[ (info "(emacs)Defining Abbrevs") ] [...] >> `message-mode' derived from `text-mode': Do we have guidelines / >> conventions / best practice in Emacs on how to deal with abbrevs in >> derived modes? > > As I'm not really involved in emacs development I don't know. Should I > start a new thread about point 2 in gmane.emacs.devel? Maybe a good idea. [...] >> I don't have a strong opinion here (as I don't know what the docs >> suggest here). > > At least you have to admit that it's inconvenient for the user if he > adds abbrevs interactively, but they don't work. Sure. [...] >> (setq local-abbrev-table rs-message-mode-abbrev-table)) >> [...] >> ... but I don't exactly recall it's purpose. At least, I have some >> abbrevs in message-mode that are not present in text-mode. > > But you alway added them with `edit-abbrevs', not interactively with > `add-mode-abbrev' or `inverse-add-mode-abbrev', right? Probably I've edited ~/.abbrev_defs manually (I don't change my abbrevs often: the time stamp says 2005-11-30). Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/