From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: (local) abbrev injective and other problems, capitalization Date: Tue, 03 Jul 2018 09:25:49 +0200 Message-ID: <87h8lgzsoy.fsf@mat.ucm.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1530603133 5529 195.159.176.226 (3 Jul 2018 07:32:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Jul 2018 07:32:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 03 09:32:09 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1faFnF-0001Kf-0X for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2018 09:32:09 +0200 Original-Received: from localhost ([::1]:38538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faFpM-000826-3v for ged-emacs-devel@m.gmane.org; Tue, 03 Jul 2018 03:34:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faFl1-0004VS-I1 for emacs-devel@gnu.org; Tue, 03 Jul 2018 03:30:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faFhH-00023X-8r for emacs-devel@gnu.org; Tue, 03 Jul 2018 03:29:51 -0400 Original-Received: from [195.159.176.226] (port=50047 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1faFhG-00021A-T5 for emacs-devel@gnu.org; Tue, 03 Jul 2018 03:25:59 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1faFf5-0008H6-3y for emacs-devel@gnu.org; Tue, 03 Jul 2018 09:23:43 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 52 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:+CaaC2MJ697yRAgkgMCQfUq2F6k= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226897 Archived-At: 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