[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: abbrev definition (manual)
From: |
Colin Baxter |
Subject: |
Re: abbrev definition (manual) |
Date: |
Wed, 26 Jul 2017 08:00:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Dear Jean-Christophe,
>>>>> Jean-Christophe Helary <address@hidden> writes:
> The usual way to define an abbrev is to enter the
> text you want the abbrev to expand to, position
> point after it, and type C-x a g
> (add-global-abbrev). Use a numeric argument to say
> how many words before point should be taken as the
> expansion. This prompts for the abbrev itself in
> the minibuffer, and then defines it as an abbrev
> for the words specified before point. For example,
> to define the abbrev 'foo' as mentioned above,
> insert the text 'find outer otter' and then type
> C-u 3 C-x a g f o o RET.
For me, this is a great improvement over the original.
What do you think of the idea of mentioning the use of the universal
argument C-u, if only as a reminder for newbies like myself? I suppose
that my suggestion might not conform to the way manuals are written.
Best wishes,
Colin.
--
--
Colin Baxter
address@hidden
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68 2A27 BBFA 2492 91F5 41C8