emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Morgan <tlm@ziiuu.com>
To: emacs-orgmode@gnu.org
Subject: Bug dragging lines in tag-restricted agenda
Date: Sun, 20 Oct 2013 12:24:30 +0200	[thread overview]
Message-ID: <871u3gutnl.fsf@azha.ziiuu.com> (raw)

[-- 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>

             reply	other threads:[~2013-10-20 18:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-20 10:24 Thomas Morgan [this message]
2013-11-04 22:37 ` Bug dragging lines in tag-restricted agenda 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

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=871u3gutnl.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).