[Top][All Lists]

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

Re: [Emacs-orgmode] table.el and org.el

From: Carsten Dominik
Subject: Re: [Emacs-orgmode] table.el and org.el
Date: Mon, 5 Jun 2006 13:29:58 +0200

I have never closely looked at how table.el works and how it creates and installs its special keymap. Nor do I know what Emacs speak does.

But I can explain what Org-mode does:

Org-mode defines its own self-insert-command (org-self-insert-command). It then re-binds all keys that are assigned to self-insert-command in the *global* map. That binding takes place in org-mode-map. However, for me table.el works fine - so that means it does install its keymap correctly also in Org-mode.

To summarize - I have no idea where things go wrong.

Things to try would be to (require 'table) before org.el gets loaded, and maybe (if that if necessary) to force table.tl to built its keymap before the first org-mode file gets loaded.

- Carsten

On Jun 5, 2006, at 2:14, T. V. Raman wrote:

I'm losing table-mode keybindings when I create table.el tables
in org-mode.

This may be due to interction with emacspeak --- see explanation
below, but I need some tips on how to fix this.


I can use table.el tables in non-org buffers.

In org-buffer, if I create a table.el  table I get problems.

Explanation of Problem:

Emacspeak redefines self-insert-command since that command cannot
be advised.
table.el also redefines and rebinds self-insert-command, and I
have advised table.el's insertion commands, that works correctly.

table.el sets up a special keymap where it rebinds
self-insert-command; I've advised the remapping command to become
aware of the need to also rebind emacspeak's  version of
self-insert command.

For some reason there seems to be some interaction between
table.el and org-mode that causes the final step in the above
chain to fail.


Best Regards,

Email:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: address@hidden
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC:    irc://irc.freenode.net/#emacs

Emacs-orgmode mailing list

Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

reply via email to

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