unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: lekktu@gmail.com, 9751@debbugs.gnu.org,
	Nikos Pitsianis <nikos@cs.duke.edu>
Subject: bug#9751: 23.3; Alternative Keyboard Feature/Bug
Date: Thu, 20 Oct 2011 09:19:09 -0400	[thread overview]
Message-ID: <jwvobxbhkh1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <878vogmazh.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 20 Oct 2011 09:29:54 +0300")

> And `function-key-map' really works even for characters
> with no modifiers (for the value `nil' below):

>   (let ((modifiers '(nil (control) (meta) (control meta)))
>         (map '((?ς . ?w) (?ε . ?e) (?ρ . ?r) (?τ . ?t) (?υ . ?y)
>                (?θ . ?u) (?ι . ?i) (?ο . ?o) (?π . ?p) (?α . ?a)
>                (?σ . ?s) (?δ . ?d) (?φ . ?f) (?γ . ?g) (?η . ?h)
>                (?ξ . ?j) (?κ . ?k) (?λ . ?l) (?ζ . ?z) (?χ . ?x)
>                (?ψ . ?c) (?ω . ?v) (?β . ?b) (?ν . ?n) (?μ . ?m) (?\; . ?q))))
>     (dolist (pair map)
>       (dolist (mod modifiers)
>         (define-key local-function-key-map
>           (vector (append mod (list (car pair))))
>           (vector (append mod (list (cdr pair))))))))

> So `C-χ β' runs `switch-to-buffer' whereas self-inserting characters
> are inserted as is, without translation.

Yes, that's what I expected.

> However, there is another problem.  Single-key bindings don't work in modes
> where they are bound to other commands, like `v' (`dired-view-file') in Dired,
> or `d' (`Info-directory') in Info.

I don't understand what you mean here.  Do you mean that hitting
v/ω/omega will not run dired-view-file?  That's very odd.  Can you try
and investigate why that is?


        Stefan





  reply	other threads:[~2011-10-20 13:19 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-14  7:05 bug#9751: 23.3; Alternative Keyboard Feature/Bug Nikos Pitsianis
2011-10-14 11:48 ` Juanma Barranquero
2011-10-14 17:06   ` Nikos Pitsianis
2011-10-14 17:21     ` Eli Zaretskii
2011-10-14 17:47       ` Nikos Pitsianis
2011-10-14 18:49         ` Stefan Monnier
2011-10-20  0:12           ` Juri Linkov
2011-10-20  2:10             ` Stefan Monnier
2011-10-20  6:29               ` Juri Linkov
2011-10-20 13:19                 ` Stefan Monnier [this message]
2011-10-21 14:01                   ` Juri Linkov
2011-10-21 17:37                     ` Stefan Monnier
2011-10-22 15:36                       ` Juri Linkov
2011-10-23 20:08                         ` Stefan Monnier
2011-10-23 20:24                           ` Andreas Schwab
2011-10-24  3:05                             ` Stefan Monnier
2011-10-24  5:17                               ` Juri Linkov
2011-10-24 13:01                                 ` Stefan Monnier
2011-10-24 15:35                                   ` Juri Linkov
2011-10-24 16:05                                     ` Stefan Monnier
2011-10-24 16:20                                       ` Juri Linkov
2011-10-24 20:18                                         ` Stefan Monnier
2011-10-25  4:33                                           ` Juri Linkov
2011-10-25 12:21                                             ` Stefan Monnier
2011-10-25 12:54                                           ` Stefan Monnier
2011-10-25 15:45                                             ` Juri Linkov
2012-01-12  0:35               ` Juri Linkov
2012-01-12  2:48                 ` Stefan Monnier
2012-01-12 10:33                   ` Juri Linkov
2011-10-14 19:19     ` Juanma Barranquero

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=jwvobxbhkh1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=9751@debbugs.gnu.org \
    --cc=juri@jurta.org \
    --cc=lekktu@gmail.com \
    --cc=nikos@cs.duke.edu \
    /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).