unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* org-mode-abbrev-table and text-mode-abbrev-table
@ 2008-04-17 14:59 Seweryn Kokot
  0 siblings, 0 replies; 2+ messages in thread
From: Seweryn Kokot @ 2008-04-17 14:59 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I would like to have the same abbrevs in org-mode and text-mode.
I defined text-mode-abbrev-table, but the abbrevs are invisible in org-mode. I
know that message-mode inherits abbrevs from text-mode and it would be nice to
have the same behaviour for org-mode. Any idea how to solve the problem?

Best regards.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-mode-abbrev-table and text-mode-abbrev-table
       [not found] <mailman.10487.1208444415.18990.help-gnu-emacs@gnu.org>
@ 2008-04-19  5:04 ` carsten.dominik
  0 siblings, 0 replies; 2+ messages in thread
From: carsten.dominik @ 2008-04-19  5:04 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 17, 4:59 pm, Seweryn Kokot <sko...@o2.pl> wrote:
> Hello,
>
> I would like to have the same abbrevs inorg-modeand text-mode.
> I defined text-mode-abbrev-table, but the abbrevs are invisible inorg-mode. I
> know that message-mode inherits abbrevs from text-mode and it would be nice to
> have the same behaviour fororg-mode. Any idea how to solve the problem?
>
> Best regards.

Hi Seweryn,

this would be

(add-hook 'org-mode-hook
  (lambda () (setq local-abbrev-table text-mode-abbrev-table)))

This could be done by default, but people use Org for so many
different things
that I do not want to impose this.

- Carsten


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-19  5:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-17 14:59 org-mode-abbrev-table and text-mode-abbrev-table Seweryn Kokot
     [not found] <mailman.10487.1208444415.18990.help-gnu-emacs@gnu.org>
2008-04-19  5:04 ` carsten.dominik

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).