From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Peter Xu Newsgroups: gmane.emacs.help Subject: Default Emacs major mode switched to fundamental-mode? Date: Fri, 15 Jun 2018 07:40:26 +0800 Message-ID: <20180614234026.GA16790@xz-mi> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: blaine.gmane.org 1529027128 6829 195.159.176.226 (15 Jun 2018 01:45:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2018 01:45:28 +0000 (UTC) User-Agent: Mutt/1.10.0 (2018-05-17) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 15 03:45:24 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTdno-0001hm-BM for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Jun 2018 03:45:24 +0200 Original-Received: from localhost ([::1]:43821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTdpv-0002Q5-D2 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jun 2018 21:47:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTbr1-0006X9-PO for help-gnu-emacs@gnu.org; Thu, 14 Jun 2018 19:40:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTbqw-0004Wv-QF for help-gnu-emacs@gnu.org; Thu, 14 Jun 2018 19:40:35 -0400 Original-Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60670 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fTbqw-0004Wl-KR for help-gnu-emacs@gnu.org; Thu, 14 Jun 2018 19:40:30 -0400 Original-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0626A401EF39 for ; Thu, 14 Jun 2018 23:40:30 +0000 (UTC) Original-Received: from xz-mi (ovpn-12-17.pek2.redhat.com [10.72.12.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 17E1610FFE53 for ; Thu, 14 Jun 2018 23:40:28 +0000 (UTC) Content-Disposition: inline X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 14 Jun 2018 23:40:30 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Thu, 14 Jun 2018 23:40:30 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'peterx@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 X-Mailman-Approved-At: Thu, 14 Jun 2018 21:46:21 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117166 Archived-At: 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