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: Fri, 24 Aug 2018 18:59:59 +0200	[thread overview]
Message-ID: <23424.14735.127581.215334@frac.u-strasbg.fr> (raw)
In-Reply-To: <87pnybh9kp.fsf@nicolasgoaziou.fr>


Hello, and thanks for the feed back.

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

 > As strange as it may sound, I think both are 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.
 > 
 > In 8.2, point is at a location where `C-c C-c' operates right away, but
 > you still have to move forward to start editing the definition.
 > 
 > My gut feelings is the current behaviour is slightly better, but YWWV.
 > 
 > WDYT?

When I use `C-c C-c', it is almost always to check the content of the
footnote, not to edit it, so you'll understand I prefer the 8.2
behavior.

But even if it is for editing, I'd say it is statistically unlikely
that the editing starts right at the place where the 9.1 behavior puts
the point.  So you generally have to move anyway, so what's one
additional forward character?

In fact, with 9.1, would it be a problem to allow `C-c C-c' to
directly go back to the reference?

Alternatively, could not there be an org variable whose customization
would allow to choose one behavior or the other?

Finally, something I just noticed: with 9.1, after doing `C-c C-x f'
and before entering any character, doing `C-c C-c' repetitively does
jump back and forth between reference and definition.  This seems to
me a little bit inconsistent with the behavior observed after having
entered some characters.

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     

  reply	other threads:[~2018-08-24 17:00 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 [this message]
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

  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=23424.14735.127581.215334@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).