unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-devel@gnu.org
Subject: Re: (un)expand-region-abbrevs
Date: Fri, 06 Jun 2014 18:33:46 +0200	[thread overview]
Message-ID: <87bnu6ov4l.fsf@gilgamesch.quim.ucm.es> (raw)
In-Reply-To: 834mzy3wgn.fsf@gnu.org

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

>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:


   > Abbrevs are about less typing.  How does typing "שלום" instead of
   > "שָלֹם" "abbreviate" anything, when it's more typing?

I presume I have not explained this well enough.
I have a minor mode, say ivrit-niqqud, with a associated abbrev-table.
So typing 

   שלום -->     שָלֹם 

This means typing less gives more.

I save the text, close emacs etc and then visit the file again. Now I decide
I want to delete the niqqud of some text (which I mark). If I had an
inverse-expand-region function I could use it now, but I also could use
the small function I posted in an earlier message. The closest thing I
know of would be good old iso-deaccentuate in of pre mule days.[1]

   >> You mean another table which is the inverse table?

   > No, I meant have them in the same table.
I don't understand

 שלום -->     שָלֹם
and also 
 שָלֹם --> שלום

That looks impossible to me. I thought abbrev should be function, in the
sense that one value is mapped to one but not more values.




Footnotes: 
[1]  which still works and makes sense in Xemacs due to a different
implementation of Mule, I presume.


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

  reply	other threads:[~2014-06-06 16:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-06  9:18 (un)expand-region-abbrevs Uwe Brauer
2014-06-06 11:09 ` (un)expand-region-abbrevs Andreas Röhler
2014-06-06 11:15 ` (un)expand-region-abbrevs Stephen J. Turnbull
2014-06-06 11:54   ` (un)expand-region-abbrevs Andreas Röhler
2014-06-06 12:37   ` (un)expand-region-abbrevs Uwe Brauer
2014-06-06 14:21     ` (un)expand-region-abbrevs Eli Zaretskii
2014-06-06 14:45       ` (un)expand-region-abbrevs Uwe Brauer
2014-06-06 15:10         ` (un)expand-region-abbrevs Eli Zaretskii
2014-06-06 16:33           ` Uwe Brauer [this message]
2014-06-06 17:19             ` (un)expand-region-abbrevs Stefan Monnier
2014-06-09 15:56               ` (un)expand-region-abbrevs Uwe Brauer
2014-06-09 18:59                 ` (un)expand-region-abbrevs Stefan Monnier
2014-06-06 14:21     ` (un)expand-region-abbrevs Andreas Röhler
2014-06-06 15:31     ` (un)expand-region-abbrevs Stefan Monnier
2014-06-06 13:16 ` (un)expand-region-abbrevs Stefan Monnier
2014-06-06 13:53   ` (un)expand-region-abbrevs Uwe Brauer

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87bnu6ov4l.fsf@gilgamesch.quim.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).