Re: [O] navigation broken in recent maint

2014-06-19 Thread Nicolas Richard
Samuel Wales samolog...@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.



Re: [O] navigation broken in recent maint

2014-06-19 Thread Samuel Wales
so far, your patch fixes all navigation point placement problems.

thank you!

On 6/18/14, Nicolas Richard theonewiththeevill...@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.



Re: [O] navigation broken in recent maint

2014-06-18 Thread Charles Berry
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






Re: [O] navigation broken in recent maint

2014-06-18 Thread Samuel Wales
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.



Re: [O] navigation broken in recent maint

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



[O] navigation broken in recent maint

2014-06-17 Thread Samuel Wales
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



Re: [O] navigation broken in recent maint

2014-06-17 Thread Samuel Wales
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.