all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
	Jamie Beardslee <beardsleejamie@gmail.com>
Cc: emacs-devel@gnu.org
Subject: RE: [PATCH] Add user option to disable location in bookmarks
Date: Sat, 20 Jun 2020 23:37:13 +0000 (UTC)	[thread overview]
Message-ID: <7964f0a0-1995-4dcc-8460-19c2714004db@default> (raw)
In-Reply-To: <jwvsgepfj8l.fsf-monnier+emacs@gnu.org>

> I think it makes sense, but I think it shouldn't be a global option.
> Maybe it should be a setting saved with the bookmark (i.e. when saving
> the bookmark you could specify not to save the location) or otherwise
> specified when jumping.
> 
> Maybe a prefix command which causes the subsequent `bookmark-jump` to
> ignore the location info (and it could also cause a subsequent
> `bookmark-set` not to save the location)?

Please, no.  Overkill, overoverkill.

Just have save-place do what it does for
`find-file' and `dired': move to the save-place
place after the function does its thing.

`bookmark-after-jump-hook'.



  reply	other threads:[~2020-06-20 23:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-20 19:27 [PATCH] Add user option to disable location in bookmarks Jamie Beardslee
2020-06-20 21:35 ` Drew Adams
2020-06-20 22:24   ` Jamie Beardslee
2020-06-20 22:50     ` Stefan Monnier
2020-06-20 23:37       ` Drew Adams [this message]
2020-06-20 23:34     ` Drew Adams
2020-06-21  0:22       ` Jamie Beardslee
2020-06-21  5:19         ` Drew Adams
2020-06-21  9:56         ` Basil L. Contovounesios
2020-06-21  9:13       ` Yuri Khan
2020-06-21 18:44         ` Drew Adams

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=7964f0a0-1995-4dcc-8460-19c2714004db@default \
    --to=drew.adams@oracle.com \
    --cc=beardsleejamie@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.