all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-devel@gnu.org
Subject: (local) abbrev injective and other problems, capitalization
Date: Tue, 03 Jul 2018 09:25:49 +0200	[thread overview]
Message-ID: <87h8lgzsoy.fsf@mat.ucm.es> (raw)


Hi 

I think I brought up that subject some time ago but it seems it was
never really solved, even not in git master from June.


Here is the problem (I am concentrating on local
abbrev, but I don't think that is important).


I would like to have to following expansions:

A

  nacion --> nacíon
  Nacion --> Nacíon

And if explicitly defined

B
  nacion --> Nacíon
  Nacion --> nacíon

But what I don't want is that when A is defined, B is implied.

I mainly define abbrev via flyspell, but I was surprised to find that if
I type

 Nacion M-x inserve-add-mode-abbrev Nacíon enter

But then nacíon is expanded to Nacíon 

That is wrong!


So there seems something wrong with capitalisation. Looking at the
corresponding local abbrev table I see.


"nacion"       4    "Nacíon"

Which is wrong it should have been 

"Nacíon"      4 "Nacíon"


What do I miss?

Regards

Uwe Brauer 




             reply	other threads:[~2018-07-03  7:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-03  7:25 Uwe Brauer [this message]
2018-07-03 22:01 ` (local) abbrev injective and other problems, capitalization Stefan Monnier
2018-07-04  6:27   ` Uwe Brauer
2018-07-04 13:01     ` Stefan Monnier
2018-07-05 10:15       ` Uwe Brauer
2018-07-10  4:06 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h8lgzsoy.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.