From: Drew Adams <drew.adams@oracle.com>
To: Colin Baxter <m43cap@yandex.com>
Cc: Bastien <bzg@gnu.org>, Lars Ingebrigtsen <larsi@gnus.org>,
Boruch Baum <boruch_baum@gmx.com>,
"48179@debbugs.gnu.org" <48179@debbugs.gnu.org>
Subject: bug#48179: [External] : bug#48179: bookmark-fontify [PATCH]
Date: Sat, 8 May 2021 00:25:40 +0000 [thread overview]
Message-ID: <SA2PR10MB4474158321F0062D6520F9ECF3569@SA2PR10MB4474.namprd10.prod.outlook.com> (raw)
In-Reply-To: <87im3us7lu.fsf@yandex.com>
> >> It seems to me that all the bookmarks, bm, built-in (including
> >> emacs-28), bookmark+, have disadvantages. Personally, I would use
> >> bookmark+ if were not for the fact that it writes unprompted to
> >> ~/.emacs.
>
> > I don't know what you mean by that. Could you elaborate?
>
> > 1. It never writes to ~/.emacs, unless you've defined that as the
> > bookmark file you want to write to.
>
> Well I can only say what I saw, and bookmark+ did indeed write to
> custom-set-variables. It may be that something in ~/.emacs triggered it,
> but I don't intend to pursue the matter further.
(I mistakenly thought you meant that it writes your
_bookmarks_ to your init file.)
But I think I know what you might be referring to.
And it's a good point.
When your bookmarks are saved, if option
`bmkp-last-as-first-bookmark-file' is non-nil then
its value is updated to the current bookmark file.
Likewise, when you load a bookmark file with
overwriting (i.e. you switch bookmark files), if
that option is non-nil then it's updated to reflect
the new bookmark file.
You can customize that option, but it's also updated
when you save bookmarks or switch bookmark files.
So it's a particular kind of user option. The doc
string tells you about this unusual behavior (in the
"NOTE" part):
`bmkp-last-as-first-bookmark-file':
Whether to use the last-used bookmark file as the first used.
If nil then Emacs always uses the value of `bookmark-default-file'
as the initial bookmark file, in any given session.
If non-nil, Emacs uses the last bookmark file you used, in the
last Emacs session. If none was recorded then it uses
`bookmark-default-file'. The particular non-nil value must be an
absolute file name (possibly containing `~') - it is not expanded).
NOTE: A non-nil option value is overwritten by Bookmark+, so that
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
it becomes the last-used bookmark file. A nil value is never
overwritten.
You can customize this variable.
This is a feature (i.e., by design), not a bug.
But if you customize it to nil then Bookmark+
should never update your init file with its new
value.
___
[It's really unrelated, but I recommend using a
separate `custom-file', and thus not letting
Customize (or code like what I just mentioned)
fiddle with your init file. Code written by
code is better off relegated to a different file
from one you write code in.]
next prev parent reply other threads:[~2021-05-08 0:25 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-03 0:13 bug#48179: bookmark-fontify [PATCH] Boruch Baum
2021-05-03 0:40 ` bug#48179: [External] : " Drew Adams
2021-05-03 1:20 ` Boruch Baum
2021-05-03 1:25 ` Drew Adams
2021-05-04 0:35 ` Stefan Kangas
2021-05-04 16:37 ` bug#48179: [External] : " Drew Adams
2021-05-03 7:54 ` Lars Ingebrigtsen
2021-05-03 9:12 ` Boruch Baum
2021-05-03 9:19 ` Lars Ingebrigtsen
2021-05-03 9:58 ` Boruch Baum
2021-05-04 8:59 ` Lars Ingebrigtsen
2021-05-04 9:02 ` Lars Ingebrigtsen
2021-05-04 9:58 ` Basil L. Contovounesios
2021-05-05 8:13 ` Lars Ingebrigtsen
2021-05-05 12:26 ` Basil L. Contovounesios
2021-05-05 16:30 ` Boruch Baum
2021-05-06 8:57 ` Lars Ingebrigtsen
2021-05-06 10:31 ` Boruch Baum
2021-05-06 18:52 ` Basil L. Contovounesios
2021-05-06 18:52 ` Basil L. Contovounesios
2021-05-06 19:13 ` Boruch Baum
2021-05-06 19:41 ` Basil L. Contovounesios
2021-05-05 17:08 ` Boruch Baum
2021-05-06 8:58 ` Lars Ingebrigtsen
2021-05-06 10:38 ` Boruch Baum
2021-05-06 18:53 ` Basil L. Contovounesios
2021-05-06 11:03 ` Boruch Baum
2021-05-04 18:38 ` Boruch Baum
2021-05-05 8:15 ` Lars Ingebrigtsen
2021-05-05 10:48 ` Boruch Baum
2021-05-05 16:43 ` bug#48179: [External] : " Drew Adams
2021-05-06 8:53 ` Lars Ingebrigtsen
2021-05-05 15:39 ` Bastien
2021-05-05 17:25 ` Boruch Baum
2021-05-05 18:54 ` Eli Zaretskii
2021-05-06 8:54 ` Lars Ingebrigtsen
2021-05-06 9:57 ` Bastien
2021-05-06 10:12 ` Colin Baxter
2021-05-06 10:59 ` Boruch Baum
2021-05-06 8:49 ` Colin Baxter
2021-05-06 8:55 ` Lars Ingebrigtsen
2021-05-06 9:41 ` Colin Baxter
2021-05-06 10:24 ` Boruch Baum
2021-05-06 10:46 ` Colin Baxter
2021-05-06 10:52 ` Colin Baxter
2021-05-07 11:22 ` Lars Ingebrigtsen
2021-05-07 13:52 ` Colin Baxter
2021-05-07 16:22 ` bug#48179: [External] : " Drew Adams
2021-05-07 18:48 ` Colin Baxter
2021-05-08 0:25 ` Drew Adams [this message]
2021-06-06 0:27 ` bug#48179: bookmark-fontify disable by default Y. E.
2021-06-06 3:30 ` Pankaj Jangid
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SA2PR10MB4474158321F0062D6520F9ECF3569@SA2PR10MB4474.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=48179@debbugs.gnu.org \
--cc=boruch_baum@gmx.com \
--cc=bzg@gnu.org \
--cc=larsi@gnus.org \
--cc=m43cap@yandex.com \
/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.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).