emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Should C-c C-c always jump between a footnote and its definition? C-c C-x f, too?
@ 2014-06-20 20:55 Grant Rettke
  2014-06-20 22:13 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Rettke @ 2014-06-20 20:55 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Good evening,

Today I noticed that hitting C-c C-c won't always jump back and forth
between its reference. I assume
that this because there may be many, and that makes sense. The other
thing that I noticed, though
is that C-c C-x f sometimes works and sometimes doesn't. Specifically,
sometimes it goes to the newly
created footnote, and sometimes it doesn't. However, this is just on
my one file. Here
is what I mean:

File: https://github.com/grettke/home/blob/master/TC3F.org
Emacs init: https://github.com/grettke/home/blob/master/.emacs.el
Emacs: 24.3.1
org: 8.2.7

Here is the simplest example, but this is code just representative by
hand in Emacs:
(find-file "TC3F.org")
(got-char 1642)
(org-ctrl-c-ctrl-c)

That moves the cursor up to line 37, instead of where the footnote
lives on 3898.

Ideas:
1. I screwed up the format of the footnotes.
2. Go back in version control and manually cope with this. I would
still like the understand the issue.

Tried:
1. Renumbering the footnotes with C-u C-c C-x f, but got the same behavior.

Now, I am asking for help, because this one is odd to see.

Kind regards,

Grant Rettke | ACM, ASA, FSF, IEEE, SIAM
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson

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

* Re: Should C-c C-c always jump between a footnote and its definition? C-c C-x f, too?
  2014-06-20 20:55 Should C-c C-c always jump between a footnote and its definition? C-c C-x f, too? Grant Rettke
@ 2014-06-20 22:13 ` Nicolas Goaziou
  2014-06-21  2:22   ` Grant Rettke
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2014-06-20 22:13 UTC (permalink / raw)
  To: Grant Rettke; +Cc: emacs-orgmode@gnu.org

Hello,

Grant Rettke <gcr@wisdomandwonder.com> writes:

> Today I noticed that hitting C-c C-c won't always jump back and forth
> between its reference. I assume
> that this because there may be many, and that makes sense. The other
> thing that I noticed, though
> is that C-c C-x f sometimes works and sometimes doesn't. Specifically,
> sometimes it goes to the newly
> created footnote, and sometimes it doesn't. However, this is just on
> my one file. Here
> is what I mean:
>
> File: https://github.com/grettke/home/blob/master/TC3F.org
> Emacs init: https://github.com/grettke/home/blob/master/.emacs.el
> Emacs: 24.3.1
> org: 8.2.7
>
> Here is the simplest example, but this is code just representative by
> hand in Emacs:
> (find-file "TC3F.org")
> (got-char 1642)
> (org-ctrl-c-ctrl-c)
>
> That moves the cursor up to line 37, instead of where the footnote
> lives on 3898.

I cannot reproduce it, neither on maint nor on master. Each time, cursor
ends up on line 3898.


Regards,

-- 
Nicolas Goaziou

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

* Re: Should C-c C-c always jump between a footnote and its definition? C-c C-x f, too?
  2014-06-20 22:13 ` Nicolas Goaziou
@ 2014-06-21  2:22   ` Grant Rettke
  2014-06-21  7:34     ` Nicolas Richard
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Rettke @ 2014-06-21  2:22 UTC (permalink / raw)
  To: Grant Rettke, emacs-orgmode@gnu.org

On Fri, Jun 20, 2014 at 5:13 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> I cannot reproduce it, neither on maint nor on master. Each time, cursor
> ends up on line 3898.

Understood. Thank you much for trying.

I will convert the document to in-line footnotes.

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

* Re: Should C-c C-c always jump between a footnote and its definition? C-c C-x f, too?
  2014-06-21  2:22   ` Grant Rettke
@ 2014-06-21  7:34     ` Nicolas Richard
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Richard @ 2014-06-21  7:34 UTC (permalink / raw)
  To: Grant Rettke; +Cc: emacs-orgmode@gnu.org

Grant Rettke <gcr@wisdomandwonder.com> writes:

> On Fri, Jun 20, 2014 at 5:13 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>> I cannot reproduce it, neither on maint nor on master. Each time, cursor
>> ends up on line 3898.
>
> Understood. Thank you much for trying.
>
> I will convert the document to in-line footnotes.

You tried with org 8.2.7, whereas Nicolas tried with latest maint. A
navigation bug was fixed meanwhile, so it'd be worth trying the latest
maint version before changing your data. (the bugfix isn't in 8.2.7a
unfortunately afaict).

-- 
Nico.

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-20 20:55 Should C-c C-c always jump between a footnote and its definition? C-c C-x f, too? Grant Rettke
2014-06-20 22:13 ` Nicolas Goaziou
2014-06-21  2:22   ` Grant Rettke
2014-06-21  7:34     ` Nicolas Richard

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).