GNU bug report logs - #58516
28.1; add option/key to rerun current diff without whitespace changes

Previous Next

Package: emacs;

Reported by: gert <gertopc <at> proton.me>

Date: Fri, 14 Oct 2022 14:55:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 28.1

Fixed in version 30.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 58516 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 58516 <at> debbugs.gnu.org, gert <gertopc <at> proton.me>
Subject: Re: bug#58516: 28.1; add option/key to rerun  current diff without
 whitespace changes
Date: Sat, 15 Oct 2022 22:09:35 +0300
> +(defun diff-ignore-whitespace-all-hunks ()
> +  "Re-diff all the hunks, ignoring whitespace-differences."
> +  (interactive)
> +  (diff--iterate-hunks (point-max) (lambda (_ _)
> +                                     (diff-refresh-hunk t))
> +                       (point-min)))

A question about performance: would this run the diff command
for every hunk?




This bug report was last modified 2 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.