emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: greek-style quotes for greek input method?


From: Kenichi Handa
Subject: Re: greek-style quotes for greek input method?
Date: Mon, 09 Aug 2010 11:36:35 +0900

In article <address@hidden>, Giorgos Keramidas <address@hidden> 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
address@hidden

=== 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 via email to

[Prev in Thread] Current Thread [Next in Thread]