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: Re: (local) abbrev injective and other problems, capitalization
Date: Wed, 04 Jul 2018 08:27:59 +0200	[thread overview]
Message-ID: <87h8lf8qhc.fsf@mat.ucm.es> (raw)
In-Reply-To: jwvr2kkj7z2.fsf-monnier+gmane.emacs.devel@gnu.org

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

>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> 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 

 nacion -->  nacíon

Then 

Nacion is *not* expanded to Nacion 

But if I try to define 

 Nacion --> Nación

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 

Uwe 

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

  reply	other threads:[~2018-07-04  6:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-03  7:25 (local) abbrev injective and other problems, capitalization Uwe Brauer
2018-07-03 22:01 ` Stefan Monnier
2018-07-04  6:27   ` Uwe Brauer [this message]
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=87h8lf8qhc.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.