GNU bug report logs -
#63438
30.0.50; abbrev mode wrongly capitalizes with mixed capitalized words
Previous Next
Full log
Message #34 received at submit <at> debbugs.gnu.org (full text, mbox):
Daniel Martín via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:
> The docstring of define-abbrev describes that abbreviations support a
> property list of options. One of them is :case-fixed:
>
> ‘:case-fixed’: non-nil means that abbreviations are looked up without
> case-folding, and the expansion is not capitalized/upcased.
>
> Perhaps we should make the interactive commands set the :case-fixed
> property, if the user wants.
>
> Or to avoid case-folding globally:
>
> (abbrev-table-put global-abbrev-table :case-fixed t)
Thanks, using `:case-fixed t' on the word and/or table solves my issue.
Maybe this options should be better exposed during abbrev creation step,
as you said.
Daniel
This bug report was last modified 2 years and 40 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.