From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: insert-char as alias to ucs-insert Date: Sat, 14 Jul 2012 23:57:02 +0800 Message-ID: <87629qz67l.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1342281437 18017 80.91.229.3 (14 Jul 2012 15:57:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 14 Jul 2012 15:57:17 +0000 (UTC) Cc: emacs-devel@gnu.org, Rene@Kyllingstad.com To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 14 17:57:15 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sq4iZ-0004mo-Hx for ged-emacs-devel@m.gmane.org; Sat, 14 Jul 2012 17:57:15 +0200 Original-Received: from localhost ([::1]:58390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sq4iY-0006jM-R7 for ged-emacs-devel@m.gmane.org; Sat, 14 Jul 2012 11:57:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sq4iV-0006j3-KM for emacs-devel@gnu.org; Sat, 14 Jul 2012 11:57:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sq4iU-00048r-7b for emacs-devel@gnu.org; Sat, 14 Jul 2012 11:57:11 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:55319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sq4iU-00048n-3t for emacs-devel@gnu.org; Sat, 14 Jul 2012 11:57:10 -0400 Original-Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:33128 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Sq4iS-0006Zx-Sr; Sat, 14 Jul 2012 11:57:09 -0400 In-Reply-To: (Leo's message of "Sat, 14 Jul 2012 10:07:09 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151614 Archived-At: Leo writes: > On 2012-07-12 22:00 +0800, Ren=C3=A9 Kyllingstad wrote: >> I have a hard time remembering the name of ucs-insert. What about adding= a >> insert-char alias? >> >> 2012-07-12 Ren=C3=A9 Kyllingstad >> >> * 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.