From: Peter Xu <peterx@redhat.com>
To: help-gnu-emacs@gnu.org
Subject: Default Emacs major mode switched to fundamental-mode?
Date: Fri, 15 Jun 2018 07:40:26 +0800 [thread overview]
Message-ID: <20180614234026.GA16790@xz-mi> (raw)
Hello,
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). I noticed this when I
found all my key bindings are missing when drafting emails via
emacsclient invoked.
Now I'm working around this using this as the last statement of my
configuration files:
(setq auto-mode-alist (append auto-mode-alist '(("" . text-mode))))
Just want to know whether there is any better solution for this? And
why after all we switched the default mode? Shouldn't that break a
lot of people, or it's just me?
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?
Thanks in advance!
--
Peter Xu
next reply other threads:[~2018-06-14 23:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-14 23:40 Peter Xu [this message]
2018-06-15 7:16 ` Default Emacs major mode switched to fundamental-mode? Eli Zaretskii
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=20180614234026.GA16790@xz-mi \
--to=peterx@redhat.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).