From: Alain.Cochard@unistra.fr
To: emacs-orgmode@gnu.org
Subject: Problem jumping back & forth between foonote ref and def with 'C-c C-c'
Date: Fri, 20 Jul 2018 18:28:32 +0200 [thread overview]
Message-ID: <23378.3504.425551.48897@frac.u-strasbg.fr> (raw)
Hello.
I start emacs with
emacs -Q -l .emacs.debug
where the file .emacs.debug contains only
(add-to-list 'load-path "/home/cochard/Org/Coch-git/org-mode/lisp")
giving
Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version
3.18.9) of 2016-04-11 on buildvm-25.phx2.fedoraproject.org Package:
Org mode version 9.1.13 (release_9.1.13-894-gf79545 @
/home/cochard/Org/Coch-git/org-mode/lisp/)
The manual says:
‘C-c C-c’
If the cursor is on a footnote reference, jump to the definition.
If it is a the definition, jump back to the reference.
Now, I visit a file which contains only
* head
foo[fn:1] bar
* Footnotes
[fn:1] tnote
If the cursor is anywhere within the 1st instance of '[fn:1] ' (that
is, including the space) and I type 'C-c C-c' the cursor ends up on
the 1st letter of 'tnote'.
I am not sure if this corresponds to what the manual says but, if I
type 'C-c C-c' again, I get
user-error: `C-c C-c' can do nothing useful here
i.e., I don't "jump back." By contrast, with
emacs -Q
which gives
Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version
3.18.9) of 2016-04-11 on buildvm-25.phx2.fedoraproject.org Package:
Org-mode version 8.2.10 (release_8.2.10 @
/usr/share/emacs/24.5/lisp/org/)
if the cursor is anywhere within the 1st instance of '[fn:1]' and I
type 'C-c C-c' the cursor ends up on the space before 'tnote'. A 2nd
'C-c C-c' brings the cursor back to the 1st '[' of the 1st '[fn:1]'.
This does correspond to what I would qualify as "jumping back."
In other words, version 8.2.10 behaves as I expect, not the master
version. Am I doing/understanding something wrong?
Thank you,
regards.
PS: note the typo in the manual excerpt: "If it is a the
definition...".
--
EOST (École et Observatoire des Sciences de la Terre)
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25
next reply other threads:[~2018-07-20 16:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-20 16:28 Alain.Cochard [this message]
2018-08-21 18:13 ` Problem jumping back & forth between foonote ref and def with 'C-c C-c' Nicolas Goaziou
2018-08-24 16:59 ` Alain.Cochard
2018-08-29 15:51 ` Alain.Cochard
2018-08-30 22:07 ` Nicolas Goaziou
2018-08-31 1:16 ` Alain.Cochard
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=23378.3504.425551.48897@frac.u-strasbg.fr \
--to=alain.cochard@unistra.fr \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.