From: Dale Snell <ddsnell@frontier.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Need "xemacs/init.el" => "emacs/init.el" help
Date: Thu, 21 Jan 2016 17:43:15 -0800 [thread overview]
Message-ID: <20160121174315.371aae0e@zothique.localdomain> (raw)
In-Reply-To: <87egdal8jh.fsf@debian.uxu>
[-- Attachment #1: Type: text/plain, Size: 1020 bytes --]
On Fri, 22 Jan 2016 02:14:42 +0100, in message
87egdal8jh.fsf@debian.uxu, Emanuel Berg wrote:
> Try this single line in a file ~/fill-column.el:
>
> (setq-default fill-column 15)
>
> (It is set to a ridiculous low just to see if
> it works.)
>
> Now invoke Emacs like this:
>
> $ emacs -Q -l ~/fill-column.el
>
> Now fill the *scratch* message with M-q. To me it gets
> very thin: 15 chars.
Thanks, Emmanuel, that worked just fine. I also tried changing
the setq-default in my init file to plain setq, and everything
worked fine. Now I have to go through my init file and fix any
misused setq-defaults. *sigh* (My goal in using the hook was to
keep the fill-column limited to those modes derived from
text-mode. I.e., I didn't want it to affect fundamental-mode.)
All these years of using Emacs, and I'm still pretty much a tyro
at Elisp. Ah well, I learn. Slowly, maybe, but I learn.
--Dale
--
A child of five could understand this! Fetch me a child of five!
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2016-01-22 1:43 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
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 [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160121174315.371aae0e@zothique.localdomain \
--to=ddsnell@frontier.com \
--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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).