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: Giorgos Keramidas
Subject: Re: greek-style quotes for greek input method?
Date: Mon, 09 Aug 2010 09:53:45 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix)

On Mon, 09 Aug 2010 11:36:35 +0900, Kenichi Handa <address@hidden> wrote:
>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:
>
>>     (";<" "«")
>>     (";>" "»")
>
> It seems reasonable to add that rules.
> I've just committed the attached patch to emacs-23 branch.

> === 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" ?ΐ)
>   (":;i" ?ΐ)
>   (";:y" ?ΰ)
> - (":;y" ?ΰ))
> + (":;y" ?ΰ)
> + (";<" "«")
> + (";>" "»"))
>
>  (quail-define-package
>   "greek-postfix" "GreekPost" "Ψ" nil

Thanks!

Should we also modify the greek-postfix rules to include "<;" and ">;"
for the same?




reply via email to

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