* bug#31348: 26.1; savehist-save errors if savehist-file directory missing
@ 2018-05-02 23:48 Allen Li
2019-07-13 15:13 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Allen Li @ 2018-05-02 23:48 UTC (permalink / raw)
To: 31348
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.
In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.31)
of 2018-04-11 built on sharanohiar.mtv.corp.google.com
Repository revision: 92e0fd880c2d9689b89e13d317356c3ad00c7325
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Debian GNU/Linux rodete (upgraded from: Ubuntu 14.04
LTS)
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#31348: 26.1; savehist-save errors if savehist-file directory missing
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
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-13 15:13 UTC (permalink / raw)
To: Allen Li; +Cc: 31348
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-13 15:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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.