From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.help Subject: Re: if vs. when vs. and: style question Date: Wed, 25 Mar 2015 18:49:59 +0100 Organization: Informatimago Message-ID: <87h9t92chk.fsf@kuiper.lan.informatimago.com> References: <87sicvwckx.fsf@wmi.amu.edu.pl> <87wq27yvqg.fsf@debian.uxu> <8d531e99-7260-4263-ac99-09c6871e2708@googlegroups.com> <87vbhq53lf.fsf@debian.uxu> <87a8z23p23.fsf@kuiper.lan.informatimago.com> <87lhilx0cf.fsf@debian.uxu> <87twx9360u.fsf@kuiper.lan.informatimago.com> <0d1d19ab-06e9-462d-8867-9a49b1e232d3@googlegroups.com> <87lhil2io1.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1427306433 6241 80.91.229.3 (25 Mar 2015 18:00:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2015 18:00:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 25 19:00:27 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1YapbO-00072t-2D for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Mar 2015 19:00:26 +0100 Original-Received: from localhost ([::1]:40604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YapbN-0002ok-Gh for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Mar 2015 14:00:25 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 67 Original-X-Trace: individual.net EjLxCQHIGiybvOz9h+G0aAXqfO4ffRkLYxSZdUXnHZ/aArWMsS Cancel-Lock: sha1:OTU2OTliMmQ3ODEzOGJhZDhjYzY5MGYxYzE3ZTQ0NjUxMDZhNjgwYQ== sha1:OX1j3X66GFxLOdN0smvM6f6PpwY= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:211053 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103334 Archived-At: Drew Adams writes: >> Notice, that I asked the reader to compare the ease of input. > > Before I comment further, let me say that I agree with your point. > >> => super easy, two keys to type. >> The unicode correspondance? I would start typing C-x 8 RET double TAB >> and not find it in the list. So I would have to launch clisp, >> C-- slime RET clisp RET >> wait for it to boot then type: >> (lschar :name "RIGHT_ARROW") RET >> the search for double, and not find it, then copy and paste it from your >> message, >> (char-name #\⇒) >> obtain the character name as "RIGHTWARDS_DOUBLE_ARROW", then type >> C-x 8 RET rightward double arrow RET >> which, even if I had know it from the start, is still much more >> difficult to type than just =>. > > Yes and no. Yes, if you haven't used a particular Unicode char > before or use it rarely. No, if you use it often. > > If you use a particular Unicode character often, just give its > insertion a command and bind that to a key. If you have 30 such > chars, put them all on a prefix key. Or use completion on their > command names (names you created, so easy for you to type, remember, > complete to,...). > > IOW, it's not a big deal to insert Unicode characters, especially > if you insert the same ones over and over. You do not need to use > `C-x 8 RET' each time. While I agree that everything's better when everything's done in emacs, I still use a few other programs than emacs, were I have text to edit. Therefore, I configured greek letters and a few mathematical symbols and arrows, with a xmodmap that I use on my linux boxes. Unfortunately, there is also a MacOSX box, and there the keyboard layout is much less editable (once upon a time, there was a version of NeXTSTEP or MacOSX that had editable keyboard layout, but I don't know if this is still possible in Yosemite). And I won't say about MS-Windows, happily I don't use it to edit text. So while using emacs OR Linux everything can be bliss, there are still often cases where you have to use not emacs and not Linux, or not your own computer. +-------------------------------------------------------+ | | | | | Therefore it is easier to type lambda than λ. | | | | | +-------------------------------------------------------+ -- __Pascal Bourguignon__ http://www.informatimago.com/ “The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment.” -- Carl Bass CEO Autodesk