unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: abbrev-mode wizardry needed
Date: Fri, 21 Apr 2006 15:43:53 -0600	[thread overview]
Message-ID: <e2bjo2$ida$1@sea.gmane.org> (raw)
In-Reply-To: <1145587082.390764.182920@g10g2000cwb.googlegroups.com>

dmd@3e.org wrote:
> One more thing... I'm trying to avoid having the existing text in the
> file (e.g., CAT and DOG) interfere with the namespace of the new text
> we're entering.  I'd like to separate the newly entered symbols by
> prefixing them with some easily typed character like ';'. It's not
> working - dabbrev-completion doesn't seem to recognize any sort of
> punctuation as part of a symbol.
> 
> Our current workaround is to enter the to-be-dabbrev'd tags as z-TAG
> instead of ;TAG, but that's slightly more ugly.
> 
> Is there a way to hack dabbrev-completion to recognize ';' as part of a
> symbol?

Try setting a buffer-local value of dabbrev-abbrev-char-regexp that
allows punctuation as the first character: `\s.'

-- 
Kevin Rodgers
Sr. Software Engineer, IHS

      reply	other threads:[~2006-04-21 21:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18 22:45 abbrev-mode wizardry needed dmd@3e.org
2006-04-19  1:38 ` dmd@3e.org
2006-04-19 16:08   ` Mathias Dahl
2006-04-19 20:16     ` dmd@3e.org
2006-04-19 16:19   ` Kevin Rodgers
     [not found]   ` <mailman.584.1145463682.9609.help-gnu-emacs@gnu.org>
2006-04-19 20:20     ` dmd@3e.org
2006-04-21  2:38 ` dmd@3e.org
2006-04-21 21:43   ` Kevin Rodgers [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

  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='e2bjo2$ida$1@sea.gmane.org' \
    --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.
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).