help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need "xemacs/init.el" => "emacs/init.el" help


From: Emanuel Berg
Subject: Re: Need "xemacs/init.el" => "emacs/init.el" help
Date: Thu, 21 Jan 2016 22:49:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Dale Snell <ddsnell@frontier.com> writes:

> ;;; Set the major mode for new buffers to text-mode:
> (setq major-more 'text-mode) ;;; Set the fill column:
> (add-hook 'text-mode-hook (lambda () (setq-default
> fill-column 66)))

Hm - `setq-default' in a mode-specific hook?
Isn't that a contradiction in, uhm, purpose?

What happens if you just put

    (setq-default fill-column 66)

in the init file?

> Also, Emacs defines M-q to run fill-paragraph by
> default; there's no need to define your
> own keybinding.

Well, there can be such a need even in the face of
default bindings but in this case there isn't as M-q
is very good and especially compared to F6 which is
very bad.

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]