From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?iso-8859-1?q?R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Special abbrev list? Date: Tue, 8 Jan 2008 19:22:42 +0100 Message-ID: <200801081922.42942.andreas.roehler@online.de> References: <20080107173905.GA6884@linux.bredbandsbolaget.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1199816306 9910 80.91.229.12 (8 Jan 2008 18:18:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 18:18:26 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 08 19:18:46 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JCJ2A-0004j1-PR for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 19:18:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCJ1n-0003IM-Ef for geh-help-gnu-emacs@m.gmane.org; Tue, 08 Jan 2008 13:18:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JCJ1X-0003He-Ae for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 13:18:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JCJ1V-0003H2-CJ for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 13:18:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JCJ1V-0003Gy-7p for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 13:18:01 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JCJ1U-0003rA-P3 for help-gnu-emacs@gnu.org; Tue, 08 Jan 2008 13:18:01 -0500 Original-Received: from noname (p54BEB28D.dip0.t-ipconnect.de [84.190.178.141]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis) id 0ML25U-1JCJ1T0ksj-0004IW; Tue, 08 Jan 2008 19:17:59 +0100 User-Agent: KMail/1.9.5 In-Reply-To: <20080107173905.GA6884@linux.bredbandsbolaget.se> Content-Disposition: inline X-Provags-ID: V01U2FsdGVkX1+Lt4ytPA6PIzuSe3X9B8A4y9dJf+9/NWbVHPZ KTs/Bb0n306fJEDe0ERkUrj2SCmmDxgYAM7IL1RxgHf0v1Er1x I4chdkfRgak/YdDFJqxGQ== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:50591 Archived-At: Am Montag, 7. Januar 2008 18:39 schrieb Fredrik: > I am using Emacs to write with a lot of text looking like this : > > Parent > Parent:Child > Parent:Child:SubChild > Parent:SecondChild:SecondSubChild > NewParent:Child > > And would like to use the abbrev command to complete the text when I am > writing it. I have been able to use it word for word but I want to > complete the string as above... So for example writing and completing > could look like this: > > Parent:Chi -> Parent:Child -> Parent:Child:SubChild > > Any ideas or tips on what I should look up? > > > > > Regards > > /Fredrik > > M-x dabbrev-expand I use this that much, so I have the keys ALT and RET for it: (global-set-key "\M-\C-m" 'dabbrev-expand) Maybe see in gnu-emacs-sources list for=20 predictive.el which is a great package for writing english text or pabbrev.el, which looks interesting too. Andreas R=F6hler