From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Need "xemacs/init.el" => "emacs/init.el" help
Date: Thu, 21 Jan 2016 22:49:50 +0100 [thread overview]
Message-ID: <87io2mli0x.fsf@debian.uxu> (raw)
In-Reply-To: 20160121134503.405c96e8@zothique.localdomain
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
next prev parent reply other threads:[~2016-01-21 21:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-21 19:44 Need "xemacs/init.el" => "emacs/init.el" help Tom Browder
2016-01-21 21:45 ` Dale Snell
2016-01-21 21:49 ` Emanuel Berg [this message]
2016-01-21 22:14 ` Dale Snell
2016-01-21 22:29 ` Tom Browder
2016-01-22 23:21 ` Tom Browder
2016-01-22 1:14 ` Emanuel Berg
2016-01-22 1:43 ` Dale Snell
2016-01-21 21:46 ` Emanuel Berg
2016-01-22 7:04 ` Eli Zaretskii
2016-01-22 23:25 ` Tom Browder
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87io2mli0x.fsf@debian.uxu \
--to=embe8573@student.uu.se \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.