From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Guilhem Bichot Newsgroups: gmane.emacs.bugs Subject: bug#45016: 26.3; when in ediff-current-file, 'D' (view diff) shows empty diff Date: Wed, 2 Dec 2020 21:52:56 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15676"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 To: 45016@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 02 22:05:19 2020 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 1kkZJP-0003vb-BC for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Dec 2020 22:05:19 +0100 Original-Received: from localhost ([::1]:45110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkZJO-00086h-Bf for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 02 Dec 2020 16:05:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkZJ8-000860-Ug for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2020 16:05:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkZJ7-0003Xw-W7 for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2020 16:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkZJ7-00041O-Pa for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2020 16:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Guilhem Bichot Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Dec 2020 21:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45016 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160694308115416 (code B ref -1); Wed, 02 Dec 2020 21:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Dec 2020 21:04:41 +0000 Original-Received: from localhost ([127.0.0.1]:37553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkZIn-00040Y-4J for submit@debbugs.gnu.org; Wed, 02 Dec 2020 16:04:41 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkZ8D-0001Zc-C1 for submit@debbugs.gnu.org; Wed, 02 Dec 2020 15:53:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkZ8D-000524-3h for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2020 15:53:45 -0500 Original-Received: from smtp01.smtpout.orange.fr ([80.12.242.123]:25899 helo=smtp.smtpout.orange.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1kkZ88-0001oB-0f for bug-gnu-emacs@gnu.org; Wed, 02 Dec 2020 15:53:43 -0500 Original-Received: from [192.168.1.10] ([90.38.22.79]) by mwinf5d53 with ME id zYsu230041iNpua03Yt9NK; Wed, 02 Dec 2020 21:53:09 +0100 X-ME-Helo: [192.168.1.10] X-ME-Auth: Z3VpbGhlbS5iaWNob3RAd2FuYWRvby5mcg== X-ME-Date: Wed, 02 Dec 2020 21:53:09 +0100 X-ME-IP: 90.38.22.79 Content-Language: en-US Received-SPF: none client-ip=80.12.242.123; envelope-from=guilhem.bichot@wanadoo.fr; helo=smtp.smtpout.orange.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 02 Dec 2020 16:04:39 -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:194836 Archived-At: Hello! * start emacs -Q * create a file named, for example, /tmp/a * put a line of text in it, save it * add some characters to this line, don't save * launch M-x ediff-current-file * press D to view the diff * a buffer opens to show the diff but it is empty. I expected to see a non-empty diff (a context diff, as ediff-custom-diff-options is at its default "-c"). * if instead of D I press C-u D then I do get a non-empty plain diff (non-context, non-unified). I'm using Emacs 26.3 from Ubuntu 20.04. I reproduced it on another Emacs installation on another computer (CentOS 7) where I built Emacs 27.1 from source. Thank you for bringing Emacs to developers. In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.14) of 2020-03-26, modified by Debian built on lcy01-amd64-020 Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Ubuntu 20.04.1 LTS Recent messages: Saving file /tmp/a... Wrote /tmp/a Making completion list... Computing differences between ediffZdQdH1 and aEcIRJR ... Buffer A: Processing difference region 0 of 1 Buffer B: Processing difference region 0 of 1 Processing difference regions ... done Refining difference region 1 ... Quit this Ediff session? (y or n) y Making completion list... Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs-mEZBk7/emacs-26.3+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2 Important settings: value of $LANG: fr_FR.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: diff-auto-refine-mode: t tooltip-mode: t global-eldoc-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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils diff-mode easymenu easy-mmode ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init cl-loaddefs cl-lib ediff-util ediff elec-pair time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded 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 threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 105677 13166) (symbols 48 21758 1) (miscs 40 67 140) (strings 32 31945 1163) (string-bytes 1 877549) (vectors 16 15315) (vector-slots 8 519098 11532) (floats 8 68 143) (intervals 56 282 0) (buffers 992 16))