GNU bug report logs - #57532
Restructure mailcap-add-mailcap-entry to improve readability

Previous Next

Package: emacs;

Reported by: Felix Dietrich <felix.dietrich <at> sperrhaken.name>

Date: Thu, 1 Sep 2022 21:39:02 UTC

Severity: wishlist

Tags: patch

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Felix Dietrich <felix.dietrich <at> sperrhaken.name>
Cc: 57532 <at> debbugs.gnu.org
Subject: bug#57532: Restructure mailcap-add-mailcap-entry to improve readability
Date: Fri, 02 Sep 2022 12:09:35 +0200
Felix Dietrich <felix.dietrich <at> sperrhaken.name> writes:

> ‘mailcap-add-mailcap-entry’ is written in a way that makes it hard to
> follow.  My patch aims to improve its readability.  In order to show
> that my modification retains the original functionality, another Patch
> adds ERT test cases for this function.  The new version also shows
> clearer an issue with the current implementation that causes some
> mailcap entries to be forgotten; this is mentioned in a comment.  A
> docstring for the function is added as well.

Thanks; pushed to Emacs 29.





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

Previous Next


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