GNU bug report logs - #60859
[PATCH] Remove reference to the kbd function from documentation

Previous Next

Package: emacs;

Reported by: Panagiotis Koutsourakis <kutsurak <at> slartibartfast.net>

Date: Mon, 16 Jan 2023 12:04:02 UTC

Severity: normal

Tags: patch

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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#60859: closed ([PATCH] Remove reference to the kbd function
 from documentation)
Date: Sat, 21 Jan 2023 07:53:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 21 Jan 2023 09:52:23 +0200
with message-id <835yd0miiw.fsf <at> gnu.org>
and subject line Re: bug#60859: [PATCH] Remove reference to the kbd function from documentation
has caused the debbugs.gnu.org bug report #60859,
regarding [PATCH] Remove reference to the kbd function from documentation
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
60859: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60859
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Panagiotis Koutsourakis <kutsurak <at> slartibartfast.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Remove reference to the kbd function from documentation
Date: Mon, 16 Jan 2023 13:15:22 +0200
[0001-Remove-reference-to-the-kbd-function-from-documentat.patch (text/x-patch, attachment)]
[Message part 4 (text/plain, inline)]
Hi emacs devs,

I am attaching a patch to the manual for emacs 29 that removes from the
text a reference to the `kbd' function when creating a key binding in
Lisp. The example that follows is correct (i.e. it works for me), but
the explanation seems outdated.

I think that this change qualifies as "small", but let me know if you
think I need to assign copyright.

-- 
Best regards,
Panos.
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Panagiotis Koutsourakis <kutsurak <at> slartibartfast.net>
Cc: rpluim <at> gmail.com, 60859-done <at> debbugs.gnu.org
Subject: Re: bug#60859: [PATCH] Remove reference to the kbd function from
 documentation
Date: Sat, 21 Jan 2023 09:52:23 +0200
> From: Panagiotis Koutsourakis <kutsurak <at> slartibartfast.net>
> Cc: rpluim <at> gmail.com,  60859 <at> debbugs.gnu.org
> Date: Tue, 17 Jan 2023 21:40:28 +0200
> 
> On Tue, Jan 17 2023, Eli Zaretskii wrote:
> 
> >
> > There's no need to generalize so much.  Let's handle this specific
> > issue, and then move on.
> >
> > For now, I don't want to remove references to 'kbd' from the manual,
> > because many people still use it.  So please accept that as the
> > baseline, and let's find the best way to describe the new APIs as
> > well.
> 
> Eli, I am not sure if you saw my earlier message with the second
> proposed patch taking into account your feedback from yesterday.
> Apologies for any confusion I caused.
> 
> Robert raised some valid points in his reply about it:
> 
> 1. it does not describe accurately the arguments accepted by the old API:
> lisp strings and vectors of input events are missing. I think that
> pointing the users to the reference manual is enough to remedy this.
> 
> 2. The syntax accepted by the new API and 'kbd' is not explicit. This
> is, I believe, a more serious issue. I don't think that the previous
> versions of the manual had an explicit description of it at this point,
> but since we are re-examining the section anyway, we should write a few
> words. I adapted the description Robert wrote in his e-mail (thank you
> Robert!).
> 
> I am attaching the patch with these changes.

Thanks, installed on the emacs-29 branch (with some changes), and
closing the bug.


This bug report was last modified 2 years and 120 days ago.

Previous Next


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