all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug: z in agenda goes to wrong headline
@ 2011-10-06  2:08 Samuel Wales
  2011-10-06  2:10 ` Samuel Wales
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2011-10-06  2:08 UTC (permalink / raw)
  To: emacs-orgmode

I wonder if z is using a marker to go to the headline?  Inserting a
line above in the outline can cause that line to be affected by z.

Maybe the code could confirm that it is the same headline?

I don't use this command, but probably others do.

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

* Re: bug: z in agenda goes to wrong headline
  2011-10-06  2:08 bug: z in agenda goes to wrong headline Samuel Wales
@ 2011-10-06  2:10 ` Samuel Wales
  2011-10-06  2:29   ` Bernt Hansen
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2011-10-06  2:10 UTC (permalink / raw)
  To: emacs-orgmode

To reproduce, RET on a line in the agenda.  Insert a line above.

In agenda, z .

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

* Re: bug: z in agenda goes to wrong headline
  2011-10-06  2:10 ` Samuel Wales
@ 2011-10-06  2:29   ` Bernt Hansen
  2011-10-06  2:48     ` Samuel Wales
  0 siblings, 1 reply; 4+ messages in thread
From: Bernt Hansen @ 2011-10-06  2:29 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> To reproduce, RET on a line in the agenda.  Insert a line above.
>
> In agenda, z .

That's because the agenda uses markers to know where the item is pointed
to.  If you enter a line above it you move the headline but the agenda
marker is not updated.  You need to regenerate the agenda to keep it up
to date.

-Bernt

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

* Re: bug: z in agenda goes to wrong headline
  2011-10-06  2:29   ` Bernt Hansen
@ 2011-10-06  2:48     ` Samuel Wales
  0 siblings, 0 replies; 4+ messages in thread
From: Samuel Wales @ 2011-10-06  2:48 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Hi Bernt,

As I wrote, that's what I figured.  :)

I wonder though if a check should be performed in similar cases.

Samuel

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

end of thread, other threads:[~2011-10-06  2:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-06  2:08 bug: z in agenda goes to wrong headline Samuel Wales
2011-10-06  2:10 ` Samuel Wales
2011-10-06  2:29   ` Bernt Hansen
2011-10-06  2:48     ` Samuel Wales

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.