Charles de Miramon wrote:
Dov Feldstern wrote:
If we're talking about keymaps, then yes, I find them very useful. I
posted my reasons on the developers list a while back, and I hope to
eventually do some work on improving them, too. See
http://permalink.gmane.org/gmane.editors.lyx.devel/88939 .
If LyX was capable of communicating with the window manager through dbus, it
could send a message "switch the keyboard to Hebrew" when you enter the
cursor in a Hebrew text.
I don't *want* to switch the keyboard at the system level. As I
explained in item (4), I only want to switch the keyboard in my specific
application (LyX), not for the entire OS.
KWin is capable of launching a window in a specific locale, so you can get
an Hebrew LyX in an English desktop.
I don't need KWin for that --- I can just set the locale in my shell
before starting lyx (or wrapping it in a script, if I want to do that
all the time). But anyhow, I'm not sure what the relevance of this is to
keymaps: I use a Hebrew keymap in an English-UI LyX, the two issue are
totally independent of each other, and they should remain that way.
It is not cross-platform,
This is a major consideration.
but on one platform with a little scripting you
can get much more configurability than you can ever code into LyX. For
example, you could script then when you enter an Hebrew text a virtual
Hebrew keyboard appears on screen.
I don't see why keymaps are in the way of this kind of configurability.
Keymaps have a very specific use, and for my needs at least, they do
what they're supposed to do better than any of the alternatives. If you
also want to add dbus support --- for this or for any other purpose,
then by all means, do (though the cross-platform issue would have to be
considered).
As I've mentioned already, I don't see why anyone should *object* to
keymaps. If you prefer the alternatives, the keymaps don't interfere
with them in any way. But for those of us who *do* like keymaps, they
are very useful, and can be made even more so with a little more work
(which I still hope to get to eventually).
Cheers,
Charles
Dov