Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* another simple question about hooks
@ 2007-11-10 11:58 David Rod
  2007-11-11  9:43 ` Tassilo Horn
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Rod @ 2007-11-10 11:58 UTC (permalink / raw)
  To: info-gnus-english


(defun david-r-turn-on-text-stuff ()
  (flyspell-mode 1)
  (abbrev-mode 1)
 )

(add-hook 'text-mode-hook 'david-r-turn-on-text-stuff)

this works fine.  I want to add a (mark-whole-buffer)
(canonically-space-region)
Whenever I try this, this renders new messages and follow-ups
 by gnus inoperable 
Also another question.  is there a hook by killing a buffer which
contains a file with the extension as .txt ?

-- 

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

end of thread, other threads:[~2007-11-13  7:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-10 11:58 another simple question about hooks David Rod
2007-11-11  9:43 ` Tassilo Horn
2007-11-12 18:14 ` David Z Maze
2007-11-12 23:05   ` David Rod
2007-11-13  7:50     ` Tassilo Horn
     [not found] ` <mailman.3249.1194774209.18990.info-gnus-english@gnu.org>
2007-11-12 22:57   ` David Rod

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 NNTP newsgroup(s).