help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special abbrev list?


From: Andreas Röhler
Subject: Re: Special abbrev list?
Date: Tue, 8 Jan 2008 19:22:42 +0100
User-agent: KMail/1.9.5

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 

predictive.el

which is a great package for writing english text

or pabbrev.el, which looks interesting too.

Andreas Röhler




reply via email to

[Prev in Thread] Current Thread [Next in Thread]