unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc: emacs-devel@gnu.org
Subject: Re: greek-style quotes for greek input method?
Date: Mon, 09 Aug 2010 11:36:35 +0900	[thread overview]
Message-ID: <tl74of4sea4.fsf@m17n.org> (raw)
In-Reply-To: <87r5i9dye9.fsf@kobe.laptop> (message from Giorgos Keramidas on Sun, 08 Aug 2010 16:31:10 +0300)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=iso-2022-jp-2, Size: 1381 bytes --]

In article <87r5i9dye9.fsf@kobe.laptop>, Giorgos Keramidas <keramida@ceid.upatras.gr> 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




  reply	other threads:[~2010-08-09  2:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-08 13:31 greek-style quotes for greek input method? Giorgos Keramidas
2010-08-09  2:36 ` Kenichi Handa [this message]
2010-08-09  6:53   ` Giorgos Keramidas
2010-08-09  6:58     ` Giorgos Keramidas
2010-08-09  8:03       ` Kenichi Handa
2010-08-09 11:55         ` Giorgos Keramidas
2010-08-13  6:56           ` Kenichi Handa
2010-08-13  9:54             ` Giorgos Keramidas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tl74of4sea4.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=keramida@ceid.upatras.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).