GNU bug report logs -
#66697
30.0.50; [PATCH] desktop-save-mode with expiring remote buffers
Previous Next
Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>
Date: Mon, 23 Oct 2023 09:23:01 UTC
Severity: normal
Tags: patch
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
> Cc: 66697 <at> debbugs.gnu.org, Andy Moreton <andrewjmoreton <at> gmail.com>
> Date: Fri, 08 Dec 2023 15:22:54 +0100
>
> Hi Andy,
>
> Could you try the attached patch to see if it fixes your issue? Thanks.
> (defun dired-desktop-buffer-misc-data (dirname)
> "Auxiliary information to be saved in desktop file."
> - (when (and (stringp desktop-files-not-to-save)
> - (dired-desktop-save-p))
> + (when (or (null desktop-files-not-to-save)
> + (and (stringp desktop-files-not-to-save)
> + (dired-desktop-save-p)))
> (cons
> ;; Value of `dired-directory'.
> (if (consp dired-directory)
Thanks, but I wonder whether a better way would be to modify
dired-desktop-save-p such that it handled correctly non-string values
of desktop-files-not-to-save? That would make the handling of this
variable more local, which is better for maintenance, I think.
WDYT?
This bug report was last modified 1 year and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.