unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Default Emacs major mode switched to fundamental-mode?
Date: Fri, 15 Jun 2018 10:16:41 +0300	[thread overview]
Message-ID: <83zhzw1puu.fsf@gnu.org> (raw)
In-Reply-To: <20180614234026.GA16790@xz-mi> (message from Peter Xu on Fri, 15 Jun 2018 07:40:26 +0800)

> Date: Fri, 15 Jun 2018 07:40:26 +0800
> From: Peter Xu <peterx@redhat.com>
> 
> I did a recent upgrade of my Fedora 28 system, after that I noticed
> that my default major mode for Emacs now becomes fundamental-mode
> instead of text-mode (I believe it was before).

The default in Emacs was always Fundamental mode.  It's possible that
Fedora changed that in their packages, but the upstream default was
never Text mode.

> I noticed that there is a "default-major-mode" variable that I can
> setup, however it's already text-mode. While if I open another new
> common window it'll still be the fundamental mode not text mode.  So
> how would I use this variable?

Ah, so this might be the reason you thought the default was Text
mode.  Emacs 26 removed the default-SOMETHING variables, so setting
default-major-mode now has no effect.  Instead, use setq-default.



      reply	other threads:[~2018-06-15  7:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-14 23:40 Default Emacs major mode switched to fundamental-mode? Peter Xu
2018-06-15  7:16 ` Eli Zaretskii [this message]

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=83zhzw1puu.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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).