[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: insert-char as alias to ucs-insert

From: René Kyllingstad
Subject: Re: insert-char as alias to ucs-insert
Date: Sun, 15 Jul 2012 18:35:14 +0200

On Sat, Jul 14, 2012 at 5:57 PM, Chong Yidong <address@hidden> wrote:
Leo <address@hidden> writes:

> On 2012-07-12 22:00 +0800, René Kyllingstad wrote:
>> I have a hard time remembering the name of ucs-insert. What about adding a
>> insert-char alias?
>> 2012-07-12  René Kyllingstad  <address@hidden>
>> * international/mule-cmds.el (insert-char): New alias.
> I don't think this is worth it.
> You can put any aliases in your .emacs. BTW, insert-char is a C
> primitive.

Happily, ucs-insert has the same arglist as insert-char.  So we could
make insert-char interactive, with an interactive spec that performs the
ucs-insert character-reading magic.  Then ucs-insert could be made into
an alias for insert-char.

Patch welcome.

Patch attached.

-- René
2012-07-15  René Kyllingstad  <address@hidden>

* editfns.c (Finsert_char): Add interactive entry
          of unicode characters, moved from ucs-insert.

2012-07-15  René Kyllingstad  <address@hidden>

* international/mule-cmds.el (ucs-insert): Move interactive
 functionality to insert-char, and make this an alias.

Attachment: insert-char-interactive.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]