emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* navigation broken in recent maint
@ 2014-06-17 23:56 Samuel Wales
  2014-06-18  0:00 ` Samuel Wales
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Samuel Wales @ 2014-06-17 23:56 UTC (permalink / raw)
  To: emacs-orgmode

quick and dirty bug report.  recent org maint.

1:

jumping from magit (maint) to org using RET always goes
to the wrong location now.

i don't know that this is org's fault.  i have seen it
happen once before, which is when i tried
longlines-mode and similar modes.  i think it was only in org, but i
am not sure.

was there a change in org visibility?

2:

id links always go to the wrong location now.  they jump someplace
near the link.


dunno if 1 and 2 are related.  i'd guess not but they
started in the same snapshot.

can't do ecm at this time.

thanks.

samuel

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

* Re: navigation broken in recent maint
  2014-06-17 23:56 navigation broken in recent maint Samuel Wales
@ 2014-06-18  0:00 ` Samuel Wales
  2014-06-18 19:31 ` Charles Berry
  2014-06-19  6:14 ` Nicolas Richard
  2 siblings, 0 replies; 7+ messages in thread
From: Samuel Wales @ 2014-06-18  0:00 UTC (permalink / raw)
  To: emacs-orgmode

i have seen bad jumping in org with emacs bookmarks.  it will go to
the wrong place, then if i do it again, it goes to the right place.
but it was not all the time.

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

* Re: navigation broken in recent maint
  2014-06-17 23:56 navigation broken in recent maint Samuel Wales
  2014-06-18  0:00 ` Samuel Wales
@ 2014-06-18 19:31 ` Charles Berry
  2014-06-19  0:50   ` Samuel Wales
  2014-06-19  0:52   ` Samuel Wales
  2014-06-19  6:14 ` Nicolas Richard
  2 siblings, 2 replies; 7+ messages in thread
From: Charles Berry @ 2014-06-18 19:31 UTC (permalink / raw)
  To: emacs-orgmode

Samuel Wales <samologist <at> gmail.com> writes:

> 
> quick and dirty bug report.  recent org maint.
> 
> 1:
> 
> jumping from magit (maint) to org using RET always goes
> to the wrong location now.
> 
> i don't know that this is org's fault.  i have seen it
> happen once before, which is when i tried
> longlines-mode and similar modes.  i think it was only in org, but i
> am not sure.
> 
> was there a change in org visibility?
> 
> 2:
> 
> id links always go to the wrong location now.  they jump someplace
> near the link.
> 
> dunno if 1 and 2 are related.  i'd guess not but they
> started in the same snapshot.
> 
> can't do ecm at this time.
> 

Here is one I've adapted from the 

  "navigation broken - occur, org-babel-goto-named-src-block, etc fail" 

thread:

   http://article.gmane.org/gmane.emacs.orgmode/87575

Before executing the src block in what follows the custom_id links work.
After executing the src block the links that are far from their target fail.

Anyone who wants to dig into this should see Nicolas Richard's reply at the 
end of that thread:

http://article.gmane.org/gmane.emacs.orgmode/87598

HTH,

Chuck

==============


* headline A
  :PROPERTIES:
  :CUSTOM_ID: idA
  :END:

[[#idB]]

#+NAME: AAA
#+BEGIN_SRC x

#+END_SRC

#+NAME: filler
#+BEGIN_SRC emacs-lisp :results output
  (let ((i ?a))
        (while (< i ?z)
          (princ (format "* %s\n\n\n#+NAME: %s\n\n" 
                         (char-to-string i) 
                         (char-to-string i)))
          (setq i (1+ i))))

#+END_SRC

[[#idA]]
[[#idB]]


#+RESULTS: filler

[[#idA]]
[[#idB]]



* headline B
  :PROPERTIES:
  :CUSTOM_ID: idB
  :END:

[[#idA]]
[[#idB]]

#+NAME: BBB
#+BEGIN_SRC x

#+END_SRC

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

* Re: navigation broken in recent maint
  2014-06-18 19:31 ` Charles Berry
@ 2014-06-19  0:50   ` Samuel Wales
  2014-06-19  0:52   ` Samuel Wales
  1 sibling, 0 replies; 7+ messages in thread
From: Samuel Wales @ 2014-06-19  0:50 UTC (permalink / raw)
  To: Charles Berry; +Cc: emacs-orgmode

thanks charles.  i hope that others can repro.

ido refile is also broken, but intermittent.  often it just goes to
some apparently random place in the same file.

i am going to revert to an earlier version of org until this can be fixed.

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

* Re: navigation broken in recent maint
  2014-06-18 19:31 ` Charles Berry
  2014-06-19  0:50   ` Samuel Wales
@ 2014-06-19  0:52   ` Samuel Wales
  1 sibling, 0 replies; 7+ messages in thread
From: Samuel Wales @ 2014-06-19  0:52 UTC (permalink / raw)
  To: Charles Berry; +Cc: emacs-orgmode

your mce reliably reproduces the magit bug for me, although i have not
tried with -q yet.  in magit place point on headline b.

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

* Re: navigation broken in recent maint
  2014-06-17 23:56 navigation broken in recent maint Samuel Wales
  2014-06-18  0:00 ` Samuel Wales
  2014-06-18 19:31 ` Charles Berry
@ 2014-06-19  6:14 ` Nicolas Richard
  2014-06-19 21:41   ` Samuel Wales
  2 siblings, 1 reply; 7+ messages in thread
From: Nicolas Richard @ 2014-06-19  6:14 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> quick and dirty bug report.  recent org maint.

I use the following patch to fix most navigation problems I encountered.
I think it will fix yours too.

more details on what the problem actually is can be found at
http://permalink.gmane.org/gmane.emacs.orgmode/87598

here's the patch :

	Modified   lisp/org.el
diff --git a/lisp/org.el b/lisp/org.el
index 6fb0387..d5a9380 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -5484,7 +5484,9 @@ The following commands are available:
 (put 'org-mode 'flyspell-mode-predicate 'org-mode-flyspell-verify)
 
 (defsubst org-fix-ellipsis-at-bol ()
-  (save-excursion (set-window-start (selected-window) (window-start))))
+  nil
+  ;; (save-excursion (set-window-start (selected-window) (window-start)))
+  )
 
 (defun org-find-invisible-foreground ()
   (let ((candidates (remove

-- 
Nico.

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

* Re: navigation broken in recent maint
  2014-06-19  6:14 ` Nicolas Richard
@ 2014-06-19 21:41   ` Samuel Wales
  0 siblings, 0 replies; 7+ messages in thread
From: Samuel Wales @ 2014-06-19 21:41 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: emacs-orgmode

so far, your patch fixes all navigation point placement problems.

thank you!

On 6/18/14, Nicolas Richard <theonewiththeevillook@yahoo.fr> wrote:
> here's the patch :

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.

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

end of thread, other threads:[~2014-06-19 21:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-17 23:56 navigation broken in recent maint Samuel Wales
2014-06-18  0:00 ` Samuel Wales
2014-06-18 19:31 ` Charles Berry
2014-06-19  0:50   ` Samuel Wales
2014-06-19  0:52   ` Samuel Wales
2014-06-19  6:14 ` Nicolas Richard
2014-06-19 21:41   ` Samuel Wales

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).