From mboxrd@z Thu Jan 1 00:00:00 1970 From: "T. V. Raman" Subject: Re: table.el and org.el Date: Mon, 5 Jun 2006 06:03:20 -0700 Message-ID: <17540.11160.268219.725322@localhost.localdomain> References: <17539.30575.663886.673311@localhost.localdomain> Reply-To: raman@users.sf.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FnEjt-0008Fj-KL for emacs-orgmode@gnu.org; Mon, 05 Jun 2006 09:03:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FnEjq-0008F2-Ii for emacs-orgmode@gnu.org; Mon, 05 Jun 2006 09:03:25 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnEjq-0008Ez-Eq for emacs-orgmode@gnu.org; Mon, 05 Jun 2006 09:03:22 -0400 Received: from [216.148.227.151] (helo=rwcrmhc11.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FnEqz-0001kJ-Dd for emacs-orgmode@gnu.org; Mon, 05 Jun 2006 09:10:45 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: dominik@science.uva.nl Cc: emacs-orgmode@gnu.org I hadn't realized org-mode-map did its own rebindings; that should be sufficient in terms of clues for me to trace this down. >>>>> "Carsten" == Carsten Dominik writes: Carsten> I have never closely looked at how table.el works Carsten> and how it creates and installs its special keymap. Carsten> Nor do I know what Emacs speak does. Carsten> Carsten> But I can explain what Org-mode does: Carsten> Carsten> Org-mode defines its own self-insert-command Carsten> (org-self-insert-command). It then re-binds all Carsten> keys that are assigned to self-insert-command in the Carsten> *global* map. That binding takes place in Carsten> org-mode-map. However, for me table.el works fine - Carsten> so that means it does install its keymap correctly Carsten> also in Org-mode. Carsten> Carsten> To summarize - I have no idea where things go wrong. Carsten> Carsten> Things to try would be to (require 'table) before Carsten> org.el gets loaded, and maybe (if that if necessary) Carsten> to force table.tl to built its keymap before the Carsten> first org-mode file gets loaded. Carsten> Carsten> - Carsten Carsten> Carsten> On Jun 5, 2006, at 2:14, T. V. Raman wrote: Carsten> >> 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. >> >> Symptoms: >> >> 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. >> >> Thoughts? >> >> -- >> Best Regards, --raman >> >> >> Email: raman@users.sf.net WWW: >> http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: >> tv.raman.tv@gmail.com PGP: >> http://emacspeak.sf.net/raman/raman-almaden.asc Google: >> tv+raman IRC: irc://irc.freenode.net/#emacs >> >> >> _______________________________________________ >> Emacs-orgmode mailing list Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> >> Carsten> -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Carsten> Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Carsten> Amsterdam phone: +31 20 525 7477 -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs