From unknown Sun Sep 07 01:05:44 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20568: 24.5; ediff-previous-difference broken with focus enabled Resent-From: "Dyer, Art" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 May 2015 22:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20568 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 20568@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.14315546332453 (code B ref -1); Wed, 13 May 2015 22:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2015 22:03:53 +0000 Received: from localhost ([127.0.0.1]:44163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ysekq-0000dP-LZ for submit@debbugs.gnu.org; Wed, 13 May 2015 18:03:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59392) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsedR-0000Fp-Qh for submit@debbugs.gnu.org; Wed, 13 May 2015 17:56:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsedL-0007QG-4a for submit@debbugs.gnu.org; Wed, 13 May 2015 17:56:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsedL-0007QB-1I for submit@debbugs.gnu.org; Wed, 13 May 2015 17:56:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsedJ-00072F-Nv for bug-gnu-emacs@gnu.org; Wed, 13 May 2015 17:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsedG-0007O5-6E for bug-gnu-emacs@gnu.org; Wed, 13 May 2015 17:56:05 -0400 Received: from mx1.ptc.com ([12.11.148.188]:59374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsedG-0007No-08 for bug-gnu-emacs@gnu.org; Wed, 13 May 2015 17:56:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ptc.com; s=ptc; t=1431554161; x=1463090161; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=E4I80xHx9q7G0IP/8VkJ8kLW6LfnXAU5bFsCgHQFOsI=; b=jEppfHtkiIhory6I4IgqTxCtcRLo2+fACH+udYRIsMbN4N4vHVDOJSmn wAnwlTepItXNg/F9kMLVq2+AMABOxXw1Qncw7l/2XtrO3iurzMnJl9G5a bL1ES3J3D+6ivEr/713TVO1ATSCYRNoyyt+XSgFeRbLiO1N73+G806jjY I=; X-IronPort-AV: E=Sophos;i="5.13,422,1427774400"; d="scan'208";a="76618910" Received: from hq-x10prdhub2.ptcnet.ptc.com ([132.253.198.28]) by mx1-int.ptc.com with ESMTP/TLS/AES128-SHA; 13 May 2015 17:56:00 -0400 Received: from HQ-X10PRDSTOR5.ptcnet.ptc.com ([fe80::3c0c:1f9f:817f:138f]) by HQ-X10PRDHUB2.ptcnet.ptc.com ([2002:84fd:c61c::84fd:c61c]) with mapi id 14.03.0123.003; Wed, 13 May 2015 17:56:00 -0400 From: "Dyer, Art" Thread-Topic: 24.5; ediff-previous-difference broken with focus enabled Thread-Index: AQHQjceZOfz9Oks9MkKkJ88GlEGuVw== Date: Wed, 13 May 2015 21:56:00 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.80.20.30] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Mailman-Approved-At: Wed, 13 May 2015 18:03:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) This is reproducible with emacs -Q. Start ediff. Any pair of files/buffers will do, as long as they produce mul= tiple difference regions. Hit "#f" to focus by regular expression. Enter "." for both of the regular expressions, then "y" to match on both buffers. (This results in a "focus" = that actually includes all the diffs, but that is just for simplicity - it is no= t necessary in order to reproduce the bug.) Use "n" a few times to advance through the first few difference regions. Th= en try to use "p" to back up; instead of the previous diff you will be positio= ned before the first one ("At start of diffs"). In GNU Emacs 24.5.1 (x86_64-w64-mingw32) of 2015-04-11 on KAEL Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/z/emacs --host=3Dx86_64-w64-mingw32 --target=3Dx86_64-w64-mingw32 --build=3Dx86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-sound=3Dyes --with-file-notification=3Dyes --without-dbus --without-imagemagick 'CFLAGS=3D-Ofast -fomit-frame-pointer -funroll-loops -g0 -pipe' 'LDFLAGS=3D-static-libgcc -static-libstdc++ -static -s -Wl,-s'' Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Ediff Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Mark set [2 times] Computing differences between ediff7896uC8 and ediff7896wUx ... Buffer A: Processing difference region 0 of 4 Buffer B: Processing difference region 0 of 4 Processing difference regions ... done Focus on regions that match BOTH regexps, OK? (y or n) y Will focus on regions that match BOTH regexps Refining difference region 1 ... Refining difference region 2 ... Refining difference region 3 ... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff help-mode easymenu apropos time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 16 84913 8382) (symbols 56 18931 0) (miscs 48 113 158) (strings 32 14238 4796) (string-bytes 1 399330) (vectors 16 10384) (vector-slots 8 391786 5409) (floats 8 69 471) (intervals 56 244 28) (buffers 960 18))*** E-Mail body has been placed on clipboard, please past= e it here! *** From unknown Sun Sep 07 01:05:44 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Dyer, Art" Subject: bug#20568: closed (Re: bug#20568: 24.5; ediff-previous-difference broken with focus enabled) Message-ID: References: <83twvfi3jt.fsf@gnu.org> X-Gnu-PR-Message: they-closed 20568 X-Gnu-PR-Package: emacs Reply-To: 20568@debbugs.gnu.org Date: Thu, 14 May 2015 15:27:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1431617223-30993-1" This is a multi-part message in MIME format... ------------=_1431617223-30993-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #20568: 24.5; ediff-previous-difference broken with focus enabled which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 20568@debbugs.gnu.org. --=20 20568: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20568 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1431617223-30993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 20568-done) by debbugs.gnu.org; 14 May 2015 15:26:13 +0000 Received: from localhost ([127.0.0.1]:45203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ysv1Y-000820-D5 for submit@debbugs.gnu.org; Thu, 14 May 2015 11:26:12 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:42474) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ysv1W-00081a-00 for 20568-done@debbugs.gnu.org; Thu, 14 May 2015 11:26:11 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NOC00L00ITRE300@a-mtaout20.012.net.il> for 20568-done@debbugs.gnu.org; Thu, 14 May 2015 18:26:03 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NOC00LPJIVD6O80@a-mtaout20.012.net.il>; Thu, 14 May 2015 18:26:03 +0300 (IDT) Date: Thu, 14 May 2015 18:25:58 +0300 From: Eli Zaretskii Subject: Re: bug#20568: 24.5; ediff-previous-difference broken with focus enabled In-reply-to: X-012-Sender: halo1@inter.net.il To: "Dyer, Art" Message-id: <83twvfi3jt.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20568-done Cc: 20568-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: "Dyer, Art" > Date: Wed, 13 May 2015 21:56:00 +0000 > > Start ediff. Any pair of files/buffers will do, as long as they produce multiple > difference regions. > > Hit "#f" to focus by regular expression. Enter "." for both of the regular > expressions, then "y" to match on both buffers. (This results in a "focus" that > actually includes all the diffs, but that is just for simplicity - it is not > necessary in order to reproduce the bug.) > > Use "n" a few times to advance through the first few difference regions. Then > try to use "p" to back up; instead of the previous diff you will be positioned > before the first one ("At start of diffs"). Fixed in commit 2958e52 on master. Thanks. ------------=_1431617223-30993-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 May 2015 22:03:53 +0000 Received: from localhost ([127.0.0.1]:44163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ysekq-0000dP-LZ for submit@debbugs.gnu.org; Wed, 13 May 2015 18:03:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59392) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsedR-0000Fp-Qh for submit@debbugs.gnu.org; Wed, 13 May 2015 17:56:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsedL-0007QG-4a for submit@debbugs.gnu.org; Wed, 13 May 2015 17:56:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36588) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsedL-0007QB-1I for submit@debbugs.gnu.org; Wed, 13 May 2015 17:56:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsedJ-00072F-Nv for bug-gnu-emacs@gnu.org; Wed, 13 May 2015 17:56:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsedG-0007O5-6E for bug-gnu-emacs@gnu.org; Wed, 13 May 2015 17:56:05 -0400 Received: from mx1.ptc.com ([12.11.148.188]:59374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsedG-0007No-08 for bug-gnu-emacs@gnu.org; Wed, 13 May 2015 17:56:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ptc.com; s=ptc; t=1431554161; x=1463090161; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=E4I80xHx9q7G0IP/8VkJ8kLW6LfnXAU5bFsCgHQFOsI=; b=jEppfHtkiIhory6I4IgqTxCtcRLo2+fACH+udYRIsMbN4N4vHVDOJSmn wAnwlTepItXNg/F9kMLVq2+AMABOxXw1Qncw7l/2XtrO3iurzMnJl9G5a bL1ES3J3D+6ivEr/713TVO1ATSCYRNoyyt+XSgFeRbLiO1N73+G806jjY I=; X-IronPort-AV: E=Sophos;i="5.13,422,1427774400"; d="scan'208";a="76618910" Received: from hq-x10prdhub2.ptcnet.ptc.com ([132.253.198.28]) by mx1-int.ptc.com with ESMTP/TLS/AES128-SHA; 13 May 2015 17:56:00 -0400 Received: from HQ-X10PRDSTOR5.ptcnet.ptc.com ([fe80::3c0c:1f9f:817f:138f]) by HQ-X10PRDHUB2.ptcnet.ptc.com ([2002:84fd:c61c::84fd:c61c]) with mapi id 14.03.0123.003; Wed, 13 May 2015 17:56:00 -0400 From: "Dyer, Art" To: "bug-gnu-emacs@gnu.org" Subject: 24.5; ediff-previous-difference broken with focus enabled Thread-Topic: 24.5; ediff-previous-difference broken with focus enabled Thread-Index: AQHQjceZOfz9Oks9MkKkJ88GlEGuVw== Date: Wed, 13 May 2015 21:56:00 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.80.20.30] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 13 May 2015 18:03:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.3 (----) This is reproducible with emacs -Q. Start ediff. Any pair of files/buffers will do, as long as they produce mul= tiple difference regions. Hit "#f" to focus by regular expression. Enter "." for both of the regular expressions, then "y" to match on both buffers. (This results in a "focus" = that actually includes all the diffs, but that is just for simplicity - it is no= t necessary in order to reproduce the bug.) Use "n" a few times to advance through the first few difference regions. Th= en try to use "p" to back up; instead of the previous diff you will be positio= ned before the first one ("At start of diffs"). In GNU Emacs 24.5.1 (x86_64-w64-mingw32) of 2015-04-11 on KAEL Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/z/emacs --host=3Dx86_64-w64-mingw32 --target=3Dx86_64-w64-mingw32 --build=3Dx86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-sound=3Dyes --with-file-notification=3Dyes --without-dbus --without-imagemagick 'CFLAGS=3D-Ofast -fomit-frame-pointer -funroll-loops -g0 -pipe' 'LDFLAGS=3D-static-libgcc -static-libstdc++ -static -s -Wl,-s'' Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Ediff Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Mark set [2 times] Computing differences between ediff7896uC8 and ediff7896wUx ... Buffer A: Processing difference region 0 of 4 Buffer B: Processing difference region 0 of 4 Processing difference regions ... done Focus on regions that match BOTH regexps, OK? (y or n) y Will focus on regions that match BOTH regexps Refining difference region 1 ... Refining difference region 2 ... Refining difference region 3 ... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff help-mode easymenu apropos time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 16 84913 8382) (symbols 56 18931 0) (miscs 48 113 158) (strings 32 14238 4796) (string-bytes 1 399330) (vectors 16 10384) (vector-slots 8 391786 5409) (floats 8 69 471) (intervals 56 244 28) (buffers 960 18))*** E-Mail body has been placed on clipboard, please past= e it here! *** ------------=_1431617223-30993-1--