From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Default language environment not calling set-language-environment-hook? Date: Tue, 26 Nov 2013 18:30:33 +0200 Message-ID: <83wqjv9lcm.fsf@gnu.org> References: <877gbxz7t2.fsf@gmail.com> <52937C17.3050700@lanl.gov> <87vbzgxdpb.fsf@gmail.com> <83zjorakl7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1385483447 8721 80.91.229.3 (26 Nov 2013 16:30:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2013 16:30:47 +0000 (UTC) Cc: emacs-devel@gnu.org To: Matthias Meulien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 26 17:30:51 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VlLXH-00050d-HK for ged-emacs-devel@m.gmane.org; Tue, 26 Nov 2013 17:30:51 +0100 Original-Received: from localhost ([::1]:59806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlLXG-0006Az-ST for ged-emacs-devel@m.gmane.org; Tue, 26 Nov 2013 11:30:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlLX3-000605-Tb for emacs-devel@gnu.org; Tue, 26 Nov 2013 11:30:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlLWy-00056G-3c for emacs-devel@gnu.org; Tue, 26 Nov 2013 11:30:37 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:60403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlLWx-000569-Ox for emacs-devel@gnu.org; Tue, 26 Nov 2013 11:30:32 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MWV00600PM7YQ00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Tue, 26 Nov 2013 18:30:19 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MWV006F3PUGRM70@a-mtaout22.012.net.il>; Tue, 26 Nov 2013 18:30:16 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165766 Archived-At: > Date: Tue, 26 Nov 2013 10:16:43 +0100 > From: Matthias Meulien > Cc: emacs-devel@gnu.org > > Should not the docstring of `set-language-environment-hook' warn > developers about this? Something like: > > During the start-up process, `set-language-environment' is called > before the user init file is read. Thus adding functions to that > hook in the user init file will have no effect while setting the > default language environment. Sounds far-fetched to me. People who want to hook into the startup procedure should rather use a couple of hooks provided specifically for that purpose, like before-init-hook, after-init-hook, etc.