[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed capitaliz
From: |
Daniel Fleischer |
Subject: |
bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed capitalized words |
Date: |
Thu, 11 May 2023 17:18:13 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Daniel Martín via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@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
bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed capitalized words, Daniel Martín, 2023/05/11
- bug#63438: 30.0.50; abbrev mode wrongly capitalizes with mixed capitalized words,
Daniel Fleischer <=