From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: APL mode Date: Thu, 17 Oct 2013 19:54:46 +0100 Message-ID: <52603276.70404@harpegolden.net> References: <2556707.G5KkrEK5zp@descartes> <2175241.EV4ttzPlpJ@descartes> Reply-To: emacs-devel NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010600030702090506040002" X-Trace: ger.gmane.org 1382036111 30917 80.91.229.3 (17 Oct 2013 18:55:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Oct 2013 18:55:11 +0000 (UTC) Cc: Xue Fuqiao , =?UTF-8?B?UsO8ZGlnZXIgU29uZGVyZmVsZA==?= , emacs-devel To: Rustom Mody Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 17 20:55:11 2013 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 1VWsiz-0004lL-U8 for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2013 20:55:10 +0200 Original-Received: from localhost ([::1]:53851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWsiz-0008Dk-Cy for ged-emacs-devel@m.gmane.org; Thu, 17 Oct 2013 14:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWsio-00089J-Vw for emacs-devel@gnu.org; Thu, 17 Oct 2013 14:55:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWsig-0007nx-Ap for emacs-devel@gnu.org; Thu, 17 Oct 2013 14:54:58 -0400 Original-Received: from harpegolden.net ([65.99.215.13]:50359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWsig-0007n3-4h for emacs-devel@gnu.org; Thu, 17 Oct 2013 14:54:50 -0400 Original-Received: from [87.198.55.19] (87-198-55-19.ptr.magnet.ie [87.198.55.19]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA 4" (verified OK)) by harpegolden.net (Postfix) with ESMTPSA id 4A3553C03E; Thu, 17 Oct 2013 18:54:48 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 65.99.215.13 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:164275 Archived-At: This is a multi-part message in MIME format. --------------010600030702090506040002 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 14/10/13 12:08, Rustom Mody wrote: > However here we need the w key to generate sometimes plain ol w , > sometimes =E2=8D=B5 sometimes =E2=8C=BD . So some kind of modedness is= inevitably > required no?? Well, C-\ quickly toggles the last input method on and off. It's not=20 entirely unusable, bit like "sticky keys". But maybe a good alternative is a prefix or postfix character. See=20 attached stab at input methods I just threw together. They work a bit differently to R=C3=BCdiger's: these just follow gnu apl=20 1.0's documented keyboard layout in particular, whereas R=C3=BCdiger's ar= e=20 more logical/semantic (i.e. his say 'pick' -> =E2=8A=83, not '/x' -> =E2=8A= =83). If you=20 want to run with them, feel free, anyway. I chose '/' for a prefix/postfix with the vague rationale other input=20 methods such as latin-* seemed to use it a lot for miscellaneous=20 symbols, although OTOH apl code itself uses '/' quite a lot (reduce...). Could just use another prefix/postfix, but some are more awkward than others, particularly on non-US keyboards. With a "M-x comint-run apl" and a "C-x RET C-\ apl-kb-prefix" they're=20 ...actually not bad for interactive use. (P.S. beware you may want to build gnu apl without color for now if doing that - its color support apparently isn't adaptive currently. Took=20 me far too long to work out that my first build was working, just=20 showing black-on-black...) --------------010600030702090506040002 Content-Type: application/x-gzip; name="apl-kb.el.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="apl-kb.el.gz" H4sICGguYFIAA2FwbC1rYi5lbADVmVlvG8kRgN+F/Ii2bICkRbJ02JZsybIpWQdtWZIlCoIg C/KQ0yTHGs7QM0NJNAwj2AAb74kc2GzysLmcICcQ5E52N1gg+Sf+JamuYnOKWmvtDfIgP+y6 vmZPT3d1dX+kPT09rZy2XzioFrWvCoWCutdxPF+1ndqB09CqHkbKC9qdJPGChiqtr6ha04mc WqKjWBUuFmqhix9cU52kXpiaxoahIRxxPmx3I6/RTFR2PqfGR8cm1C3n0HPVLa1WHLXsRG2t lkLf1QH1T2fgxaoeaa3isJ4cOZG+prphR9WcQEXa9eIk8qqdRCsvUU7gAk6uhROod7HBjNMJ XB2ppKkVzq8Vq7BOsLS6pZZ0oCPHV+udqu/V1IpX00GslROrtmmJm9pV1a4ZxDyxaOaw2ZuD WgxxYCfxwiCvtIefR+oQ14+sJuw7egPmVRiZQbJOYmYeqbBtnsvhdLvKd5L00eKXV54u0MWk 07DNEDOVNHE0XPKR5/uqqlUn1vWOn1fY04yxXa4sr21VVGl1R22XNjZKq5WdaeycNMNOovSh 5qG8Vtv3cGRcUuQESRdnbp6+u7Axv4yPlObKK+XKDs5fLZYrqwubm2pxbUOV1Hppo1Ke31op baj1rY31tc2FolKbWtvUmkFOyW6dNggz6OoEqyrmNe/gjsY4N99VTedQ487WtHeIM3NUDQvn 1btGifNDLEizyDSHOK9yXQVhklcxzm+mmSTtawBHR0fFRtAphlEDfB4hhlmaiynVVksHiRN1 r9HkKk2NE6eSVy2NK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E rq9DqusRkLp+BH1d34NU10cgdL0NQtcahK4XQOg6gjdR1wkIXVdA6LoLQtc7kOq6A0LXHghd l0HoOgSh6zUQum6D0PU6CF3vgtD1Hghd378P4op/AlLXDghdl0DoOgahaxeEruvQ1/UiCF03 QOh6CYSumyB0vQxC1w9B6Po2CF0fwFnW9R0Y1HWPez+aQeh6BYSup0HoOgNS149B6PoYhK5r IHQ9L/fyEISuqyB0PQdCVwEIXa+mujqzum7BoK6Je7+hQeg6D0LXMyB0XZTrn4XTdH0DUl2b f0Vp+14yxJc/frJrHLDXu/+Jn1oeYx6zfI75nOVx5nHLN5lvWp5gnrB8nvm85UvMlyxfYL5g +TLzZctXmK9YnmSetDzFPGX5IvNFy1eZr1rOMmctjzKPWs4x5ywXmAuW95n3LV9nvm55hHmE mG1CDY9sh3vM9ywfMR9Z3mbetqyZteUF5gXLEXPE/EZZhiae2IVUmCuWu8xdyzvMO5Y7zB3L HrNnucxcthwyh5bXmNcst5nblteZ1y3vMu9a3mPes4w2guFdktJe6iTq86RfDQ43OPahEnPJ cswcW3aZXct15rrlReZFyw3mhuUl5iXLTeam5WXmZcsPmR9avs182/IB88Fp1XYmDEZTvNOf 4skm4zFi3/IK84rlaeZpyxnmTH8bH3PDY9vhmPnYco25Znmeed7yIfOh5Spz1fIc85zlgDmw vMq8+pXbcBZ0R9Nsia0YbDLaI75rOc+ctzzDPGO5yFy0PMs8axmYwfINZuNCbKEfrP8F9KVA oPQjAAA= --------------010600030702090506040002--