GNU bug report logs - #5305
[patch] add defined-colors-with-face-attributes to faces.el

Previous Next

Package: emacs;

Reported by: Jan Moringen <jan.moringen <at> uni-bielefeld.de>

Date: Tue, 5 Jan 2010 14:09:03 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 26.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 5305 in the body.
You can then email your comments to 5305 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5305; Package emacs. (Tue, 05 Jan 2010 14:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Moringen <jan.moringen <at> uni-bielefeld.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 05 Jan 2010 14:09:04 GMT) Full text and rfc822 format available.

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

From: Jan Moringen <jan.moringen <at> uni-bielefeld.de>
To: bug-gnu-emacs <at> gnu.org
Subject: [patch] add defined-colors-with-face-attributes to faces.el
Date: Sun, 03 Jan 2010 22:02:31 +0100
[Message part 1 (text/plain, inline)]
Hi,

in an application I wrote, the user is prompted for a color using
`read-color'. The completion table used there presents color names.
However, based on color names alone, I often found it hard to choose a
color. Therefore I wrote `defined-colors-with-face-attributes' which
is
like `defined-colors' but adds text properties to the color names that
make them render with the color they name as background. I also
changed
`read-color' to call the new function when a color display is
available.

I have tested the new behavior on X displays and TTYs and it seems to
work. However, I could not test windows or other terminal types and/or
other color depths.

If this change is considered useful, I would like to contribute it. I
have done the copyright assignment for Emacs.

Kind regards,
Jan

[read-color-99203-merge-directive.txt (text/plain, attachment)]
[read-color-99203.patch (text/x-patch, attachment)]

Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 05 Jan 2010 23:37:02 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 05 Jan 2010 23:37:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5305; Package emacs. (Sun, 28 Feb 2016 06:31:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jan Moringen <jan.moringen <at> uni-bielefeld.de>
Cc: 5305 <at> debbugs.gnu.org
Subject: Re: bug#5305: [patch] add defined-colors-with-face-attributes to
 faces.el
Date: Sun, 28 Feb 2016 17:30:30 +1100
Jan Moringen <jan.moringen <at> uni-bielefeld.de> writes:

> in an application I wrote, the user is prompted for a color using
> `read-color'. The completion table used there presents color names.
> However, based on color names alone, I often found it hard to choose a
> color. Therefore I wrote `defined-colors-with-face-attributes' which
> is
> like `defined-colors' but adds text properties to the color names that
> make them render with the color they name as background. I also
> changed
> `read-color' to call the new function when a color display is
> available.
>
> I have tested the new behavior on X displays and TTYs and it seems to
> work. However, I could not test windows or other terminal types and/or
> other color depths.

I like it a lot, so I've applied it to the Emacs trunk.  All the colour
combinations were legible on my screen, but perhaps some people have
screens where they may be less so, but I guess we'll find out.

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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 28 Feb 2016 06:32:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 5305 <at> debbugs.gnu.org and Jan Moringen <jan.moringen <at> uni-bielefeld.de> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 28 Feb 2016 06:32:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5305; Package emacs. (Sun, 28 Feb 2016 13:08:02 GMT) Full text and rfc822 format available.

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

From: Jan Moringen <jmoringe <at> techfak.uni-bielefeld.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Jan Moringen
 <jan.moringen <at> uni-bielefeld.de>
Cc: 5305 <at> debbugs.gnu.org
Subject: Re: bug#5305: [patch] add defined-colors-with-face-attributes to
 faces.el
Date: Sun, 28 Feb 2016 14:07:35 +0100
On Sun, 2016-02-28 at 17:30 +1100, Lars Ingebrigtsen wrote:
> Jan Moringen <jan.moringen <at> uni-bielefeld.de> writes:
> 
> > ...
>
> I like it a lot, so I've applied it to the Emacs trunk.  All the
> colour
> combinations were legible on my screen, but perhaps some people have
> screens where they may be less so, but I guess we'll find out.

Thanks for applying this, but http://git.savannah.gnu.org/cgit/emacs.gi
t/commit/?id=8ed026d6176d02412b6c48d9dfbd9f3a345a86a6 seems to show
duplicate definitions of the new functions. Maybe something went wrong
with applying the patch?

Kind regards,
Jan





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#5305; Package emacs. (Mon, 29 Feb 2016 02:33:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jan Moringen <jmoringe <at> techfak.uni-bielefeld.de>
Cc: 5305 <at> debbugs.gnu.org, Jan Moringen <jan.moringen <at> uni-bielefeld.de>
Subject: Re: bug#5305: [patch] add defined-colors-with-face-attributes to
 faces.el
Date: Mon, 29 Feb 2016 13:32:30 +1100
Jan Moringen <jmoringe <at> techfak.uni-bielefeld.de> writes:

> Thanks for applying this, but http://git.savannah.gnu.org/cgit/emacs.gi
> t/commit/?id=8ed026d6176d02412b6c48d9dfbd9f3a345a86a6 seems to show
> duplicate definitions of the new functions. Maybe something went wrong
> with applying the patch?

Thanks for noticing; I've now remove the duplicates.  I must have
applied (parts of) the patch twice or something?

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 28 Mar 2016 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:02 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:02 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Jan 2017 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 223 days ago.

Previous Next


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