unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
Cc: , emacs-devel <emacs-devel@gnu.org>
Subject: Re: abbrev definition (manual)
Date: Wed, 26 Jul 2017 08:00:43 +0100	[thread overview]
Message-ID: <87k22vznqc.fsf@yandex.com> (raw)
In-Reply-To: <A69798DA-9B25-459F-A07E-D4AFAF8C2DD6@gmail.com> (Jean-Christophe Helary's message of "Wed, 26 Jul 2017 08:18:46 +0900")

Dear Jean-Christophe,

>>>>> Jean-Christophe Helary <jean.christophe.helary@gmail.com> 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
m43cap@yandex.com
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8



  reply	other threads:[~2017-07-26  7:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-25 23:18 abbrev definition (manual) Jean-Christophe Helary
2017-07-26  7:00 ` Colin Baxter [this message]
2017-07-26 14:29 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k22vznqc.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=emacs-devel@gnu.org \
    --cc=jean.christophe.helary@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).