From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r103444: * lisp/facemenu.el (list-colors-display): Use with-help-window (Bug#8048). Date: Wed, 02 Mar 2011 00:19:44 +0200 Message-ID: <83mxlexz3z.fsf@gnu.org> References: <4D6B6AA4.8090008@gmx.at> <4D6BD6EA.4010000@gmx.at> <87mxlg57hs.fsf@stupidchicken.com> <83wrkklzcd.fsf@gnu.org> <87ipw4aq3x.fsf@stupidchicken.com> <8762s32854.fsf@gnu.org> <87ipw3ik43.fsf@stupidchicken.com> <4D6CC0A4.2070904@gmx.at> <83tyfmy8br.fsf@gnu.org> <87pqqatt40.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1299018057 25670 80.91.229.12 (1 Mar 2011 22:20:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 22:20:57 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 01 23:20:51 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PuXw0-0005rC-Di for ged-emacs-devel@m.gmane.org; Tue, 01 Mar 2011 23:20:48 +0100 Original-Received: from localhost ([127.0.0.1]:41113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuXvz-0000q8-Ld for ged-emacs-devel@m.gmane.org; Tue, 01 Mar 2011 17:20:47 -0500 Original-Received: from [140.186.70.92] (port=56902 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuXvs-0000oF-DL for emacs-devel@gnu.org; Tue, 01 Mar 2011 17:20:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuXvr-0005I8-4w for emacs-devel@gnu.org; Tue, 01 Mar 2011 17:20:40 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuXvq-0005I2-Sc for emacs-devel@gnu.org; Tue, 01 Mar 2011 17:20:39 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LHE00F00GFOMG00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 02 Mar 2011 00:20:16 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.183.216]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LHE00F9PGPNJQ40@a-mtaout22.012.net.il>; Wed, 02 Mar 2011 00:20:16 +0200 (IST) In-reply-to: <87pqqatt40.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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: news.gmane.org gmane.emacs.devel:136695 Archived-At: > From: Chong Yidong > Cc: martin rudalics , emacs-devel@gnu.org > Date: Tue, 01 Mar 2011 16:42:55 -0500 > > >> But for one minor detail. `list-colors-print' produces output of the > >> form > >> > >> ghost white ghost white, GhostWhite #f8f8ff > >> > >> where the number of color aliases listed in the middle is currently > >> adjusted according to the actual window width. > > > > Couldn't you try adding more aliases until the gap between the color > > name on the left and the first alias in the middle is small enough? > > You could use current-column to measure the gap. Would that work? > > Are you referring to checking current-column using Lisp code in the > display spec? Not in the display spec, just current-column. > (Remember, we don't know what's the limiting column when > generating the buffer; we only find out at redisplay time.) AFAIK, current-column and indent-to-column work without displaying as well.