From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.devel Subject: Re: APL mode Date: Sat, 26 Oct 2013 00:39:24 +0530 Message-ID: References: <2556707.G5KkrEK5zp@descartes> <2175241.EV4ttzPlpJ@descartes> <52603276.70404@harpegolden.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=e89a8ff1c8404359f804e9957e90 X-Trace: ger.gmane.org 1382728187 13747 80.91.229.3 (25 Oct 2013 19:09:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2013 19:09:47 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 25 21:09:52 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 1VZmlb-0008WK-4E for ged-emacs-devel@m.gmane.org; Fri, 25 Oct 2013 21:09:51 +0200 Original-Received: from localhost ([::1]:60517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZmla-0001im-AA for ged-emacs-devel@m.gmane.org; Fri, 25 Oct 2013 15:09:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZmlW-0001iU-Rd for emacs-devel@gnu.org; Fri, 25 Oct 2013 15:09:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZmlV-0005AA-QK for emacs-devel@gnu.org; Fri, 25 Oct 2013 15:09:46 -0400 Original-Received: from mail-pd0-x229.google.com ([2607:f8b0:400e:c02::229]:42633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZmlV-0005A6-Dx for emacs-devel@gnu.org; Fri, 25 Oct 2013 15:09:45 -0400 Original-Received: by mail-pd0-f169.google.com with SMTP id q10so4376921pdj.0 for ; Fri, 25 Oct 2013 12:09:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7Xh05iqrbqM7tWk0Y+DwJ+hLrL9NgEeNZ606YDIE8Lo=; b=uLH61R1wlZPcVwu7ejwReKYnVn/OoOTB7jlrjHiCV1p2T6KVmTeriPRXze+JTfJKSa qpqqFW4sb12k+uLapgY1nqrlFecjpbfal97Q6Uf6ZFWr4M7c1AknY+80hhPi63RJxSfG RNf9Jqwv1gQIN6zniYz9yODmxJQJj1gyE+EK7+BO0783WDvZsrhu9Qte57eRWRXlRyQI tL/2n8eWAONPfaLnszbD+/lhBFhEqjpNvVnxVaKhmLmgdT1FOMwbiC9Xz70VCAaRcvX1 jxh5rZzscecD86fqmRdpUmiMb9QbgUKldpaoBXRdfEgJ1fnfe8LuafqkemY+0zTZ9uF7 o0+w== X-Received: by 10.68.197.36 with SMTP id ir4mr3187511pbc.96.1382728184582; Fri, 25 Oct 2013 12:09:44 -0700 (PDT) Original-Received: by 10.68.233.74 with HTTP; Fri, 25 Oct 2013 12:09:24 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::229 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:164545 Archived-At: --e89a8ff1c8404359f804e9957e90 Content-Type: text/plain; charset=ISO-8859-1 On the help emacs list Stefan made some elisp suggestions for the apl mode. Since its about nitty-gritties of elisp I think this may be the more suitable list. So heres some code to input apl. (attached) Currently there is no major-mode stuff. Just in any mode if you run this (and you have a scroll-lock key working) then scroll-lock behaves like a toggle for an apl keyboard. [If scroll-lock is not there as on laptops, you will need to pick some other key and change that line] If there is something fundamentally wrong with this line please let me know --e89a8ff1c8404359f804e9957e90 Content-Type: text/x-emacs-lisp; name="ap3.el" Content-Disposition: attachment; filename="ap3.el" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hn7shsay0 KGRlZnZhciBhcGwta2V5Ym9hcmQgJygKOzsgbnVtYmVyIHJvdwoiYOKXiiAgIDHCqCAgIDLCryAg IDM8ICAgNOKJpCAgIDU9ICAgNuKJpSAgIDc+ICAgOOKJoCAgIDniiKggICAw4oinICAgLcOXICAg PcO3ICBc4o2dICB84o2AIiAKCjs7IG51bWJlciByb3cgU0hJRlRlZAoifuKNqCAgICHCoSAgIEDi gqwgICAjwqMgICAk4o2nICAgJSAgICBeICAgICYgICAgKuKNgiAgICjijbEgICAp4o2yICAgX+KJ oSAgICvijLkiCgo7OyBxd2VydCByb3cKInE/ICAgd+KNtSAgIGXiiIggICB04oi8ICAgeeKGkSAg IHLijbQgICB14oaTICAgaeKNsyAgIG/il4sgICBw4ouGIgoKOzsgIHF3ZXJ0IHJvdyBzaGlmdGVk CiJRwr8gICBX4oy9ICAgReKLuCAgIFTijYkgICBZwqUgICBJ4o24ICAgT+KNpSAgIFDijZ8gICBb 4oaQICAgXeKGkiIKCjs7ICBhc2RmIHJvdwoiYeKNuiAgIHPijIggICBk4oyKICAgZl8gICBn4oiH ICAgaOKIhiAgIGriiJggICBrJyAgIGzijpUgICA74oqiICAgJ+KKoyIKCjs7ICAgYXNkZiByb3cg c2hpZnRlZAoiQeKKliAgIFMgICAgRCAgICBG4o2rICAgR+KNkiAgIEjijYsgICBK4o2kICAgS+KM uyAgIEzijZ4iCgo7OyB6eGN2IHJvdwoieuKKgiAgIHjiioMgICBj4oipICAgduKIqiAgIGLiiqU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