emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alain.Cochard@unistra.fr
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org, Alain.Cochard@unistra.fr
Subject: Re: Problem jumping back & forth between foonote ref and def with 'C-c C-c'
Date: Wed, 29 Aug 2018 17:51:19 +0200	[thread overview]
Message-ID: <23430.49399.693151.765483@frac.u-strasbg.fr> (raw)
In-Reply-To: <87pnybh9kp.fsf@nicolasgoaziou.fr>

Nicolas Goaziou writes on Tue 21 Aug 2018 20:13:

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

 > As strange as it may sound, I think [this is] correct. 
 > 
 > In 9.1, Org puts point at the location where you can start to edit
 > the definition right away. If you want to "jump back", you can use
 > the Org mark ring, or simply move backward -- a single character is
 > enough but you can also move to the beginning of the line -- and
 > use `C-c C-c' again.

Hello again.  What I did not notice earlier is that, while performing
`C-c C-c' on the first instance of '[fn:1]' -- which results in the
point being put on the 1st letter of 'tnote' --, the minibuffer
displays the following message:

   Edit definition and go back with `C-c &' or, if unique, with `C-c
   C-c'.

So it seems to me that if the behavior is correct, then the message is
inconsistent (`C-c C-c' does not go/jump back).

Regards



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

  parent reply	other threads:[~2018-08-29 15:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-20 16:28 Problem jumping back & forth between foonote ref and def with 'C-c C-c' Alain.Cochard
2018-08-21 18:13 ` Nicolas Goaziou
2018-08-24 16:59   ` Alain.Cochard
2018-08-29 15:51   ` Alain.Cochard [this message]
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

  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=23430.49399.693151.765483@frac.u-strasbg.fr \
    --to=alain.cochard@unistra.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /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).