From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Dima Kogan <dima@secretsauce.net>
Cc: 23745-done@debbugs.gnu.org
Subject: bug#23745: 25.0.94; Org: (pop-to-mark-command) doesn't work when using (org-open-at-point) to visit a same-file link
Date: Tue, 27 Feb 2018 01:10:48 +0100 [thread overview]
Message-ID: <87tvu3xpfb.fsf__32415.8109528527$1519690235$gmane$org@nicolasgoaziou.fr> (raw)
In-Reply-To: <87twh01tfu.fsf@secretsauce.net> (Dima Kogan's message of "Fri, 10 Jun 2016 17:05:09 -0700")
Hello,
Dima Kogan <dima@secretsauce.net> writes:
> Hi. Consider this org-mode file:
>
> =====================
> * aaaa
> bbbbb
>
> * cccc
> [[aaaa]]
> =====================
>
> With the point at the [[aaaa]] link, I can visit the aaaa heading with
> C-c C-o (org-open-at-point), and I can go back to where I was with the
> org-specific C-c & (org-mark-ring-goto). But I should also be able to go
> back with C-u C-SPC (effectively pop-to-mark-command), since that works
> for inside-the-same-buffer jumps in all other emacs context, including
> non-org ones. I suspect all we would need to do is to
> (push-mark-command) before we jump in (org-open-at-point). Is this
> simply forgotten, or was it omitted on purpose? If the former, I'll post
> a patch.
Fixed.
Now `org-mark-ring-push' also calls `push-mark'. Ultimately, I think the
latter should replace former, although navigation with Org dedicated
mark ring is still slightly easier (e.g., no distinction between global
and local rings).
Thank you.
Regards,
--
Nicolas Goaziou 0x80A93738
prev parent reply other threads:[~2018-02-27 0:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-11 0:05 bug#23745: 25.0.94; Org: (pop-to-mark-command) doesn't work when using (org-open-at-point) to visit a same-file link Dima Kogan
2016-06-11 11:37 ` Rasmus
2016-06-11 11:37 ` Rasmus
2018-02-27 0:10 ` Nicolas Goaziou
2018-02-27 2:12 ` bug#23745: [O] " Samuel Wales
2018-02-27 2:12 ` bug#23745: " Samuel Wales
2018-02-27 2:12 ` Samuel Wales
2018-02-27 0:10 ` Nicolas Goaziou [this message]
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='87tvu3xpfb.fsf__32415.8109528527$1519690235$gmane$org@nicolasgoaziou.fr' \
--to=mail@nicolasgoaziou.fr \
--cc=23745-done@debbugs.gnu.org \
--cc=dima@secretsauce.net \
/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.