From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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 Message-ID: <23430.49399.693151.765483@frac.u-strasbg.fr> References: <23378.3504.425551.48897@frac.u-strasbg.fr> <87pnybh9kp.fsf@nicolasgoaziou.fr> Reply-To: alain.cochard@unistra.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fv2ko-0005Zv-PQ for emacs-orgmode@gnu.org; Wed, 29 Aug 2018 11:51:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fv2kj-0002Z4-Ez for emacs-orgmode@gnu.org; Wed, 29 Aug 2018 11:51:34 -0400 Received: from smr2.u-strasbg.fr ([130.79.222.218]:51622 helo=mailhost.u-strasbg.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fv2kj-0002W2-0p for emacs-orgmode@gnu.org; Wed, 29 Aug 2018 11:51:29 -0400 In-Reply-To: <87pnybh9kp.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Alain.Cochard@unistra.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] ' (th= at > > is, including the space) and I type 'C-c C-c' the cursor ends up o= n > > 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.=20 >=20 > 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 --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20 F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25 =20=