GNU bug report logs - #41808
28.0.50; Various battery.el improvements

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Thu, 11 Jun 2020 15:48:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 28.0.50

Fixed in version 28.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: 41808 <at> debbugs.gnu.org
Cc: mattias engdegÄrd <mattiase <at> acm.org>
Subject: bug#41808: 28.0.50; Various battery.el improvements
Date: Thu, 11 Jun 2020 16:47:40 +0100
[Message part 1 (text/plain, inline)]
X-Debbugs-Cc: Mattias EngdegÄrd <mattiase <at> acm.org>
Tags: patch

While working on bug#39491, I came across various opportunities for
improvement in battery.el.

The attached patch reorders battery-status-function checks based on
obsolescence, adds two new faces for use in battery-mode-line-format,
makes battery-update more robust, fixes documentation, indentation, and
various regexps used, and simplifies file searches and logic.

CCing Mattias to comment on the rx changes.

WDYT?  Thanks,

-- 
Basil

[0001-Various-battery.el-improvements.patch (text/x-diff, attachment)]

This bug report was last modified 4 years and 338 days ago.

Previous Next


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