help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abbrev-mode wizardry needed


From: Kevin Rodgers
Subject: Re: abbrev-mode wizardry needed
Date: Fri, 21 Apr 2006 15:43:53 -0600
User-agent: Thunderbird 1.5.0.2 (Windows/20060308)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]