From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Feature request: Menu item "load init files" after -q/-Q Date: Sat, 05 Apr 2008 21:58:00 +0300 Message-ID: References: <87tzig16o6.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1207421902 2397 80.91.229.12 (5 Apr 2008 18:58:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Apr 2008 18:58:22 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Reiner.Steib@gmx.de To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 05 20:58:54 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JiDbJ-00007v-15 for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 20:58:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiDag-0000Xo-3I for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 14:58:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JiDab-0000VB-RH for emacs-devel@gnu.org; Sat, 05 Apr 2008 14:58:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JiDaa-0000Tb-EN for emacs-devel@gnu.org; Sat, 05 Apr 2008 14:58:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiDaa-0000TP-67 for emacs-devel@gnu.org; Sat, 05 Apr 2008 14:58:08 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JiDaZ-0001Lg-PO for emacs-devel@gnu.org; Sat, 05 Apr 2008 14:58:07 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JiDaZ-0007OD-Ef for emacs-pretest-bug@gnu.org; Sat, 05 Apr 2008 14:58:07 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JiDaW-0001Ku-1q for emacs-pretest-bug@gnu.org; Sat, 05 Apr 2008 14:58:07 -0400 Original-Received: from romy.inter.net.il ([213.8.233.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JiDaV-0001Kc-Kh for emacs-pretest-bug@gnu.org; Sat, 05 Apr 2008 14:58:03 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-231-225.inter.net.il [84.229.231.225]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id KRO16579 (AUTH halo1); Sat, 5 Apr 2008 21:58:00 +0300 (IDT) In-reply-to: <87tzig16o6.fsf@uwakimon.sk.tsukuba.ac.jp> (stephen@xemacs.org) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:94432 gmane.emacs.pretest.bugs:21882 Archived-At: > From: "Stephen J. Turnbull" > Cc: Reiner Steib , > emacs-pretest-bug@gnu.org > Date: Sun, 06 Apr 2008 03:46:17 +0900 > > > If a non-trivial .emacs is loaded after Emacs starts, the effect might > > be different from the same .emacs loaded at startup, due to the stage > > of the startup sequence where .emacs is normally loaded. This could > > surprise users, > > You're right about the logic, but I've never heard of such a problem in > 10 years of reading XEmacs lists daily. > > > unless we write a special load function that takes care of these > > subtleties. > > In XEmacs, basically the only things that happen after loading the > init files are (1) defvar'ing the user's mail address to a computed > default, (2) putting text into the scratch buffer, and (3) running > after-init-hook (these are not necessarily in order, but they're > almost certainly independent). (Note that "load-user-init-file" is a > misnomer in that default.el gets loaded too, unless the user > suppresses it.) I was more thinking about setting the various frame parameters (including for the initial frame) and the various hooks the user could set from .emacs, such as window-setup-hook, emacs-startup-hook, etc.