From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: list-colors-display: display all color names Date: Thu, 06 Jan 2005 10:29:09 +0200 Organization: JURTA Message-ID: <87d5wjvtli.fsf@jurta.org> References: <87d5wwsuly.fsf@jurta.org> <87brc5a99w.fsf@jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105001346 9744 80.91.229.6 (6 Jan 2005 08:49:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Jan 2005 08:49:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 06 09:48:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CmTKD-00089e-00 for ; Thu, 06 Jan 2005 09:48:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmTVU-0003o1-MR for ged-emacs-devel@m.gmane.org; Thu, 06 Jan 2005 04:00:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CmTUb-0003nB-AF for emacs-devel@gnu.org; Thu, 06 Jan 2005 03:59:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CmTUZ-0003mO-5R for emacs-devel@gnu.org; Thu, 06 Jan 2005 03:59:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CmTUY-0003lo-Tw for emacs-devel@gnu.org; Thu, 06 Jan 2005 03:59:38 -0500 Original-Received: from [194.126.101.98] (helo=MXR-3.estpak.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CmTI8-00013v-0p; Thu, 06 Jan 2005 03:46:48 -0500 Original-Received: from mail.neti.ee (80-235-32-228-dsl.mus.estpak.ee [80.235.32.228]) by MXR-3.estpak.ee (Postfix) with ESMTP id 06961F1734; Thu, 6 Jan 2005 10:45:58 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 04 Jan 2005 22:30:44 -0500") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31943 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31943 Richard Stallman writes: > I think that placing them at the right window edge would not be > distracting. > > I agree, but note you'd need to handle the case where the list of > aliases is too long and goes past that column. There is no problem if #RRGGBB goes past that column: isearch still can find it, and the user can see and copy the text after doing C-e. What may cause a problem is `with-output-to-temp-buffer' which displays the buffer only after color names are printed into it. This makes problematic the use of the value of `window-width' during inserting the text into the *Colors* buffer. One solution is to move the printing the #RRGGBB values at the right window edge to `temp-buffer-show-hook' where `window-width' returns the right value for the displayed output window. -- Juri Linkov http://www.jurta.org/emacs/