From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: greek-style quotes for greek input method? Date: Mon, 09 Aug 2010 11:36:35 +0900 Message-ID: References: <87r5i9dye9.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp-2 X-Trace: dough.gmane.org 1281321418 17011 80.91.229.12 (9 Aug 2010 02:36:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Aug 2010 02:36:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Giorgos Keramidas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 09 04:36:57 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OiIER-0004Sj-0K for ged-emacs-devel@m.gmane.org; Mon, 09 Aug 2010 04:36:55 +0200 Original-Received: from localhost ([127.0.0.1]:55206 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiIEP-0005g3-0Q for ged-emacs-devel@m.gmane.org; Sun, 08 Aug 2010 22:36:53 -0400 Original-Received: from [140.186.70.92] (port=45232 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiIEI-0005fr-UK for emacs-devel@gnu.org; Sun, 08 Aug 2010 22:36:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiIEH-0002Sw-5h for emacs-devel@gnu.org; Sun, 08 Aug 2010 22:36:46 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:35368) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiIEG-0002SW-M7 for emacs-devel@gnu.org; Sun, 08 Aug 2010 22:36:45 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id o792aagG015213; Mon, 9 Aug 2010 11:36:36 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id o792aagN006232; Mon, 9 Aug 2010 11:36:36 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id o792aZk5002843; Mon, 9 Aug 2010 11:36:35 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1OiIE7-0001lS-AX; Mon, 09 Aug 2010 11:36:35 +0900 In-Reply-To: <87r5i9dye9.fsf@kobe.laptop> (message from Giorgos Keramidas on Sun, 08 Aug 2010 16:31:10 +0300) X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128445 Archived-At: In article <87r5i9dye9.fsf@kobe.laptop>, Giorgos Keramidas writes: > Greek books use a different set of quotes from the normal English > "double" or ``double'' quotes. The default "el" input method of XKB and > my Gnome desktop maps these special greek-style quotes to the ";<" and > ";>" input strings. So when I switch to the Gnome-greek input method by > typing Alt-Shift I can type this text [...] > It would be nice if it also supported ;< and ;> for greek-style quotes > but I don't know how to do this using the current sources of the file > `emacs/trunk/leim/quail/greek.el'. > Does anyone feel like showing me how to do this, or even patching > `quail/greek.el' directly? > The mapping that we could use from input text to Unicode character of > the greek-style quotes would be: > (";<" ",A+(B") > (";>" ",A;(B") It seems reasonable to add that rules. I've just committed the attached patch to emacs-23 branch. --- Kenichi Handa handa@m17n.org === modified file 'leim/quail/greek.el' --- leim/quail/greek.el 2010-01-13 08:35:10 +0000 +++ leim/quail/greek.el 2010-08-09 02:26:29 +0000 @@ -1279,7 +1279,9 @@ (";:i" ?$(D&v(B) (":;i" ?$(D&v(B) (";:y" ?$(D&{(B) - (":;y" ?$(D&{(B)) + (":;y" ?$(D&{(B) + (";<" ",A+(B") + (";>" ",A;(B")) (quail-define-package "greek-postfix" "GreekPost" "$B&7(B" nil