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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5688 in the body.
You can then email your comments to 5688 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5688; Package emacs. (Sat, 06 Mar 2010 13:07:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 06 Mar 2010 13:07:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: mention one needs setq-default to change the default major-mode
Date: Sat, 06 Mar 2010 20:12:31 +0800
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.
Also perhaps mention setq-default in the (describe-variable 'major-mode) docstring.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5688; Package emacs. (Sat, 06 Mar 2010 19:04:02 GMT) Full text and rfc822 format available.

Message #8 received at 5688 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: jidanni <at> jidanni.org
Cc: 5688 <at> debbugs.gnu.org
Subject: Re: 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.




bug closed, send any further explanations to jidanni <at> jidanni.org Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sat, 06 Mar 2010 19:04:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 04 Apr 2010 11:24:03 GMT) Full text and rfc822 format available.

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.