* Bug: Buffer restriction lost with org-agenda-sticky enabled
@ 2014-09-28 0:25 Thomas Morgan
0 siblings, 0 replies; only message in thread
From: Thomas Morgan @ 2014-09-28 0:25 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1706 bytes --]
Dear Org mode hackers,
I discovered a bug where refreshing a sticky agenda view
can cause a buffer restriction to be lost.
I'm using the maint branch of Org-mode
version 8.2.7c (`release_8.2.7c-85-g4f4002')
and GNU Emacs 24.3.1 (`x86_64-unknown-linux-gnu',
X toolkit, Xaw3d scroll bars).
I started Emacs with the command `emacs -Q -l setup.el'
(file `setup.el' is attached). Note that `org-agenda-sticky'
is set in `setup.el'.
I then visited the file `foo.org' (attached): `C-x C-f foo.org RET'.
Then I made a list of TODO items in the current file:
`M-x org-agenda RET < t'. It appeared as expected like this:
,----
| Global list of TODO items of type: ALL
| Available with `N r': (0)[ALL]
| foo: TODO Foo :foo:
`----
Next I made a list of headlines (in all files) matching the tag `bar':
`M-x org-agenda RET m bar RET'. It appeared as expected like this:
,----
| Headlines with TAGS match: bar
| Press `C-u r' to search again with new search string
| bar: TODO Bar :bar:
`----
Then I quit the second agenda buffer (the tags query) with `q',
which reselected the first agenda buffer without refreshing it.
I then refreshed the TODO list with `g'. It appeared like this:
,----
| Global list of TODO items of type: ALL
| Available with `N r': (0)[ALL] (1)TODO (2)DONE
| foo: TODO Foo :foo:
| bar: TODO Bar :bar:
`----
It was evidently no longer restricted to the file `foo.org'.
I expected the restriction would continue to apply.
Best,
Thomas
[-- Attachment #2: setup.el --]
[-- Type: application/emacs-lisp, Size: 183 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: foo.org --]
[-- Type: text/x-org, Size: 78 bytes --]
* TODO Foo :foo:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: bar.org --]
[-- Type: text/x-org, Size: 78 bytes --]
* TODO Bar :bar:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-28 0:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-28 0:25 Bug: Buffer restriction lost with org-agenda-sticky enabled Thomas Morgan
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).