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: Re: (local) abbrev injective and other problems, capitalization Date: Wed, 04 Jul 2018 08:27:59 +0200 Message-ID: <87h8lf8qhc.fsf@mat.ucm.es> References: <87h8lgzsoy.fsf@mat.ucm.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha256; protocol="application/pkcs7-signature" X-Trace: blaine.gmane.org 1530685680 8412 195.159.176.226 (4 Jul 2018 06:28:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 4 Jul 2018 06:28:00 +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 Wed Jul 04 08:27:56 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 1fabGd-00023B-AM for ged-emacs-devel@m.gmane.org; Wed, 04 Jul 2018 08:27:55 +0200 Original-Received: from localhost ([::1]:44295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fabIk-0001Bt-JD for ged-emacs-devel@m.gmane.org; Wed, 04 Jul 2018 02:30:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fabGx-0000an-HB for emacs-devel@gnu.org; Wed, 04 Jul 2018 02:28:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fabGu-00018k-Cn for emacs-devel@gnu.org; Wed, 04 Jul 2018 02:28:15 -0400 Original-Received: from [195.159.176.226] (port=42208 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fabGu-00018O-04 for emacs-devel@gnu.org; Wed, 04 Jul 2018 02:28:12 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fabEk-0008Dd-MX for emacs-devel@gnu.org; Wed, 04 Jul 2018 08:25:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 139 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:XdrugrKmG8XK7PPn7zLs1fkYWM8= 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:226928 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>> "Stefan" =3D=3D Stefan Monnier writes: >> What do I miss? > abbrevs are case-insensitive by default, as suggested by the following > in `define-abbrev`s docstring (and specified more clearly elsewhere, > most likely): Well I would call it *partially case-insensitive* Because if I define=20 nacion --> nac=C3=ADon Then=20 Nacion is *not* expanded to Nacion=20 But if I try to define=20 Nacion --> Naci=C3=B3n It does not work. Very confusing. So it seems that :case-fixed is the solution. But how do I use is for inverse-add-mode-abbrev and friends? The docstring of that function does not say anything about this variable. Maybe one should define a new variable, say add-abbrev-case-fixed If it is t, case-fixed is added to the abbrev table and nil would be the standard behaviour. Our maybe this is already implemented. Any pointer would be welcome. Thanks=20 Uwe=20 --=-=-= Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=smime.p7s M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