From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Homebrew input method Date: Sat, 21 Mar 2009 11:38:27 -0600 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1237653700 27274 80.91.229.12 (21 Mar 2009 16:41:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Mar 2009 16:41:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 21 17:42:55 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ll4Hb-00053l-QT for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Mar 2009 17:42:52 +0100 Original-Received: from localhost ([127.0.0.1]:57073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ll4GF-0003Qh-8x for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Mar 2009 12:41:27 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.posted.cpinternet!news.posted.cpinternet.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 21 Mar 2009 11:36:58 -0500 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Original-Newsgroups: gnu.emacs.help Original-Lines: 60 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 64.61.220.22 Original-X-Trace: sv3-hZR9/TVLYQaj7epA5ufCKllxM4xC8JwLEojmDycGa5GVCHqXCRog8Z0QY32XZDCRmnrWIrRPay9mWpf!xwjhCycAZj5xk3wjop1PfX9+AS8xBg7wzlRzUFXkErBQxf9gguWEEBwvDEs/yzamSZOvVxmB0v1X!bX/Xz3e30HoT7t6bRA== Original-X-Complaints-To: abuse@cpinternet.com X-DMCA-Complaints-To: abuse@cpinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Original-Xref: news.stanford.edu gnu.emacs.help:167881 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63173 Archived-At: I once (in ver 21.3) made a copy of leim/quail/hebrew.el and then modified it make a new input method "heblish" (more descriptively it would be hebrew-trans). Then I added this to leim-list.el: (register-input-method "heblish" "Hebrew" 'quail-use-package "א" "Homebrew input method." "quail/heblish") then in heblish.el (quail-define-package "heblish" "Hebrew" "א" t "Homebrew input method. Based on hebrew.el but transliterated (mostly)rather than conforming to Israeli keyboard. Hebrew letters are assigned to lowercases, some stand-alone diacritics to upper case." nil t nil nil nil nil nil nil nil nil t) there followed a bunch of key-character pairs (utf-8)like: (quail-define-rules ("+" ?﬩) ;; alt plus ("q" ?ק) ("q." ?קּ) ("Q" ?ֻ) ;; qubuts ("w" ?ש) ("w." ?שּ) ("e" ?ֶ) ;; segol ("E" ?ֱ) ;; hataf segol ("r" ?ר) ("r." ?רּ) ("t" ?ט) ("t." ?טּ) ("y" ?ע) ("u" ?ת) ("u." ?תּ) ("i" ?י) ("i." ?יּ) ("o" ?ַ) ;; patah ("O" ?ֲ) ;; hataf patah .... and many more This actually worked after a fashion but of course in left to right order. I think I copy-pasted characters from hebrew.el so that they would be saved correctly in iso-2022-7bit coding but I don't remember the details now. It was more an exercise than a practical necessity. Questions: Why are the quail/nnnnn.el files all in that 7bit encoding, even in Emacs ver. 23? If I can get leim-list.el and heblish.el looking right in an emacs buffer, how do I save them to ensure that the coding is correct? Sometimes an encoding error (I think in leim-list.el) causes not only Emacs but the entire OS to freeze (mswin2000). Is the correct way of registering an additional input method to put it in leim-ext.el? Thanks, Ed