From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: greek-style quotes for greek input method? Date: Mon, 09 Aug 2010 09:53:45 +0300 Message-ID: <87hbj45lae.fsf@kobe.laptop> References: <87r5i9dye9.fsf@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1281336870 22119 80.91.229.12 (9 Aug 2010 06:54:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Aug 2010 06:54:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 09 08:54:25 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 1OiMFc-0003TR-SC for ged-emacs-devel@m.gmane.org; Mon, 09 Aug 2010 08:54:25 +0200 Original-Received: from localhost ([127.0.0.1]:60940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiMFc-0003ry-72 for ged-emacs-devel@m.gmane.org; Mon, 09 Aug 2010 02:54:24 -0400 Original-Received: from [140.186.70.92] (port=36998 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiMFS-0003rd-8O for emacs-devel@gnu.org; Mon, 09 Aug 2010 02:54:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiMFQ-0008JS-SB for emacs-devel@gnu.org; Mon, 09 Aug 2010 02:54:14 -0400 Original-Received: from igloo.linux.gr ([62.1.205.36]:33891) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiMFQ-0008Ie-HG for emacs-devel@gnu.org; Mon, 09 Aug 2010 02:54:12 -0400 X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.001, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_40 -0.00) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o796rslY018400 Original-Received: from kobe.laptop (77.49.125.93.dsl.dyn.forthnet.gr [77.49.125.93]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o796rslY018400 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 9 Aug 2010 09:54:02 +0300 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o796rnOG008025 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 9 Aug 2010 09:53:49 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o796rlxq008022; Mon, 9 Aug 2010 09:53:47 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) In-Reply-To: (Kenichi Handa's message of "Mon, 09 Aug 2010 11:36:35 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:128450 Archived-At: On Mon, 09 Aug 2010 11:36:35 +0900, Kenichi Handa wrote: >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: > >> (";<" "=C2=AB") >> (";>" "=C2=BB") > > It seems reasonable to add that rules. > I've just committed the attached patch to emacs-23 branch. > =3D=3D=3D 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" ?=CE=90) > (":;i" ?=CE=90) > (";:y" ?=CE=B0) > - (":;y" ?=CE=B0)) > + (":;y" ?=CE=B0) > + (";<" "=C2=AB") > + (";>" "=C2=BB")) > > (quail-define-package > "greek-postfix" "GreekPost" "=CE=A8" nil Thanks! Should we also modify the greek-postfix rules to include "<;" and ">;" for the same?