From: Thomas Morgan <tlm@ziiuu.com>
To: emacs-orgmode@gnu.org
Subject: Bug: Buffer restriction lost with org-agenda-sticky enabled
Date: Sun, 28 Sep 2014 09:25:37 +0900 [thread overview]
Message-ID: <87k34o4mm6.fsf@azha.ziiuu.com> (raw)
[-- 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:
reply other threads:[~2014-09-28 0:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87k34o4mm6.fsf@azha.ziiuu.com \
--to=tlm@ziiuu.com \
--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).