From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: suppress insertion of SPC after SPC expands abbrev
Date: Wed, 23 Jun 2004 13:14:00 -0600 [thread overview]
Message-ID: <40D9D678.3040808@yahoo.com> (raw)
In-Reply-To: 87vfhi4d8s.fsf@osu.edu
Benjamin Rutt wrote:
> I want to prevent the SPC from getting inserted when an abbrev is
> expanded, much like C-x ' does.
>
> The following thread from 1992 discusses this:
>
> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=WMESARD.92Sep4121833%40tofu.oracle.com&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26q%3Demacs%2Babbrev%2Bsuppress%2Bspace%26btnG%3DSearch
>
> None of those solutions looked very clean. Is there any way in
> current emacs to do this?
Why not bound SPC to something like:
(defun expand-abbrev-or-self-insert ()
(interactive)
(or (expand-abbrev) (insert last-command-char)))
--
Kevin Rodgers
next prev parent reply other threads:[~2004-06-23 19:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-23 13:26 suppress insertion of SPC after SPC expands abbrev Benjamin Rutt
2004-06-23 19:14 ` Kevin Rodgers [this message]
2004-06-23 21:10 ` Benjamin Rutt
2004-06-23 22:17 ` Sandip Chitale
2004-06-27 16:18 ` Benjamin Rutt
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40D9D678.3040808@yahoo.com \
--to=ihs_4664@yahoo.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.