From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12585: diff refine should highlight space changes better (feature request) Date: Sun, 07 Oct 2012 10:09:54 -0400 Message-ID: References: <874nm7e8ul.fsf@mail.jurta.org> <87sj9qr5ba.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349619047 29886 80.91.229.3 (7 Oct 2012 14:10:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 14:10:47 +0000 (UTC) Cc: 12585@debbugs.gnu.org, Le Wang To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 07 16:10:53 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TKrZB-0000Te-Qh for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2012 16:10:49 +0200 Original-Received: from localhost ([::1]:48875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKrZ5-0005Ir-QI for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2012 10:10:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKrZ3-0005IW-31 for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 10:10:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKrZ2-00008R-4y for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 10:10:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKrZ2-00008N-1C for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 10:10:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TKrZN-000405-UI for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Oct 2012 14:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12585 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12585-submit@debbugs.gnu.org id=B12585.134961902515333 (code B ref 12585); Sun, 07 Oct 2012 14:11:01 +0000 Original-Received: (at 12585) by debbugs.gnu.org; 7 Oct 2012 14:10:25 +0000 Original-Received: from localhost ([127.0.0.1]:60120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKrYm-0003zG-Qa for submit@debbugs.gnu.org; Sun, 07 Oct 2012 10:10:25 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:20196) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKrYl-0003z3-67 for 12585@debbugs.gnu.org; Sun, 07 Oct 2012 10:10:23 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxLQG/2dsb2JhbABEtBGBCIIVAQEEAVYjEAs0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="200827136" Original-Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Oct 2012 10:09:54 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id AAEFA594D1; Sun, 7 Oct 2012 10:09:54 -0400 (EDT) In-Reply-To: <87sj9qr5ba.fsf@mail.jurta.org> (Juri Linkov's message of "Sun, 07 Oct 2012 12:37:29 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65330 Archived-At: >>> Inline space changes can be highlighted after setting >>> `smerge-refine-ignore-whitespace' to nil >>> (maybe it should be defcustom instead of defvar?) >> How would I use smerge in this context? I'm just pressing C-c C-b to >> refine a diff hunk right now. > `C-c C-b' in diff uses `smerge-refine-ignore-whitespace' from smerge. > Perhaps diff should have a duplicate option `diff-refine-ignore-whitespace' > with the same functionality but a different name prefix. Or rather, the refinement code should be taken out of smerge into its own package. Stefan