From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 14 11:33:14 2017 Received: (at submit) by debbugs.gnu.org; 14 Dec 2017 16:33:14 +0000 Received: from localhost ([127.0.0.1]:33952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePWRd-0008Px-9D for submit@debbugs.gnu.org; Thu, 14 Dec 2017 11:33:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48169) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePSDL-00088n-A6 for submit@debbugs.gnu.org; Thu, 14 Dec 2017 07:02:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePSD9-0000uF-RC for submit@debbugs.gnu.org; Thu, 14 Dec 2017 07:02:06 -0500 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,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePSD9-0000u7-MZ for submit@debbugs.gnu.org; Thu, 14 Dec 2017 07:01:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePSD1-0002O6-VM for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 07:01:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePSCw-0000m6-TB for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 07:01:52 -0500 Received: from mail-it0-x232.google.com ([2607:f8b0:4001:c0b::232]:43154) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePSCw-0000lk-HQ for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 07:01:46 -0500 Received: by mail-it0-x232.google.com with SMTP id u62so10858438ita.2 for ; Thu, 14 Dec 2017 04:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=fD6/OA7UmNp3MPw3O95BFWZgPpylO05HHVOOggoItLA=; b=oXTTRUPpqVbQP25KKfhhAP8gcq5vuIm6WNaKkfqAtf4ehWOXOjzi7JAAsAw75WxjFq XgfTQ/QENIOK9q+zMtyzNhvz3O3GOnZxZ+T6t+Jzk0wUPNMiUm+ecqLlh1aZxO7VadqN 4bfhAIv3Y0JBIIblys9zrsXXQjbjkmuDl97iCQuOgasDY1hsW5gZX7jSZtMfcv/EA4M6 egTNB+eTDpNs577Qc6wSZWl4Z4oS/fSHnejZbO0wukg5Pw3A9OXcmXh9rhVywYe7ZU4H veqEmVxDcm67g4bp5uKXl7j7huL+z1GR64kmXHR/pAPksA7K4e1uDgLnx5/3buRxGY6U fzyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=fD6/OA7UmNp3MPw3O95BFWZgPpylO05HHVOOggoItLA=; b=ueMLPWK4Ecy3aJJvPCsV2TBxAiSokQhVpMGhSt23mWRcf7fUeQhSVwLCotvdZ6Sl6X w278rNvNncqumVYpRcuOK/TrMByJpKb+HRjEaFeNAd6PzsjRQaFDnVla7BbyPAiUOczw +BWz+6VxuArm1QlQVbgF2iqoriX14KKrDf8AfuEI+RWAigcKFZTZdvlNiYIFWY1kCTes ujSDbx+m7l0B5R/f9QUpFeK5pynVrK0WCvW144aYChIGB1OeU/ZOCjJXR8tR/IRIBxa+ kCOvcxc5d8IdQNGNcuoA1AIY8B19rEkBMafplGqCiJ+HWyoNAARx37EwrwVcVvnlwGC7 gQgA== X-Gm-Message-State: AKGB3mLG/CD/a/ZHK4Ny3Qj36vSU63BlDeC7mXco++Fj/Q5TjviOisg+ QdmKmIBwYasW3vzoKC+Sfs7LxaJV X-Google-Smtp-Source: ACJfBot8aGdWOB+MGIhIfrZ1nYeQY8vIN99Jay09DzIge+8ClfJikYcKuHsRqSHn/OFBg+TOQMt82Q== X-Received: by 10.107.17.197 with SMTP id 66mr1513918ior.200.1513252905146; Thu, 14 Dec 2017 04:01:45 -0800 (PST) Received: from [10.0.1.5] (d60-38-170.col.wideopenwest.com. [65.60.170.38]) by smtp.gmail.com with ESMTPSA id q82sm2576662itb.7.2017.12.14.04.01.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2017 04:01:44 -0800 (PST) From: Dan Harms Content-Type: multipart/alternative; boundary="Apple-Mail=_BC880038-3960-4140-A6F9-A4384DC14587" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: 25.3; diff-buffer-with-file arguments reversed Message-Id: <20805A59-B4AE-4747-9178-585312084923@gmail.com> Date: Thu, 14 Dec 2017 06:01:43 -0600 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 14 Dec 2017 11:33:11 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (----) --Apple-Mail=_BC880038-3960-4140-A6F9-A4384DC14587 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii When I execute (diff-buffer-with-file ), the file on disk is used as the first argument, the working buffer as the second. This leads to a diff-mode buffer with the base-line (the left-hand side) as the file on disk, not my current buffer. I would think this is opposite of what should be the default. Wouldn't we more often want to view the buffer's current state as the baseline, and view what changes would be required to transform this buffer into the file on disk? =20 =20 =20 =20 In GNU Emacs 25.3.1 (i686-w64-mingw32) of 2017-09-17 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.1.7601 Configured using: 'configure --host=3Di686-w64-mingw32 --without-dbus --without-compress-install 'CFLAGS=3D-static -O2 -g3'' =20 Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS =20 Important settings: value of $LANG: ENU locale-coding-system: cp1252 =20 Major mode: Shell-script =20 Minor modes in effect: global-magit-file-mode: t magit-file-mode: t global-git-commit-mode: t bug-reference-prog-mode: t lisp-extra-font-lock-global-mode: t flycheck-popup-tip-mode: t yas-global-mode: t yas-minor-mode: t workgroups-mode: t persp-mode: t diff-hl-flydiff-mode: t global-diff-hl-mode: t diff-hl-mode: t diff-auto-refine-mode: t global-undo-tree-mode: t undo-tree-mode: t rich-minority-mode: t counsel-mode: t recentf-mode: t savehist-mode: t global-page-break-lines-mode: t shackle-mode: t simpleclip-mode: t shx-global-mode: t global-yascroll-bar-mode: t yascroll-bar-mode: t global-flycheck-mode: t flycheck-mode: t global-auto-complete-mode: t auto-complete-mode: t shell-dirtrack-mode: t ivy-mode: t delete-selection-mode: t show-paren-mode: t winner-mode: t which-function-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t =20 Recent messages: funcall-interactively: End of buffer Configuring package sh-script...done Setting up indent for shell type -*- Indentation variables are now local. Indentation setup for shell type -*- Mark saved where search started 6 matches for "\_" Mark set Quit Mark saved where search started =20 Load-path shadows: c:/Users/dan.harms.XRTRADING/.emacs.d/elisp/seq hides = c:/emacs-25.3/share/emacs/25.3/lisp/emacs-lisp/seq c:/Users/dan.harms.XRTRADING/.emacs.d/elisp/let-alist hides = c:/emacs-25.3/share/emacs/25.3/lisp/emacs-lisp/let-alist =20 Features: (shadow sort mail-extr emacsbug sendmail sh-script smie executable whiteboard-theme magit-bookmark magit-imenu git-rebase magit-extras magit-ediff ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff magit-subtree magit-submodule magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-branch magit-collab ghub url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf let-alist magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff magit-core magit-autorevert magit-process magit-margin magit-mode magit-git magit-section magit-popup git-commit magit-utils crm log-edit message rfc822 mml mml-sec epg mm-decode mm-bodies mailabbrev mail-utils gmm-utils mailheader pcvs-util with-editor server misearch multi-isearch gud vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs autorevert filenotify add-log vc-git good-word adaptive-wrap hydra lv org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m ox-md ox-latex ox-icalendar ox-html ox-ascii ox-publish ox org-element ob-sqlite ob-sql ob-sh ob-python ob-plantuml ob-dot ob-ditaa ob-C org-crypt org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar cal-loaddefs frame-cmds frame-fns light-blue-theme colir bug-reference nodejs-repl emr-c cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs lisp-extra-font-lock elf-mode xr-mock use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key use-package-core remotehost-connect auto-insert-choose+ auto-insert-choose flycheck-popup-tip flycheck-bashate flycheck-checkbashisms flycheck-package package-lint finder finder-inf lisp-mnt package epg-config quick-peek yasnippet flymake ac-etags auto-complete-config vlf-setup smerge-mode palette eyedropper hexrgb custom-themes workgroups perspective windmove framemove shebang diff-hl-flydiff diff-hl-dired diff-hl vc-dir vc vc-dispatcher diff-mode dired-du find-dired dired-sort dired-sidebar face-remap dired-subtree ivy-dired-history dired-filter dired-hacks-utils ls-lisp+ files+ dired+ w32-browser image-dired image-file dired-aux beginend undo-tree diff smart-mode-line-light-theme rich-minority powerline powerline-separators powerline-themes smex ido counsel swiper ivy-rich wgrep ange-ftp tramp-ftp tramp-cache tramp-sh recentf tree-widget wid-edit savehist page-break-lines shackle trace simpleclip shx color makefile-executor make-mode elnode db web time-stamp browse-url url-util mailcap mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums fakir dotassoc kv noflet cl-indent ert ewoc debug copyright yascroll emr-elisp emr-lisp list-utils emr-iedit iedit iedit-lib emr-prog emr custom-environment aes proviso-frame-title proviso switch-buffer-functions proviso-include-files auto-complete-clang flycheck json map find-func rx auto-complete-c-headers auto-complete popup cl proviso-grep proviso-registers proviso-sml smart-mode-line proviso-bookmarks bookmark+ bookmark+-key derived dired-x dired crosshairs col-highlight vline hl-line+ hl-line bookmark+-1 bookmark+-bmu bookmark+-lit bookmark pp proviso-gentags find-file proviso-tags proviso-etags-select proviso-etags-table etags xref project proviso-display proviso-dired proviso-compile proviso-fulledit em-glob esh-util proviso-clang-format clang-format xml proviso-ag grep compile proviso-defines proviso-regexp subr-x proviso-core load-environment-vars read-file-into-list-of-lines tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color format-spec advice seq seq-25 ivy flx delsel ivy-overlay ffap thingatpt url-parse auth-source cl-seq eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv gnus-util mm-util help-fns help-mode easymenu mail-prsvr password-cache url-vars f s dash avoid paren winner ring which-func imenu edmacro kmacro custom-backups bind-key easy-mmode cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core 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 charscript case-table epa-hook jka-cmpr-hook help simple abbrev 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 w32notify w32 multi-tty make-network-process emacs) =20 Memory information: ((conses 8 575721 250760) (symbols 32 58486 1) (miscs 32 677 1596) (strings 16 139326 184998) (string-bytes 1 4399580) (vectors 8 82280) (vector-slots 4 1271150 107036) (floats 8 947 681) (intervals 28 3162 4108) (buffers 520 28)) --Apple-Mail=_BC880038-3960-4140-A6F9-A4384DC14587 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
When I execute = (diff-buffer-with-file <buffer>), the file on disk is
used as the first = argument, the working buffer as the second.  This
leads to a = diff-mode buffer with the base-line (the left-hand side) as
the file on disk, = not my current buffer.  I would think this is opposite
of what should be = the default.  Wouldn't we more often want to view the
buffer's current = state as the baseline, and view what changes would be
required to = transform this buffer into the file on disk?
 
 
 
 
In GNU Emacs = 25.3.1 (i686-w64-mingw32)
of 2017-09-17 built on LAPHROAIG
Windowing system = distributor 'Microsoft Corp.', version 6.1.7601
Configured = using:
'configure --host=3Di686-w64-mingw32 --without-dbus
--without-compress-install 'CFLAGS=3D-static -O2 -g3''
 
Configured = features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 = ZLIB
TOOLKIT_SCROLL_BARS
 
Important settings:
  value of $LANG: ENU
  = locale-coding-system: cp1252
 
Major mode: Shell-script
 
Minor modes in effect:
  global-magit-file-mode: t
  = magit-file-mode: t
  global-git-commit-mode: t
  = bug-reference-prog-mode: t
  lisp-extra-font-lock-global-mode: t
  = flycheck-popup-tip-mode: t
  yas-global-mode: t
  = yas-minor-mode: t
  workgroups-mode: t
  = persp-mode: t
  diff-hl-flydiff-mode: t
  = global-diff-hl-mode: t
  diff-hl-mode: t
  = diff-auto-refine-mode: t
  global-undo-tree-mode: t
  = undo-tree-mode: t
  rich-minority-mode: t
  = counsel-mode: t
  recentf-mode: t
  savehist-mode: t
  = global-page-break-lines-mode: t
  shackle-mode: t
  = simpleclip-mode: t
  shx-global-mode: t
  = global-yascroll-bar-mode: t
  yascroll-bar-mode: t
  = global-flycheck-mode: t
  flycheck-mode: t
  = global-auto-complete-mode: t
  auto-complete-mode: t
  = shell-dirtrack-mode: t
  ivy-mode: t
  = delete-selection-mode: t
  show-paren-mode: t
  = winner-mode: t
  which-function-mode: t
  = override-global-mode: t
  tooltip-mode: t
  = global-eldoc-mode: t
  electric-indent-mode: t
  = mouse-wheel-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
  = size-indication-mode: t
  column-number-mode: t
  = line-number-mode: t
  transient-mark-mode: t
 
Recent = messages:
funcall-interactively: End of buffer
Configuring = package sh-script...done
Setting up indent for shell type -*-
Indentation = variables are now local.
Indentation setup for shell type -*-
Mark saved where = search started
6 matches for "\_<tshark\_>"
Mark set
Quit
Mark saved where = search started
 
Load-path = shadows:
c:/Users/dan.harms.XRTRADING/.emacs.d/elisp/seq hides = c:/emacs-25.3/share/emacs/25.3/lisp/emacs-lisp/seq
c:/Users/dan.harms.XRTRADING/.emacs.d/elisp/let-alist hides = c:/emacs-25.3/share/emacs/25.3/lisp/emacs-lisp/let-alist
 
Features:
(shadow sort = mail-extr emacsbug sendmail sh-script smie executable
whiteboard-theme = magit-bookmark magit-imenu git-rebase magit-extras
magit-ediff = ediff-merg ediff-wind ediff-diff ediff-mult ediff-help
ediff-init = ediff-util ediff magit-subtree magit-submodule magit-obsolete
magit-blame = magit-stash magit-bisect magit-remote magit-commit
magit-sequence = magit-notes magit-worktree magit-branch magit-collab ghub
url-auth url = url-proxy url-privacy url-expand url-methods url-history
url-cookie = url-domsuf let-alist magit-files magit-refs magit-status
magit magit-repos = magit-apply magit-wip magit-log magit-diff magit-core
magit-autorevert = magit-process magit-margin magit-mode magit-git
magit-section = magit-popup git-commit magit-utils crm log-edit message
rfc822 mml = mml-sec epg mm-decode mm-bodies mailabbrev mail-utils
gmm-utils = mailheader pcvs-util with-editor server misearch multi-isearch
gud vc-bzr vc-src = vc-sccs vc-svn vc-cvs vc-rcs autorevert filenotify
add-log vc-git = good-word adaptive-wrap hydra lv org-rmail org-mhe
org-irc org-info = org-gnus org-docview doc-view jka-compr image-mode
org-bibtex bibtex = org-bbdb org-w3m ox-md ox-latex ox-icalendar ox-html
ox-ascii = ox-publish ox org-element ob-sqlite ob-sql ob-sh ob-python
ob-plantuml = ob-dot ob-ditaa ob-C org-crypt org org-macro org-footnote
org-pcomplete = org-list org-faces org-entities noutline outline
org-version = ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-src ob-keys = ob-comint ob-core ob-eval org-compat org-macs
org-loaddefs = cal-menu calendar cal-loaddefs frame-cmds frame-fns
light-blue-theme = colir bug-reference nodejs-repl emr-c cc-mode cc-fonts
cc-guess cc-menus = cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
lisp-extra-font-lock elf-mode xr-mock use-package = use-package-ensure
use-package-delight use-package-diminish = use-package-bind-key
use-package-core remotehost-connect = auto-insert-choose+
auto-insert-choose flycheck-popup-tip = flycheck-bashate
flycheck-checkbashisms flycheck-package package-lint finder = finder-inf
lisp-mnt package epg-config quick-peek yasnippet flymake = ac-etags
auto-complete-config vlf-setup smerge-mode palette eyedropper = hexrgb
custom-themes workgroups perspective windmove framemove = shebang
diff-hl-flydiff diff-hl-dired diff-hl vc-dir vc vc-dispatcher = diff-mode
dired-du find-dired dired-sort dired-sidebar face-remap = dired-subtree
ivy-dired-history dired-filter dired-hacks-utils ls-lisp+ = files+ dired+
w32-browser image-dired image-file dired-aux beginend = undo-tree diff
smart-mode-line-light-theme rich-minority powerline = powerline-separators
powerline-themes smex ido counsel swiper = ivy-rich wgrep ange-ftp
tramp-ftp tramp-cache tramp-sh recentf = tree-widget wid-edit savehist
page-break-lines shackle trace simpleclip shx = color makefile-executor
make-mode elnode db web time-stamp browse-url = url-util mailcap mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums = fakir dotassoc kv noflet
cl-indent ert ewoc debug copyright yascroll = emr-elisp emr-lisp
list-utils emr-iedit iedit iedit-lib emr-prog emr = custom-environment aes
proviso-frame-title proviso = switch-buffer-functions
proviso-include-files auto-complete-clang = flycheck json map find-func rx
auto-complete-c-headers auto-complete popup cl = proviso-grep
proviso-registers proviso-sml smart-mode-line = proviso-bookmarks
bookmark+ bookmark+-key derived dired-x dired crosshairs = col-highlight
vline hl-line+ hl-line bookmark+-1 bookmark+-bmu = bookmark+-lit bookmark
pp proviso-gentags find-file proviso-tags = proviso-etags-select
proviso-etags-table etags xref project = proviso-display proviso-dired
proviso-compile proviso-fulledit em-glob = esh-util proviso-clang-format
clang-format xml proviso-ag grep compile = proviso-defines proviso-regexp
subr-x proviso-core load-environment-vars = read-file-into-list-of-lines
tramp tramp-compat tramp-loaddefs trampver = ucs-normalize shell pcomplete
comint ansi-color format-spec advice seq seq-25 = ivy flx delsel
ivy-overlay ffap thingatpt url-parse auth-source cl-seq eieio = byte-opt
bytecomp byte-compile cl-extra cconv eieio-core cl-macs gv = gnus-util
mm-util help-fns help-mode easymenu mail-prsvr password-cache = url-vars f
s = dash avoid paren winner ring which-func imenu edmacro kmacro
custom-backups = bind-key easy-mmode cl-loaddefs pcase cl-lib time-date
mule-util tooltip = eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type = mwheel dos-w32 ls-lisp disp-table w32-win w32-vars
term/common-win = tool-bar dnd fontset image regexp-opt fringe
tabulated-list = newcomment elisp-mode lisp-mode prog-mode register page
menu-bar = rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu = font-core 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 = charscript case-table epa-hook jka-cmpr-hook help
simple abbrev = 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
w32notify w32 = multi-tty make-network-process emacs)
 
Memory = information:
((conses 8 575721 250760)
(symbols 32 58486 = 1)
(miscs 32 677 1596)
(strings 16 139326 184998)
(string-bytes 1 = 4399580)
(vectors 8 82280)
(vector-slots 4 1271150 107036)
(floats 8 947 = 681)
(intervals 28 3162 4108)
(buffers 520 28))

= --Apple-Mail=_BC880038-3960-4140-A6F9-A4384DC14587-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 14 12:49:35 2017 Received: (at 29709) by debbugs.gnu.org; 14 Dec 2017 17:49:35 +0000 Received: from localhost ([127.0.0.1]:34023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePXdX-0003jH-34 for submit@debbugs.gnu.org; Thu, 14 Dec 2017 12:49:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:32804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePXdV-0003j5-Og for 29709@debbugs.gnu.org; Thu, 14 Dec 2017 12:49:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePXdM-0007e8-Hd for 29709@debbugs.gnu.org; Thu, 14 Dec 2017 12:49:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePXdM-0007dv-DS; Thu, 14 Dec 2017 12:49:24 -0500 Received: from [176.228.60.248] (port=3811 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ePXdL-0003TM-4Z; Thu, 14 Dec 2017 12:49:24 -0500 Date: Thu, 14 Dec 2017 19:49:16 +0200 Message-Id: <83y3m5td2b.fsf@gnu.org> From: Eli Zaretskii To: Dan Harms In-reply-to: <20805A59-B4AE-4747-9178-585312084923@gmail.com> (message from Dan Harms on Thu, 14 Dec 2017 06:01:43 -0600) Subject: Re: bug#29709: 25.3; diff-buffer-with-file arguments reversed References: <20805A59-B4AE-4747-9178-585312084923@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29709 Cc: 29709@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Dan Harms > Date: Thu, 14 Dec 2017 06:01:43 -0600 > > When I execute (diff-buffer-with-file ), the file on disk is > used as the first argument, the working buffer as the second. This > leads to a diff-mode buffer with the base-line (the left-hand side) as > the file on disk, not my current buffer. I would think this is opposite > of what should be the default. Wouldn't we more often want to view the > buffer's current state as the baseline, and view what changes would be > required to transform this buffer into the file on disk? I think the idea is that the file on disk is the original version and the text in your buffer is the modified (a.k.a. "new") version. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 15 06:41:27 2017 Received: (at 29709) by debbugs.gnu.org; 15 Dec 2017 11:41:27 +0000 Received: from localhost ([127.0.0.1]:34775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePoMo-0006Fq-OV for submit@debbugs.gnu.org; Fri, 15 Dec 2017 06:41:26 -0500 Received: from mail-it0-f47.google.com ([209.85.214.47]:36553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePoMm-0006Fd-JI for 29709@debbugs.gnu.org; Fri, 15 Dec 2017 06:41:24 -0500 Received: by mail-it0-f47.google.com with SMTP id d16so18348485itj.1 for <29709@debbugs.gnu.org>; Fri, 15 Dec 2017 03:41:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uLBjuWwwFsi1cTxZ8rlKbRBHguPdfq6apXjIekRBMXo=; b=gj5MfypOwjf8ZfkUG5CgV8IzO3gyfUla0xKLisWLAwPT2p03Kq8PUVZiaOK18EnOUr IdoDfcpH33JlmV+ZK51z+DZ+npfXWeY4KKSyAW0VJc5NH1QMtnfL0LjgbTNFo4A88PWU OWbXY5SlXdjHXhefwOulVwsYDGTP2QitrTsx4KLDqv4r7ruKBfR4ir+p6+4LANSje2s3 KQSOxmmzPi70+9w61I+aQwJ3d0bo7Sf1f0tpIeN8McuIirTZgIAJvzBzeZ8HeLvRNDTJ Uy2jHsLsro7naF1FgtOuw+nMJW/FoMizvCTaw/rJAu8h6ohGlOXUpkzZlDydxjmSoRSK jSsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uLBjuWwwFsi1cTxZ8rlKbRBHguPdfq6apXjIekRBMXo=; b=bWYT42vQR2knG1nnMVetaGgYVQnRAee/z9XsAyYtiLaFc4ocNGD4tzLsysHUW57emM PsCR8W5Cxdp3eZT3qOHvQEeFviaATkmqcW8sqA+w94J9jUpzLYUX+bkHdkhZyG+Lw06E x1tPdK5LY/C+K1pBKAEtWtZBHQZHEmqCsUz5gXCBnXF/Zoqd+12SBQKBZx9IyshZBiEr gTwRPsga0TbJgUV4pobi4GBqcIGySJMMqFlV0qRdntWr1wiIYxMh5ubD0mqrUVFLs45w 0xpYlPT+dHxBYCv1itZ8nV2FjQZ98QltfegqA4SDd7ZkyBypn8beigGiFa0bxcvmWNiW Zyug== X-Gm-Message-State: AKGB3mImGRBJ4+zXZTvvHTNj/XutrxjO4OGKDX+wsoGbPVCw8l57XwYq sZ5GAn0+MdaMRYYy/1/oMSXfe+1j X-Google-Smtp-Source: ACJfBosLliiRxEb9cp5DnEtXZhtIyvTuDchHXMtKKE5JZp3LNq4EcQj7SBcj1mLc1IQT6JwzjFFWSQ== X-Received: by 10.107.163.14 with SMTP id m14mr12242409ioe.73.1513338078801; Fri, 15 Dec 2017 03:41:18 -0800 (PST) Received: from [192.168.0.7] (d60-38-170.col.wideopenwest.com. [65.60.170.38]) by smtp.gmail.com with ESMTPSA id d3sm3675679itf.1.2017.12.15.03.41.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Dec 2017 03:41:18 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: bug#29709: 25.3; diff-buffer-with-file arguments reversed From: Dan Harms X-Mailer: iPhone Mail (15B150) In-Reply-To: <83y3m5td2b.fsf@gnu.org> Date: Fri, 15 Dec 2017 05:41:17 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20805A59-B4AE-4747-9178-585312084923@gmail.com> <83y3m5td2b.fsf@gnu.org> To: Eli Zaretskii X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 29709 Cc: 29709@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.0 (/) Every time I use the function, I end up having to reverse the direction afte= r calling the function. But that=E2=80=99s OK, if other people think the de= fault makes sense.=20 On Dec 14, 2017, at 11:49 AM, Eli Zaretskii wrote: >> From: Dan Harms >> Date: Thu, 14 Dec 2017 06:01:43 -0600 >>=20 >> When I execute (diff-buffer-with-file ), the file on disk is >> used as the first argument, the working buffer as the second. This >> leads to a diff-mode buffer with the base-line (the left-hand side) as >> the file on disk, not my current buffer. I would think this is opposite >> of what should be the default. Wouldn't we more often want to view the >> buffer's current state as the baseline, and view what changes would be >> required to transform this buffer into the file on disk? >=20 > I think the idea is that the file on disk is the original version and > the text in your buffer is the modified (a.k.a. "new") version. From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 28 19:39:45 2019 Received: (at 29709) by debbugs.gnu.org; 28 Sep 2019 23:39:45 +0000 Received: from localhost ([127.0.0.1]:51560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEMJV-0005bl-DV for submit@debbugs.gnu.org; Sat, 28 Sep 2019 19:39:45 -0400 Received: from mail-pl1-f176.google.com ([209.85.214.176]:43404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEMJT-0005bT-TP for 29709@debbugs.gnu.org; Sat, 28 Sep 2019 19:39:44 -0400 Received: by mail-pl1-f176.google.com with SMTP id f21so2432603plj.10 for <29709@debbugs.gnu.org>; Sat, 28 Sep 2019 16:39:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=n2jau75jnpGppZ8PT+IhFA/GD7bvHZhw3OymOU1nBxE=; b=DtAYUG+CcxYlhthmYwmbALCLAwOJQvc8K1xaxNoROKbkiHFSBbUF7REE5qjX1gpoUO I5d7ll7LR9/RCejGF52caYNkHzA2MqO66uAPT+tJCc50H755IkcFMK1uMpH1REpKUwSh VEMi5KYYI9dleMIK3WCdd0uWHZ13l2DR0Fy0H2mlCtggQm+AUnY78UFe6vu/0J4Hd9i+ 4VZ/QNW9jW9PQDwtZJJP0JAofqN8BS1rf+FUBy5Wp8GJxsBuYDCKAJcqwt9g0oOrwEtw MZggiKGNi/s4te6LXKHj9C6nc1G34CvTeyoEaf3ZABfAN3Y3154WvY6aPR0+txv8goXI 5epA== X-Gm-Message-State: APjAAAVy07zcZPz9/4s1hF65jGTa2YYju9c4B98cSDyku9ZFlBELLOCH 7LQaJessfDbhTWFo+JlP7JDen/lmMWHhjCBCBqw= X-Google-Smtp-Source: APXvYqyAMiVjr3RS8oEFgms3l0QXrdXfuOh+OrP9cq5XQk4rjQ0u5kYhXwv3gx2yI0tMuVjYYmqEgslcnmZ0/y11fps= X-Received: by 2002:a17:902:a515:: with SMTP id s21mr13174246plq.259.1569713978216; Sat, 28 Sep 2019 16:39:38 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Sun, 29 Sep 2019 01:39:27 +0200 Message-ID: Subject: Re: bug#29709: 25.3; diff-buffer-with-file arguments reversed To: Dan Harms Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 29709 Cc: Eli Zaretskii , 29709@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -0.6 (/) tags 29709 + wontfix close 29709 quit Dan Harms writes: > Every time I use the function, I end up having to reverse the direction a= fter calling the function. But that=E2=80=99s OK, if other people think th= e default makes sense. > > On Dec 14, 2017, at 11:49 AM, Eli Zaretskii wrote: > >>> From: Dan Harms >>> Date: Thu, 14 Dec 2017 06:01:43 -0600 >>> >>> When I execute (diff-buffer-with-file ), the file on disk is >>> used as the first argument, the working buffer as the second. This >>> leads to a diff-mode buffer with the base-line (the left-hand side) as >>> the file on disk, not my current buffer. I would think this is opposit= e >>> of what should be the default. Wouldn't we more often want to view the >>> buffer's current state as the baseline, and view what changes would be >>> required to transform this buffer into the file on disk? >> >> I think the idea is that the file on disk is the original version and >> the text in your buffer is the modified (a.k.a. "new") version. The conclusion here is that we want to keep the current behaviour. I'm therefore closing this as wontfix. Best regards, Stefan Kangas From unknown Sat Sep 06 00:52:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 27 Oct 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator