emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Bug?: org-agenda-set-property sets property on wrong element


From: Max Mikhanosha
Subject: [O] Bug?: org-agenda-set-property sets property on wrong element
Date: Thu, 28 Jun 2012 06:16:06 -0400
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.6 Emacs/23.3.50 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Can someone confirm this, before I try to fix this?

1. Generate agenda
2. Go to some entry A by pressing RET
3. Switch back to agenda, and make sure its the only window (or that
   A's buffer is not in any other window)
4. In Agenda navigate to entry B (in the same buffer as A), and C-c
   C-x p (org-agenda-set-property), use any property name or value

Result: property is set in entry A not in entry B. This is with
org-mode from git, and emacs 23.

The problem seems to be that the code like this (with-current-buffer
buffer (goto-char pos (call-interactively 'some-command)) the point
inside of 'some-command will not be at `pos', but where the user last
moved it, _unless_ the buffer's window is selected window, then
(goto-char) sticks through (call-interactively) boundary.

Could be that there are other pieces of code like this in lurking in
there.

Regards,
  Max



reply via email to

[Prev in Thread] Current Thread [Next in Thread]