all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dbdkmezz <dbdkmezz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Using abbrev-prefix-mark to add a suffix starts a new line
Date: Tue, 20 Jul 2010 03:51:46 -0700 (PDT)	[thread overview]
Message-ID: <7c813f96-4f6e-4335-b09f-7fe1b8551b92@d8g2000yqf.googlegroups.com> (raw)
In-Reply-To: f35e7366-7254-46a3-8179-806b0c24f5ec@c10g2000yqi.googlegroups.com

On 20 July, 11:08, dbdkmezz <dbdkm...@gmail.com> wrote:
> This is odd. I discovered that I could use abbrev-prefix-mark `M-' to
> add prefixes and suffixes to abbreviations yesterday, and it all
> worked fine (I think!). But now when I use to add suffixes it adds the
> suffix fine, but then moves the pointer down to the next line (if
> there is a lower line to go to). I know there's nothing in the
> documentation about using this command for suffixes (it only mentions
> prefixes) but it makes sense, and it does at least half work.
>
> Anyone have any ideas about what might be going on, or how I can fix
> this?
>
> Thanks
>
> Paul

Apologies for replying to my own post, but realised I didn't include
enough details. It only adds the extra line when using a space to
expand the abbreviation. If I expand it with another character (such
as a comma or a full-stop) then instead of adding a new line it just
add's a extra space before the expanding character. (Again, this is
fine when just using an abbreviation as usual, it only goes wrong when
using the abbrev-prefix-mark to add a suffix.)

Also, I've just discovered that I can use the command expand-abbrev,
or `C-x a e', to expand abbreviations, and then add the suffix. Doing
things this way works perfectly, and I guess is the way we are
expected to add suffixes. So these problems only occur when using the
abbrev-prefix-mark outside it's expected use, so can probably be
ignored :)

Paul


      reply	other threads:[~2010-07-20 10:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-20 10:08 Using abbrev-prefix-mark to add a suffix starts a new line dbdkmezz
2010-07-20 10:51 ` dbdkmezz [this message]

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=7c813f96-4f6e-4335-b09f-7fe1b8551b92@d8g2000yqf.googlegroups.com \
    --to=dbdkmezz@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.