all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* flyspell, its abbrev mode, and the problem of case sensitivity
@ 2019-01-28  8:53 Uwe Brauer
  2019-01-31 10:12 ` [SOLVED] (was: flyspell, its abbrev mode, and the problem of case sensitivity) Uwe Brauer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Brauer @ 2019-01-28  8:53 UTC (permalink / raw)
  To: emacs-devel


Hi

I recall having asked that some time ago and I hoped the issue would be
sorted out, but it seems not the case.

Situation: I use flyspell's correction mechanism to generate language
depend abbrev table.

It works like charm, save the case problem

My new setting

(abbrev-table-put castellano-minor-mode-abbrev-table :case-fixed t)

What works:

 I type nacion 


 and then flyspell-correct the word to nación.

 Automatically the entry in the abbrev
 ((castellano-minor-mode-abbrev-table)) table looks  like


"nacion"       0    #("nación" 0 6 (charset iso-8859-1))

Which is fine.


What does not work

I type Nacion 


 and then flyspell-correct the word to Nación.

 Automatically the entry in the abbrev
 ((castellano-minor-mode-abbrev-table)) table looks  like

"nacion"       0    #("Nación" 0 6 (charset iso-8859-1))

Which is *wrong*

It should be 

"Nacion"       0    #("Nación" 0 6 (charset iso-8859-1))

Any idea how to make that work?

Thanks

Uwe Brauer 




^ permalink raw reply	[flat|nested] 2+ messages in thread

* [SOLVED] (was: flyspell, its abbrev mode, and the problem of case sensitivity)
  2019-01-28  8:53 flyspell, its abbrev mode, and the problem of case sensitivity Uwe Brauer
@ 2019-01-31 10:12 ` Uwe Brauer
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Brauer @ 2019-01-31 10:12 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:

   > Hi


   > My new setting

   > (abbrev-table-put castellano-minor-mode-abbrev-table :case-fixed t)

After trying out various configurations it seems that 


(dolist (table abbrev-table-name-list)
    (abbrev-table-put (symbol-value table) :case-fixed nil))

(abbrev-table-put castellano-minor-mode-abbrev-table :case-fixed nil)

Fixes my problem.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-31 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-28  8:53 flyspell, its abbrev mode, and the problem of case sensitivity Uwe Brauer
2019-01-31 10:12 ` [SOLVED] (was: flyspell, its abbrev mode, and the problem of case sensitivity) Uwe Brauer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.