GNU bug report logs - #76446
[Patch Debbugs] Infrastructure Improvements

Previous Next

Package: emacs;

Reported by: Morgan Smith <Morgan.J.Smith <at> outlook.com>

Date: Thu, 20 Feb 2025 19:07:02 UTC

Severity: wishlist

Tags: patch

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


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

From: Morgan Smith <morgan.j.smith <at> outlook.com>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 76446 <at> debbugs.gnu.org
Subject: Re: bug#76446: [PATCH v2 5/5] tests: Support older Emacs sorting
 conventions
Date: Sun, 23 Feb 2025 14:21:49 -0500
[Message part 1 (text/plain, inline)]
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Morgan Smith <morgan.j.smith <at> outlook.com> writes:
>
>> --- a/test/debbugs-tests.el
>> +++ b/test/debbugs-tests.el
>> +  (eval-and-compile
>> +    (defun alist-sort (x y)
>> +      (string< (car x) (car y))))
>
> I would define this function in debbugs-test-helpers.el. And perhaps
> give it a debbugs-test- prefix; we don't want to pollute the Emacs name
> space.

Ah, my bad.  I wrongly assumed Emacs had lexical scoping.

I've attached an alternative solution.  It would help stabilize the
return value of `debbugs-get-status'.  But also users should not be
relying on `debbugs-get-status' to have a stable return so maybe this is
a bad idea.

> Best regards, Michael.

[v3-0005-Sort-return-value-of-debbugs-get-status.patch (text/x-patch, attachment)]

This bug report was last modified 71 days ago.

Previous Next


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