all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* abbrev mode .. on by default
@ 2003-02-14  1:19 Harry Putnam
  2003-02-17 12:51 ` Kester Clegg
  0 siblings, 1 reply; 2+ messages in thread
From: Harry Putnam @ 2003-02-14  1:19 UTC (permalink / raw)



Long ago someone posted a message from which I learned to turn on
abbrev mode by default by putting these two in .
emacs.

  (setq default-abbrev-mode t)
  (read-abbrev-file)

I understood if an ~/.abbrev_defs file was in place then the mode
would be on by default.

However, when I open a perl script I still have to turn it on. Is
there something more to set?

There is quite a lot in  C-h i m emacs <RET> about this but scanning
through with `index' seach I didn't notice a section detailing how to
turn this on by default. 

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

* Re: abbrev mode .. on by default
  2003-02-14  1:19 abbrev mode .. on by default Harry Putnam
@ 2003-02-17 12:51 ` Kester Clegg
  0 siblings, 0 replies; 2+ messages in thread
From: Kester Clegg @ 2003-02-17 12:51 UTC (permalink / raw)


Harry Putnam <hgp@sbcglobal.net> writes:

>   (setq default-abbrev-mode t)
>   (read-abbrev-file)
> 
> I understood if an ~/.abbrev_defs file was in place then the mode
> would be on by default.

Nope - I have just the same, almost, and it works for me fine.

(cond ((file-exists-p "~/.abbrev_defs")
       (read-abbrev-file "~/.abbrev_defs")))
(setq save-abbrevs t)
(setq-default abbrev-mode t)
^^^^^^^^^^^^^

Wait - interesting typo, perhaps?  Odd...


-- 
************************************************************************
Kester Clegg				Dept. of Computer Science,
Research Assistant (UTC)		University of York, 
Tel (01904) 43 27 49			email: kester at cs.york.ac.uk
************************************************************************

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

end of thread, other threads:[~2003-02-17 12:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14  1:19 abbrev mode .. on by default Harry Putnam
2003-02-17 12:51 ` Kester Clegg

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.