From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rvclayton@verizon.net (R. Clayton) Newsgroups: gmane.emacs.help Subject: Re: Major mode weirdness. Date: Wed, 13 Jul 2011 16:41:42 -0400 Message-ID: <87zkkhyku1.fsf@UlanBator.myhome.westell.com> References: <87d3hejj8p.fsf@UlanBator.myhome.westell.com> <87oc0y81tc.wl%v.plechinger@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1310590285 2810 80.91.229.12 (13 Jul 2011 20:51:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 20:51:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 13 22:51:21 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh6Ov-0007Cb-B3 for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jul 2011 22:51:21 +0200 Original-Received: from localhost ([::1]:48378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh6Ou-0004LT-EE for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Jul 2011 16:51:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh6NJ-0004L2-Nx for help-gnu-emacs@gnu.org; Wed, 13 Jul 2011 16:49:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qh6NI-0004Kw-0c for help-gnu-emacs@gnu.org; Wed, 13 Jul 2011 16:49:41 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:59030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh6NH-0004Ki-M6 for help-gnu-emacs@gnu.org; Wed, 13 Jul 2011 16:49:39 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qh6NF-0006DN-Bh for help-gnu-emacs@gnu.org; Wed, 13 Jul 2011 22:49:37 +0200 Original-Received: from pool-108-5-150-85.nwrknj.fios.verizon.net ([108.5.150.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jul 2011 22:49:37 +0200 Original-Received: from rvclayton by pool-108-5-150-85.nwrknj.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Jul 2011 22:49:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-108-5-150-85.nwrknj.fios.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:rTxZmFnADaxh8nzH514iOBjT+6o= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81575 Archived-At: use (setq default-major-mode 'text-mode) for all new buffers (initial *scratch* buffer is different though) Ah, but that's what started the problem. I originally had that, but learned, via the help-variable documentation, that default-major-mode is obsolete, and should be replaced by major-mode: default-major-mode is a variable defined in `C source code'. Its value is fundamental-mode This variable is obsolete since 23.2; use `major-mode' instead. Documentation: *Value of `major-mode' for new buffers. Wishing to be up-do-date, I replaced default-major-mode with major-mode, and so began my problems (or at least one of them).