emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: emacs-orgmode@gnu.org
Subject: Re: Bug: #+STARTUP: overview and org-startup-folded have no effect [7.9.3e (7.9.3e-1032-g791a8d @ /home/horn/Repos/el/org-mode/lisp/)]
Date: Thu, 14 Feb 2013 10:19:03 +0100	[thread overview]
Message-ID: <87ip5vi77c.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 87mwv7i7on.fsf@thinkpad.tsdh.de

Tassilo Horn <thorn@fastmail.fm> writes:

> Since recently, after starting up emacs and bringing up an org agenda
> which loads all my agenda files into buffers as a side-effect, all
> entries in all files are fully expanded, although org-startup-folded
> is set to t.
>
> I've tried adding a
>
>   #+STARTUP: fold
>
> or a
>
>   #+STARTUP: overview
>
> header to the top of my agenda files, but that doesn't change anything.
> Everything is completely expanded after the initial startup.

Just a short addon:

When I do M-x revert-buffer RET in some agenda file (currently being
completely expanded), it's displayed folded (with the exception of the
entry containing point).  That's the correct behavior.

If I invoke `org-agenda-list' again to generate a new agenda, the
reverted agenda files stay in their folded state, too.

Now if I kill the buffer of some agenda file and invoke
`org-agenda-list' which will reopen the file, it's completely expanded
again.

So the problem seems to be that only if an agenda file is opened during
execution of `org-agenda-list', it's expanded completely.  Else,
`org-startup-folded' works correctly.

Bye,
Tassilo

  parent reply	other threads:[~2013-02-14  9:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-14  9:08 Bug: #+STARTUP: overview and org-startup-folded have no effect [7.9.3e (7.9.3e-1032-g791a8d @ /home/horn/Repos/el/org-mode/lisp/)] Tassilo Horn
2013-02-14  9:12 ` Sebastien Vauban
2013-02-14  9:23   ` Bastien
2013-02-14 18:42     ` Tassilo Horn
2013-02-14  9:24   ` Tassilo Horn
2013-02-14  9:42     ` Bastien
2013-02-14 10:05       ` Tassilo Horn
2013-02-14 10:14         ` Bastien
2013-02-14 11:31           ` Tassilo Horn
2013-03-06  9:26             ` Bastien
2013-03-06 10:13               ` Tassilo Horn
2013-02-14  9:19 ` Tassilo Horn [this message]
2013-02-14 10:00   ` Bastien
2013-02-14 10:18     ` Tassilo Horn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ip5vi77c.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).