From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#54034: 29.0.50; Diff prettify broken for empty files Date: Tue, 22 Feb 2022 08:16:35 +0100 Message-ID: <874k4r9xrg.fsf@gmail.com> References: <87iltex7bo.fsf@gmail.com> <87v8xakm0i.fsf@gmail.com> <87bkz1jxd9.fsf@gmail.com> <87sfsbakqo.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="38112"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 54034@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 22 08:17:51 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 1nMPQl-0009h8-Ku for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 08:17:51 +0100 Original-Received: from localhost ([::1]:57338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMPQk-0007dy-8m for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Feb 2022 02:17:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMPPy-0007Hq-Im for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 02:17:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45991) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMPPy-0001xF-19 for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 02:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMPPx-0007hB-PK for bug-gnu-emacs@gnu.org; Tue, 22 Feb 2022 02:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Feb 2022 07:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54034 X-GNU-PR-Package: emacs Original-Received: via spool by 54034-submit@debbugs.gnu.org id=B54034.164551420429553 (code B ref 54034); Tue, 22 Feb 2022 07:17:01 +0000 Original-Received: (at 54034) by debbugs.gnu.org; 22 Feb 2022 07:16:44 +0000 Original-Received: from localhost ([127.0.0.1]:39888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMPPg-0007ga-54 for submit@debbugs.gnu.org; Tue, 22 Feb 2022 02:16:44 -0500 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:43643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMPPe-0007gN-De for 54034@debbugs.gnu.org; Tue, 22 Feb 2022 02:16:42 -0500 Original-Received: by mail-wr1-f50.google.com with SMTP id s1so4789149wrg.10 for <54034@debbugs.gnu.org>; Mon, 21 Feb 2022 23:16:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=8WsjO9ACt4duDugvSaglT5FTHT08FO+u6nqN82a/4IM=; b=kKFr/3I6l/aqIRW+tNkT0uxUD22OeB7ENMJ0J9wVshqUUlun7u6jE8fhaAqLZdaGIx +zfLrp2Tqk+K41IgmjinajJwLp0bJhrfZnjDVeySg168MABkIDf/r2uRiQsb8TxFpsIQ PDLDKig42aAqiiLQptvLGJB3s8iR81jGyNZKVsW+h7Qr36/CgpeudNuwc6GLmcjBbFUc CLnMvBCpqn2Vv8karRDbwkJF8IeR8TLmYzEcxbgW92tuneF7vraFb31D2pkXzedW17oL yvq3V8f0mQkBmz0WC8HOD6U4cKD+xsB+3pG9M2j/pAqsZG90ynEpvB5KIyVviGn9fkxU zkew== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=8WsjO9ACt4duDugvSaglT5FTHT08FO+u6nqN82a/4IM=; b=vQZc6PJ1j6+qIjOof2JkR5cOuihRnSP/wQjmC1hEG8NZru1O5VL9B4M2YxwWMzFx92 PR8kflShL9ZNe3M5RlrSNZ1DCdD2laWvO2x5WgRNu65XHjHsc0C/wo4UeNprcqHUFiTt SdYEr11zMeOiN4sEEIVNG+u0D4RFjPPbtc2muxoaj2GKfimdfmDvXnDUs+4uJYMi+0V6 3JJIXuld8fcE4qNgssIbmgEFb+Wx+xxZSbE8kFbAm2HXiOwmeuguUPKOBYcEiv3SuV2m SBwAmTlF5AodzRpBe7B7VU0OwXkDiLV5kTtW5IWCw3r/Yj2mx12SjOubT0csHZj+gP7X HaHw== X-Gm-Message-State: AOAM532O58r1CWwiHWZ2xSAypoCJB8ndN8FeytmsUBArrQhUKPMbNPMn yZwSPm/GG6QAPWDcETgVCXhrBvcCydk= X-Google-Smtp-Source: ABdhPJw+B2kEcYfXPEOx30Yia57eQDo/sSKZ5tQN/uERNB0ULygEBY5WJBssDnd3V1/bwNmUB4CLjw== X-Received: by 2002:adf:f3c9:0:b0:1ea:9380:2c3a with SMTP id g9-20020adff3c9000000b001ea93802c3amr1167285wrp.214.1645514196523; Mon, 21 Feb 2022 23:16:36 -0800 (PST) Original-Received: from carbon.localdomain ([2a01:e0a:245:c850:98f5:429a:aa8e:95bb]) by smtp.gmail.com with ESMTPSA id n15-20020a05600c3b8f00b0037bc64fbd17sm1497798wms.11.2022.02.21.23.16.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 23:16:36 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Mon, 21 Feb 2022 18:55:05 -0500") 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:227412 Archived-At: Stefan Monnier writes: > Of course, there's always the problem that this prettification > hides info, so there's a tension here. Not directly related but same tension with the motion commands `diff-file-next', `diff-file-prev', `diff-hunk-next' and `diff-hunk-prev'. When the buffer contains a file mode only change, this change is simply skipped by those motion commands! -- Matthias