From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs Subject: bug#14992: 24.2.91; Initial-major-mode not respected! Date: Wed, 31 Jul 2013 15:47:57 +0200 Organization: Sebastien Vauban Message-ID: <86txja96ya.fsf@somewhere.org> References: <864nbbyxji.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375281024 17883 80.91.229.3 (31 Jul 2013 14:30:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Jul 2013 14:30:24 +0000 (UTC) Cc: 14992-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Wed Jul 31 16:30:25 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4XQ0-0005F2-Hs for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Jul 2013 16:30:24 +0200 Original-Received: from localhost ([::1]:43720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4XQ0-0003OY-3q for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Jul 2013 10:30:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4XPr-0003NJ-KI for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Wed, 31 Jul 2013 10:30:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4Wm2-0003uF-Au for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Wed, 31 Jul 2013 09:49:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4Wm2-0003tv-7L for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Wed, 31 Jul 2013 09:49:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V4Wm1-0006no-1u for bug-gnu-emacs-mXXj517/zsQ@public.gmane.org; Wed, 31 Jul 2013 09:49:05 -0400 X-Loop: help-debbugs-mXXj517/zsQ@public.gmane.org Resent-From: "Sebastien Vauban" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Resent-Date: Wed, 31 Jul 2013 13:49:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs-mXXj517/zsQ@public.gmane.org X-GNU-PR-Message: followup 14992 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14992-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org id=B14992.137527850026056 (code B ref 14992); Wed, 31 Jul 2013 13:49:04 +0000 Original-Received: (at 14992) by debbugs.gnu.org; 31 Jul 2013 13:48:20 +0000 Original-Received: from localhost ([127.0.0.1]:60467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4WlI-0006m9-8n for submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Wed, 31 Jul 2013 09:48:20 -0400 Original-Received: from dd5e0353a.access.telenet.be ([213.224.53.58]:55445 helo=mail.missioncriticalit.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4WlF-0006lf-Mj for 14992-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org; Wed, 31 Jul 2013 09:48:18 -0400 Original-Received: from MUNDANEUM. (unknown [10.10.4.62]) by mail.missioncriticalit.com (Postfix) with ESMTPS id AB084501167; Wed, 31 Jul 2013 15:48:10 +0200 (CEST) In-Reply-To: (Juanma Barranquero's message of "Wed, 31 Jul 2013 12:17:44 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt) X-Url: Under construction... X-Archive: encrypt X-BeenThere: debbugs-submit-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:76858 Archived-At: Juanma Barranquero wrote: > Sebastien Vauban wrote: > >> With the following minimal .emacs file > > [...] > >> (info) Loading `d:/Users/sva/src/emacs-leuven/.emacs-minimal.el'...done > > So, no, you're not using that code as an .emacs file, you're likely doing > > emacs -Q -l .emacs-minimal.el You're right! > and, at that point, *scratch* already has been created, in the default > major mode. > > If I put you code on .emacs, I get > > (info) Loading `c:/Devel/emacs/test/.emacs'... > First-change-hook called for temporary buffer ` *temp*' (in > `fundamental-mode') [9 times] > First-change-hook called for temporary buffer ` *load*' (in > `fundamental-mode') [9 times] > For information about GNU Emacs and the GNU system, type C-h C-a. > First-change-hook called for temporary buffer `*scratch*' (in > `fundamental-mode') > First-change-hook called for temporary buffer `*About GNU Emacs*' (in > `fundamental-mode') I thought that the scratch buffer was created at the very end of the "initialization" (i.e., before giving me the relay). All of that *now* makes sense. Thanks for your enlightenment... Best regards, Seb -- Sebastien Vauban