GNU bug report logs - #78713
30.1; Doc of `desktop-restore-mode-handlers'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 6 Jun 2025 21:10:01 UTC

Severity: minor

Found in version 30.1

Full log


Message #8 received at 78713 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>, Juanma Barranquero <lekktu <at> gmail.com>
Cc: 78713 <at> debbugs.gnu.org
Subject: Re: bug#78713: 30.1; Doc of `desktop-restore-mode-handlers'
Date: Sat, 07 Jun 2025 09:41:11 +0300
> Date: Fri, 6 Jun 2025 21:08:44 +0000
> From:  Drew Adams via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> The doc string says only this about the handler args:
> 
> Handlers are called with argument list
> 
>    (DESKTOP-BUFFER-FILE-NAME DESKTOP-BUFFER-NAME DESKTOP-BUFFER-MISC)
> 
> It should say something about each of those args, in particular, it's
> not easy to guess what DESKTOP-BUFFER-MISC is.

I think DESKTOP-BUFFER-MISC is not used nowadays (i.e. always nil).
It seems to be a backward compatibility shim or something.

But to properly document this we need a desktop.el expert.  I CC
Juanma in the hope that he could find some time to help us out here.




This bug report was last modified 8 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.