GNU bug report logs -
#35994
Remove leading '*' from defcustom docstring todo considered done
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Wed, 29 May 2019 17:56:01 UTC
Severity: minor
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
[Message part 1 (text/plain, inline)]
Your message dated Sun, 09 Jun 2019 10:12:47 +0300
with message-id <83wohvb5ao.fsf <at> gnu.org>
and subject line Re: bug#35994: Remove leading '*' from defcustom docstring todo considered done
has caused the debbugs.gnu.org bug report #35994,
regarding Remove leading '*' from defcustom docstring todo considered done
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
35994: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35994
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
I looked into the following item in etc/TODO:
> ** Remove any leading '*'s from defcustom doc-strings.
> [done?] [A lot of them are in CC Mode.]
I couldn't find one example. Therefore, I propose that this should be
considered done. I've attached a patch that removes the TODO.
I carried out the following steps, in case anyone wants to verify:
1. find . -type f -name "*.el" -exec grep -Hn -A20 "(defcustom" {} \; > output
2. grep '\*' output > output.filtered
3. Checked output.filtered manually (<< least fun step)
I'm sure there's a better way to do this, but I couldn't be bothered to think of
one.
Thanks,
Stefan Kangas
[0001-etc-TODO-Remove-done-TODO-to-remove-leading-from-def.patch (application/octet-stream, attachment)]
[Message part 5 (message/rfc822, inline)]
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Mon, 3 Jun 2019 02:43:59 +0200
> Cc: 35994 <at> debbugs.gnu.org
>
> Basil L. Contovounesios <contovob <at> tcd.ie> writes:
> > There is also at least one defface (ibuffer-locked-buffer), and the
>
> Please find attached an updated patch fixing this - thanks.
>
> > defvars in lisp/obsolete/cc-compat.el (I just did a quick rgrep '^ "\*').
>
> This is related to the TODO:
>
> ** Convert all defvars with leading '*' in the doc-strings into defcustoms
> of appropriate :type and :group.
>
> I have attached a second patch which fixes this TODO item.
Thanks, I pushed this to the master branch.
Please in the future, if you send several patches that change the same
files, be sure to arrange them in the order you made the changes,
because otherwise they might fail to apply. In this case you sent the
patches in the reverse order; I was lucky to be able to figure out
that they need to be applied in reverse.
(In general, if you change the same files for reasons that are closely
related, like in this case, sending a single patch makes the job of
installing easier.)
This bug report was last modified 6 years and 70 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.