From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.bugs Subject: bug#61396: diff mode could distinguish changed from deleted lines Date: Mon, 24 Jul 2023 16:38:06 -0700 Message-ID: References: <86y1p4m9cg.fsf@mail.linkov.net> <86bklzs2su.fsf@mail.linkov.net> <86fsbbnlaq.fsf@mail.linkov.net> <87bkg1lied.fsf@gmail.com> 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="40242"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61396@debbugs.gnu.org, rms@gnu.org, Juri Linkov To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 25 01:39:23 2023 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 1qO599-000AGg-2J for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jul 2023 01:39:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO58q-0006Qb-G8; Mon, 24 Jul 2023 19:39:04 -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 1qO58o-0006QO-RK for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 19:39:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO58o-0003jQ-FN for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 19:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO58o-0002U2-26 for bug-gnu-emacs@gnu.org; Mon, 24 Jul 2023 19:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Samuel Wales Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jul 2023 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61396 X-GNU-PR-Package: emacs Original-Received: via spool by 61396-submit@debbugs.gnu.org id=B61396.16902418979485 (code B ref 61396); Mon, 24 Jul 2023 23:39:02 +0000 Original-Received: (at 61396) by debbugs.gnu.org; 24 Jul 2023 23:38:17 +0000 Original-Received: from localhost ([127.0.0.1]:44327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO585-0002Sv-FT for submit@debbugs.gnu.org; Mon, 24 Jul 2023 19:38:17 -0400 Original-Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:38957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO582-0002Sh-VV for 61396@debbugs.gnu.org; Mon, 24 Jul 2023 19:38:16 -0400 Original-Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4fb91513b1bso1359528e87.0 for <61396@debbugs.gnu.org>; Mon, 24 Jul 2023 16:38:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690241888; x=1690846688; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mHTAbYU30OTu/ekbm6Nk0nP9sbREk1r6ilCVado3nX0=; b=PsZ/vbKfnSbdwpCLcNuA4uPZqf+PLfxTfDnXjYixBBZV8TYaKeW946NrfcEBDMk7Qn W3aS+hENp/bnP7H2eOz28cVRLnuVav3VZYyB1fFZ/TrDLsiZw0c6RaNdLExosI318pK3 /DanmbuyB1HurlzXtK+ePmGYAnfflO+HA9sx/V2/uMUikK2GiogvMjzJMg4r7aFFRGow u+9RaZv6qmEVJZNEmsuUo9MwtlBteZv74lnNGI3/qCLtSDaNFRZmTIijrtjwb85TkBqh pCzSpy5R2qWFCftzcxUdrwXdutWAU+9lvPLutM6eLXIBdJSObkUcBVuCZjBs4maYdihO 9LTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690241888; x=1690846688; h=content-transfer-encoding:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mHTAbYU30OTu/ekbm6Nk0nP9sbREk1r6ilCVado3nX0=; b=M9Cx48y7SGAmMEI/T5biG2gFXtNNiJV80IS9bQJ2vFqeQPhBmYK2OhPXwHRvpgtHGN CnBHmP7bfQBnMQvkVS1flamh/ipltPRwLT44YvzNH4EbvHrY/AWOi9kblzbi9pus6wga MGKvdJDfQPPqYtZlHgVHF+SLdDxAtgr2wsiia8EbUYY8IhvqL0m2unWZnqn1wqiMgCR1 I9aeBDru0pXP6TUHZnLFzWBEw8HVtcLWbNtCLX3N6gb6xTFpRsuJ4Zp2fwcBwrGNqS2A tkhc6akbuqXxPa8zCvwTsKR4KCls8YDc1RRMHZ0Zu2o77ThXvYOK4aD1jHQuuwlaKE8u SdJQ== X-Gm-Message-State: ABy/qLYfe8vHzhl8gZzhfqPUn5xaLirtACgUYVeTCSB8jcXdj6I7CVUj BIPeIsuG2i3EAWaxARHIXkgg6zGs6jad/2Vn2kc= X-Google-Smtp-Source: APBJJlG1H60jOHX5DgEqS4kq8BALrBItigVv3q5ojIwP6YoF4rcjcASBssMczCvgOaVTsfcsBuUqgNb1GQoMLgDMYOI= X-Received: by 2002:a19:740c:0:b0:4fd:bfc8:4312 with SMTP id v12-20020a19740c000000b004fdbfc84312mr4759604lfe.1.1690241887535; Mon, 24 Jul 2023 16:38:07 -0700 (PDT) Original-Received: by 2002:a05:6520:11e2:b0:268:94be:fdc7 with HTTP; Mon, 24 Jul 2023 16:38:06 -0700 (PDT) In-Reply-To: <87bkg1lied.fsf@gmail.com> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266005 Archived-At: in 27.1 i am not getting this. i am getting this: file aaa: now is the time file bbb: now is the time for all good men now you diff this with result: line 1: -now is the time line 2: +now is the time /for all good men/ line 1 does not indicate that anything was deleted. i request that diff-mode do so, if possible. line 2 is correct. what i need is an indication that something is lacking in line 1. i do not need the text that is lacking. On 7/24/23, Robert Pluim wrote: >>>>>> On Sat, 22 Jul 2023 23:04:10 -0700, Samuel Wales >>>>>> said: > > Samuel> so basically, > Samuel> -this is a line that ^looks deleted, but it is changed > Samuel> ... > Samuel> +this is a line that REALLY looks deleted, but it is change= d > > Samuel> what is not indicated for the user is at the ^. i woul dlike= it > if > Samuel> diff mode if possible showed that text was deleted there. > > That=CA=BCs what diff-mode does, if `diff-refine' is non-nil (which is th= e > default nowadays), by applying the `diff-refine-removed' face. > > Robert > -- > --=20 The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com