unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#66379: 29.1.50; ediff wordwise ediff-copy-diff leads to different buffers
@ 2023-10-06 14:24 Felix Mühlenberend via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-10-19  2:02 ` Michael Heerdegen
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Mühlenberend via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-10-06 14:24 UTC (permalink / raw)
  To: 66379



Symptoms:
Diffing the following regions with wordwise mode:
```[A]
This, is a test
```
```[B]
This is a test
```
and copying with (ediff-copy-A-to-B) results in:
```[A]
This, is a test
```
```[B]
This ,is a test
```
Where the comma is in the wrong place.

Actions (I have reproduced this with a vanilla emacs config):
1. Open two buffers and insert the texts
2. Call (ediff-regions-wordwise) and select the two lines in the buffers
3. Call (ediff-copy-A-to-B) and notice the difference

Additional informaiton:
- "," is split as a single word and then diff rightly detects this as a
somewhere in ediff-extract-diffs but I don't have the time to tig in 
further
- This problem can be "fixed" by settings ediff-word-1 to "-[:word:]_,"
including the comma with the word its at


In GNU Emacs 29.1.50 (build 1, x86_64-redhat-linux-gnu, GTK+ Version
3.24.38, cairo version 1.17.8) of 2023-09-13 built on fedora
Repository revision: 9396d73942e0c912d978c25f9883e51668d33255
Repository branch: emacs-29
System Description: Fedora Linux 38 (Workstation Edition)

Configured using:
'configure --prefix=/home/felix/.local --without-pop --with-mailutils
--with-pgtk --without-x --with-xwidgets --with-cairo
--without-compress-install --with-native-compilation --with-json
--with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff
--with-webp --with-gpm --with-modules --with-harfbuzz
build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB

Important settings:
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
git-gutter-mode: t
evil-traces-mode: t
global-anzu-mode: t
anzu-mode: t
windmove-mode: t
whitespace-mode: t
evil-org-mode: t
mixed-pitch-mode: t
org-indent-mode: t
solaire-global-mode: t
org-cdlatex-mode: t
doom-modeline-mode: t
flycheck-popup-tip-mode: t
global-evil-surround-mode: t
evil-surround-mode: t
eros-mode: t
+emacs-lisp-non-package-mode: t
vi-tilde-fringe-mode: t
display-line-numbers-mode: t
copilot-mode: t
which-key-mode: t
savehist-mode: t
better-jumper-mode: t
better-jumper-local-mode: t
company-box-mode: t
global-company-mode: t
company-mode: t
vertico-mode: t
nerd-icons-completion-mode: t
marginalia-mode: t
evil-goggles-mode: t
evil-escape-mode: t
evil-snipe-override-mode: t
evil-snipe-mode: t
evil-snipe-override-local-mode: t
evil-snipe-local-mode: t
recentf-mode: t
save-place-mode: t
global-so-long-mode: t
global-git-commit-mode: t
shell-dirtrack-mode: t
server-mode: t
gcmh-mode: t
winner-mode: t
ws-butler-global-mode: t
ws-butler-mode: t
undo-fu-session-global-mode: t
undo-fu-session-mode: t
undo-fu-mode: t
global-flycheck-mode: t
flycheck-mode: t
global-evil-mc-mode: t
evil-mc-mode: t
dap-tooltip-mode: t
dap-ui-many-windows-mode: t
dap-ui-controls-mode: t
dap-ui-mode: t
persp-mode: t
projectile-mode: t
treemacs-filewatch-mode: t
treemacs-git-mode: t
treemacs-fringe-indicator-mode: t
global-hl-line-mode: t
hl-line-mode: t
gdb-many-windows: t
dap-auto-configure-mode: t
dap-mode: t
yas-global-mode: t
yas-minor-mode: t
smartparens-global-mode: t
global-subword-mode: t
subword-mode: t
+lsp-optimization-mode: t
evil-mode: t
evil-local-mode: t
+popup-mode: t
override-global-mode: t
general-override-mode: t
apheleia-global-mode: t
apheleia-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
prettify-symbols-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
window-divider-mode: t
size-indication-mode: t
column-number-mode: t
line-number-mode: t
global-visual-line-mode: t
visual-line-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t

Load-path shadows:
/home/felix/.config/emacs/.local/straight/build-29.1.50/transient/transient 
hides /home/felix/.local/share/emacs/29.1.50/lisp/transient
/home/felix/.config/emacs/.local/straight/build-29.1.50/jsonrpc/jsonrpc 
hides /home/felix/.local/share/emacs/29.1.50/lisp/jsonrpc
/home/felix/.config/emacs/.local/straight/build-29.1.50/use-package/use-package-lint 
hides 
/home/felix/.local/share/emacs/29.1.50/lisp/use-package/use-package-lint
/home/felix/.config/emacs/.local/straight/build-29.1.50/use-package/use-package-jump 
hides 
/home/felix/.local/share/emacs/29.1.50/lisp/use-package/use-package-jump
/home/felix/.config/emacs/.local/straight/build-29.1.50/use-package/use-package-ensure 
hides 
/home/felix/.local/share/emacs/29.1.50/lisp/use-package/use-package-ensure
/home/felix/.config/emacs/.local/straight/build-29.1.50/use-package/use-package 
hides /home/felix/.local/share/emacs/29.1.50/lisp/use-package/use-package
/home/felix/.config/emacs/.local/straight/build-29.1.50/use-package/use-package-core 
hides 
/home/felix/.local/share/emacs/29.1.50/lisp/use-package/use-package-core
/home/felix/.config/emacs/.local/straight/build-29.1.50/use-package/use-package-diminish 
hides 
/home/felix/.local/share/emacs/29.1.50/lisp/use-package/use-package-diminish
/home/felix/.config/emacs/.local/straight/build-29.1.50/use-package/use-package-delight 
hides 
/home/felix/.local/share/emacs/29.1.50/lisp/use-package/use-package-delight
/home/felix/.config/emacs/.local/straight/build-29.1.50/bind-key/bind-key 
hides /home/felix/.local/share/emacs/29.1.50/lisp/use-package/bind-key
/home/felix/.config/emacs/.local/straight/build-29.1.50/use-package/use-package-bind-key 
hides 
/home/felix/.local/share/emacs/29.1.50/lisp/use-package/use-package-bind-key
/home/felix/.config/emacs/.local/straight/build-29.1.50/xref/xref hides 
/home/felix/.local/share/emacs/29.1.50/lisp/progmodes/xref
/home/felix/.config/emacs/.local/straight/build-29.1.50/project/project 
hides /home/felix/.local/share/emacs/29.1.50/lisp/progmodes/project
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-odt hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ox-odt
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-publish 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ox-publish
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-org hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ox-org
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-md hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ox-md
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-man hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ox-man
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-latex 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ox-latex
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-koma-letter 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ox-koma-letter
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-html 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ox-html
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-icalendar 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ox-icalendar
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-ascii 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ox-ascii
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-beamer 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ox-beamer
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-table 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-table
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-timer 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-timer
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-tempo 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-tempo
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-protocol 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-protocol
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-plot 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-plot
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-refile 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-refile
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-src 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-src
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-persist 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-persist
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-num 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-num
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-mobile 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-mobile
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-mouse 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-mouse
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/org
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-lint 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-lint
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-pcomplete 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-pcomplete
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-macs 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-macs
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-loaddefs 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-loaddefs
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-inlinetask 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-inlinetask
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-habit 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-habit
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-list 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-list
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-indent 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-indent
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-id hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/org-id
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-goto 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-goto
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-keys 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-keys
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-feed 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-feed
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-datetree 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-datetree
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-footnote 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-footnote
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-fold 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-fold
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-fold-core 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-fold-core
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-ctags 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-ctags
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-faces 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-faces
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-agenda 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-agenda
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-entities 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-entities
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-duration 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-duration
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-clock 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-clock
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-cycle 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-cycle
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-colview 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-colview
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-capture 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-capture
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-attach-git 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-attach-git
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-attach 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-attach
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-crypt 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-crypt
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-archive 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-archive
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-compat 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-compat
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-gnus 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ol-gnus
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-w3m hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ol-w3m
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-rmail 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ol-rmail
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-mhe hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ol-mhe
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-eww hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ol-eww
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-man hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ol-man
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-irc hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ol-irc
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-info 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ol-info
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-eshell 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ol-eshell
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-doi hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ol-doi
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-docview 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ol-docview
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-bibtex 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ol-bibtex
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol-bbdb 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ol-bbdb
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/oc-csl hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/oc-csl
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/oc-natbib 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/oc-natbib
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/oc-basic 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/oc-basic
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/oc-biblatex 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/oc-biblatex
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/oc-bibtex 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/oc-bibtex
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-tangle 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-tangle
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-table 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-table
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-sqlite 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-sqlite
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-sql hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-sql
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-shell 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-shell
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-fortran 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-fortran
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-sed hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-sed
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-screen 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-screen
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-scheme 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-scheme
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-sass 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-sass
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-ruby 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-ruby
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-python 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-python
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-R hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-R
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-processing 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-processing
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-ref hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-ref
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-plantuml 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-plantuml
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-perl 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-perl
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-org hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-org
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-octave 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-octave
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-C hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-C
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-ocaml 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-ocaml
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-maxima 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-maxima
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-matlab 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-matlab
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-makefile 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-makefile
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-lua hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-lua
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-lisp 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-lisp
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-lob hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-lob
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-lilypond 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-lilypond
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-latex 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-latex
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-julia 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-julia
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-js hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-js
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-java 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-java
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-haskell 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-haskell
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-groovy 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-groovy
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-gnuplot 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-gnuplot
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-forth 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-forth
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-exp hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-exp
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-eval 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-eval
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-eshell 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-eshell
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-emacs-lisp 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-emacs-lisp
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-dot hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-dot
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-core 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-core
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-ditaa 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-ditaa
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-css hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-css
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-clojure 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-clojure
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-calc 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-calc
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-comint 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ob-comint
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ob-awk hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ob-awk
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-element 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-element
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox-texinfo 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/ox-texinfo
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ox hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ox
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/ol hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/ol
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/oc hides 
/home/felix/.local/share/emacs/29.1.50/lisp/org/oc
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-macro 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-macro
/home/felix/.config/emacs/.local/straight/build-29.1.50/org/org-version 
hides /home/felix/.local/share/emacs/29.1.50/lisp/org/org-version
/home/felix/.config/emacs/.local/straight/build-29.1.50/map/map hides 
/home/felix/.local/share/emacs/29.1.50/lisp/emacs-lisp/map
/home/felix/.config/emacs/.local/straight/build-29.1.50/eldoc/eldoc 
hides /home/felix/.local/share/emacs/29.1.50/lisp/emacs-lisp/eldoc

Features:
(shadow sort mail-extr emacsbug tramp tramp-loaddefs trampver
tramp-integration tramp-compat consult-xref align gptel-curl overseer
pkg-info url-http url-auth url-gw epl timezone git-gutter-fringe
fringe-helper git-gutter semantic/symref/grep semantic/symref
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw mode-local cedet files-x macrostep-c cmacexp
evil-collection-macrostep macrostep shortdoc
doom-my-solarized-dark-theme evil-collection-help novice company-ispell
ispell company-dabbrev elisp-demos evil-collection-indent
evil-collection-helpful helpful cc-langs trace evil-collection-edebug
edebug info-look evil-collection-info info evil-collection-elisp-refs
elisp-refs org-crypt help-fns radix-tree cl-print char-fold tabify
apheleia-core apheleia apheleia-utils evil-traces evil-ex
company-yasnippet delsel elisp-def ert evil-collection-debug debug
backtrace evil-anzu anzu hide-mode-line evil-collection-ediff ediff
ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init
ediff-util windmove vertico-directory lsp-diagnostics lsp-modeline
lsp-ui lsp-ui-flycheck lsp-ui-doc evil-collection-xwidget xwidget
image-mode exif goto-addr evil-collection-lsp-ui-imenu lsp-ui-imenu
lsp-ui-peek lsp-ui-sideline lsp-ui-util evil-collection-view view
lsp-zig lsp-tilt lsp-steep lsp-svelte lsp-sqls lsp-ruby-syntax-tree
lsp-ruby-lsp lsp-yaml lsp-xml lsp-vimscript lsp-vhdl lsp-volar lsp-vetur
lsp-html lsp-verilog lsp-vala lsp-v lsp-typeprof lsp-ttcn3 lsp-toml
lsp-terraform lsp-tex lsp-sorbet lsp-solargraph lsp-semgrep lsp-rust
lsp-rubocop lsp-rf lsp-ruff-lsp lsp-remark lsp-racket lsp-r
lsp-purescript lsp-pylsp lsp-pyls lsp-pwsh lsp-php lsp-pls
lsp-perlnavigator lsp-perl lsp-openscad lsp-ocaml lsp-magik lsp-nix
lsp-nim lsp-nginx lsp-move lsp-mint lsp-marksman lsp-markdown lsp-lua
lsp-kotlin lsp-json lsp-javascript lsp-idris lsp-haxe lsp-groovy
lsp-hack lsp-graphql lsp-glsl lsp-gleam lsp-go lsp-completion
lsp-gdscript lsp-fsharp lsp-fortran lsp-eslint lsp-erlang lsp-emmet
lsp-elixir lsp-elm lsp-dockerfile lsp-dhall lsp-d lsp-css lsp-csharp
gnutls lsp-crystal lsp-credo lsp-cmake lsp-clojure lsp-semantic-tokens
lsp-clangd lsp-beancount lsp-bash lsp-astro lsp-awk lsp-ansible
lsp-angular lsp-ada lsp-actionscript jka-compr disp-table whitespace
org-eldoc cdlatex evil-collection-reftex reftex-toc reftex-cite
reftex-ref reftex-parse reftex reftex-loaddefs reftex-vars texmathp
toc-org evil-org mixed-pitch org-indent oc-basic ol-bibtex bibtex
dired-aux diredfl nerd-icons-dired dired-x mule-util vertico-repeat
consult-flycheck evil-collection-consult consult doom-themes-ext-org
solaire-mode face-remap doom-my-solarized-light-theme doom-themes
doom-themes-base dap-dlv-go smartparens-go evil-collection-go-mode
go-mode find-file ffap nav-flash evil-collection-vc-git vc-git
vc-dispatcher auto-minor-mode magit-bookmark treemacs-bookmarks
treemacs-tags evil-collection-bookmark bookmark org-capture
the-org-mode-expansions anki-editor ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-icalendar org-agenda ox-md ox-beamer ox-latex org-re-reveal
iso-cvt ox-html table ox-ascii ox-publish ox evil-collection-org
smartparens-org org-yt org-element org-persist xdg org-id org-refile
org-element-ast avl-tree org ob-emacs-lisp org-table org-loaddefs ob
ob-tangle ol ob-ref ob-lob ob-table ob-exp org-macro org-src
company-shell evil-collection-sh-script sh-script smie treesit
executable org-keys oc ob-comint org-pcomplete org-list org-footnote
org-entities org-faces evil-collection-calendar cal-menu calendar
cal-loaddefs evil-collection-magit-todos magit-todos pcre2el rxt
re-builder async treemacs-magit magit-autoloads evil-collection-magit
magit-submodule magit-blame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func magit-diff
smerge-mode diff evil-collection-diff-mode diff-mode magit-core
magit-autorevert autorevert magit-margin magit-transient magit-process
magit-mode doom-modeline doom-modeline-segments doom-modeline-env
doom-modeline-core shrink-path flycheck-popup-tip evil-collection-popup
popup flycheck-cask evil-embrace evil-surround embrace expand-region
subword-mode-expansions text-mode-expansions cc-mode-expansions
er-basic-expansions expand-region-core expand-region-custom eros
highlight-quoted rainbow-delimiters vi-tilde-fringe highlight-numbers
parent-mode display-line-numbers hl-todo copilot copilot-balancer
editorconfig editorconfig-core editorconfig-core-handle
editorconfig-fnmatch jsonrpc evil-collection-which-key which-key
savehist better-jumper company-box company-box-doc frame-local
company-box-icons all-the-icons all-the-icons-faces data-material
data-weathericons data-octicons data-fileicons data-faicons
data-alltheicons company-capf company evil-collection-vertico vertico
orderless nerd-icons-completion marginalia evil-goggles evil-easymotion
evil-escape evil-snipe recentf saveplace evil-collection-so-long so-long
git-commit magit-git magit-base evil-collection-magit-section
magit-section cursor-sensor crm with-editor shell pcomplete server
evil-collection-log-edit log-edit message sendmail yank-media rfc822 mml
mml-sec evil-collection-epa epa gnus-util mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils
pcvs-util add-log gcmh winner ws-butler undo-fu-session undo-fu
flycheck-package package-lint evil-collection-finder finder finder-inf
evil-collection-package-menu doom-packages package browse-url
url-handlers evil-collection-flycheck flycheck find-func
evil-collection-trashed trashed parse-time iso8601 time-date
dap-cpptools evil-collection-evil-mc evil-mc evil-mc-command-execute
evil-mc-command-record evil-mc-cursor-make evil-mc-region
evil-mc-cursor-state evil-mc-undo evil-mc-vars evil-mc-known-commands
evil-mc-common lsp-grammarly grammarly websocket lsp-pyright dap-java
lsp-java request mailheader mail-utils lsp-haskell smartparens-haskell
haskell-mode haskell-cabal haskell-utils haskell-font-lock
haskell-indentation haskell-string haskell-sort-imports haskell-lexeme
haskell-align-imports haskell-complete-module haskell-ghc-support
evil-collection-flymake flymake-proc flymake etags fileloop generator
dabbrev haskell-customize dap-gdb-lldb dap-utils dom dap-lldb ccls
ccls-member-hierarchy ccls-inheritance-hierarchy ccls-call-hierarchy
ccls-tree ccls-code-lens ccls-semantic-highlight ccls-common
smartparens-c cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs dap-mouse dap-ui lsp-treemacs
lsp-treemacs-generic lsp-treemacs-themes treemacs-treelib treemacs-persp
persp-mode treemacs-projectile projectile lisp-mnt evil-collection-grep
grep ibuf-ext evil-collection-ibuffer ibuffer ibuffer-loaddefs
treemacs-evil treemacs-nerd-icons nerd-icons nerd-icons-faces
nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon
nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon
nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline
nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon
treemacs treemacs-header-line treemacs-compatibility treemacs-mode
treemacs-interface treemacs-persistence treemacs-filewatch-mode
treemacs-follow-mode treemacs-rendering treemacs-annotations
treemacs-async treemacs-workspaces treemacs-dom treemacs-visuals
treemacs-fringe-indicator pulse treemacs-faces treemacs-icons
treemacs-scope treemacs-themes treemacs-core-utils pfuture hl-line
treemacs-logging treemacs-customization treemacs-macros gdb-mi bindat
gud bui bui-list bui-info bui-entry bui-core bui-history bui-button
bui-utils lsp-lens dap-mode dap-tasks dap-launch lsp-docker yaml
posframe dap-overlays lsp-mode lsp-protocol doom-snippets
doom-snippets-lib yasnippet dtrt-indent evil-collection-elisp-mode
elisp-mode evil-collection-xref xref project tree-widget spinner
network-stream puny nsm smartparens-config smartparens-markdown
smartparens-text smartparens loadhist evil-collection-markdown-mode
markdown-mode edit-indirect color noutline outline inline
evil-collection-imenu imenu ht filenotify ewoc epg rfc6068 epg-config
evil-collection-compile compile evil-collection-comint comint ansi-osc
ansi-color gptel text-property-search url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util url-parse auth-source password-cache json map
url-vars mailcap mm-util mail-prsvr dired-preview evil-collection-dired
dired dired-loaddefs fzf dbus xml keychain-environment cap-words
superword subword vimish-fold f f-shortdoc dash s html2text let-alist
ob-core org-cycle org-fold org-fold-core org-compat ob-eval org-version
org-macs derived evil-collection-tab-bar evil-collection-custom cus-edit
cus-load wid-edit evil-collection annalist evil evil-integration
evil-maps evil-commands reveal evil-jumps evil-command-window evil-types
evil-search evil-macros evil-repeat evil-states evil-core advice
evil-common thingatpt rect evil-vars use-package-bind-key bind-key comp
comp-cstr warnings icons doom-editor doom-projects doom-ui easy-mmode
doom-keybinds pp use-package-core general tex-site rx
realgud-recursive-autoloads transient format-spec edmacro kmacro eieio
byte-opt bytecomp byte-compile eieio-core compat cl-extra help-mode
hydra ring lv doom-start doom-modules cl-seq doom doom-lib cl-macs
cl-loaddefs cl-lib pcase gv harfbuzz jansson dynamic-modules subr-x rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/pgtk-win pgtk-win term/common-win
pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
replace newcomment text-mode lisp-mode prog-mode register page tab-bar
menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse
jit-lock font-lock syntax font-core term/tty-colors frame minibuffer
nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop
case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads xwidget-internal dbusbind inotify dynamic-setting
system-font-setting font-render-setting cairo gtk pgtk multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 1723099 387523)
(symbols 48 100956 3)
(strings 32 381285 54203)
(string-bytes 1 15150881)
(vectors 16 179493)
(vector-slots 8 4718306 446194)
(floats 8 3427 1296)
(intervals 56 37617 5715)
(buffers 984 59))






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#66379: 29.1.50; ediff wordwise ediff-copy-diff leads to different buffers
  2023-10-06 14:24 bug#66379: 29.1.50; ediff wordwise ediff-copy-diff leads to different buffers Felix Mühlenberend via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-10-19  2:02 ` Michael Heerdegen
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Heerdegen @ 2023-10-19  2:02 UTC (permalink / raw)
  To: 66379; +Cc: felix.muehlenberend

Felix Mühlenberend via "Bug reports for GNU Emacs, the Swiss army knife
of text editors" <bug-gnu-emacs@gnu.org> writes:

> Symptoms:
> Diffing the following regions with wordwise mode:
> ```[A]
> This, is a test
> ```
> ```[B]
> This is a test
> ```
> and copying with (ediff-copy-A-to-B) results in:
> ```[A]
> This, is a test
> ```
> ```[B]
> This ,is a test
> ```
> Where the comma is in the wrong place.

This is not the only case of such things happening.  The wordwise mode
is more or less whitespace agnostic, it doesn't care when copying
between the buffers.

AFAIR I did not have a good idea to fix this yet.  Of course one can
mess with the word classes to fix some special cases (but never all), I
even tried to make whitespace a separate class, but nothing ever worked
reliably.

Michael.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-19  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-06 14:24 bug#66379: 29.1.50; ediff wordwise ediff-copy-diff leads to different buffers Felix Mühlenberend via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-19  2:02 ` Michael Heerdegen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).