[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: org-agenda todo list at startup

From: Martyn Jago
Subject: Re: org-agenda todo list at startup
Date: Sun, 20 Feb 2011 02:06:41 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

address@hidden writes:

Hi trebol

Use the window-setup-hook. This hook shouldn't be used within a library
apparently, but is fine for your stuff. It runs after all the init and
customization stuff. This is what I do anyway...

(defun me-startup-in-agenda ()
  (switch-to-buffer "")

  (add-hook 'window-setup-hook 'me-startup-in-agenda)



> Hello Bastien, and thanks for reply.
> The problem is when start emacs, the scratch buffer appears on all
> windows, there is no problem in org (maybe I must change the
> subject...): While .emacs is loading, (org-todo-list t) split the
> window, but when the init process is finished, there is scratch on
> everywhere. I want (org-todo-list -t) appear on a window, and the
> scratch buffer stay at home as a good boy.
> This is my Emacs:
> GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
> Org version isn't important, this will happen with any function put in
> .emacs in the same form (here must be the problem, may poor knowledge of
> lisp).
> Bye,
> Trebol.
> Bastien <address@hidden> writes:
>> Hi,
>> address@hidden writes:
>>> I put in .emacs (org-todo-list t). The frame is divided in two
>>> at start, but the org-agenda window still showing the scratch buffer.
>> I cannot reproduce this with latest Org.  What version of Org and of
>> Emacs are you using?
>>> Anyone can tell me how I can make the scratch buffer don't own the other
>>> window?
>> I'm confused: is your scratch buffer stealing the Org agenda window, or
>> another window?
>> Thanks,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]