From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9402: list-colors-display Date: Mon, 29 Aug 2011 23:10:01 +0300 Message-ID: <838vqcf086.fsf@gnu.org> References: <87obz83v0x.fsf@mail.jurta.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1314648672 14467 80.91.229.12 (29 Aug 2011 20:11:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2011 20:11:12 +0000 (UTC) Cc: 9402@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 29 22:11:08 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qy8Ah-0005Vx-9z for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Aug 2011 22:11:03 +0200 Original-Received: from localhost ([::1]:47078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy8Ag-0005kO-Hp for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Aug 2011 16:11:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy8Ae-0005k6-DD for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2011 16:11:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qy8Ad-00079f-Dy for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2011 16:11:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qy8Ad-00079a-BB for bug-gnu-emacs@gnu.org; Mon, 29 Aug 2011 16:10:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qy8Da-0003TA-6H; Mon, 29 Aug 2011 16:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Aug 2011 20:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9402 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9402-submit@debbugs.gnu.org id=B9402.131464879013259 (code B ref 9402); Mon, 29 Aug 2011 20:14:02 +0000 Original-Received: (at 9402) by debbugs.gnu.org; 29 Aug 2011 20:13:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qy8Ck-0003Ro-5f for submit@debbugs.gnu.org; Mon, 29 Aug 2011 16:13:10 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qy8Ch-0003Rc-A6 for 9402@debbugs.gnu.org; Mon, 29 Aug 2011 16:13:08 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQP00E00HAKYI00@a-mtaout20.012.net.il> for 9402@debbugs.gnu.org; Mon, 29 Aug 2011 23:10:01 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.83.44]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQP00EZ1HCOBVB0@a-mtaout20.012.net.il>; Mon, 29 Aug 2011 23:10:01 +0300 (IDT) In-reply-to: <87obz83v0x.fsf@mail.jurta.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 29 Aug 2011 16:14:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50408 Archived-At: > From: Juri Linkov > Date: Mon, 29 Aug 2011 22:27:50 +0300 > > 1. On a tty, running `M-x list-colors-display RET' displays > truncated hex color values like: red #cd000$ > where $ is displayed at the end of the partial line. > > To display the complete line this could be fixed by incrementing > `align-to' from 9 to 10 in `list-colors-print'. But after that > when running it on X two extra spaces are displayed at the end > of these lines. > > Maybe the bug is somewhere deeper in the display engine > that aligns differently on a tty and X? It aligns differently, but the result should be identical. I will take a look. > 2. New faces `gtk_selection_fg_color' and `gtk_selection_bg_color' > now are available for using on GTK but they are not listed in > `list-colors-display', and they can't be selected and completed in > `customize-face'. Did this ever work? Emacs always had platform-specific colors besides those in rgb.txt, I don't think this is something new. > There are more colors that are valid for using but hidden from users > such as e.g. on a tty: `unspecified-fg', `unspecified-bg'. They are meaningless and cannot be set by Emacs. IOW, they are "read-only", as far as Emacs is concerned. Exposing them to users would be confusing.