From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Martyn Jago Newsgroups: gmane.emacs.help Subject: Re: org-agenda todo list at startup Date: Sun, 20 Feb 2011 12:41:53 +0000 Message-ID: <87wrku3mjy.fsf@btinternet.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298205778 26252 80.91.229.12 (20 Feb 2011 12:42:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Feb 2011 12:42:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 20 13:42:54 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pr8cn-0005Wd-SC for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Feb 2011 13:42:54 +0100 Original-Received: from localhost ([127.0.0.1]:59526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pr8cn-0007XB-8t for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Feb 2011 07:42:53 -0500 Original-Received: from [140.186.70.92] (port=48322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pr8c5-0007Tu-Q0 for help-gnu-emacs@gnu.org; Sun, 20 Feb 2011 07:42:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pr8c4-0004Y6-Kh for help-gnu-emacs@gnu.org; Sun, 20 Feb 2011 07:42:09 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:59102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pr8c4-0004Y0-CI for help-gnu-emacs@gnu.org; Sun, 20 Feb 2011 07:42:08 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pr8c2-00056P-0A for help-gnu-emacs@gnu.org; Sun, 20 Feb 2011 13:42:06 +0100 Original-Received: from 88-96-171-142.dsl.zen.co.uk ([88.96.171.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Feb 2011 13:42:05 +0100 Original-Received: from martyn.jago by 88-96-171-142.dsl.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Feb 2011 13:42:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 88-96-171-142.dsl.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:eDhzP/XXmm+AGHbzKYCyyDm0VAg= 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.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79251 Archived-At: Ben Key writes: > Martyn Jago writes: >> Use the window-setup-hook. This hook shouldn't be used within a library >> apparently, but is fine for your stuff. > > Could you please explain this comment. I ask because I do make use of the > window-setup-hook in a library I am writing. > > Thanks. It was based on vaguely remember reading something to this effect. I found it, and on re-reading perhaps I shouldn't have recommended its use. I've never had any problems with it personally... http://www.gnu.org/software/emacs/elisp/html_node/Window-Systems.html / | Variable: window-setup-hook | | This variable is a normal hook which Emacs runs after handling the | initialization files. Emacs runs this hook after it has completed | loading your init file, the default initialization file (if any), | and the terminal-specific Lisp code, and running the hook | term-setup-hook. | | This hook is used for internal purposes: setting up communication | with the window system, and creating the initial window. Users | should not interfere with it. \ Martyn