Re: [Orgmode] org agenda search goes to wrong target location

2009-08-19 Thread Carsten Dominik


On Aug 19, 2009, at 6:40 AM, Samuel Wales wrote:


Another bug, probably unrelated, is that if the outline buffer is
nonexistent and you RET on an agenda line, you get wrong type argument
integer of marker p, nil.

 goto-char(nil)
 (let* ((marker ...) (buffer ...) (pos ...)) (switch-to-buffer
buffer) (and delete-other-windows (delete-other-windows)) (widen)
(goto-char pos) (when (org-mode-p) (org-show-context ...)
(save-excursion ...)))
 org-agenda-switch-to()
 call-interactively(org-agenda-switch-to)

Perhaps it could be fixed by loading the file?  Or is the agenda
buffer useless when the buffer is not there?


The agenda uses markers, and these marker become useless when you  
remove a buffer.


- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org agenda search goes to wrong target location

2009-08-18 Thread Samuel Wales
Another bug, probably unrelated, is that if the outline buffer is
nonexistent and you RET on an agenda line, you get wrong type argument
integer of marker p, nil.

  goto-char(nil)
  (let* ((marker ...) (buffer ...) (pos ...)) (switch-to-buffer
buffer) (and delete-other-windows (delete-other-windows)) (widen)
(goto-char pos) (when (org-mode-p) (org-show-context ...)
(save-excursion ...)))
  org-agenda-switch-to()
  call-interactively(org-agenda-switch-to)

Perhaps it could be fixed by loading the file?  Or is the agenda
buffer useless when the buffer is not there?

Thanks.


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org agenda search goes to wrong target location

2009-08-17 Thread Samuel Wales
On 2009-08-03, Carsten Dominik carsten.domi...@gmail.com wrote:
 I would love to fix this problem, so I would be very
 grateful if anyone could come up with a testcase that
 is reproducible.1

Do others experience it?


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org agenda search goes to wrong target location

2009-08-03 Thread Carsten Dominik




On Jul 24, 2009, at 2:01 AM, Samuel Wales wrote:


Very often, when I do a keyword search in the agenda (m-x
agenda RET s), org-agenda-switch-to (RET) goes to the wrong
location in the target file.  To sync it, the easiest way that I have
found so far is
to open all agenda buffers, kill all agenda buffers, open
all agenda buffers, and run the search again.

Is there an easier way?



I would love to fix this problem, so I would be very
grateful if anyone could come up with a testcase that
is reproducible.1

- Carsten




Thanks.

--
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely.  Conflicts of interest are
destroying research.  Silence = death.  Again.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org agenda search goes to wrong target location

2009-07-25 Thread Bastien
Samuel Wales samolog...@gmail.com writes:

 Very often, when I do a keyword search in the agenda (m-x
 agenda RET s), org-agenda-switch-to (RET) goes to the wrong
 location in the target file.  To sync it, the easiest way that I have
 found so far is
 to open all agenda buffers, kill all agenda buffers, open
 all agenda buffers, and run the search again.

Does this happen only for M-x agenda RET s or for other agenda commands?

-- 
 Bastien


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org agenda search goes to wrong target location

2009-07-25 Thread Samuel Wales
It happens in s and in a.


-- 
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely.  Conflicts of interest are
destroying research.  Silence = death.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org agenda search goes to wrong target location

2009-07-23 Thread Samuel Wales
Very often, when I do a keyword search in the agenda (m-x
agenda RET s), org-agenda-switch-to (RET) goes to the wrong
location in the target file.  To sync it, the easiest way that I have
found so far is
to open all agenda buffers, kill all agenda buffers, open
all agenda buffers, and run the search again.

Is there an easier way?

Thanks.

-- 
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely.  Conflicts of interest are
destroying research.  Silence = death.  Again.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode