GNU bug report logs - #55354
29.0.50; check-declare-directory shouldn't error if there are no c-f statements

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Tue, 10 May 2022 21:43:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 55354 in the body.
You can then email your comments to 55354 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#55354; Package emacs. (Tue, 10 May 2022 21:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonas Bernoulli <jonas <at> bernoul.li>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 10 May 2022 21:43:02 GMT) Full text and rfc822 format available.

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

From: Jonas Bernoulli <jonas <at> bernoul.li>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; check-declare-directory shouldn't error if there are no
 c-f statements
Date: Tue, 10 May 2022 23:42:07 +0200
check-declare-directory shouldn't raise an error if there are no
declare-function statements.

That would allow always running c-d-d from, e.g., a Makefile, without
having to remove support for running check-declare-directory when
removing the last declare-function statement and then having to add
it again when later adding a new statement.

This could be done by using process-lines-ignore-status instead of
process-lines in check-declare-directory.

     Cheers,
     Jonas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55354; Package emacs. (Wed, 11 May 2022 12:20:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: 55354 <at> debbugs.gnu.org
Subject: Re: bug#55354: 29.0.50; check-declare-directory shouldn't error if
 there are no c-f statements
Date: Wed, 11 May 2022 14:18:41 +0200
Jonas Bernoulli <jonas <at> bernoul.li> writes:

> This could be done by using process-lines-ignore-status instead of
> process-lines in check-declare-directory.

Yup.  I've now done this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 55354 <at> debbugs.gnu.org and Jonas Bernoulli <jonas <at> bernoul.li> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 11 May 2022 12:20:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#55354; Package emacs. (Wed, 11 May 2022 14:05:01 GMT) Full text and rfc822 format available.

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

From: Jonas Bernoulli <jonas <at> bernoul.li>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 55354 <at> debbugs.gnu.org
Subject: Re: bug#55354: 29.0.50; check-declare-directory shouldn't error if
 there are no c-f statements
Date: Wed, 11 May 2022 16:04:24 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Yup.  I've now done this in Emacs 29.

Thanks!

And thanks *a lot* for all the bug squashing in general!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jun 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 320 days ago.

Previous Next


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