From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Morgan Subject: Bug dragging lines in tag-restricted agenda Date: Sun, 20 Oct 2013 12:24:30 +0200 Message-ID: <871u3gutnl.fsf@azha.ziiuu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxZw-0003gh-QY for emacs-orgmode@gnu.org; Sun, 20 Oct 2013 14:18:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXxZp-0001ke-HG for emacs-orgmode@gnu.org; Sun, 20 Oct 2013 14:18:16 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:36704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXxZp-0001kT-Af for emacs-orgmode@gnu.org; Sun, 20 Oct 2013 14:18:09 -0400 Received: by mail-wg0-f43.google.com with SMTP id b13so5660349wgh.10 for ; Sun, 20 Oct 2013 11:18:08 -0700 (PDT) Received: from azha.ziiuu.com (gut75-6-88-174-42-219.fbx.proxad.net. [88.174.42.219]) by mx.google.com with ESMTPSA id b13sm47910147wic.9.2013.10.20.11.18.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Oct 2013 11:18:07 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain 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-' 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-' 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 --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=setup.el Content-Transfer-Encoding: quoted-printable (add-to-list 'load-path "/src/org-mode/lisp") (require 'org-install) (setq org-agenda-files '("./test-case.org")) (setq org-agenda-span 'day) (org-agenda-list) --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=test-case.org #+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> --=-=-=--