From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#56393: Actually fix the long lines display bug Date: Tue, 19 Jul 2022 12:56:51 +0200 Message-ID: References: <38c1a31040d2d2bc47ae@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29977"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: 56393@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 19 12:58:27 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 1oDkvq-0007bE-T3 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jul 2022 12:58:26 +0200 Original-Received: from localhost ([::1]:51168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDkvp-00062V-Gh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jul 2022 06:58:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDkvT-0005VP-U0 for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 06:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55233) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDkvS-000788-MM for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 06:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDkvS-0006i9-HE for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 06:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jul 2022 10:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56393 X-GNU-PR-Package: emacs Original-Received: via spool by 56393-submit@debbugs.gnu.org id=B56393.165822822125705 (code B ref 56393); Tue, 19 Jul 2022 10:58:02 +0000 Original-Received: (at 56393) by debbugs.gnu.org; 19 Jul 2022 10:57:01 +0000 Original-Received: from localhost ([127.0.0.1]:52992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDkuT-0006gU-5r for submit@debbugs.gnu.org; Tue, 19 Jul 2022 06:57:01 -0400 Original-Received: from mail-ed1-f46.google.com ([209.85.208.46]:42860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDkuR-0006g7-GJ for 56393@debbugs.gnu.org; Tue, 19 Jul 2022 06:56:59 -0400 Original-Received: by mail-ed1-f46.google.com with SMTP id m8so5597095edd.9 for <56393@debbugs.gnu.org>; Tue, 19 Jul 2022 03:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version; bh=Q4HyG6sQmkPOmOpAF1pkyXBdvDXJDdTV5vFzrZ54wzg=; b=URbZBHmFmjX1ZX2wRoo7Y0MV8QCYO5OWL21OXREW8Qt+bK9JnjhOIEu3Y0BE5SmgyF QlIkbFHg5yxYDPosBj/8izvqn/a2JyNG63RAHyQcJXEsJzTvcpXT+xFSjytTNaUGp7GR T21OVVa/nm0Cg4Wdb2XpoMxVoRtA44hTzDItyzLcWO1vmLBum2r9iLBDtouQsTo4oBfJ K3Y3Y+vqzWzcS3VmKGLkVQtwkT0J1N91Uo8m3P3/ZrL3jedyrq2rtGy3f3VpB39DEkBa aGQDl7eof+7vTC80G7IAaHba5DNvsQx76nZrIrN4RpkgtGtIn2eJO3JeJnWSAdyxq0sl yCvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:user-agent:mime-version; bh=Q4HyG6sQmkPOmOpAF1pkyXBdvDXJDdTV5vFzrZ54wzg=; b=FzLCZZN/X98QbuAefETTyBeP17VZkU3yQ7GUHo7jGbIszCV1rdzCdkKMckcGa2D4Cr Ad8bNrPSQKjHk1CKmoUEqVqJ5Ew4kUtHh2YQP/SJbwjLdRQnYSnft2IOydZoT6LE5wKM Sot54ZGdcVs1yv0liHHTiiPm7024eICcouRkTGZT4amQs7zdcaxe2Z579/fEtY9m1Ww7 3CFDZ7G6TuXPT3Jj2D5QaFMRAEWJsmSBkxYA5AKdxvfY3u15s7JlCNz6mQerbWunmlnD S/qECkbGBrlVawJsULekp9hWPzLmDjmlHacesnOqdVtfPgMU0WmmswpFTpHzMQ+gq2DQ gGsw== X-Gm-Message-State: AJIora/O72lu6NKSnzpYnj6Z4MEiG9+GOaYGXtDsBLomA97dVo3sw/6n EjnGxLjDiaZ5bcdac2NF83JhfoloY4M= X-Google-Smtp-Source: AGRyM1sUkw0EYZmpzu09WVfKwJySB/wZ3/a1mkTZGPIaSfNz/IM/qVhv2wKN5DE8e5yBScH1W3D/jg== X-Received: by 2002:a05:6402:b9b:b0:43a:5aac:ed6 with SMTP id cf27-20020a0564020b9b00b0043a5aac0ed6mr43302757edb.131.1658228213213; Tue, 19 Jul 2022 03:56:53 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e36437.dip0.t-ipconnect.de. [217.227.100.55]) by smtp.gmail.com with ESMTPSA id gt2-20020a170906f20200b0072b342ad997sm6486035ejb.199.2022.07.19.03.56.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jul 2022 03:56:52 -0700 (PDT) In-Reply-To: (Gregory Heytings's message of "Tue, 19 Jul 2022 09:51:45 +0000") 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:237422 Archived-At: Gregory Heytings writes: >> WDYT about marking buffers that don't want auto narrowing? Or the >> opssite, mark buffers that want it? >> > > One of the explicit aims when designing that feature was that it > should be as transparent as possible. And it is: only a few selected > places in xdisp.c see its effect. Okay. > That being said, you can do what you want nonetheless: if you > (setq-local long-line-threshold nil) the optimizations will never be > used (in that buffer), if you (setq-local long-line-threshold 0) the > optimizations will always be used (in that buffer). > > Adding code to expose the feature further to Lisp would be (IMO) a > mistake. Understood.