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: greek-style quotes for greek input method? Date: Sun, 08 Aug 2010 16:31:10 +0300 Message-ID: <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 1281287374 25641 80.91.229.12 (8 Aug 2010 17:09:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Aug 2010 17:09:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 08 19:09:33 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 1Oi9NN-00053g-9F for ged-emacs-devel@m.gmane.org; Sun, 08 Aug 2010 19:09:33 +0200 Original-Received: from localhost ([127.0.0.1]:50473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oi9NM-00084a-BQ for ged-emacs-devel@m.gmane.org; Sun, 08 Aug 2010 13:09:32 -0400 Original-Received: from [140.186.70.92] (port=51252 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oi8yN-0002Fm-Kn for emacs-devel@gnu.org; Sun, 08 Aug 2010 12:43:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oi5zL-0002gA-EZ for emacs-devel@gnu.org; Sun, 08 Aug 2010 09:32:32 -0400 Original-Received: from igloo.linux.gr ([62.1.205.36]:41297) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oi5zL-0002YO-2U for emacs-devel@gnu.org; Sun, 08 Aug 2010 09:32:31 -0400 X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o78DVHTb015576 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 o78DVHTb015576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 8 Aug 2010 16:31:23 +0300 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o78DVBX7029575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 8 Aug 2010 16:31:11 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o78DVAmJ029570; Sun, 8 Aug 2010 16:31:10 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) 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:128419 Archived-At: 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 EL: =CE=95=CE=BB=CE=BB=CE=B7=CE=BD=CE=B9=CE=BA=CF=8C =CE=BA=CE=B5=CE= =AF=CE=BC=CE=B5=CE=BD=CE=BF =CE=BC=CE=B5 =C2=AB=CE=B5=CE=B9=CF=83=CE=B1= =CE=B3=CF=89=CE=B3=CE=B9=CE=BA=CE=AC=C2=BB. EN: Greek text with =C2=ABquotes=C2=BB. by typing the greek-style quotes as ";<" and ";>" respectively. The `greek' input method of Emacs supports most of the diacritic marks with the following special key sequences: KEY SEQUENCE ------------ You can also input more characters by the following key sequences: key char [type a key sequence to insert the corresponding character] --- ---- --- ---- --- ---- --- ---- --- ---- --- ---- --- ---- --- ----= --- ---- --- ---- --- ---- :I =CE=AA :i =CF=8A ;A =CE=86 ;H =CE=89 ;O =CE=8C ;= Y =CE=8E ;e =CE=AD ;i =CE=AF ;v =CF=8E :;i =CE=90 ;:i = =CE=90 :Y =CE=AB :y =CF=8B ;E =CE=88 ;I =CE=8A ;V =CE=8F ;= a =CE=AC ;h =CE=AE ;o =CF=8C ;y =CF=8D :;y =CE=B0 ;:y = =CE=B0 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")