all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jorge Peixoto de Morais Neto <jorge13515@gmail.com>
Cc: john.b.mastro@gmail.com, 23350-done@debbugs.gnu.org
Subject: bug#23350: 25.0.93; Docstring of bookmark-save-flag wrongly says that bookmark-default-file defaults do ~/.emacs.bmk
Date: Mon, 25 Apr 2016 11:31:28 +0300	[thread overview]
Message-ID: <83y4822iov.fsf@gnu.org> (raw)
In-Reply-To: <1461512268.13483.16.camel@gmail.com> (message from Jorge Peixoto de Morais Neto on Sun, 24 Apr 2016 12:37:48 -0300)

> From: Jorge Peixoto de Morais Neto <jorge13515@gmail.com>
> Date: Sun, 24 Apr 2016 12:37:48 -0300
> 
> On Sat, 2016-04-23 at 14:32 -0700, John Mastro wrote:
> > My reading of the docstring and code is that it's working as intended.
> > It's not that .emacs.bmk is the default, but that it was the default in
> > the past.
> > 
> > The logic seems to be (assuming ~/.emacs.d/ is the user's Emacs
> > directory):
> >   1. If `bookmark-file' is non-nil, use that
> >   2. If ~/.emacs.d/bookmarks exists, use that
> >   3. If ~/.emacs.d/.emacs.bmk exists, use that
> >   4. Otherwise, use ~/.emacs.d/bookmarks
> > 
> > Note that ~/.emacs.d/bookmarks is used in both 2 and 4.
> > 
> > In other words, ~/.emacs.d/bookmarks is the real default, but it's
> > accommodating the continued use of the old default
> > (~/.emacs.d/.emacs.bmk).
> In a vanilla, non-customized installation of Emacs, bookmark-default-file
> is "~/.emacs.d/bookmarks".  That is what should be reported as the default
> value.
> 
> Instead, the docstring of bookmark-save-flag says:
> > To specify the file in which to save them, modify the variable
> > ‘bookmark-default-file’, which is ‘~/.emacs.bmk’ by default.
> 
> This is confusing.  The docstring of bookmark-load is also confusing, as it
> says:
> > Your own personal bookmark file, ‘~/.emacs.bmk’, is
> > maintained automatically by Emacs
> 
> These docstrings could send a novice user in the wrong direction, consuming
> his time and reinforcing the image that configuring Emacs is time-consuming. 

Thanks, fixed for Emacs 25.1.





  reply	other threads:[~2016-04-25  8:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-23 20:42 bug#23350: 25.0.93; Docstring of bookmark-save-flag wrongly says that bookmark-default-file defaults do ~/.emacs.bmk Jorge Peixoto de Morais Neto
2016-04-23 21:32 ` John Mastro
2016-04-24 15:37   ` Jorge Peixoto de Morais Neto
2016-04-25  8:31     ` Eli Zaretskii [this message]
2016-04-23 21:51 ` Jorge Morais
2016-04-25 11:06 ` Jorge

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=83y4822iov.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23350-done@debbugs.gnu.org \
    --cc=john.b.mastro@gmail.com \
    --cc=jorge13515@gmail.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 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.