From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#53520: [PATCH] tabulated-list gradually truncate image Date: Tue, 25 Jan 2022 14:36:32 +0100 Message-ID: <87wniovswv.fsf@gnus.org> References: <87sftc2nel.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12356"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 53520@debbugs.gnu.org To: Thuna Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 25 16:13:14 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCNVR-000301-PZ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 16:13:13 +0100 Original-Received: from localhost ([::1]:44906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCNVQ-0001RY-Rm for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 10:13:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCM0Q-0002DD-SY for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 08:37:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCM0M-0007yD-1M for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 08:37:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCM0L-0003DX-Tv for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 08:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jan 2022 13:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53520 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 53520-submit@debbugs.gnu.org id=B53520.164311780612345 (code B ref 53520); Tue, 25 Jan 2022 13:37:01 +0000 Original-Received: (at 53520) by debbugs.gnu.org; 25 Jan 2022 13:36:46 +0000 Original-Received: from localhost ([127.0.0.1]:47433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCM05-0003D3-QR for submit@debbugs.gnu.org; Tue, 25 Jan 2022 08:36:45 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:35192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCM03-0003Cn-To for 53520@debbugs.gnu.org; Tue, 25 Jan 2022 08:36:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mtb8RY8+susoWRbjUYVVi6RIMhREesB/GWVfTjeQCE8=; b=FeeIBqpNP0pXJwrocl1zTaCJKI OMqtrkbwFq3N3ug6pa0XPOhdpmApAcN4LsZUoVUGQDaFyV4SwUA4Gm8y6yvWd7ITjRHmGV+WDs+PK WG1OYG3MOAU1IIxVz3d9daFXsVvhIDWA/PZhAkDcBvXxr7cuA06RKBtEgWzW5VQR6epw=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nCLzv-0004HH-1u; Tue, 25 Jan 2022 14:36:37 +0100 X-Now-Playing: A Foggy Day In London Town's _Brilliant Adventure (10): Re:Call 5_: "David Bowie and Angelo Badalamenti" In-Reply-To: <87sftc2nel.fsf@gmail.com> (Thuna's message of "Tue, 25 Jan 2022 12:08:18 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225189 Archived-At: Thuna writes: > Previously images were displayed as is which would potentially cause > misalignment if the column width were less than the image width. Image > is now cropped width-wise to fit the column width. This patch, however, > does not affect the height of the image. [...] > + (slice 0.0 0.0 > + ,(* (frame-char-width) > + available-space) I think it a tabulated-list caller wants to insert images into the table, they should ensure that the width of the image is appropriate for the column. And as you say, this only chops off the parts of the image -- I think it's more likely that a caller would want to set the width with :max-width or the like. So I don't think this makes all that much sense as a feature. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no