From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: [OFFTOPIC] Re: Invoking a function from a list of functions Date: Sat, 17 Nov 2018 07:59:49 -0800 (PST) Message-ID: References: <67c4a534-d41c-4736-8839-c2dbbdf7f9c2@googlegroups.com> <2da7504a-8bbf-41b9-993e-a7bacd6c97b2@googlegroups.com> <20181116114002.3ba6bcc8dc1e699ba58e08b8@speakeasy.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1542470563 10455 195.159.176.226 (17 Nov 2018 16:02:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2018 16:02:43 +0000 (UTC) Injection-Date: Sat, 17 Nov 2018 15:59:49 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 17 17:02:39 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gO33O-0002cD-Kx for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Nov 2018 17:02:38 +0100 Original-Received: from localhost ([::1]:49724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gO35U-0002Fd-QF for geh-help-gnu-emacs@m.gmane.org; Sat, 17 Nov 2018 11:04:48 -0500 X-Received: by 2002:a24:ac6c:: with SMTP id m44-v6mr2145758iti.40.1542470389789; Sat, 17 Nov 2018 07:59:49 -0800 (PST) X-Received: by 2002:ac8:4509:: with SMTP id q9mr97345qtn.1.1542470389502; Sat, 17 Nov 2018 07:59:49 -0800 (PST) Original-Path: usenet.stanford.edu!g188-v6no1596423itg.0!news-out.google.com!y103-v6ni2035ita.0!nntp.google.com!g188-v6no1596422itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <20181116114002.3ba6bcc8dc1e699ba58e08b8@speakeasy.net> Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.92.59.220; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.92.59.220 Original-Xref: usenet.stanford.edu gnu.emacs.help:224574 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:118703 Archived-At: On Friday, November 16, 2018 at 10:10:05 PM UTC+5:30, James K. Lowden wrote= : > On Thu, 15 Nov 2018 18:48:53 -0800 (PST) > Rusi wrote: >=20 > > Some corresponding python thoughts and facts: > > http://blog.languager.org/2014/04/unicoded-python.html >=20 > I think you're overlooking the paucity of keyboard characters. I doubt > many programmers want to learn an input system to allow them to > represent, say, u2208. Never mind *one* input system; you have to > explain how to enter that symbol under Windows, on a Macintosh, in X, > and in a VT100 emulator, if not some combination of those. =20 If you look at your keyboard I am ready to bet that=20 - in the middle row on the left side you have a key that looks like =E2=80= =98A=E2=80=99 - when you type it you get a char that looks more like =E2=80=98a=E2=80=99 - and only with the SHIFT-A chord generates an =E2=80=98A=E2=80=99. IOW You are already using a non-trivial input method. We tend to say =E2=80=9CI am using an ASCII keyboard=E2=80=9D. In loose inf= ormal language this is ok However technically there is no such thing as an ASCII keyboard. What we ca= ll an ASCII keyboard is most likely us-104 ... something that does not have a one= to=20 one relation with ASCII. You can see this more clearly from the hardware angle: What the keyboard sends to the computer when you type the =E2=80=98A=E2=80= =99 key is a scan code=20 and has no relation whatever with A/a characters. And once you see 1 You are in any case using an input method 2 Which is user-choosable at OS/X/emacs etc level in any modern system it becomes natural to ask: Is the default best for me/my current usage? At this point the real difficult questions start popping up: To type =CE=B1=CE=B2=CF=82=CE=B4=CE=B5=CF=86=CE=B3=CE=B7=CE=B9=CE=B8=CE=BA= =CE=BB=CE=BC=CE=BD=CE=BF=CF=80=CF=87=CF=81=CF=83=CF=84=CF=85v=CF=89=CE=BE= =CF=88=CE=B6 I just typed abcdefgjijklmnopqrstuvwxyz with the greek(-babel) input method in emacs. This may be a reasonable choice if I were Homer(!) But in the more likely case of being a typical mathematician who sprinkles = greek on his writings without a clue about greek, this would be highly inco= nvenient. Tex input method would likely be better So the real question is this: If Unicode has a 150,000 code points and a ke= yboard can be setup to input a few hundred (say) chars conveniently which s= hould I assign for my convenience? This is a real hard question=E2=80=A6 The only answer I am sure of is a negative one =E2=80=94 the default is alm= ost certainly sub-optimal for almost everyone: On my keyboard I see two set= s of digits, two sets of arrow keys, two sets of +-*/. Two minus signs and no em,en dash! Seriously! And above the digits I see !@#$%^&*() I cant see why I would like to use any of these =E2=80=94 other than !() = =E2=80=94 except for decades of ASCII overloading and misuse (perlish!) bad= habits And ignore all these beauties!=20 http://xahlee.info/comp/unicode_math_operators.html