From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: truncate-lines as newline property Date: Wed, 13 Mar 2024 13:15:59 +0000 Message-ID: <87le6mw9v4.fsf@localhost> References: <86msr5vq52.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21873"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Evgeny Zajcev , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 13 14:12:37 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rkOPN-0005Wo-61 for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Mar 2024 14:12:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkOOk-0008FY-7y; Wed, 13 Mar 2024 09:11:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkOOi-0008FO-91 for emacs-devel@gnu.org; Wed, 13 Mar 2024 09:11:56 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkOOc-0008PW-NL for emacs-devel@gnu.org; Wed, 13 Mar 2024 09:11:53 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4F1E6240103 for ; Wed, 13 Mar 2024 14:11:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710335508; bh=fSkBLJEdWi3Zx74/x75IZ2zJkQ9jQDmLpdsPe4vMdAg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=cQIoOOsQCSQ6R9Waj5Nv2JVdaCTuKZvi5uFy1u5tMxiJs8ssg7MuWY+j1olp0E5Nk MTd0tzFyHS/a0/w7QX8RDSr7zJy+qNLaGKy0TxTjt9URbHBYIfMsdWOWy6OjseDNfU xYT1RWV/XXlpEKwqtyf7u9m2con4gELD6lb6LJ9WZPYEdkYjq8JxWIXcSuZUcTKHzk cvOaqaerFb6UYL+PLeqS/G+i/DJd3cwCyAXH5ZUND5MpDR6ygPTzZYuUZ6gM7Lg5Nv VA9pZCtHk3PzKR+TDISVWTvvhsl3/hr8UqUU6bpv4dTvZHmcqfOU7Iavcm2+Q3rHZ6 YB/UYB2YZB3hQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvrWR1K8nz9rxR; Wed, 13 Mar 2024 14:11:46 +0100 (CET) In-Reply-To: <86msr5vq52.fsf@gnu.org> Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317033 Archived-At: Eli Zaretskii writes: >> As I understand, truncate-lines is a buffer property, so it applies to e= very line in the buffer. >>=20 >> Is it possible with some rather small changes to redisplay make it per n= ewline property, so you can specify >> which line to truncate and to which apply buffer setting? > ... > Any real-life rationale for adding such a feature? In Org mode, users often ask to disable line wrapping for tables specifically: | very wide table with a lot of text in it | is unreadable when wrapped | | so | people | | often | want tables to be truncated | | very wide table with a lot of text in it | is =E2=8F=8E unreadable when wrapped | | so | peo=E2=8F=8E ple | | often | want=E2=8F=8E tables to be truncated | At the same time, line wrapping in normal paragraphs is expected even when wide tables are present. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at