[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: abbrev definition (manual)
From: |
Eli Zaretskii |
Subject: |
Re: abbrev definition (manual) |
Date: |
Wed, 26 Jul 2017 17:29:11 +0300 |
> From: Jean-Christophe Helary <address@hidden>
> Date: Wed, 26 Jul 2017 08:18:46 +0900
>
> I find the manual explanation for the definition of an abbrev confusing:
>
> 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).
> This reads the abbrev itself using the minibuffer, and then defines it as an
> abbrev for one or more words before point. Use a numeric argument to say how
> many words before point should be taken as the expansion. 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.
>
> What about that:
>
> 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.
I find them both equivalent, so I'm not sure what part of the original
confused you. Was that the "reads ... using the minibuffer" part?