all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nathaniel Flath <flat0103@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: abbrev-mode not expanding entire word
Date: Wed, 19 May 2010 09:37:52 -0400	[thread overview]
Message-ID: <AANLkTilCZG8P7JavTYPcTeGjtTRhfrxTOObZh2fht6wF@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 756 bytes --]

Hello,
I have some abbrev's defined - my global abbrev table is:
(define-abbrev-table 'global-abbrev-table
  '(
    ("graphg" "G be a graph" nil 2)
    ("h1h2" "(H_1,H_2)" nil 2)
    ("iff" "if and only if" nil 3)
    ("isosub" "isomorphic to a subgraph" nil 1)
    ("simpleg" "G is a simple graph" nil 14)
    ("xycut" "(X,Y)-cutset" nil 5)
    ("xypath" "(X,Y)-path" nil 3)
    ("xypaths" "(X,Y)-paths" nil 5)
   ))

What appears to be happening is that when first loading this cutswet,
nothing is wrong.  everything appears ot be working normally.  Eventually,
it starts breaking, and only the first character of the abbrev is replace,
such that:
 xypath -> (X,Y)-path _ypath
where _ represents point.

Does anyone have any ideas why this is happening?

[-- Attachment #2: Type: text/html, Size: 998 bytes --]

             reply	other threads:[~2010-05-19 13:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 13:37 Nathaniel Flath [this message]
     [not found] <mailman.1.1274276279.5758.help-gnu-emacs@gnu.org>
2010-05-19 17:23 ` abbrev-mode not expanding entire word Stefan Monnier

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=AANLkTilCZG8P7JavTYPcTeGjtTRhfrxTOObZh2fht6wF@mail.gmail.com \
    --to=flat0103@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.