all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: raman@users.sf.net
Cc: emacs-orgmode@gnu.org
Subject: Re: table.el and org.el
Date: Mon, 5 Jun 2006 13:29:58 +0200	[thread overview]
Message-ID: <e1ed8aa566d4e2ec57f58049531df5ce@science.uva.nl> (raw)
In-Reply-To: <17539.30575.663886.673311@localhost.localdomain>

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.
>
> 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 Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  reply	other threads:[~2006-06-05 11:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-05  0:14 table.el and org.el T. V. Raman
2006-06-05 11:29 ` Carsten Dominik [this message]
2006-06-05 13:03   ` T. V. Raman
2007-01-17  3:40     ` timotheus
2007-01-31 18:12       ` Carsten Dominik

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e1ed8aa566d4e2ec57f58049531df5ce@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=raman@users.sf.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.