[Ccing back to xemacs-beta]
Uwe Brauer <oub(a)maraton.sim.ucm.es> writes:
Yoshiki Hayashi writes:
> Uwe Brauer <oub(a)maraton.sim.ucm.es> writes:
>
> > Are there any plans for future xemacs releases to make abbrev case
> > sensitive? I use flyspell a lot, which automatically adds corrected
> > words to an abbrev list, but since abbrev is not case sensitive the
> > result can sometimes be annoying.
>
> Is dabbrev-case-fold-search what you want?
>
I am not sure, in xemacs-21.1.14 no such function or variable
exists. Let me clarify again my point
Suppose I have an entry like this in my .abbrev_defs
(global-abbrev-table)
"Anwer" 0 "Answer"
Then also anwer is expanded to Answer which is wrong. It should be of
course answer.
Ah, you are using abbrev-mode. I only use dabbrev-mode so I
don't know much about that mode. If you want to change
expand-abbrev to do that, it's in src/abbrev.c. There're
some calls to Fupcase_initials_region and Fupcase_region.
Probably changing some of those code will achieve what you
want.
--
Yoshiki Hayashi