From unknown Sun Aug 10 08:59:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12618 <12618@debbugs.gnu.org> To: bug#12618 <12618@debbugs.gnu.org> Subject: Status: 24.2.50; Formating of completion candidates in the *Completions* buffer Reply-To: bug#12618 <12618@debbugs.gnu.org> Date: Sun, 10 Aug 2025 15:59:37 +0000 retitle 12618 24.2.50; Formating of completion candidates in the *Completio= ns* buffer reassign 12618 emacs submitter 12618 Dani Moncayo severity 12618 wishlist tag 12618 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 10 15:46:03 2012 Received: (at submit) by debbugs.gnu.org; 10 Oct 2012 19:46:03 +0000 Received: from localhost ([127.0.0.1]:38061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM2ED-00038o-PN for submit@debbugs.gnu.org; Wed, 10 Oct 2012 15:46:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43140) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM2EB-00038X-FI for submit@debbugs.gnu.org; Wed, 10 Oct 2012 15:46:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TM2DQ-0006LZ-VF for submit@debbugs.gnu.org; Wed, 10 Oct 2012 15:45:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM2DQ-0006L5-Rg for submit@debbugs.gnu.org; Wed, 10 Oct 2012 15:45:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM2DP-0001JR-N6 for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 15:45:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TM2DO-0006Dw-Il for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 15:45:11 -0400 Received: from mail-oa0-f41.google.com ([209.85.219.41]:58984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM2DO-0006Dh-EY for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 15:45:10 -0400 Received: by mail-oa0-f41.google.com with SMTP id k14so1121990oag.0 for ; Wed, 10 Oct 2012 12:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=h7DEFYcgr++uk76v3uHJ+rsQsJSdshy7KoxmPcA/Eo0=; b=BQV6vI9rj7+/IuhTXfMQSA4wbQlL+ccWTrMlSUw0izQxHhgEKSnod2YnqsMTs2H9mW Nb7RUX10cmBMRTJpZsnSCAmSWtTvJErGccHWGQH0472rWrJTXP+MT7RFKpWyPXqrh1zO EswwKlGgzpPbk5DAcg56/kqNtX/9Aq1h8eUJd1NXnaTLEm7AHXuF6zEcLBSRUqg8TLrm vqLFGAV0HvQ3FlQwwY2rThQxEzbO4CcdzsQzK6XtHixdjb26up1cvdSHZdqAqBAjnMST jmjhowQ+wIwfTzf7632s0+xXffqWuBd+L6f70NQ8bwhm6R/nfXzbM33RcYu5uIuzrm8e I4Ug== MIME-Version: 1.0 Received: by 10.60.172.233 with SMTP id bf9mr19469900oec.99.1349898309630; Wed, 10 Oct 2012 12:45:09 -0700 (PDT) Received: by 10.60.131.168 with HTTP; Wed, 10 Oct 2012 12:45:09 -0700 (PDT) Date: Wed, 10 Oct 2012 21:45:09 +0200 Message-ID: Subject: 24.2.50; Formating of completion candidates in the *Completions* buffer From: Dani Moncayo To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) severity: minor Recipe from emacs -Q: 1. Maximize the Emacs (graphical) frame. 2. Type: M-x a u t o - I observe that the first creates a *Completions* buffer with the completion candidates formatted in 3 columns, whereas the second reformat those candidates so that the full with of the window is used (6 columns in my case). Why the first didn't use the full width of the window? I think it should. In GNU Emacs 24.2.50.1 (i386-mingw-nt6.1.7601) of 2012-10-10 on DANI-PC Bzr revision: 110500 lekktu@gmail.com-20121010155949-32ouh3o4qooiybaj Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -I../../libs/libxpm-3.5.8/include -I../../libs/libxpm-3.5.8/src -I../../libs/libpng-1.4.10 -I../../libs/zlib-1.2.6 -I../../libs/giflib-4.1.4-1/include -I../../libs/jpeg-6b-4/include -I../../libs/tiff-3.8.2-1/include -I../../libs/libxml2-2.7.8-w32-bin/include/libxml2 -I../../libs/gnutls-3.0.16/include -I../../libs/libiconv-1.14-2-mingw32-dev/include' Important settings: value of $LANG: en_US.UTF8 locale-coding-system: cp1252 default enable-multibyte-characters: t -- Dani Moncayo From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 10 20:41:03 2012 Received: (at 12618) by debbugs.gnu.org; 11 Oct 2012 00:41:03 +0000 Received: from localhost ([127.0.0.1]:38361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM6pg-0001X5-Vv for submit@debbugs.gnu.org; Wed, 10 Oct 2012 20:41:01 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:59360) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM6pe-0001Wo-KZ for 12618@debbugs.gnu.org; Wed, 10 Oct 2012 20:40:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLQG/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCwsOJhIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="201063777" Received: from 69-196-180-6.dsl.teksavvy.com (HELO ceviche.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 10 Oct 2012 20:40:11 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 34B14660CA; Wed, 10 Oct 2012 20:40:11 -0400 (EDT) From: Stefan Monnier To: Dani Moncayo Subject: Re: bug#12618: 24.2.50; Formating of completion candidates in the *Completions* buffer Message-ID: References: Date: Wed, 10 Oct 2012 20:40:11 -0400 In-Reply-To: (Dani Moncayo's message of "Wed, 10 Oct 2012 21:45:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12618 Cc: 12618@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > I observe that the first creates a *Completions* buffer with the > completion candidates formatted in 3 columns, whereas the second > reformat those candidates so that the full with of the window is used > (6 columns in my case). > Why the first didn't use the full width of the window? I think it's because when the text is first laid out, we don't know yet the dimensions of the window where it will be displayed (actually, that window doesn't even exist yet), so we assume a default 80-columns. For the second time, the *Completions* buffer is already displayed in a window, so the dimensions are available. > I think it should. Agreed, which means first display the buffer and then fill it. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 03:13:53 2012 Received: (at 12618) by debbugs.gnu.org; 11 Oct 2012 07:13:53 +0000 Received: from localhost ([127.0.0.1]:38706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMCxt-0001zA-C7 for submit@debbugs.gnu.org; Thu, 11 Oct 2012 03:13:53 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:55007) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TMCxr-0001yt-Dl for 12618@debbugs.gnu.org; Thu, 11 Oct 2012 03:13:52 -0400 Received: (qmail invoked by alias); 11 Oct 2012 07:13:02 -0000 Received: from 62-47-55-150.adsl.highway.telekom.at (EHLO [62.47.55.150]) [62.47.55.150] by mail.gmx.net (mp017) with SMTP; 11 Oct 2012 09:13:02 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+gyGln9e2g8Fu/0UkSkr2ZfrOY2KIForP3PvW6no Vi+IADodRw8bxQ Message-ID: <5076717B.70104@gmx.at> Date: Thu, 11 Oct 2012 09:12:59 +0200 From: martin rudalics MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#12618: 24.2.50; Formating of completion candidates in the *Completions* buffer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12618 Cc: 12618@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) >> I observe that the first creates a *Completions* buffer with the >> completion candidates formatted in 3 columns, whereas the second >> reformat those candidates so that the full with of the window is used >> (6 columns in my case). > >> Why the first didn't use the full width of the window? > > I think it's because when the text is first laid out, we don't know yet > the dimensions of the window where it will be displayed (actually, that > window doesn't even exist yet), so we assume a default 80-columns. > > For the second time, the *Completions* buffer is already displayed in > a window, so the dimensions are available. > >> I think it should. > > Agreed, which means first display the buffer and then fill it. I thought Tabulated List mode would handle that now. martin From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 08:59:23 2012 Received: (at 12618) by debbugs.gnu.org; 11 Oct 2012 12:59:23 +0000 Received: from localhost ([127.0.0.1]:39044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMIMF-00028G-8p for submit@debbugs.gnu.org; Thu, 11 Oct 2012 08:59:23 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:52889) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMIMC-000284-Hh for 12618@debbugs.gnu.org; Thu, 11 Oct 2012 08:59:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLQG/2dsb2JhbABEsEiDSYEIghUBAQQBViMQCzQSFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="201088659" Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Oct 2012 08:58:30 -0400 Received: by pastel.home (Postfix, from userid 20848) id E612059510; Thu, 11 Oct 2012 08:58:29 -0400 (EDT) From: Stefan Monnier To: martin rudalics Subject: Re: bug#12618: 24.2.50; Formating of completion candidates in the *Completions* buffer Message-ID: References: <5076717B.70104@gmx.at> Date: Thu, 11 Oct 2012 08:58:29 -0400 In-Reply-To: <5076717B.70104@gmx.at> (martin rudalics's message of "Thu, 11 Oct 2012 09:12:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12618 Cc: 12618@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) >> Agreed, which means first display the buffer and then fill it. > I thought Tabulated List mode would handle that now. Not sure how it could: the mode has no impact on when the buffer is displayed, and *Completions* doesn't use tabulated list mode (last I checked). Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 12 03:22:56 2012 Received: (at 12618) by debbugs.gnu.org; 12 Oct 2012 07:22:56 +0000 Received: from localhost ([127.0.0.1]:40252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMZaC-0005I7-1D for submit@debbugs.gnu.org; Fri, 12 Oct 2012 03:22:56 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:33661) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TMZa9-0005Hv-Ve for 12618@debbugs.gnu.org; Fri, 12 Oct 2012 03:22:54 -0400 Received: (qmail invoked by alias); 12 Oct 2012 07:21:59 -0000 Received: from 62-47-56-150.adsl.highway.telekom.at (EHLO [62.47.56.150]) [62.47.56.150] by mail.gmx.net (mp001) with SMTP; 12 Oct 2012 09:21:59 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+qZGB9ImWqPAcRlaQQ3EwW7S59r7g0Ky7tXBxBV+ 5xZQgf0JCb6pmE Message-ID: <5077C510.8000704@gmx.at> Date: Fri, 12 Oct 2012 09:21:52 +0200 From: martin rudalics MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#12618: 24.2.50; Formating of completion candidates in the *Completions* buffer References: <5076717B.70104@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >>> Agreed, which means first display the buffer and then fill it. >> I thought Tabulated List mode would handle that now. > > Not sure how it could: the mode has no impact on when the buffer is > displayed, and *Completions* doesn't use tabulated list mode (last > I checked). [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [213.165.64.23 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) 2.2 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy [62.47.56.150 listed in combined.njabl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] X-Debbugs-Envelope-To: 12618 Cc: 12618@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >>> Agreed, which means first display the buffer and then fill it. >> I thought Tabulated List mode would handle that now. > > Not sure how it could: the mode has no impact on when the buffer is > displayed, and *Completions* doesn't use tabulated list mode (last > I checked). [...] Content analysis details: (3.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.2 RCVD_IN_NJABL_PROXY RBL: NJABL: sender is an open proxy [62.47.56.150 listed in combined.njabl.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [213.165.64.23 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rudalics[at]gmx.at) -0.0 SPF_PASS SPF: sender matches SPF record 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% [score: 0.5000] >>> Agreed, which means first display the buffer and then fill it. >> I thought Tabulated List mode would handle that now. > > Not sure how it could: the mode has no impact on when the buffer is > displayed, and *Completions* doesn't use tabulated list mode (last > I checked). Maybe it should. IIUC the idea of Tabulated List mode is to handle the problem described here. martin From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 12 09:54:54 2012 Received: (at 12618) by debbugs.gnu.org; 12 Oct 2012 13:54:54 +0000 Received: from localhost ([127.0.0.1]:40714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMfhW-0006mw-AU for submit@debbugs.gnu.org; Fri, 12 Oct 2012 09:54:54 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:21773) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMfhU-0006ml-EX for 12618@debbugs.gnu.org; Fri, 12 Oct 2012 09:54:52 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLQG/2dsb2JhbABEsEiDSYEIghYBBVYjEAs0EhQYDSSIIboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="201259237" Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Oct 2012 09:53:56 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0667B59519; Fri, 12 Oct 2012 09:53:50 -0400 (EDT) From: Stefan Monnier To: martin rudalics Subject: Re: bug#12618: 24.2.50; Formating of completion candidates in the *Completions* buffer Message-ID: References: <5076717B.70104@gmx.at> <5077C510.8000704@gmx.at> Date: Fri, 12 Oct 2012 09:53:50 -0400 In-Reply-To: <5077C510.8000704@gmx.at> (martin rudalics's message of "Fri, 12 Oct 2012 09:21:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12618 Cc: 12618@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) >>>> Agreed, which means first display the buffer and then fill it. >>> I thought Tabulated List mode would handle that now. >> Not sure how it could: the mode has no impact on when the buffer is >> displayed, and *Completions* doesn't use tabulated list mode (last >> I checked). > Maybe it should. IIUC the idea of Tabulated List mode is to handle the > problem described here. I don't see how Tabulated List Mode would help here. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 13 04:17:38 2012 Received: (at 12618) by debbugs.gnu.org; 13 Oct 2012 08:17:38 +0000 Received: from localhost ([127.0.0.1]:41944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMwuf-0008QE-So for submit@debbugs.gnu.org; Sat, 13 Oct 2012 04:17:38 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:54677) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TMwud-0008Pq-IZ for 12618@debbugs.gnu.org; Sat, 13 Oct 2012 04:17:36 -0400 Received: (qmail invoked by alias); 13 Oct 2012 08:16:35 -0000 Received: from 62-47-41-74.adsl.highway.telekom.at (EHLO [62.47.41.74]) [62.47.41.74] by mail.gmx.net (mp035) with SMTP; 13 Oct 2012 10:16:35 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/97e1e3uD9SWCmDDGEcnHRE/K3hzbSxPJ35x5uWP wDZ/ptSqit8vwr Message-ID: <5079235C.8060107@gmx.at> Date: Sat, 13 Oct 2012 10:16:28 +0200 From: martin rudalics MIME-Version: 1.0 To: Stefan Monnier Subject: Re: bug#12618: 24.2.50; Formating of completion candidates in the *Completions* buffer References: <5076717B.70104@gmx.at> <5077C510.8000704@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12618 Cc: 12618@debbugs.gnu.org, Dani Moncayo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) >> Maybe it should. IIUC the idea of Tabulated List mode is to handle the >> problem described here. > > I don't see how Tabulated List Mode would help here. I thought the purpose of Tabulated List mode was to crowd a buffer with multicolumn entries separated by tabs that could be adjusted according to the width of a window showing the buffer. Apparently I was wrong. martin From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 01 20:18:23 2014 Received: (at control) by debbugs.gnu.org; 2 Jul 2014 00:18:23 +0000 Received: from localhost ([127.0.0.1]:39708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X28Fj-000492-27 for submit@debbugs.gnu.org; Tue, 01 Jul 2014 20:18:23 -0400 Received: from alc-vshost7.dreamhost.com ([69.163.216.107]:58440 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X28Ff-00048V-4d; Tue, 01 Jul 2014 20:18:19 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 3B9E2348328ED2; Tue, 1 Jul 2014 17:18:16 -0700 (PDT) From: Juri Linkov To: martin rudalics Subject: Re: bug#17809: 24.4.50; Completions display Organization: JURTA References: <87tx7buryg.fsf@mail.jurta.org> <53A92532.9040901@gmx.at> <87y4wlg8gx.fsf_-_@mail.jurta.org> <53AA7222.1010905@gmx.at> <8738er89q6.fsf@mail.jurta.org> <53AD12AE.2050707@gmx.at> <877g41vp5x.fsf@mail.jurta.org> <53AE7A3A.20307@gmx.at> Date: Wed, 02 Jul 2014 02:30:17 +0300 In-Reply-To: <53AE7A3A.20307@gmx.at> (martin rudalics's message of "Sat, 28 Jun 2014 10:18:02 +0200") Message-ID: <87bnt8bs72.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 17809 12618 thanks [ I discovered the same bug report from Dani, so merging both. ] >> Maybe it would be a good thing to add a new action parameter to >> `display-buffer' that would be like the existing `quit-function' >> in `with-current-buffer-window', and will call its body between >> displaying the buffer and applying final actions alists like >> (window-height . fit-window-to-buffer) > > `display-buffer' has no body and hardly ever will get one. [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] X-Debbugs-Envelope-To: control Cc: 17809@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: forcemerge 17809 12618 thanks [ I discovered the same bug report from Dani, so merging both. ] >> Maybe it would be a good thing to add a new action parameter to >> `display-buffer' that would be like the existing `quit-function' >> in `with-current-buffer-window', and will call its body between >> displaying the buffer and applying final actions alists like >> (window-height . fit-window-to-buffer) > > `display-buffer' has no body and hardly ever will get one. [...] Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 RCVD_IN_XBL RBL: Received via a relay in Spamhaus XBL [69.163.216.107 listed in zen.spamhaus.org] 1.6 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT [69.163.216.107 listed in bb.barracudacentral.org] forcemerge 17809 12618 thanks [ I discovered the same bug report from Dani, so merging both. ] >> Maybe it would be a good thing to add a new action parameter to >> `display-buffer' that would be like the existing `quit-function' >> in `with-current-buffer-window', and will call its body between >> displaying the buffer and applying final actions alists like >> (window-height . fit-window-to-buffer) > > `display-buffer' has no body and hardly ever will get one. I really see no difference between the already existing QUIT-FUNCTION and a new possible BODY-FUNCTION. Currently QUIT-FUNCTION is called this way in `with-current-buffer-window': (if (functionp ,quit-function) (funcall ,quit-function ,window ,value) and BODY-FUNCTION could be called in `window--display-buffer' with something like: (if (functionp (cdr (assq 'body-function alist))) (funcall (cdr (assq 'body-function alist))) Then, for instance, `dired-mark-pop-up' instead of: (with-current-buffer-window buffer (cons 'display-buffer-below-selected '((window-height . fit-window-to-buffer))) #'(lambda (window _value) (with-selected-window window (with-current-buffer buffer (let ((inhibit-read-only t)) (dired-format-columns-of-files (if (eq (car files) t) (cdr files) files)) will use: (with-current-buffer-window buffer (cons 'display-buffer-below-selected '((window-height . fit-window-to-buffer) (body-function . (lambda () (with-current-buffer buffer (let ((inhibit-read-only t)) (dired-format-columns-of-files (if (eq (car files) t) (cdr files) files)) Is there a problem with this approach? From unknown Sun Aug 10 08:59:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 05 Aug 2014 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 05 18:01:16 2014 Received: (at control) by debbugs.gnu.org; 5 Oct 2014 22:01:16 +0000 Received: from localhost ([127.0.0.1]:35006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xatrg-000106-9M for submit@debbugs.gnu.org; Sun, 05 Oct 2014 18:01:16 -0400 Received: from ps18281.dreamhost.com ([69.163.222.226]:34987 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xatre-0000zy-EY for control@debbugs.gnu.org; Sun, 05 Oct 2014 18:01:15 -0400 Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 472AA30192BF81 for ; Sun, 5 Oct 2014 15:01:13 -0700 (PDT) From: Juri Linkov To: control@debbugs.gnu.org Subject: Re: bug#17809: 24.4.50; Completions display Organization: JURTA References: <87d2e5js1o.fsf@mail.jurta.org> Date: Mon, 06 Oct 2014 00:56:03 +0300 In-Reply-To: <87d2e5js1o.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 19 Jun 2014 09:57:47 +0300") Message-ID: <87oatqfafg.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) unarchive 17809 thanks From unknown Sun Aug 10 08:59:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 03 Nov 2014 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator