emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Agenda: Don't widen narrowed subtrees
@ 2012-04-11 19:31 Moritz Ulrich
  2012-04-21  0:16 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Moritz Ulrich @ 2012-04-11 19:31 UTC (permalink / raw)
  To: emacs-orgmode

When a file used in the org-agenda is in a narrowed state
(org-narrow-to-subtree or similar) and you refresh the agenda buffer
via `g', it becomes un-narrowed. This is a very annoying behavior as I
tend to narrow to subtrees while editing their contents.

Is this a bug or desired behavior? If the latter, I'll try hunting the
missing `save-restriction' down tomorrow.

-- 
Moritz Ulrich

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Agenda: Don't widen narrowed subtrees
  2012-04-11 19:31 Agenda: Don't widen narrowed subtrees Moritz Ulrich
@ 2012-04-21  0:16 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-04-21  0:16 UTC (permalink / raw)
  To: Moritz Ulrich; +Cc: emacs-orgmode

Hi Moritz,

Moritz Ulrich <ulrich.moritz@googlemail.com> writes:

> When a file used in the org-agenda is in a narrowed state
> (org-narrow-to-subtree or similar) and you refresh the agenda buffer
> via `g', it becomes un-narrowed. This is a very annoying behavior as I
> tend to narrow to subtrees while editing their contents.
>
> Is this a bug or desired behavior? 

This is a bug.

It has been reported and Litvinov Sergey and Bernt Hansen tried to fix
this issue.  See this thread:

  http://thread.gmane.org/gmane.emacs.orgmode/51381/focus=51394

> If the latter, I'll try hunting the
> missing `save-restriction' down tomorrow.

A fix would be very welcome!  

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-21  0:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 19:31 Agenda: Don't widen narrowed subtrees Moritz Ulrich
2012-04-21  0:16 ` Bastien

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).