emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug dragging lines in tag-restricted agenda
@ 2013-10-20 10:24 Thomas Morgan
  2013-11-04 22:37 ` Bastien
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Morgan @ 2013-10-20 10:24 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2014 bytes --]

Hello, Org mode hackers.

I'm using Org-mode version 8.2 (`release_8.2-157-g1e018e' @
`/src/org-mode/lisp/') and GNU Emacs 24.3.1 (`x86_64-unknown-linux-gnu',
X toolkit, Xaw3d scroll bars) of 2013-09-21.

I started Emacs with `emacs -Q -l setup.el' (file attached).  This
opened a day agenda view.

,----
| Day-agenda (W42):
| Friday     18 October 2013
|   test-case:  Scheduled:  TODO Pick up package from post office        :errands:
|   test-case:  Scheduled:  TODO Clean stovetop
|   test-case:  Scheduled:  TODO Buy water at store                      :errands:
`----

I typed `/ TAB errands RET' to restrict it to items with the tag
`errands'.  The restricted view looked like this:

,----
| Day-agenda (W42):
| Friday     18 October 2013
|   test-case:  Scheduled:  TODO Pick up package from post office        :errands:
|   test-case:  Scheduled:  TODO Buy water at store                      :errands:
`----

I moved point to the line containing "Pick up package" and typed
`M-<down>' to drag the line forward.  Since there was a hidden line,
"Clean stovetop", between the other two, I expected no visible change,
or even better, that "Pick up package" would move below "Buy water",
like this:

,----
| Day-agenda (W42):
| Friday     18 October 2013
|   test-case:  Scheduled:  TODO Buy water at store                      :errands:
|   test-case:  Scheduled:  TODO Pick up package from post office        :errands:
`----

Instead, "Clean stovetop" was made visible and "Pick up package" was
moved below it:

,----
| Day-agenda (W42):
| Friday     18 October 2013
|   test-case:  Scheduled:  TODO Clean stovetop
|   test-case:  Scheduled:  TODO Pick up package from post office        :errands:
|   test-case:  Scheduled:  TODO Buy water at store                      :errands:
`----

I believe it is a bug for `M-<down>' to make an item visible that
doesn't match the tag in a tag-narrowed view, and I think the most
useful thing to do is to move the line beyond the next visible item.

Thanks,
Thomas


[-- Attachment #2: setup.el --]
[-- Type: application/emacs-lisp, Size: 165 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: test-case.org --]
[-- Type: text/x-org, Size: 322 bytes --]

#+TITLE: Bug dragging lines in tag-restricted agenda

* TODO Pick up package from post office                             :errands:
  SCHEDULED: <2013-10-18 Fri>
* TODO Clean stovetop
  SCHEDULED: <2013-10-18 Fri>
* TODO Buy water at store                                           :errands:
  SCHEDULED: <2013-10-18 Fri>

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

end of thread, other threads:[~2014-01-30 11:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-20 10:24 Bug dragging lines in tag-restricted agenda Thomas Morgan
2013-11-04 22:37 ` Bastien
2013-11-12 10:27   ` Thomas Morgan
2013-11-12 15:59     ` Bastien
2014-01-12 23:29       ` Bastien
2014-01-29 23:14         ` Thomas Morgan
2014-01-30  0:01           ` Bastien
2014-01-30 11:02     ` 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).