* Special abbrev list?
@ 2008-01-07 17:39 Fredrik
2008-01-07 18:06 ` Drew Adams
2008-01-08 18:22 ` Andreas Röhler
0 siblings, 2 replies; 3+ messages in thread
From: Fredrik @ 2008-01-07 17:39 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Special abbrev list?
2008-01-07 17:39 Special abbrev list? Fredrik
@ 2008-01-07 18:06 ` Drew Adams
2008-01-08 18:22 ` Andreas Röhler
1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2008-01-07 18:06 UTC (permalink / raw)
To: Fredrik, help-gnu-emacs
> 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?
Not sure this responds to what you're asking, but in case it does, HTH:
In Icicles, you can use Icicles apropos completion with `C-M-/'
(`dabbrev-completion'). You can match a substring or other regexp.
http://www.emacswiki.org/cgi-bin/wiki/Icicles
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Special abbrev list?
2008-01-07 17:39 Special abbrev list? Fredrik
2008-01-07 18:06 ` Drew Adams
@ 2008-01-08 18:22 ` Andreas Röhler
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Röhler @ 2008-01-08 18:22 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-08 18:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07 17:39 Special abbrev list? Fredrik
2008-01-07 18:06 ` Drew Adams
2008-01-08 18:22 ` Andreas Röhler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).