emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode-abbrevs-table and text-mode-abbrevs-table
@ 2008-04-17 16:32 Seweryn Kokot
  2008-04-19  5:15 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Seweryn Kokot @ 2008-04-17 16:32 UTC (permalink / raw)
  To: emacs-orgmode

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.
Seweryn Kokot

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

* Re: org-mode-abbrevs-table and text-mode-abbrevs-table
  2008-04-17 16:32 org-mode-abbrevs-table and text-mode-abbrevs-table Seweryn Kokot
@ 2008-04-19  5:15 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-04-19  5:15 UTC (permalink / raw)
  To: Seweryn Kokot; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]


On Apr 17, 2008, at 6:32 PM, Seweryn Kokot wrote:

> 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.
> Seweryn Kokot


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


[-- Attachment #1.2: Type: text/html, Size: 2590 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-17 16:32 org-mode-abbrevs-table and text-mode-abbrevs-table Seweryn Kokot
2008-04-19  5:15 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

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

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