From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fletcher Charest Subject: Re: Agenda items refer to the wrong headline Date: Tue, 8 Apr 2014 22:45:45 +0200 Message-ID: References: <87y4zggeb8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d0438953375b6d704f68e1105 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXctw-00083j-PX for emacs-orgmode@gnu.org; Tue, 08 Apr 2014 16:45:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXctv-0007df-6z for emacs-orgmode@gnu.org; Tue, 08 Apr 2014 16:45:48 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:51815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXctu-0007da-Rl for emacs-orgmode@gnu.org; Tue, 08 Apr 2014 16:45:47 -0400 Received: by mail-wi0-f173.google.com with SMTP id z2so7807069wiv.6 for ; Tue, 08 Apr 2014 13:45:45 -0700 (PDT) In-Reply-To: <87y4zggeb8.fsf@gmail.com> 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: Nick Dokos Cc: emacs-orgmode@gnu.org --f46d0438953375b6d704f68e1105 Content-Type: text/plain; charset=ISO-8859-1 Hello, Thank you Nick for trying, and for confirming this behaviour. Do I need to take further action at this point, or just wait? In any case I'm available to investigate the bug further. FC On Tue, Apr 8, 2014 at 3:07 PM, Nick Dokos wrote: > Fletcher Charest writes: > > > Dear all, > > > > I am confronted to a weird issue with the agenda. I would like to know > if you can reproduce this bug. First of all, my emacs-version is: > > > > GNU Emacs 24.3.1 (i386-mingw-nt5.1.2600) of 2013-03-17 on MARVIN > > > > I installed Org using ELPA (org repository), my org-version is: > > > > Org-mode version 8.2.5h (8.2.5h-94-g91175a-elpaplus @ > ~/.emacs.d/elpa/org-plus-contrib-20140331/) > > > > For this test, Org was the only package installed outside vanilla Emacs > packages. I have no problem with the version of Org bundled with my Emacs > (which is Org-mode version 7.9.3f > > (release_7.9.3f-17-g7524ef @ c:/Program Files/Emacs 24.3/lisp/org/). I > do not load my init.el file. > > > > For the test I used a simple Org file: > > > > * TODO task 1 :pro: > > SCHEDULED: <2014-04-01 mar.> > > * TODO task 2 :perso: > > SCHEDULED: <2014-04-02 mer.> > > > > Then, I displayed the agenda for this file, and filtered it for the > 'perso' tag using '/'. I attached the output for reference. > > > > The problem is that some tasks in the agenda refers to the wrong > headlines in the main file. This is more obvious when activating follow > mode: for example, if I put the cursor on the > > line marked '1' in the attached file, it refers to line '2' in the main > file, which is the wrong line. This is obviously a bug, and of course very > problematic. > > > > Can you reproduce this?! I hope I provided every possible piece of > information. > > > > I tried a bit and I couldn't reproduce it. The agenda > lines are properly linked to the file lines afaict in this version: > > Org-mode version 8.2.5h (release_8.2.5h-667-g971dc4 @ > /home/nick/elisp/org-mode/lisp/) > GNU Emacs 24.3.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of > 2013-07-14 > > But I *did* reproduce it with latest: > Org-mode version 8.2.5h (release_8.2.5h-888-g798bb8 @ > /home/nick/src/emacs/org/org-mode/lisp/) > > I did 'emacs -q -l /path/to/minimal.el' and then > got an agenda, put it in follow mode, searched for the perso > tag and went to that entry: > > C-c a a F / perso n > > and got the wrong line in the main file. The minimal.el is as follows: > > --8<---------------cut here---------------start------------->8--- > ;;; -*- mode: emacs-lisp -*- > > (add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mode/lisp")) > > (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . > org-mode)) > > (require 'org-loaddefs) > > (setq debug-on-error t) > (setq debug-on-quit t) > (setq eval-expression-print-length nil) > (setq eval-expression-print-level nil) > > (global-set-key "\C-cl" 'org-store-link) > (global-set-key "\C-ca" 'org-agenda) > > (setq org-agenda-files '("~/src/org/fletcher-charest-agenda.org")) > --8<---------------cut here---------------end--------------->8--- > > > and the agenda file ~/src/org/fletcher-charest-agenda.org is > > --8<---------------cut here---------------start------------->8--- > * TODO task 1 > :pro: > SCHEDULED: <2014-04-01 mar.> > * TODO task 2 > :perso: > SCHEDULED: <2014-04-02 mer.> > Org-mode version 8.2.5h (release_8.2.5h-888-g798bb8 @ > /home/nick/src/emacs/org/org-mode/lisp/) > --8<---------------cut here---------------end--------------->8--- > > -- > Nick > > > --f46d0438953375b6d704f68e1105 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

Thank you Nick for trying, and for conf= irming this behaviour.

Do I need to take further action at this poin= t, or just wait? In any case I'm available to investigate the bug furth= er.

FC


On Tue, Apr 8, 2014 at 3:07 PM, Nick Dokos <<= a href=3D"mailto:ndokos@gmail.com" target=3D"_blank">ndokos@gmail.com&g= t; wrote:
Flet= cher Charest <fletcher.cha= rest@gmail.com> writes:

> Dear all,
>
> I am confronted to a weird issue with the agenda. I would like to know= if you can reproduce this bug. First of all, my emacs-version is:
>
> GNU Emacs 24.3.1 (i386-mingw-nt5.1.2600) of 2013-03-17 on MARVIN
>
> I installed Org using ELPA (org repository), my org-version is:
>
> Org-mode version 8.2.5h (8.2.5h-94-g91175a-elpaplus @ ~/.emacs.d/elpa/= org-plus-contrib-20140331/)
>
> For this test, Org was the only package installed outside vanilla Emac= s packages. I have no problem with the version of Org bundled with my Emacs= (which is Org-mode version 7.9.3f
> (release_7.9.3f-17-g7524ef @ c:/Program Files/Emacs 24.3/lisp/org/). I= do not load my init.el file.
>
> For the test I used a simple Org file:
>
> * TODO task 1=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0= =A0 =A0=A0=A0 =A0=A0=A0 :pro:
> SCHEDULED: <2014-04-01 mar.>
> * TODO task 2=A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0=A0 =A0=A0= =A0 =A0=A0=A0 =A0=A0=A0 :perso:
> SCHEDULED: <2014-04-02 mer.>
>
> Then, I displayed the agenda for this file, and filtered it for the &#= 39;perso' tag using '/'. I attached the output for reference. >
> The problem is that some tasks in the agenda refers to the wrong headl= ines in the main file. This is more obvious when activating follow mode: fo= r example, if I put the cursor on the
> line marked '1' in the attached file, it refers to line '2= ' in the main file, which is the wrong line. This is obviously a bug, a= nd of course very problematic.
>
> Can you reproduce this?! I hope I provided every possible piece of inf= ormation.
>

I tried a bit and I couldn't reproduce it. The agenda
lines are properly linked to the file lines afaict in this version:

Org-mode version 8.2.5h (release_8.2.5h-667-g971dc4 @ /home/nick/elisp/org-= mode/lisp/)
GNU Emacs 24.3.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of
2013-07-14

But I *did* reproduce it with latest:
Org-mode version 8.2.5h (release_8.2.5h-888-g798bb8 @
/home/nick/src/emacs/org/org-mode/lisp/)

I did 'emacs -q -l /path/to/minimal.el' and then
got an agenda, put it in follow mode, searched for the perso
tag and went to that entry:

C-c a a F / <TAB> perso <RET> n

and got the wrong line in the main file. The minimal.el is as follows:

--8<---------------cut here---------------start------------->8---
;;; -*- mode: emacs-lisp -*-

(add-to-list 'load-path (expand-file-name "~/src/emacs/org/org-mod= e/lisp"))

(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt= \\)$" . org-mode))

(require 'org-loaddefs)

(setq debug-on-error t)
(setq debug-on-quit t)
(setq eval-expression-print-length nil)
(setq eval-expression-print-level nil)

(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)

(setq org-agenda-files '("~/src/org/fletcher-charest-agenda.org"))<= br> --8<---------------cut here---------------end--------------->8---


and the agenda file ~/src/org/fletcher-charest-agenda.org is

--8<---------------cut here---------------start------------->8---
* TODO task 1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0:pro:
SCHEDULED: <2014-04-01 mar.>
* TODO task 2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 :perso:
SCHEDULED: <2014-04-02 mer.>
Org-mode version 8.2.5h (release_8.2.5h-888-g798bb8 @ /home/nick/src/= emacs/org/org-mode/lisp/)
--8<---------------cut here---------------end--------------->8---

--
Nick



--f46d0438953375b6d704f68e1105--