From: Lars Ingebrigtsen <larsi@gnus.org>
To: Allen Li <darkfeline@felesatra.moe>
Cc: 31348@debbugs.gnu.org
Subject: bug#31348: 26.1; savehist-save errors if savehist-file directory missing
Date: Sat, 13 Jul 2019 17:13:41 +0200 [thread overview]
Message-ID: <87a7diufve.fsf@mouse.gnus.org> (raw)
In-Reply-To: <CADbSrJyZQVBTq4VdxqqG3AhKQ4BGd86mcTXc6DGTVyG94TOW1w@mail.gmail.com> (Allen Li's message of "Wed, 02 May 2018 23:48:36 +0000")
Allen Li <darkfeline@felesatra.moe> writes:
> savehist-save does not create output directory for savehist-file, e.g.:
>
> savehist-save: Opening output file: no such file or directory,
> /home/bob/some/new/cache/dir/history
>
> This is in contrast with other examples, such as
> filesets-menu-cache-file, which offers to create the directory if it
> does not exist.
>
> This is annoying because the error stops C-x C-c from being able to
> exit Emacs.
I've now changed this on the Emacs trunk so that it just creates the
directory (without prompting) before saving.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2019-07-13 15:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-02 23:48 bug#31348: 26.1; savehist-save errors if savehist-file directory missing Allen Li
2019-07-13 15:13 ` Lars Ingebrigtsen [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
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=87a7diufve.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=31348@debbugs.gnu.org \
--cc=darkfeline@felesatra.moe \
/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).