all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs-lisp-mode and abbrev table
@ 2009-06-18 14:25 Harry Putnam
  2009-06-19 15:06 ` Andreas Roehler
  0 siblings, 1 reply; 2+ messages in thread
From: Harry Putnam @ 2009-06-18 14:25 UTC (permalink / raw)
  To: emacs-devel

Running recent  emacs from cvs 
GNU Emacs 23.0.94.1 (i486-pc-linux-gnu) of 2009-06-10 on reader
 
Posted here in case this problem I'm having is 23.X related.

I can't make an abbrev work in emacs-lisp-mode for some reason.

There are no errors when I commit them with `Ctrl-c Ctrl-c'

But when i return to ~/.emacs... the abbrevs don't work.
closing emacs and restarting it doesn't help either... and I see no
message about saving abbrevs when I close emacs.

Here's an example from abbrevs table:

  (emacs-lisp-mode-abbrev-table)

  "smt"          0    "something"


But it doesn't work in ~/.emacs

With .emacs open  eval: major-mode  shows emacs-lisp-mode





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

* Re: emacs-lisp-mode and abbrev table
  2009-06-18 14:25 emacs-lisp-mode and abbrev table Harry Putnam
@ 2009-06-19 15:06 ` Andreas Roehler
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Roehler @ 2009-06-19 15:06 UTC (permalink / raw)
  To: Harry Putnam; +Cc: help-gnu-emacs

Harry Putnam wrote:
> Running recent  emacs from cvs 
> GNU Emacs 23.0.94.1 (i486-pc-linux-gnu) of 2009-06-10 on reader
>  
> Posted here in case this problem I'm having is 23.X related.
> 
> I can't make an abbrev work in emacs-lisp-mode for some reason.
> 
> There are no errors when I commit them with `Ctrl-c Ctrl-c'
> 
> But when i return to ~/.emacs... the abbrevs don't work.
> closing emacs and restarting it doesn't help either... and I see no
> message about saving abbrevs when I close emacs.
> 
> Here's an example from abbrevs table:
> 
>   (emacs-lisp-mode-abbrev-table)
> 
>   "smt"          0    "something"
> 
> 
> But it doesn't work in ~/.emacs
> 
> With .emacs open  eval: major-mode  shows emacs-lisp-mode
> 
> 
> 
> 


for some reasons I ignore mode abbrev-table in charge usually is

(lisp-mode-abbrev-table)

editing this should deliver the result.

Try (abbrev-table-name local-abbrev-table)


Andreas





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

end of thread, other threads:[~2009-06-19 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-18 14:25 emacs-lisp-mode and abbrev table Harry Putnam
2009-06-19 15:06 ` Andreas Roehler

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.