emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Berry <ccberry@ucsd.edu>
To: emacs-orgmode@gnu.org
Subject: Re: navigation broken in recent maint
Date: Wed, 18 Jun 2014 19:31:00 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140618T212157-69@post.gmane.org> (raw)
In-Reply-To: CAJcAo8uBpYwz6BjcGtWrFuhNA+EUTgWZ=su18VGqb6=s=iY02Q@mail.gmail.com

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

  parent reply	other threads:[~2014-06-18 19:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20140618T212157-69@post.gmane.org \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).