Hi, since a couple of days I have a really annoying behavior in Emacs that a `kill-line` followed by a `yank` often (but not always) does not re-insert the whitespace of the killed line. This also happens when running `emacs -Q`. Here is my test case 1. Start emacs using `emacs -Q` 2. Switch to buffer `b.txt` [C-x b] 3. Insert the following text bla first second third 4. Move cursor up to second line containing "first" (I use cursor keys for that) 5. Typing [C-k] followed by [C-y] results in bla first second third In GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.5) of 2016-12-31, modified by Debian built on binet Windowing system distributor 'The X.Org Foundation', version 11.0.11901000 System Description: Debian GNU/Linux 9.0 (stretch) 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 --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/ share/emacs/25.1/site-lisp:/usr/local/share/emacs/site- lisp:/usr/share/emacs/25.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs25:/etc/emacs:/usr/local/ share/emacs/25.1/site-lisp:/usr/local/share/emacs/site- lisp:/usr/share/emacs/25.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs25-4Gc0bO/emacs25-25.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 Major mode: Fundamental Minor modes in effect: show-paren-mode: t savehist-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t gradle-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-fill-mode: t Recent messages: Loading /etc/emacs/site-start.d/50el-get.el (source)...done Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done Loading /etc/emacs/site-start.d/50golang-mode.el (source)...done Loading /etc/emacs/site-start.d/50pylint.el (source)...done Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done Loading savehist...done Loading paren...done Turning on magit-auto-revert-mode...done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: /home/nkiesel/.emacs.d/elpa/editorconfig-20170221.739/editorconfig-core-handle hides /home/nkiesel/.emacs.d/elpa/editorconfig-core-20160212.106/editorconfig-core-handle /home/nkiesel/.emacs.d/elpa/editorconfig-20170221.739/editorconfig-core hides /home/nkiesel/.emacs.d/elpa/editorconfig-core-20160212.106/editorconfig-core /home/nkiesel/.emacs.d/elpa/editorconfig-20170221.739/editorconfig-fnmatch hides /home/nkiesel/.emacs.d/elpa/editorconfig-fnmatch-20160212.106/editorconfig-fnmatch ~/.emacs.d/lisp/codesearch hides /home/nkiesel/.emacs.d/elpa/ codesearch-20160806.57/codesearch /usr/share/emacs/25.1/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs25/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/25.1/lisp/textmodes/rst ~/.emacs.d/lisp/cc-cmds hides /usr/share/emacs/25.1/lisp/progmodes/cc-cmds /home/nkiesel/.emacs.d/elpa/let-alist-1.0.5/let-alist hides /usr/share/emacs/25.1/lisp/emacs-lisp/let-alist /home/nkiesel/.emacs.d/elpa/seq-2.19/seq hides /usr/share/emacs/25.1/lisp/emacs-lisp/seq Features: (shadow sort mail-extr emacsbug sendmail minibuffer-complete-cycle paren savehist cus-start cus-load rigid-tabs magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-branch magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-process magit-margin magit-mode magit-git crm magit-section magit-popup git-commit magit-utils log-edit message rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async tramp-sh tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete format-spec dash server ruby-mode smie web-mode disp-table yaml-mode zeal-at-point bookmark+ bookmark+-key derived dired-x dired bookmark+-1 bookmark+-bmu bookmark+-lit bookmark pp js sgml-mode json map imenu thingatpt cc-mode cc-fonts cc-guess cc-menus cc-styles cc-align java-mode-indent-annotations gradle-mode s ucs-normalize compile comint ansi-color ring cc-nkiesel cc-cmds advice cc-engine cc-bytecomp cc-vars cc-defs filladapt git-find-file edmacro kmacro finder-inf info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib go-mode-autoloads emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 415723 30421) (symbols 48 38399 0) (miscs 40 107 274) (strings 32 83121 10158) (string-bytes 1 2728809) (vectors 16 55110) (vector-slots 8 923702 12032) (floats 8 303 57) (intervals 56 365 0) (buffers 976 19))