GNU bug report logs - #5688
mention one needs setq-default to change the default major-mode

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Sat, 6 Mar 2010 13:07:01 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jidanni <at> jidanni.org
Cc: 5688 <at> debbugs.gnu.org
Subject: bug#5688: mention one needs setq-default to change the default major-mode
Date: Sat, 06 Mar 2010 14:03:18 -0500
> In (info "(emacs) Choosing Modes")
> After
>       When you visit a file that does not specify a major mode to use, or
>    when you create a new buffer with `C-x b', the default value of the
>    variable `major-mode' specifies which major mode to use.  Normally its
>    value is the symbol `fundamental-mode', which specifies Fundamental
>    mode.
> Please add
>    To change it to e.g., text-mode, in your .emacs use
>       (setq-default major-mode 'text-mode)
>
> Else beginners (and enders) will just try setq.

Fixed, thanks.




This bug report was last modified 15 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.