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: Fri, 22 Jan 2016 02:14:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Dale Snell <ddsnell@frontier.com> writes:

>> What happens if you just put
>> 
>>     (setq-default fill-column 66)
>> 
>> in the init file?
>
> That didn't work, which is why I used the hook.

Perhaps some other configuration is interfering.

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.

> I know Emacs defines some function keys by default,
> but I generally don't use them. I have two function
> keys set: [f1] for help, and [f12] to
> compile-command. Actually, I have [f12] to run the
> command, S-[f12] to set the command, and C-[f12] to
> abort the run. Since neither the help function nor
> compile-command are things I use that much, I'm fine
> with them bound to function keys.

Right, the more often you use the shortcuts the closer
and shorter you want them to be. Default Emacs isn't
bad at this. Most of the really frequent things are
close and short: `forward-word' is M-f,
`backward-word' M-b, `forward-char' C-f,
`backward-char' C-b, and so on.

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




reply via email to

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