GNU logs - #77981, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#77981: 30.1; kill-ring-deindent-mode replaces spaces with tabs even when indent-tabs-mode is nil
Resent-From: spl3g <spleefer6@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 22 Apr 2025 08:23:02 +0000
Resent-Message-ID: <handler.77981.B.174531017810280 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 77981
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 77981 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174531017810280
          (code B ref -1); Tue, 22 Apr 2025 08:23:02 +0000
Received: (at submit) by debbugs.gnu.org; 22 Apr 2025 08:22:58 +0000
Received: from localhost ([127.0.0.1]:44979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u78u9-0002fj-3i
	for submit <at> debbugs.gnu.org; Tue, 22 Apr 2025 04:22:58 -0400
Received: from lists.gnu.org ([2001:470:142::17]:48260)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spleefer6@HIDDEN>)
 id 1u78u5-0002eY-WC
 for submit <at> debbugs.gnu.org; Tue, 22 Apr 2025 04:22:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spleefer6@HIDDEN>)
 id 1u78tx-0008TQ-6E
 for bug-gnu-emacs@HIDDEN; Tue, 22 Apr 2025 04:22:45 -0400
Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <spleefer6@HIDDEN>)
 id 1u78tt-0001bP-Sm
 for bug-gnu-emacs@HIDDEN; Tue, 22 Apr 2025 04:22:44 -0400
Received: by mail-pl1-x636.google.com with SMTP id
 d9443c01a7336-227b828de00so49650155ad.1
 for <bug-gnu-emacs@HIDDEN>; Tue, 22 Apr 2025 01:22:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1745310158; x=1745914958; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=30DXQyhtXaKMXmZGWkuXm7ovbt3A4BuJpum9LryqRrw=;
 b=PTdu093BTyGjFW0CI4KBxzRtwH8YrnWH4sss+npCg7MCekNe6WEKjHXVq3tWPjCVrF
 wbViaFv6cAkRQBCp8kDDtaWsx7ixsmLjhvPwdDRyQ+jYd4jEhKQUY5mXVDGNW1GLjJJS
 xuMhrQRDQ2wtEUytJwZqgb3tk4LjyP51xRrwwVMoX/UK38qZnrxvZtPVuC/dBvJsPO9w
 tSyIoaT2k4IS1yM8BmWhv2D9hmsRFPFI57VYklYTjNKeJ6Yu5LJVLMpQD3Oulm3W/Ysm
 G72pmFtUabIazHtiVDt9inO4cWtSW+O+il9fFOVI7ILM6nc5C2FYUhEHsScNiB0AsI4H
 poYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1745310158; x=1745914958;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=30DXQyhtXaKMXmZGWkuXm7ovbt3A4BuJpum9LryqRrw=;
 b=s0LYxesU0bsMA3Oj+MxmVrXncBLN0RqYDgReH8zt4Z998+aRDeO5ODRSgTCBB1KJo2
 AtDXn3A2othOR/u9VvGHBn/rn0p/GTGiQMiRubPkxJSGfMhc+dnYItmbZSM2ETpZ677L
 LJ5RcJB1tHSTXw78o4QhIbPE3rI+bz3Ok9WwUSwvHXKFHEJp2Paj/Ky2X3lKhnj44ykw
 mdjm3YY9KqdEPBLjeDhkOBYu9DNPWcd34dkcGQfB26c9TePq6wqMIqQqQD90ba1doxdg
 rz7lpIUd0P8L3WufcChGcoyARO/JGuPWCZ5+N1zI1T0ANuzdI1KZ9LtE6KzuqdnCDGWo
 IwgQ==
X-Gm-Message-State: AOJu0Ywa0OlzxkkE1CxebI7020clB1EWVj8p+uq6AlesSxwzn5jqOwIl
 lNlR3GCM+ZrF7jV4YBkDeOZ1kddJBYNb68S7Gn2/7Pfgy3vdSUzGLc4neBbo0MT1GaIQmyLmeeF
 5NsbEy2tdBDei9YO/f1zqdyyXpE7K1Y49zKI=
X-Gm-Gg: ASbGnctzH6KOWQwd9gU4WAvDiAj7c5gvxAoxaCDZfBwDkeBO6oT9w6FLld5rD+Y3w4P
 yPk4P+AbgGEc2ykNMKIsiSVucl6wYnmVpgyJJ7Cb/1RemRSKNJRPK/q6gczrKQ+3YfQb1LnsKBN
 T5NmluN7ngxjk+ms1JEOzlsqB1pz6NmNXRjQ==
X-Google-Smtp-Source: AGHT+IHpvt4GkS/wLT3ieUJqpzuOkt0ExhUHOcWdfEcLO3kpMyMDBdMKqFnGiNcnHqBep4sA6B+xNH89HMjidauFi8w=
X-Received: by 2002:a17:903:2344:b0:223:3396:15e8 with SMTP id
 d9443c01a7336-22c535834bfmr233039055ad.22.1745310158014; Tue, 22 Apr 2025
 01:22:38 -0700 (PDT)
MIME-Version: 1.0
From: spl3g <spleefer6@HIDDEN>
Date: Tue, 22 Apr 2025 11:22:26 +0300
X-Gm-Features: ATxdqUE6neeY1wNCgEskgZT0UwVuxz5VqFJsC1eANMMVPM8GyMi8CQZzrViA33E
Message-ID: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000fdd4ef063359af21"
Received-SPF: pass client-ip=2607:f8b0:4864:20::636;
 envelope-from=spleefer6@HIDDEN; helo=mail-pl1-x636.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  When enabling kill-ring-deindent-mode,
 it would replace spaces
 with tabs in modes with indent-tabs-mode turned off. It breaks some languages, 
 that do not support tabs for example elm and yaml. I think it is because
 the temp buffer it creates has indent-tabs-mode turned on by default. 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (spleefer6[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (spleefer6[at]gmail.com)
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 HTML_MESSAGE           BODY: HTML included in message
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

--000000000000fdd4ef063359af21
Content-Type: text/plain; charset="UTF-8"

When enabling kill-ring-deindent-mode, it would replace spaces with tabs
in modes with indent-tabs-mode turned off.
It breaks some languages, that do not support tabs for example elm and
yaml.

I think it is because the temp buffer it creates has indent-tabs-mode
turned on by default.


In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.48,
cairo version 1.18.2)
System Description: NixOS 25.05 (Warbler)

Configured using:
 'configure
 --prefix=/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1
 --disable-build-details --with-modules --with-pgtk
 --with-compress-install --with-toolkit-scroll-bars
 --with-native-compilation --without-imagemagick --with-mailutils
 --without-small-ja-dic --with-tree-sitter --without-xinput2
 --without-xwidgets --with-dbus --with-selinux'

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

Important settings:
  value of $EMACSLOADPATH:
  value of $EMACSNATIVELOADPATH:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Nix

Minor modes in effect:
  eat-eshell-visual-command-mode: t
  eat-eshell-mode: t
  server-mode: t
  display-line-numbers-mode: t
  rainbow-delimiters-mode: t
  global-auto-revert-mode: t
  save-place-mode: t
  winner-mode: t
  savehist-mode: t
  global-completion-preview-mode: t
  completion-preview-mode: t
  vertico-mode: t
  marginalia-mode: t
  corfu-history-mode: t
  corfu-popupinfo-mode: t
  global-corfu-mode: t
  corfu-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  envrc-global-mode: t
  envrc-mode: t
  global-treesit-auto-mode: t
  hexl-follow-ascii: t
  repeat-mode: t
  mood-line-mode: t
  apheleia-mode: t
  kill-ring-deindent-mode: t
  global-word-wrap-whitespace-mode: t
  word-wrap-whitespace-mode: t
  electric-pair-mode: t
  which-key-mode: t
  elpaca-use-package-mode: t
  override-global-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-regexp-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:
/nix/store/rmgcpv2qf9pdchjkx0h0r6zrsr06rig9-emacs-packages-deps/share/emacs/site-lisp/site-start
hides
/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/site-lisp/site-start
/home/jerpo/.config/emacs/elpaca/builds/transient/transient hides
/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/30.1/lisp/transient

Features:
(shadow sort mail-extr emacsbug message puny rfc822 mml mml-sec epa epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils jka-compr helpful cc-langs
cc-vars cc-defs trace cl-print edebug info-look info f help-fns
radix-tree elisp-refs rfc2104 tramp-cmds tramp-cache time-stamp
dumb-jump popup dash s pcmpl-unix dired-aux hl-line dired dired-loaddefs
avy misearch multi-isearch tramp-sh yank-media markdown-mode noutline
outline mood-line-segment-checker eglot external-completion flymake diff
ert ewoc debug backtrace find-func imenu grep xref calc-misc calc-undo
calc-alg calc-ext calc-menu calc calc-loaddefs rect calc-macs mule-util
face-remap eshell-syntax-highlighting em-unix em-term em-script
em-prompt em-pred em-ls em-hist em-glob em-extpipe em-cmpl em-dirs
em-basic em-banner em-alias em-tramp eshell esh-mode esh-var eat
term/xterm xterm term disp-table ehelp esh-cmd generator esh-ext esh-opt
esh-proc esh-io esh-arg esh-module esh-module-loaddefs esh-util apheleia
apheleia-rcs apheleia-dp apheleia-formatters apheleia-utils apheleia-log
apheleia-formatter-context dabbrev vc-git vc-dispatcher
mood-line-segment-vc nix-mode ffap thingatpt smie nix-repl nix-shell
nix-store magit-section derived benchmark cursor-sensor llama comp
comp-cstr nix-log nix-instantiate nix-shebang nix-format nix
vertico-directory comp-run comp-common server display-line-numbers
rainbow-delimiters autorevert filenotify saveplace winner savehist
completion-preview vertico marginalia corfu-history corfu-popupinfo cape
corfu yasnippet-snippets yasnippet envrc inheritenv diff-mode
track-changes treesit-auto dape jsonrpc warnings tramp trampver
tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete
parse-time iso8601 time-date tramp-loaddefs hexl gdb-mi bindat gud
project compile text-property-search repeat comint ansi-osc ansi-color
ring pulse color transient format-spec orderless mood-line no-littering
compat denote-autoloads visual-fill-column-autoloads verb-autoloads
elm-mode-autoloads reformatter-autoloads sql-indent-autoloads
markdown-mode-autoloads nix-mode-autoloads emmet-mode-autoloads
web-mode-autoloads dape-autoloads dumb-jump-autoloads popup-autoloads
treesit-auto-autoloads magit-autoloads pcase magit-section-autoloads
llama-autoloads with-editor-autoloads transient-autoloads
scratch-autoloads envrc-autoloads inheritenv-autoloads
apheleia-autoloads yasnippet-snippets-autoloads yasnippet-autoloads
eshell-syntax-highlighting-autoloads eat-autoloads trashed-autoloads
dired-subtree-autoloads dired-hacks-utils-autoloads corfu-autoloads
cape-autoloads orderless-autoloads marginalia-autoloads
vertico-autoloads rainbow-delimiters-autoloads mood-line-autoloads
helpful-autoloads f-autoloads elisp-refs-autoloads dash-autoloads
s-autoloads avy-autoloads vundo-autoloads no-littering-autoloads
base16-stylix-theme base16-theme init go-ts-mode rx c-ts-common treesit
indent-aux word-wrap-mode elec-pair edmacro kmacro elpaca-menu-elpa
which-key elpaca-menu-melpa elpaca-menu-org cl-extra help-mode
elpaca-use-package use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core elpaca-use-package-autoloads elpaca-log elpaca-ui url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util url-parse auth-source eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile url-vars mailcap cl-seq elpaca elpaca-process
elpaca-autoloads cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib
early-init rmc iso-transl tooltip cconv eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win
pgtk-win term/common-win touch-screen 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 dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
multi-tty move-toolbar make-network-process native-compile emacs)

Memory information:
((conses 16 873047 225658) (symbols 48 41607 1)
 (strings 32 304075 12621) (string-bytes 1 7953692)
 (vectors 16 936601) (vector-slots 8 8676661 205873)
 (floats 8 453 1999) (intervals 56 16329 15127) (buffers 992 56))

--000000000000fdd4ef063359af21
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br>When enabling kill-ring-deindent-mode, it would replac=
e spaces with tabs<br>in modes with indent-tabs-mode turned off.<br>It brea=
ks some languages, that do not support tabs for example elm and<br>yaml.<br=
><br>I think it is because the temp buffer it creates has indent-tabs-mode<=
br>turned on by default.<br><br><br>In GNU Emacs 30.1 (build 1, x86_64-pc-l=
inux-gnu, GTK+ Version 3.24.48,<br>cairo version 1.18.2)<br>System Descript=
ion: NixOS 25.05 (Warbler)<br><br>Configured using:<br>=C2=A0&#39;configure=
<br>=C2=A0--prefix=3D/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk=
-30.1<br>=C2=A0--disable-build-details --with-modules --with-pgtk<br>=C2=A0=
--with-compress-install --with-toolkit-scroll-bars<br>=C2=A0--with-native-c=
ompilation --without-imagemagick --with-mailutils<br>=C2=A0--without-small-=
ja-dic --with-tree-sitter --without-xinput2<br>=C2=A0--without-xwidgets --w=
ith-dbus --with-selinux&#39;<br><br>Configured features:<br>CAIRO DBUS FREE=
TYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG<br>LIBSELINUX LIBSYSTE=
MD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER<br>PGTK PNG RSVG SECC=
OMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS<br>TREE_SITTER WEBP XIM =
GTK3 ZLIB<br><br>Important settings:<br>=C2=A0 value of $EMACSLOADPATH: <br=
>=C2=A0 value of $EMACSNATIVELOADPATH: <br>=C2=A0 value of $LANG: en_US.UTF=
-8<br>=C2=A0 locale-coding-system: utf-8-unix<br><br>Major mode: Nix<br><br=
>Minor modes in effect:<br>=C2=A0 eat-eshell-visual-command-mode: t<br>=C2=
=A0 eat-eshell-mode: t<br>=C2=A0 server-mode: t<br>=C2=A0 display-line-numb=
ers-mode: t<br>=C2=A0 rainbow-delimiters-mode: t<br>=C2=A0 global-auto-reve=
rt-mode: t<br>=C2=A0 save-place-mode: t<br>=C2=A0 winner-mode: t<br>=C2=A0 =
savehist-mode: t<br>=C2=A0 global-completion-preview-mode: t<br>=C2=A0 comp=
letion-preview-mode: t<br>=C2=A0 vertico-mode: t<br>=C2=A0 marginalia-mode:=
 t<br>=C2=A0 corfu-history-mode: t<br>=C2=A0 corfu-popupinfo-mode: t<br>=C2=
=A0 global-corfu-mode: t<br>=C2=A0 corfu-mode: t<br>=C2=A0 yas-global-mode:=
 t<br>=C2=A0 yas-minor-mode: t<br>=C2=A0 envrc-global-mode: t<br>=C2=A0 env=
rc-mode: t<br>=C2=A0 global-treesit-auto-mode: t<br>=C2=A0 hexl-follow-asci=
i: t<br>=C2=A0 repeat-mode: t<br>=C2=A0 mood-line-mode: t<br>=C2=A0 aphelei=
a-mode: t<br>=C2=A0 kill-ring-deindent-mode: t<br>=C2=A0 global-word-wrap-w=
hitespace-mode: t<br>=C2=A0 word-wrap-whitespace-mode: t<br>=C2=A0 electric=
-pair-mode: t<br>=C2=A0 which-key-mode: t<br>=C2=A0 elpaca-use-package-mode=
: t<br>=C2=A0 override-global-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=
=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse-wh=
eel-mode: t<br>=C2=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-m=
ode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 minibuffer-regexp-mode: t<br>=
=C2=A0 line-number-mode: t<br>=C2=A0 global-visual-line-mode: t<br>=C2=A0 v=
isual-line-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=A0 auto-composit=
ion-mode: t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compression-mo=
de: t<br><br>Load-path shadows:<br>/nix/store/rmgcpv2qf9pdchjkx0h0r6zrsr06r=
ig9-emacs-packages-deps/share/emacs/site-lisp/site-start hides /nix/store/1=
z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/site-lisp/site-=
start<br>/home/jerpo/.config/emacs/elpaca/builds/transient/transient hides =
/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/30.=
1/lisp/transient<br><br>Features:<br>(shadow sort mail-extr emacsbug messag=
e puny rfc822 mml mml-sec epa epg<br>rfc6068 epg-config gnus-util mm-decode=
 mm-bodies mm-encode mail-parse<br>rfc2231 mailabbrev gmm-utils mailheader =
sendmail rfc2047 rfc2045<br>ietf-drums mm-util mail-prsvr mail-utils jka-co=
mpr helpful cc-langs<br>cc-vars cc-defs trace cl-print edebug info-look inf=
o f help-fns<br>radix-tree elisp-refs rfc2104 tramp-cmds tramp-cache time-s=
tamp<br>dumb-jump popup dash s pcmpl-unix dired-aux hl-line dired dired-loa=
ddefs<br>avy misearch multi-isearch tramp-sh yank-media markdown-mode noutl=
ine<br>outline mood-line-segment-checker eglot external-completion flymake =
diff<br>ert ewoc debug backtrace find-func imenu grep xref calc-misc calc-u=
ndo<br>calc-alg calc-ext calc-menu calc calc-loaddefs rect calc-macs mule-u=
til<br>face-remap eshell-syntax-highlighting em-unix em-term em-script<br>e=
m-prompt em-pred em-ls em-hist em-glob em-extpipe em-cmpl em-dirs<br>em-bas=
ic em-banner em-alias em-tramp eshell esh-mode esh-var eat<br>term/xterm xt=
erm term disp-table ehelp esh-cmd generator esh-ext esh-opt<br>esh-proc esh=
-io esh-arg esh-module esh-module-loaddefs esh-util apheleia<br>apheleia-rc=
s apheleia-dp apheleia-formatters apheleia-utils apheleia-log<br>apheleia-f=
ormatter-context dabbrev vc-git vc-dispatcher<br>mood-line-segment-vc nix-m=
ode ffap thingatpt smie nix-repl nix-shell<br>nix-store magit-section deriv=
ed benchmark cursor-sensor llama comp<br>comp-cstr nix-log nix-instantiate =
nix-shebang nix-format nix<br>vertico-directory comp-run comp-common server=
 display-line-numbers<br>rainbow-delimiters autorevert filenotify saveplace=
 winner savehist<br>completion-preview vertico marginalia corfu-history cor=
fu-popupinfo cape<br>corfu yasnippet-snippets yasnippet envrc inheritenv di=
ff-mode<br>track-changes treesit-auto dape jsonrpc warnings tramp trampver<=
br>tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete=
<br>parse-time iso8601 time-date tramp-loaddefs hexl gdb-mi bindat gud<br>p=
roject compile text-property-search repeat comint ansi-osc ansi-color<br>ri=
ng pulse color transient format-spec orderless mood-line no-littering<br>co=
mpat denote-autoloads visual-fill-column-autoloads verb-autoloads<br>elm-mo=
de-autoloads reformatter-autoloads sql-indent-autoloads<br>markdown-mode-au=
toloads nix-mode-autoloads emmet-mode-autoloads<br>web-mode-autoloads dape-=
autoloads dumb-jump-autoloads popup-autoloads<br>treesit-auto-autoloads mag=
it-autoloads pcase magit-section-autoloads<br>llama-autoloads with-editor-a=
utoloads transient-autoloads<br>scratch-autoloads envrc-autoloads inheriten=
v-autoloads<br>apheleia-autoloads yasnippet-snippets-autoloads yasnippet-au=
toloads<br>eshell-syntax-highlighting-autoloads eat-autoloads trashed-autol=
oads<br>dired-subtree-autoloads dired-hacks-utils-autoloads corfu-autoloads=
<br>cape-autoloads orderless-autoloads marginalia-autoloads<br>vertico-auto=
loads rainbow-delimiters-autoloads mood-line-autoloads<br>helpful-autoloads=
 f-autoloads elisp-refs-autoloads dash-autoloads<br>s-autoloads avy-autoloa=
ds vundo-autoloads no-littering-autoloads<br>base16-stylix-theme base16-the=
me init go-ts-mode rx c-ts-common treesit<br>indent-aux word-wrap-mode elec=
-pair edmacro kmacro elpaca-menu-elpa<br>which-key elpaca-menu-melpa elpaca=
-menu-org cl-extra help-mode<br>elpaca-use-package use-package use-package-=
ensure use-package-delight<br>use-package-diminish use-package-bind-key bin=
d-key easy-mmode<br>use-package-core elpaca-use-package-autoloads elpaca-lo=
g elpaca-ui url<br>url-proxy url-privacy url-expand url-methods url-history=
 url-cookie<br>generate-lisp-file url-domsuf url-util url-parse auth-source=
 eieio<br>eieio-core cl-macs password-cache json subr-x map byte-opt gv byt=
ecomp<br>byte-compile url-vars mailcap cl-seq elpaca elpaca-process<br>elpa=
ca-autoloads cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib<br>earl=
y-init rmc iso-transl tooltip cconv eldoc paren electric uniquify<br>ediff-=
hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win<br>pgtk-win t=
erm/common-win touch-screen pgtk-dnd tool-bar dnd fontset<br>image regexp-o=
pt fringe tabulated-list replace newcomment text-mode<br>lisp-mode prog-mod=
e register page tab-bar menu-bar rfn-eshadow isearch<br>easymenu timer sele=
ct scroll-bar mouse jit-lock font-lock syntax<br>font-core term/tty-colors =
frame minibuffer nadvice seq simple cl-generic<br>indonesian philippine cha=
m georgian utf-8-lang misc-lang vietnamese<br>tibetan thai tai-viet lao kor=
ean japanese eucjp-ms cp51932 hebrew greek<br>romanian slovak czech europea=
n ethiopic indian cyrillic chinese<br>composite emoji-zwj charscript charpr=
op case-table epa-hook<br>jka-cmpr-hook help abbrev obarray oclosure cl-pre=
loaded button loaddefs<br>theme-loaddefs faces cus-face macroexp files wind=
ow text-properties<br>overlay sha1 md5 base64 format env code-pages mule cu=
stom widget keymap<br>hashtable-print-readable backquote threads dbusbind i=
notify<br>dynamic-setting system-font-setting font-render-setting cairo gtk=
 pgtk<br>multi-tty move-toolbar make-network-process native-compile emacs)<=
br><br>Memory information:<br>((conses 16 873047 225658) (symbols 48 41607 =
1)<br>=C2=A0(strings 32 304075 12621) (string-bytes 1 7953692)<br>=C2=A0(ve=
ctors 16 936601) (vector-slots 8 8676661 205873)<br>=C2=A0(floats 8 453 199=
9) (intervals 56 16329 15127) (buffers 992 56))<br><br></div>

--000000000000fdd4ef063359af21--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: spl3g <spleefer6@HIDDEN>
Subject: bug#77981: Acknowledgement (30.1; kill-ring-deindent-mode
 replaces spaces with tabs even when indent-tabs-mode is nil)
Message-ID: <handler.77981.B.174531017810280.ack <at> debbugs.gnu.org>
References: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
X-Gnu-PR-Message: ack 77981
X-Gnu-PR-Package: emacs
Reply-To: 77981 <at> debbugs.gnu.org
Date: Tue, 22 Apr 2025 08:23:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 77981 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
77981: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77981
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#77981: 30.1; kill-ring-deindent-mode replaces spaces with tabs even when indent-tabs-mode is nil
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 26 Apr 2025 13:14:01 +0000
Resent-Message-ID: <handler.77981.B77981.174567320420105 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77981
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: spl3g <spleefer6@HIDDEN>
Cc: 77981 <at> debbugs.gnu.org
Received: via spool by 77981-submit <at> debbugs.gnu.org id=B77981.174567320420105
          (code B ref 77981); Sat, 26 Apr 2025 13:14:01 +0000
Received: (at 77981) by debbugs.gnu.org; 26 Apr 2025 13:13:24 +0000
Received: from localhost ([127.0.0.1]:59390 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u8fLQ-0005ED-D7
	for submit <at> debbugs.gnu.org; Sat, 26 Apr 2025 09:13:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35736)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u8fLN-0005Dr-UE
 for 77981 <at> debbugs.gnu.org; Sat, 26 Apr 2025 09:13:22 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1u8fLH-00030Q-GO; Sat, 26 Apr 2025 09:13:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=EIPPMeGgYorMA/Jsz/NUVX5yq/3SXCHeLvx0u6eaJ/0=; b=SbJlbVBsJx/E
 P5EDzcFJizGu6ZaHg3KsRzuB+PE96FUEkOjnYBSq+LYanKPXGn2SuMTStEp/oCpDzriZ+Bvza7y5r
 nEL/UbHUoPcsl1iXTZL9TLDtwekPjHEHeLehpwGYIehzaeSGKO01a4WvdKPSnsR6pmotm5/mzqhzM
 eRSqGj4oYgOqaT7PbnRj6ZUHP2Pt5ODDtqerQkPIHpewkG88v7Z6EkgtxqpngJqa+9a5qRJsn//j3
 AtJWCbGUGu9xf+OVkYZP0ZRG3lAPBLMWP1rkeX0VpXwUFctgaWEAjLwnlQwxAagxD4MHASTxW1S5u
 QiDHLwGRe63zFCSj7bP3sw==;
Date: Sat, 26 Apr 2025 16:13:13 +0300
Message-Id: <86o6wjt6ae.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
 (message from spl3g on Tue, 22 Apr 2025 11:22:26 +0300)
References: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: spl3g <spleefer6@HIDDEN>
> Date: Tue, 22 Apr 2025 11:22:26 +0300
> 
> When enabling kill-ring-deindent-mode, it would replace spaces with tabs
> in modes with indent-tabs-mode turned off.
> It breaks some languages, that do not support tabs for example elm and
> yaml.
> 
> I think it is because the temp buffer it creates has indent-tabs-mode
> turned on by default.

Thank you for your report.  Does the patch below give good results?

diff --git a/lisp/indent-aux.el b/lisp/indent-aux.el
index 27d5875..ce98944 100644
--- a/lisp/indent-aux.el
+++ b/lisp/indent-aux.el
@@ -45,10 +45,14 @@ kill-ring-deindent-buffer-substring-function
           end (max a b)))
   (let ((indentation (save-excursion (goto-char beg)
                                      (current-column)))
+        (i-t-m indent-tabs-mode)
         (text (if delete
                   (delete-and-extract-region beg end)
                 (buffer-substring beg end))))
     (with-temp-buffer
+      ;; Indent/deindent the same as the major mode in the original
+      ;; buffer.
+      (setq indent-tabs-mode i-t-m)
       (insert text)
       (indent-rigidly (point-min) (point-max)
                       (- indentation))




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#77981: 30.1; kill-ring-deindent-mode replaces spaces with tabs even when indent-tabs-mode is nil
Resent-From: spl3g <spleefer6@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 26 Apr 2025 13:38:03 +0000
Resent-Message-ID: <handler.77981.B77981.17456746336744 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77981
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 77981 <at> debbugs.gnu.org
Received: via spool by 77981-submit <at> debbugs.gnu.org id=B77981.17456746336744
          (code B ref 77981); Sat, 26 Apr 2025 13:38:03 +0000
Received: (at 77981) by debbugs.gnu.org; 26 Apr 2025 13:37:13 +0000
Received: from localhost ([127.0.0.1]:59585 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u8fiS-0001kh-On
	for submit <at> debbugs.gnu.org; Sat, 26 Apr 2025 09:37:13 -0400
Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]:55624)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <spleefer6@HIDDEN>)
 id 1u8fiO-0001jw-W8
 for 77981 <at> debbugs.gnu.org; Sat, 26 Apr 2025 09:37:10 -0400
Received: by mail-pl1-x631.google.com with SMTP id
 d9443c01a7336-224171d6826so51280325ad.3
 for <77981 <at> debbugs.gnu.org>; Sat, 26 Apr 2025 06:37:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1745674622; x=1746279422; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=Z0fDLDb0BrofMECz2+iVPer5kLxRWCOXo6kyzoph/us=;
 b=j+pS7kzYHc0tj0kLeOT0E02CbhO4l70DAZWLpB8zzXBjFyzm6Mb8nhKGAwVHr4v1xz
 wlsXS7rMlvAm/QuGtJS/rYeY8O3LUcXAU9glSX9RHntfY4RiS0kW87mffmIOr0yl4BAI
 d6f5e/DrNECOnjrMs3rNMQcpL3qLJo8LfhKDYCyVZzr3btS3U3fSuV8FroTjFv5krlOQ
 w61LbjLS5aaCGmvM/Q0AC+S/509WjX7yU/GYWgQ2MkQ930veRGM37TCTJ8spo2S+ZQnO
 gOu4/pKdf/UVIqB2wFczWwGjKWA+C1fPZzrTCuMt4RIMFnXAFW6A0ScV/5ZyFeKIdfXi
 X1kg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1745674622; x=1746279422;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=Z0fDLDb0BrofMECz2+iVPer5kLxRWCOXo6kyzoph/us=;
 b=Xo1d5ZgLPHBdXmR+axMrd9Zg58eArlqPAxkRRFPcwNpXmi8KAeW+3NGTUQr3xMeW1O
 V3Jn28nGiuAOFPmYpDnKl47DzOlz0FryxLE0j9JkW2Sp6L8rRyPukvQbC+6xrS0I18rg
 EfFkFJp5ROYTqL1z6zoEMaj5rmQ3hZj3X+umy1YBZo4m1i3miEYrpYgdQubQZrhoNf48
 je3+uoofunOL79jhzbNjWvPLqi/VUa6QHRJ8jXZVzoLPYziNKtGoAd8+6z0EAjgi/VMd
 BtKKKWzGyji0V3P4l0em3FLb9isFtdKBpwiKx2MUxzyjNb0Su/RskuHmr68RHtTQXB0s
 wWaA==
X-Gm-Message-State: AOJu0YxHmv4tnuyUmfWZBqvIm5MY5gjlUZDzH5z2mcTx+oqQHCPoLF/R
 C8JXpnWpanF4gr6GUiQXPmxq6s2ckMAUhGZzlX3ROFXiOOZcc7E9COgrohsZiEHQdcaq+d0AhVz
 0wLLTCWwPVcWiElRMT8BQ/FhFhEg=
X-Gm-Gg: ASbGncvQTHC0M3PIyedRzB4pfMVKU0xL46fbvFPvT80cgs7LVCYwv3ekJ0sTZoUh6ZH
 tmo/bwLRVvBtLHyURKwfM0CDiz0DgqHn3Wu8WY67XtgD9LZkLIpXO4iN1JsGTuZDNQWWSByMswt
 r86LQY02kuEux+dDHpF0wG1g==
X-Google-Smtp-Source: AGHT+IEPm8p0LbziVyTPqPscfQX6ndD1FXj9A3H6YDN2wpP4iMGhfpVIrtQsuka3kE7SidKPn49JBwfG2bKslacSX+g=
X-Received: by 2002:a17:902:c945:b0:223:fabd:4f76 with SMTP id
 d9443c01a7336-22dc6a17d6cmr42941125ad.30.1745674622430; Sat, 26 Apr 2025
 06:37:02 -0700 (PDT)
MIME-Version: 1.0
References: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
 <86o6wjt6ae.fsf@HIDDEN>
In-Reply-To: <86o6wjt6ae.fsf@HIDDEN>
From: spl3g <spleefer6@HIDDEN>
Date: Sat, 26 Apr 2025 16:36:50 +0300
X-Gm-Features: ATxdqUHHo658bsOgmLa2Lgf6KCUFGPV-wmELehggwuaeUZG-nI5I_v6LvBsISig
Message-ID: <CAP66TDFsJng-jR9eUw4-fLuR=Kbu0+oHU7XmAdncB5gKdd3vQA@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000c372180633ae8b84"
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--000000000000c372180633ae8b84
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thank you, the patch fixed the problem.

=D1=81=D0=B1, 26 =D0=B0=D0=BF=D1=80. 2025=E2=80=AF=D0=B3. =D0=B2 16:13, Eli=
 Zaretskii <eliz@HIDDEN>:

> > From: spl3g <spleefer6@HIDDEN>
> > Date: Tue, 22 Apr 2025 11:22:26 +0300
> >
> > When enabling kill-ring-deindent-mode, it would replace spaces with tab=
s
> > in modes with indent-tabs-mode turned off.
> > It breaks some languages, that do not support tabs for example elm and
> > yaml.
> >
> > I think it is because the temp buffer it creates has indent-tabs-mode
> > turned on by default.
>
> Thank you for your report.  Does the patch below give good results?
>
> diff --git a/lisp/indent-aux.el b/lisp/indent-aux.el
> index 27d5875..ce98944 100644
> --- a/lisp/indent-aux.el
> +++ b/lisp/indent-aux.el
> @@ -45,10 +45,14 @@ kill-ring-deindent-buffer-substring-function
>            end (max a b)))
>    (let ((indentation (save-excursion (goto-char beg)
>                                       (current-column)))
> +        (i-t-m indent-tabs-mode)
>          (text (if delete
>                    (delete-and-extract-region beg end)
>                  (buffer-substring beg end))))
>      (with-temp-buffer
> +      ;; Indent/deindent the same as the major mode in the original
> +      ;; buffer.
> +      (setq indent-tabs-mode i-t-m)
>        (insert text)
>        (indent-rigidly (point-min) (point-max)
>                        (- indentation))
>

--000000000000c372180633ae8b84
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thank you, the patch fixed the problem.</div><br><div clas=
s=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_att=
r">=D1=81=D0=B1, 26 =D0=B0=D0=BF=D1=80. 2025=E2=80=AF=D0=B3. =D0=B2 16:13, =
Eli Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a>&gt;:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; From: spl3g &l=
t;<a href=3D"mailto:spleefer6@HIDDEN" target=3D"_blank">spleefer6@gmail.=
com</a>&gt;<br>
&gt; Date: Tue, 22 Apr 2025 11:22:26 +0300<br>
&gt; <br>
&gt; When enabling kill-ring-deindent-mode, it would replace spaces with ta=
bs<br>
&gt; in modes with indent-tabs-mode turned off.<br>
&gt; It breaks some languages, that do not support tabs for example elm and=
<br>
&gt; yaml.<br>
&gt; <br>
&gt; I think it is because the temp buffer it creates has indent-tabs-mode<=
br>
&gt; turned on by default.<br>
<br>
Thank you for your report.=C2=A0 Does the patch below give good results?<br=
>
<br>
diff --git a/lisp/indent-aux.el b/lisp/indent-aux.el<br>
index 27d5875..ce98944 100644<br>
--- a/lisp/indent-aux.el<br>
+++ b/lisp/indent-aux.el<br>
@@ -45,10 +45,14 @@ kill-ring-deindent-buffer-substring-function<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0end (max a b)))<br>
=C2=A0 =C2=A0(let ((indentation (save-excursion (goto-char beg)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (current-column=
)))<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 (i-t-m indent-tabs-mode)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(text (if delete<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(delet=
e-and-extract-region beg end)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(buffer-subst=
ring beg end))))<br>
=C2=A0 =C2=A0 =C2=A0(with-temp-buffer<br>
+=C2=A0 =C2=A0 =C2=A0 ;; Indent/deindent the same as the major mode in the =
original<br>
+=C2=A0 =C2=A0 =C2=A0 ;; buffer.<br>
+=C2=A0 =C2=A0 =C2=A0 (setq indent-tabs-mode i-t-m)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0(insert text)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0(indent-rigidly (point-min) (point-max)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0(- indentation))<br>
</blockquote></div>

--000000000000c372180633ae8b84--




Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Eli Zaretskii <eliz@HIDDEN>
Subject: bug#77981: closed (30.1; kill-ring-deindent-mode replaces spaces
 with tabs even when indent-tabs-mode is nil)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.77981.D77981.174567790522383.ackdone <at> debbugs.gnu.org>
References: <864iybt2ns.fsf@HIDDEN>
 <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
X-Gnu-PR-Message: closed 77981
X-Gnu-PR-Package: emacs
Date: Sat, 26 Apr 2025 14:32:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1745677922-22416-0"

This is a multi-part message in MIME format...

------------=_1745677922-22416-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Sat, 26 Apr 2025 17:31:35 +0300
with message-id <864iybt2ns.fsf@HIDDEN>
and subject line Re: bug#77981: 30.1; kill-ring-deindent-mode replaces spac=
es with tabs even when indent-tabs-mode is nil
has caused the debbugs.gnu.org bug report #77981,
regarding 30.1; kill-ring-deindent-mode replaces spaces with tabs even when=
 indent-tabs-mode is nil
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
77981: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77981
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1745677922-22416-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 22 Apr 2025 08:22:58 +0000
Received: from localhost ([127.0.0.1]:44979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u78u9-0002fj-3i
	for submit <at> debbugs.gnu.org; Tue, 22 Apr 2025 04:22:58 -0400
Received: from lists.gnu.org ([2001:470:142::17]:48260)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spleefer6@HIDDEN>)
 id 1u78u5-0002eY-WC
 for submit <at> debbugs.gnu.org; Tue, 22 Apr 2025 04:22:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spleefer6@HIDDEN>)
 id 1u78tx-0008TQ-6E
 for bug-gnu-emacs@HIDDEN; Tue, 22 Apr 2025 04:22:45 -0400
Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <spleefer6@HIDDEN>)
 id 1u78tt-0001bP-Sm
 for bug-gnu-emacs@HIDDEN; Tue, 22 Apr 2025 04:22:44 -0400
Received: by mail-pl1-x636.google.com with SMTP id
 d9443c01a7336-227b828de00so49650155ad.1
 for <bug-gnu-emacs@HIDDEN>; Tue, 22 Apr 2025 01:22:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1745310158; x=1745914958; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=30DXQyhtXaKMXmZGWkuXm7ovbt3A4BuJpum9LryqRrw=;
 b=PTdu093BTyGjFW0CI4KBxzRtwH8YrnWH4sss+npCg7MCekNe6WEKjHXVq3tWPjCVrF
 wbViaFv6cAkRQBCp8kDDtaWsx7ixsmLjhvPwdDRyQ+jYd4jEhKQUY5mXVDGNW1GLjJJS
 xuMhrQRDQ2wtEUytJwZqgb3tk4LjyP51xRrwwVMoX/UK38qZnrxvZtPVuC/dBvJsPO9w
 tSyIoaT2k4IS1yM8BmWhv2D9hmsRFPFI57VYklYTjNKeJ6Yu5LJVLMpQD3Oulm3W/Ysm
 G72pmFtUabIazHtiVDt9inO4cWtSW+O+il9fFOVI7ILM6nc5C2FYUhEHsScNiB0AsI4H
 poYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1745310158; x=1745914958;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=30DXQyhtXaKMXmZGWkuXm7ovbt3A4BuJpum9LryqRrw=;
 b=s0LYxesU0bsMA3Oj+MxmVrXncBLN0RqYDgReH8zt4Z998+aRDeO5ODRSgTCBB1KJo2
 AtDXn3A2othOR/u9VvGHBn/rn0p/GTGiQMiRubPkxJSGfMhc+dnYItmbZSM2ETpZ677L
 LJ5RcJB1tHSTXw78o4QhIbPE3rI+bz3Ok9WwUSwvHXKFHEJp2Paj/Ky2X3lKhnj44ykw
 mdjm3YY9KqdEPBLjeDhkOBYu9DNPWcd34dkcGQfB26c9TePq6wqMIqQqQD90ba1doxdg
 rz7lpIUd0P8L3WufcChGcoyARO/JGuPWCZ5+N1zI1T0ANuzdI1KZ9LtE6KzuqdnCDGWo
 IwgQ==
X-Gm-Message-State: AOJu0Ywa0OlzxkkE1CxebI7020clB1EWVj8p+uq6AlesSxwzn5jqOwIl
 lNlR3GCM+ZrF7jV4YBkDeOZ1kddJBYNb68S7Gn2/7Pfgy3vdSUzGLc4neBbo0MT1GaIQmyLmeeF
 5NsbEy2tdBDei9YO/f1zqdyyXpE7K1Y49zKI=
X-Gm-Gg: ASbGnctzH6KOWQwd9gU4WAvDiAj7c5gvxAoxaCDZfBwDkeBO6oT9w6FLld5rD+Y3w4P
 yPk4P+AbgGEc2ykNMKIsiSVucl6wYnmVpgyJJ7Cb/1RemRSKNJRPK/q6gczrKQ+3YfQb1LnsKBN
 T5NmluN7ngxjk+ms1JEOzlsqB1pz6NmNXRjQ==
X-Google-Smtp-Source: AGHT+IHpvt4GkS/wLT3ieUJqpzuOkt0ExhUHOcWdfEcLO3kpMyMDBdMKqFnGiNcnHqBep4sA6B+xNH89HMjidauFi8w=
X-Received: by 2002:a17:903:2344:b0:223:3396:15e8 with SMTP id
 d9443c01a7336-22c535834bfmr233039055ad.22.1745310158014; Tue, 22 Apr 2025
 01:22:38 -0700 (PDT)
MIME-Version: 1.0
From: spl3g <spleefer6@HIDDEN>
Date: Tue, 22 Apr 2025 11:22:26 +0300
X-Gm-Features: ATxdqUE6neeY1wNCgEskgZT0UwVuxz5VqFJsC1eANMMVPM8GyMi8CQZzrViA33E
Message-ID: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
Subject: 30.1; kill-ring-deindent-mode replaces spaces with tabs even when
 indent-tabs-mode is nil
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000fdd4ef063359af21"
Received-SPF: pass client-ip=2607:f8b0:4864:20::636;
 envelope-from=spleefer6@HIDDEN; helo=mail-pl1-x636.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  When enabling kill-ring-deindent-mode,
 it would replace spaces
 with tabs in modes with indent-tabs-mode turned off. It breaks some languages, 
 that do not support tabs for example elm and yaml. I think it is because
 the temp buffer it creates has indent-tabs-mode turned on by default. 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (spleefer6[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (spleefer6[at]gmail.com)
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 HTML_MESSAGE           BODY: HTML included in message
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

--000000000000fdd4ef063359af21
Content-Type: text/plain; charset="UTF-8"

When enabling kill-ring-deindent-mode, it would replace spaces with tabs
in modes with indent-tabs-mode turned off.
It breaks some languages, that do not support tabs for example elm and
yaml.

I think it is because the temp buffer it creates has indent-tabs-mode
turned on by default.


In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.48,
cairo version 1.18.2)
System Description: NixOS 25.05 (Warbler)

Configured using:
 'configure
 --prefix=/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1
 --disable-build-details --with-modules --with-pgtk
 --with-compress-install --with-toolkit-scroll-bars
 --with-native-compilation --without-imagemagick --with-mailutils
 --without-small-ja-dic --with-tree-sitter --without-xinput2
 --without-xwidgets --with-dbus --with-selinux'

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

Important settings:
  value of $EMACSLOADPATH:
  value of $EMACSNATIVELOADPATH:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Nix

Minor modes in effect:
  eat-eshell-visual-command-mode: t
  eat-eshell-mode: t
  server-mode: t
  display-line-numbers-mode: t
  rainbow-delimiters-mode: t
  global-auto-revert-mode: t
  save-place-mode: t
  winner-mode: t
  savehist-mode: t
  global-completion-preview-mode: t
  completion-preview-mode: t
  vertico-mode: t
  marginalia-mode: t
  corfu-history-mode: t
  corfu-popupinfo-mode: t
  global-corfu-mode: t
  corfu-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  envrc-global-mode: t
  envrc-mode: t
  global-treesit-auto-mode: t
  hexl-follow-ascii: t
  repeat-mode: t
  mood-line-mode: t
  apheleia-mode: t
  kill-ring-deindent-mode: t
  global-word-wrap-whitespace-mode: t
  word-wrap-whitespace-mode: t
  electric-pair-mode: t
  which-key-mode: t
  elpaca-use-package-mode: t
  override-global-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-regexp-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:
/nix/store/rmgcpv2qf9pdchjkx0h0r6zrsr06rig9-emacs-packages-deps/share/emacs/site-lisp/site-start
hides
/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/site-lisp/site-start
/home/jerpo/.config/emacs/elpaca/builds/transient/transient hides
/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/30.1/lisp/transient

Features:
(shadow sort mail-extr emacsbug message puny rfc822 mml mml-sec epa epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils jka-compr helpful cc-langs
cc-vars cc-defs trace cl-print edebug info-look info f help-fns
radix-tree elisp-refs rfc2104 tramp-cmds tramp-cache time-stamp
dumb-jump popup dash s pcmpl-unix dired-aux hl-line dired dired-loaddefs
avy misearch multi-isearch tramp-sh yank-media markdown-mode noutline
outline mood-line-segment-checker eglot external-completion flymake diff
ert ewoc debug backtrace find-func imenu grep xref calc-misc calc-undo
calc-alg calc-ext calc-menu calc calc-loaddefs rect calc-macs mule-util
face-remap eshell-syntax-highlighting em-unix em-term em-script
em-prompt em-pred em-ls em-hist em-glob em-extpipe em-cmpl em-dirs
em-basic em-banner em-alias em-tramp eshell esh-mode esh-var eat
term/xterm xterm term disp-table ehelp esh-cmd generator esh-ext esh-opt
esh-proc esh-io esh-arg esh-module esh-module-loaddefs esh-util apheleia
apheleia-rcs apheleia-dp apheleia-formatters apheleia-utils apheleia-log
apheleia-formatter-context dabbrev vc-git vc-dispatcher
mood-line-segment-vc nix-mode ffap thingatpt smie nix-repl nix-shell
nix-store magit-section derived benchmark cursor-sensor llama comp
comp-cstr nix-log nix-instantiate nix-shebang nix-format nix
vertico-directory comp-run comp-common server display-line-numbers
rainbow-delimiters autorevert filenotify saveplace winner savehist
completion-preview vertico marginalia corfu-history corfu-popupinfo cape
corfu yasnippet-snippets yasnippet envrc inheritenv diff-mode
track-changes treesit-auto dape jsonrpc warnings tramp trampver
tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete
parse-time iso8601 time-date tramp-loaddefs hexl gdb-mi bindat gud
project compile text-property-search repeat comint ansi-osc ansi-color
ring pulse color transient format-spec orderless mood-line no-littering
compat denote-autoloads visual-fill-column-autoloads verb-autoloads
elm-mode-autoloads reformatter-autoloads sql-indent-autoloads
markdown-mode-autoloads nix-mode-autoloads emmet-mode-autoloads
web-mode-autoloads dape-autoloads dumb-jump-autoloads popup-autoloads
treesit-auto-autoloads magit-autoloads pcase magit-section-autoloads
llama-autoloads with-editor-autoloads transient-autoloads
scratch-autoloads envrc-autoloads inheritenv-autoloads
apheleia-autoloads yasnippet-snippets-autoloads yasnippet-autoloads
eshell-syntax-highlighting-autoloads eat-autoloads trashed-autoloads
dired-subtree-autoloads dired-hacks-utils-autoloads corfu-autoloads
cape-autoloads orderless-autoloads marginalia-autoloads
vertico-autoloads rainbow-delimiters-autoloads mood-line-autoloads
helpful-autoloads f-autoloads elisp-refs-autoloads dash-autoloads
s-autoloads avy-autoloads vundo-autoloads no-littering-autoloads
base16-stylix-theme base16-theme init go-ts-mode rx c-ts-common treesit
indent-aux word-wrap-mode elec-pair edmacro kmacro elpaca-menu-elpa
which-key elpaca-menu-melpa elpaca-menu-org cl-extra help-mode
elpaca-use-package use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core elpaca-use-package-autoloads elpaca-log elpaca-ui url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util url-parse auth-source eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile url-vars mailcap cl-seq elpaca elpaca-process
elpaca-autoloads cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib
early-init rmc iso-transl tooltip cconv eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win
pgtk-win term/common-win touch-screen 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 dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
multi-tty move-toolbar make-network-process native-compile emacs)

Memory information:
((conses 16 873047 225658) (symbols 48 41607 1)
 (strings 32 304075 12621) (string-bytes 1 7953692)
 (vectors 16 936601) (vector-slots 8 8676661 205873)
 (floats 8 453 1999) (intervals 56 16329 15127) (buffers 992 56))

--000000000000fdd4ef063359af21
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br>When enabling kill-ring-deindent-mode, it would replac=
e spaces with tabs<br>in modes with indent-tabs-mode turned off.<br>It brea=
ks some languages, that do not support tabs for example elm and<br>yaml.<br=
><br>I think it is because the temp buffer it creates has indent-tabs-mode<=
br>turned on by default.<br><br><br>In GNU Emacs 30.1 (build 1, x86_64-pc-l=
inux-gnu, GTK+ Version 3.24.48,<br>cairo version 1.18.2)<br>System Descript=
ion: NixOS 25.05 (Warbler)<br><br>Configured using:<br>=C2=A0&#39;configure=
<br>=C2=A0--prefix=3D/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk=
-30.1<br>=C2=A0--disable-build-details --with-modules --with-pgtk<br>=C2=A0=
--with-compress-install --with-toolkit-scroll-bars<br>=C2=A0--with-native-c=
ompilation --without-imagemagick --with-mailutils<br>=C2=A0--without-small-=
ja-dic --with-tree-sitter --without-xinput2<br>=C2=A0--without-xwidgets --w=
ith-dbus --with-selinux&#39;<br><br>Configured features:<br>CAIRO DBUS FREE=
TYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG<br>LIBSELINUX LIBSYSTE=
MD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER<br>PGTK PNG RSVG SECC=
OMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS<br>TREE_SITTER WEBP XIM =
GTK3 ZLIB<br><br>Important settings:<br>=C2=A0 value of $EMACSLOADPATH: <br=
>=C2=A0 value of $EMACSNATIVELOADPATH: <br>=C2=A0 value of $LANG: en_US.UTF=
-8<br>=C2=A0 locale-coding-system: utf-8-unix<br><br>Major mode: Nix<br><br=
>Minor modes in effect:<br>=C2=A0 eat-eshell-visual-command-mode: t<br>=C2=
=A0 eat-eshell-mode: t<br>=C2=A0 server-mode: t<br>=C2=A0 display-line-numb=
ers-mode: t<br>=C2=A0 rainbow-delimiters-mode: t<br>=C2=A0 global-auto-reve=
rt-mode: t<br>=C2=A0 save-place-mode: t<br>=C2=A0 winner-mode: t<br>=C2=A0 =
savehist-mode: t<br>=C2=A0 global-completion-preview-mode: t<br>=C2=A0 comp=
letion-preview-mode: t<br>=C2=A0 vertico-mode: t<br>=C2=A0 marginalia-mode:=
 t<br>=C2=A0 corfu-history-mode: t<br>=C2=A0 corfu-popupinfo-mode: t<br>=C2=
=A0 global-corfu-mode: t<br>=C2=A0 corfu-mode: t<br>=C2=A0 yas-global-mode:=
 t<br>=C2=A0 yas-minor-mode: t<br>=C2=A0 envrc-global-mode: t<br>=C2=A0 env=
rc-mode: t<br>=C2=A0 global-treesit-auto-mode: t<br>=C2=A0 hexl-follow-asci=
i: t<br>=C2=A0 repeat-mode: t<br>=C2=A0 mood-line-mode: t<br>=C2=A0 aphelei=
a-mode: t<br>=C2=A0 kill-ring-deindent-mode: t<br>=C2=A0 global-word-wrap-w=
hitespace-mode: t<br>=C2=A0 word-wrap-whitespace-mode: t<br>=C2=A0 electric=
-pair-mode: t<br>=C2=A0 which-key-mode: t<br>=C2=A0 elpaca-use-package-mode=
: t<br>=C2=A0 override-global-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=
=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse-wh=
eel-mode: t<br>=C2=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-m=
ode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 minibuffer-regexp-mode: t<br>=
=C2=A0 line-number-mode: t<br>=C2=A0 global-visual-line-mode: t<br>=C2=A0 v=
isual-line-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=A0 auto-composit=
ion-mode: t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compression-mo=
de: t<br><br>Load-path shadows:<br>/nix/store/rmgcpv2qf9pdchjkx0h0r6zrsr06r=
ig9-emacs-packages-deps/share/emacs/site-lisp/site-start hides /nix/store/1=
z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/site-lisp/site-=
start<br>/home/jerpo/.config/emacs/elpaca/builds/transient/transient hides =
/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/30.=
1/lisp/transient<br><br>Features:<br>(shadow sort mail-extr emacsbug messag=
e puny rfc822 mml mml-sec epa epg<br>rfc6068 epg-config gnus-util mm-decode=
 mm-bodies mm-encode mail-parse<br>rfc2231 mailabbrev gmm-utils mailheader =
sendmail rfc2047 rfc2045<br>ietf-drums mm-util mail-prsvr mail-utils jka-co=
mpr helpful cc-langs<br>cc-vars cc-defs trace cl-print edebug info-look inf=
o f help-fns<br>radix-tree elisp-refs rfc2104 tramp-cmds tramp-cache time-s=
tamp<br>dumb-jump popup dash s pcmpl-unix dired-aux hl-line dired dired-loa=
ddefs<br>avy misearch multi-isearch tramp-sh yank-media markdown-mode noutl=
ine<br>outline mood-line-segment-checker eglot external-completion flymake =
diff<br>ert ewoc debug backtrace find-func imenu grep xref calc-misc calc-u=
ndo<br>calc-alg calc-ext calc-menu calc calc-loaddefs rect calc-macs mule-u=
til<br>face-remap eshell-syntax-highlighting em-unix em-term em-script<br>e=
m-prompt em-pred em-ls em-hist em-glob em-extpipe em-cmpl em-dirs<br>em-bas=
ic em-banner em-alias em-tramp eshell esh-mode esh-var eat<br>term/xterm xt=
erm term disp-table ehelp esh-cmd generator esh-ext esh-opt<br>esh-proc esh=
-io esh-arg esh-module esh-module-loaddefs esh-util apheleia<br>apheleia-rc=
s apheleia-dp apheleia-formatters apheleia-utils apheleia-log<br>apheleia-f=
ormatter-context dabbrev vc-git vc-dispatcher<br>mood-line-segment-vc nix-m=
ode ffap thingatpt smie nix-repl nix-shell<br>nix-store magit-section deriv=
ed benchmark cursor-sensor llama comp<br>comp-cstr nix-log nix-instantiate =
nix-shebang nix-format nix<br>vertico-directory comp-run comp-common server=
 display-line-numbers<br>rainbow-delimiters autorevert filenotify saveplace=
 winner savehist<br>completion-preview vertico marginalia corfu-history cor=
fu-popupinfo cape<br>corfu yasnippet-snippets yasnippet envrc inheritenv di=
ff-mode<br>track-changes treesit-auto dape jsonrpc warnings tramp trampver<=
br>tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete=
<br>parse-time iso8601 time-date tramp-loaddefs hexl gdb-mi bindat gud<br>p=
roject compile text-property-search repeat comint ansi-osc ansi-color<br>ri=
ng pulse color transient format-spec orderless mood-line no-littering<br>co=
mpat denote-autoloads visual-fill-column-autoloads verb-autoloads<br>elm-mo=
de-autoloads reformatter-autoloads sql-indent-autoloads<br>markdown-mode-au=
toloads nix-mode-autoloads emmet-mode-autoloads<br>web-mode-autoloads dape-=
autoloads dumb-jump-autoloads popup-autoloads<br>treesit-auto-autoloads mag=
it-autoloads pcase magit-section-autoloads<br>llama-autoloads with-editor-a=
utoloads transient-autoloads<br>scratch-autoloads envrc-autoloads inheriten=
v-autoloads<br>apheleia-autoloads yasnippet-snippets-autoloads yasnippet-au=
toloads<br>eshell-syntax-highlighting-autoloads eat-autoloads trashed-autol=
oads<br>dired-subtree-autoloads dired-hacks-utils-autoloads corfu-autoloads=
<br>cape-autoloads orderless-autoloads marginalia-autoloads<br>vertico-auto=
loads rainbow-delimiters-autoloads mood-line-autoloads<br>helpful-autoloads=
 f-autoloads elisp-refs-autoloads dash-autoloads<br>s-autoloads avy-autoloa=
ds vundo-autoloads no-littering-autoloads<br>base16-stylix-theme base16-the=
me init go-ts-mode rx c-ts-common treesit<br>indent-aux word-wrap-mode elec=
-pair edmacro kmacro elpaca-menu-elpa<br>which-key elpaca-menu-melpa elpaca=
-menu-org cl-extra help-mode<br>elpaca-use-package use-package use-package-=
ensure use-package-delight<br>use-package-diminish use-package-bind-key bin=
d-key easy-mmode<br>use-package-core elpaca-use-package-autoloads elpaca-lo=
g elpaca-ui url<br>url-proxy url-privacy url-expand url-methods url-history=
 url-cookie<br>generate-lisp-file url-domsuf url-util url-parse auth-source=
 eieio<br>eieio-core cl-macs password-cache json subr-x map byte-opt gv byt=
ecomp<br>byte-compile url-vars mailcap cl-seq elpaca elpaca-process<br>elpa=
ca-autoloads cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib<br>earl=
y-init rmc iso-transl tooltip cconv eldoc paren electric uniquify<br>ediff-=
hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win<br>pgtk-win t=
erm/common-win touch-screen pgtk-dnd tool-bar dnd fontset<br>image regexp-o=
pt fringe tabulated-list replace newcomment text-mode<br>lisp-mode prog-mod=
e register page tab-bar menu-bar rfn-eshadow isearch<br>easymenu timer sele=
ct scroll-bar mouse jit-lock font-lock syntax<br>font-core term/tty-colors =
frame minibuffer nadvice seq simple cl-generic<br>indonesian philippine cha=
m georgian utf-8-lang misc-lang vietnamese<br>tibetan thai tai-viet lao kor=
ean japanese eucjp-ms cp51932 hebrew greek<br>romanian slovak czech europea=
n ethiopic indian cyrillic chinese<br>composite emoji-zwj charscript charpr=
op case-table epa-hook<br>jka-cmpr-hook help abbrev obarray oclosure cl-pre=
loaded button loaddefs<br>theme-loaddefs faces cus-face macroexp files wind=
ow text-properties<br>overlay sha1 md5 base64 format env code-pages mule cu=
stom widget keymap<br>hashtable-print-readable backquote threads dbusbind i=
notify<br>dynamic-setting system-font-setting font-render-setting cairo gtk=
 pgtk<br>multi-tty move-toolbar make-network-process native-compile emacs)<=
br><br>Memory information:<br>((conses 16 873047 225658) (symbols 48 41607 =
1)<br>=C2=A0(strings 32 304075 12621) (string-bytes 1 7953692)<br>=C2=A0(ve=
ctors 16 936601) (vector-slots 8 8676661 205873)<br>=C2=A0(floats 8 453 199=
9) (intervals 56 16329 15127) (buffers 992 56))<br><br></div>

--000000000000fdd4ef063359af21--



------------=_1745677922-22416-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 77981-done) by debbugs.gnu.org; 26 Apr 2025 14:31:45 +0000
Received: from localhost ([127.0.0.1]:33852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u8gZF-0005ox-DM
	for submit <at> debbugs.gnu.org; Sat, 26 Apr 2025 10:31:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55934)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u8gZD-0005oi-Cy
 for 77981-done <at> debbugs.gnu.org; Sat, 26 Apr 2025 10:31:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1u8gZ8-0004tH-2H; Sat, 26 Apr 2025 10:31:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ffRKRyy6vBQnZQN6I8LcKderBKE19qIUfuK7F1IElCk=; b=WcO/k7toCHAx
 rSc9r/fO4YObISBG+RQZL7Bt2LvjaEZXsb+3DHrOt0ccVepmUokZwN5fIF7KjvyHtggVq8L2YdVfE
 5p1GjTPOxJCI6uPMfKmF7c+cAWG2hH7k8AdWO7X04/NEFts0+DN/ju1hVf1uVk2LCZcWU6HIG3evc
 uLAcgSinu5/6sYoZKwgPIw922DdfwGVOU13ToBBFpCdcvvwMSijCN82j5zTrB5suJ1yU7VOFcyubb
 79UMsLX3T/OlwR4SC2M1Dpps+MmsumeZJOcD8nH1tylIeaIEe+zxZ+wtm0BvnmQ8b5FQmwXofaei3
 DcOcck4PxJoMzrDnwiGgPA==;
Date: Sat, 26 Apr 2025 17:31:35 +0300
Message-Id: <864iybt2ns.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: spl3g <spleefer6@HIDDEN>
In-Reply-To: <CAP66TDFsJng-jR9eUw4-fLuR=Kbu0+oHU7XmAdncB5gKdd3vQA@HIDDEN>
 (message from spl3g on Sat, 26 Apr 2025 16:36:50 +0300)
Subject: Re: bug#77981: 30.1; kill-ring-deindent-mode replaces spaces with
 tabs even when indent-tabs-mode is nil
References: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
 <86o6wjt6ae.fsf@HIDDEN>
 <CAP66TDFsJng-jR9eUw4-fLuR=Kbu0+oHU7XmAdncB5gKdd3vQA@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77981-done
Cc: 77981-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: spl3g <spleefer6@HIDDEN>
> Date: Sat, 26 Apr 2025 16:36:50 +0300
> Cc: 77981 <at> debbugs.gnu.org
> 
> Thank you, the patch fixed the problem.

Thanks for testing.  I've now installed the change on the master
branch, and I'm therefore closing the bug.


------------=_1745677922-22416-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: spl3g <spleefer6@HIDDEN>
Subject: bug#77981: closed (Re: bug#77981: 30.1; kill-ring-deindent-mode
 replaces spaces with tabs even when indent-tabs-mode is nil)
Message-ID: <handler.77981.D77981.174567790522383.notifdone <at> debbugs.gnu.org>
References: <864iybt2ns.fsf@HIDDEN>
 <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
X-Gnu-PR-Message: they-closed 77981
X-Gnu-PR-Package: emacs
Reply-To: 77981 <at> debbugs.gnu.org
Date: Sat, 26 Apr 2025 14:32:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1745677922-22416-1"

This is a multi-part message in MIME format...

------------=_1745677922-22416-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#77981: 30.1; kill-ring-deindent-mode replaces spaces with tabs even when i=
ndent-tabs-mode is nil

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 77981 <at> debbugs.gnu.org.

--=20
77981: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77981
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1745677922-22416-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 77981-done) by debbugs.gnu.org; 26 Apr 2025 14:31:45 +0000
Received: from localhost ([127.0.0.1]:33852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u8gZF-0005ox-DM
	for submit <at> debbugs.gnu.org; Sat, 26 Apr 2025 10:31:45 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55934)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1u8gZD-0005oi-Cy
 for 77981-done <at> debbugs.gnu.org; Sat, 26 Apr 2025 10:31:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1u8gZ8-0004tH-2H; Sat, 26 Apr 2025 10:31:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ffRKRyy6vBQnZQN6I8LcKderBKE19qIUfuK7F1IElCk=; b=WcO/k7toCHAx
 rSc9r/fO4YObISBG+RQZL7Bt2LvjaEZXsb+3DHrOt0ccVepmUokZwN5fIF7KjvyHtggVq8L2YdVfE
 5p1GjTPOxJCI6uPMfKmF7c+cAWG2hH7k8AdWO7X04/NEFts0+DN/ju1hVf1uVk2LCZcWU6HIG3evc
 uLAcgSinu5/6sYoZKwgPIw922DdfwGVOU13ToBBFpCdcvvwMSijCN82j5zTrB5suJ1yU7VOFcyubb
 79UMsLX3T/OlwR4SC2M1Dpps+MmsumeZJOcD8nH1tylIeaIEe+zxZ+wtm0BvnmQ8b5FQmwXofaei3
 DcOcck4PxJoMzrDnwiGgPA==;
Date: Sat, 26 Apr 2025 17:31:35 +0300
Message-Id: <864iybt2ns.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: spl3g <spleefer6@HIDDEN>
In-Reply-To: <CAP66TDFsJng-jR9eUw4-fLuR=Kbu0+oHU7XmAdncB5gKdd3vQA@HIDDEN>
 (message from spl3g on Sat, 26 Apr 2025 16:36:50 +0300)
Subject: Re: bug#77981: 30.1; kill-ring-deindent-mode replaces spaces with
 tabs even when indent-tabs-mode is nil
References: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
 <86o6wjt6ae.fsf@HIDDEN>
 <CAP66TDFsJng-jR9eUw4-fLuR=Kbu0+oHU7XmAdncB5gKdd3vQA@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77981-done
Cc: 77981-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: spl3g <spleefer6@HIDDEN>
> Date: Sat, 26 Apr 2025 16:36:50 +0300
> Cc: 77981 <at> debbugs.gnu.org
> 
> Thank you, the patch fixed the problem.

Thanks for testing.  I've now installed the change on the master
branch, and I'm therefore closing the bug.


------------=_1745677922-22416-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 22 Apr 2025 08:22:58 +0000
Received: from localhost ([127.0.0.1]:44979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u78u9-0002fj-3i
	for submit <at> debbugs.gnu.org; Tue, 22 Apr 2025 04:22:58 -0400
Received: from lists.gnu.org ([2001:470:142::17]:48260)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spleefer6@HIDDEN>)
 id 1u78u5-0002eY-WC
 for submit <at> debbugs.gnu.org; Tue, 22 Apr 2025 04:22:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <spleefer6@HIDDEN>)
 id 1u78tx-0008TQ-6E
 for bug-gnu-emacs@HIDDEN; Tue, 22 Apr 2025 04:22:45 -0400
Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <spleefer6@HIDDEN>)
 id 1u78tt-0001bP-Sm
 for bug-gnu-emacs@HIDDEN; Tue, 22 Apr 2025 04:22:44 -0400
Received: by mail-pl1-x636.google.com with SMTP id
 d9443c01a7336-227b828de00so49650155ad.1
 for <bug-gnu-emacs@HIDDEN>; Tue, 22 Apr 2025 01:22:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1745310158; x=1745914958; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=30DXQyhtXaKMXmZGWkuXm7ovbt3A4BuJpum9LryqRrw=;
 b=PTdu093BTyGjFW0CI4KBxzRtwH8YrnWH4sss+npCg7MCekNe6WEKjHXVq3tWPjCVrF
 wbViaFv6cAkRQBCp8kDDtaWsx7ixsmLjhvPwdDRyQ+jYd4jEhKQUY5mXVDGNW1GLjJJS
 xuMhrQRDQ2wtEUytJwZqgb3tk4LjyP51xRrwwVMoX/UK38qZnrxvZtPVuC/dBvJsPO9w
 tSyIoaT2k4IS1yM8BmWhv2D9hmsRFPFI57VYklYTjNKeJ6Yu5LJVLMpQD3Oulm3W/Ysm
 G72pmFtUabIazHtiVDt9inO4cWtSW+O+il9fFOVI7ILM6nc5C2FYUhEHsScNiB0AsI4H
 poYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1745310158; x=1745914958;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=30DXQyhtXaKMXmZGWkuXm7ovbt3A4BuJpum9LryqRrw=;
 b=s0LYxesU0bsMA3Oj+MxmVrXncBLN0RqYDgReH8zt4Z998+aRDeO5ODRSgTCBB1KJo2
 AtDXn3A2othOR/u9VvGHBn/rn0p/GTGiQMiRubPkxJSGfMhc+dnYItmbZSM2ETpZ677L
 LJ5RcJB1tHSTXw78o4QhIbPE3rI+bz3Ok9WwUSwvHXKFHEJp2Paj/Ky2X3lKhnj44ykw
 mdjm3YY9KqdEPBLjeDhkOBYu9DNPWcd34dkcGQfB26c9TePq6wqMIqQqQD90ba1doxdg
 rz7lpIUd0P8L3WufcChGcoyARO/JGuPWCZ5+N1zI1T0ANuzdI1KZ9LtE6KzuqdnCDGWo
 IwgQ==
X-Gm-Message-State: AOJu0Ywa0OlzxkkE1CxebI7020clB1EWVj8p+uq6AlesSxwzn5jqOwIl
 lNlR3GCM+ZrF7jV4YBkDeOZ1kddJBYNb68S7Gn2/7Pfgy3vdSUzGLc4neBbo0MT1GaIQmyLmeeF
 5NsbEy2tdBDei9YO/f1zqdyyXpE7K1Y49zKI=
X-Gm-Gg: ASbGnctzH6KOWQwd9gU4WAvDiAj7c5gvxAoxaCDZfBwDkeBO6oT9w6FLld5rD+Y3w4P
 yPk4P+AbgGEc2ykNMKIsiSVucl6wYnmVpgyJJ7Cb/1RemRSKNJRPK/q6gczrKQ+3YfQb1LnsKBN
 T5NmluN7ngxjk+ms1JEOzlsqB1pz6NmNXRjQ==
X-Google-Smtp-Source: AGHT+IHpvt4GkS/wLT3ieUJqpzuOkt0ExhUHOcWdfEcLO3kpMyMDBdMKqFnGiNcnHqBep4sA6B+xNH89HMjidauFi8w=
X-Received: by 2002:a17:903:2344:b0:223:3396:15e8 with SMTP id
 d9443c01a7336-22c535834bfmr233039055ad.22.1745310158014; Tue, 22 Apr 2025
 01:22:38 -0700 (PDT)
MIME-Version: 1.0
From: spl3g <spleefer6@HIDDEN>
Date: Tue, 22 Apr 2025 11:22:26 +0300
X-Gm-Features: ATxdqUE6neeY1wNCgEskgZT0UwVuxz5VqFJsC1eANMMVPM8GyMi8CQZzrViA33E
Message-ID: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
Subject: 30.1; kill-ring-deindent-mode replaces spaces with tabs even when
 indent-tabs-mode is nil
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000fdd4ef063359af21"
Received-SPF: pass client-ip=2607:f8b0:4864:20::636;
 envelope-from=spleefer6@HIDDEN; helo=mail-pl1-x636.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  When enabling kill-ring-deindent-mode,
 it would replace spaces
 with tabs in modes with indent-tabs-mode turned off. It breaks some languages, 
 that do not support tabs for example elm and yaml. I think it is because
 the temp buffer it creates has indent-tabs-mode turned on by default. 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (spleefer6[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (spleefer6[at]gmail.com)
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 HTML_MESSAGE           BODY: HTML included in message
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

--000000000000fdd4ef063359af21
Content-Type: text/plain; charset="UTF-8"

When enabling kill-ring-deindent-mode, it would replace spaces with tabs
in modes with indent-tabs-mode turned off.
It breaks some languages, that do not support tabs for example elm and
yaml.

I think it is because the temp buffer it creates has indent-tabs-mode
turned on by default.


In GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.48,
cairo version 1.18.2)
System Description: NixOS 25.05 (Warbler)

Configured using:
 'configure
 --prefix=/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1
 --disable-build-details --with-modules --with-pgtk
 --with-compress-install --with-toolkit-scroll-bars
 --with-native-compilation --without-imagemagick --with-mailutils
 --without-small-ja-dic --with-tree-sitter --without-xinput2
 --without-xwidgets --with-dbus --with-selinux'

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

Important settings:
  value of $EMACSLOADPATH:
  value of $EMACSNATIVELOADPATH:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Nix

Minor modes in effect:
  eat-eshell-visual-command-mode: t
  eat-eshell-mode: t
  server-mode: t
  display-line-numbers-mode: t
  rainbow-delimiters-mode: t
  global-auto-revert-mode: t
  save-place-mode: t
  winner-mode: t
  savehist-mode: t
  global-completion-preview-mode: t
  completion-preview-mode: t
  vertico-mode: t
  marginalia-mode: t
  corfu-history-mode: t
  corfu-popupinfo-mode: t
  global-corfu-mode: t
  corfu-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  envrc-global-mode: t
  envrc-mode: t
  global-treesit-auto-mode: t
  hexl-follow-ascii: t
  repeat-mode: t
  mood-line-mode: t
  apheleia-mode: t
  kill-ring-deindent-mode: t
  global-word-wrap-whitespace-mode: t
  word-wrap-whitespace-mode: t
  electric-pair-mode: t
  which-key-mode: t
  elpaca-use-package-mode: t
  override-global-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  minibuffer-regexp-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:
/nix/store/rmgcpv2qf9pdchjkx0h0r6zrsr06rig9-emacs-packages-deps/share/emacs/site-lisp/site-start
hides
/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/site-lisp/site-start
/home/jerpo/.config/emacs/elpaca/builds/transient/transient hides
/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/30.1/lisp/transient

Features:
(shadow sort mail-extr emacsbug message puny rfc822 mml mml-sec epa epg
rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils jka-compr helpful cc-langs
cc-vars cc-defs trace cl-print edebug info-look info f help-fns
radix-tree elisp-refs rfc2104 tramp-cmds tramp-cache time-stamp
dumb-jump popup dash s pcmpl-unix dired-aux hl-line dired dired-loaddefs
avy misearch multi-isearch tramp-sh yank-media markdown-mode noutline
outline mood-line-segment-checker eglot external-completion flymake diff
ert ewoc debug backtrace find-func imenu grep xref calc-misc calc-undo
calc-alg calc-ext calc-menu calc calc-loaddefs rect calc-macs mule-util
face-remap eshell-syntax-highlighting em-unix em-term em-script
em-prompt em-pred em-ls em-hist em-glob em-extpipe em-cmpl em-dirs
em-basic em-banner em-alias em-tramp eshell esh-mode esh-var eat
term/xterm xterm term disp-table ehelp esh-cmd generator esh-ext esh-opt
esh-proc esh-io esh-arg esh-module esh-module-loaddefs esh-util apheleia
apheleia-rcs apheleia-dp apheleia-formatters apheleia-utils apheleia-log
apheleia-formatter-context dabbrev vc-git vc-dispatcher
mood-line-segment-vc nix-mode ffap thingatpt smie nix-repl nix-shell
nix-store magit-section derived benchmark cursor-sensor llama comp
comp-cstr nix-log nix-instantiate nix-shebang nix-format nix
vertico-directory comp-run comp-common server display-line-numbers
rainbow-delimiters autorevert filenotify saveplace winner savehist
completion-preview vertico marginalia corfu-history corfu-popupinfo cape
corfu yasnippet-snippets yasnippet envrc inheritenv diff-mode
track-changes treesit-auto dape jsonrpc warnings tramp trampver
tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete
parse-time iso8601 time-date tramp-loaddefs hexl gdb-mi bindat gud
project compile text-property-search repeat comint ansi-osc ansi-color
ring pulse color transient format-spec orderless mood-line no-littering
compat denote-autoloads visual-fill-column-autoloads verb-autoloads
elm-mode-autoloads reformatter-autoloads sql-indent-autoloads
markdown-mode-autoloads nix-mode-autoloads emmet-mode-autoloads
web-mode-autoloads dape-autoloads dumb-jump-autoloads popup-autoloads
treesit-auto-autoloads magit-autoloads pcase magit-section-autoloads
llama-autoloads with-editor-autoloads transient-autoloads
scratch-autoloads envrc-autoloads inheritenv-autoloads
apheleia-autoloads yasnippet-snippets-autoloads yasnippet-autoloads
eshell-syntax-highlighting-autoloads eat-autoloads trashed-autoloads
dired-subtree-autoloads dired-hacks-utils-autoloads corfu-autoloads
cape-autoloads orderless-autoloads marginalia-autoloads
vertico-autoloads rainbow-delimiters-autoloads mood-line-autoloads
helpful-autoloads f-autoloads elisp-refs-autoloads dash-autoloads
s-autoloads avy-autoloads vundo-autoloads no-littering-autoloads
base16-stylix-theme base16-theme init go-ts-mode rx c-ts-common treesit
indent-aux word-wrap-mode elec-pair edmacro kmacro elpaca-menu-elpa
which-key elpaca-menu-melpa elpaca-menu-org cl-extra help-mode
elpaca-use-package use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core elpaca-use-package-autoloads elpaca-log elpaca-ui url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util url-parse auth-source eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile url-vars mailcap cl-seq elpaca elpaca-process
elpaca-autoloads cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib
early-init rmc iso-transl tooltip cconv eldoc paren electric uniquify
ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win
pgtk-win term/common-win touch-screen 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 dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk pgtk
multi-tty move-toolbar make-network-process native-compile emacs)

Memory information:
((conses 16 873047 225658) (symbols 48 41607 1)
 (strings 32 304075 12621) (string-bytes 1 7953692)
 (vectors 16 936601) (vector-slots 8 8676661 205873)
 (floats 8 453 1999) (intervals 56 16329 15127) (buffers 992 56))

--000000000000fdd4ef063359af21
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br>When enabling kill-ring-deindent-mode, it would replac=
e spaces with tabs<br>in modes with indent-tabs-mode turned off.<br>It brea=
ks some languages, that do not support tabs for example elm and<br>yaml.<br=
><br>I think it is because the temp buffer it creates has indent-tabs-mode<=
br>turned on by default.<br><br><br>In GNU Emacs 30.1 (build 1, x86_64-pc-l=
inux-gnu, GTK+ Version 3.24.48,<br>cairo version 1.18.2)<br>System Descript=
ion: NixOS 25.05 (Warbler)<br><br>Configured using:<br>=C2=A0&#39;configure=
<br>=C2=A0--prefix=3D/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk=
-30.1<br>=C2=A0--disable-build-details --with-modules --with-pgtk<br>=C2=A0=
--with-compress-install --with-toolkit-scroll-bars<br>=C2=A0--with-native-c=
ompilation --without-imagemagick --with-mailutils<br>=C2=A0--without-small-=
ja-dic --with-tree-sitter --without-xinput2<br>=C2=A0--without-xwidgets --w=
ith-dbus --with-selinux&#39;<br><br>Configured features:<br>CAIRO DBUS FREE=
TYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG<br>LIBSELINUX LIBSYSTE=
MD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER<br>PGTK PNG RSVG SECC=
OMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS<br>TREE_SITTER WEBP XIM =
GTK3 ZLIB<br><br>Important settings:<br>=C2=A0 value of $EMACSLOADPATH: <br=
>=C2=A0 value of $EMACSNATIVELOADPATH: <br>=C2=A0 value of $LANG: en_US.UTF=
-8<br>=C2=A0 locale-coding-system: utf-8-unix<br><br>Major mode: Nix<br><br=
>Minor modes in effect:<br>=C2=A0 eat-eshell-visual-command-mode: t<br>=C2=
=A0 eat-eshell-mode: t<br>=C2=A0 server-mode: t<br>=C2=A0 display-line-numb=
ers-mode: t<br>=C2=A0 rainbow-delimiters-mode: t<br>=C2=A0 global-auto-reve=
rt-mode: t<br>=C2=A0 save-place-mode: t<br>=C2=A0 winner-mode: t<br>=C2=A0 =
savehist-mode: t<br>=C2=A0 global-completion-preview-mode: t<br>=C2=A0 comp=
letion-preview-mode: t<br>=C2=A0 vertico-mode: t<br>=C2=A0 marginalia-mode:=
 t<br>=C2=A0 corfu-history-mode: t<br>=C2=A0 corfu-popupinfo-mode: t<br>=C2=
=A0 global-corfu-mode: t<br>=C2=A0 corfu-mode: t<br>=C2=A0 yas-global-mode:=
 t<br>=C2=A0 yas-minor-mode: t<br>=C2=A0 envrc-global-mode: t<br>=C2=A0 env=
rc-mode: t<br>=C2=A0 global-treesit-auto-mode: t<br>=C2=A0 hexl-follow-asci=
i: t<br>=C2=A0 repeat-mode: t<br>=C2=A0 mood-line-mode: t<br>=C2=A0 aphelei=
a-mode: t<br>=C2=A0 kill-ring-deindent-mode: t<br>=C2=A0 global-word-wrap-w=
hitespace-mode: t<br>=C2=A0 word-wrap-whitespace-mode: t<br>=C2=A0 electric=
-pair-mode: t<br>=C2=A0 which-key-mode: t<br>=C2=A0 elpaca-use-package-mode=
: t<br>=C2=A0 override-global-mode: t<br>=C2=A0 global-eldoc-mode: t<br>=C2=
=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode: t<br>=C2=A0 mouse-wh=
eel-mode: t<br>=C2=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-m=
ode: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 minibuffer-regexp-mode: t<br>=
=C2=A0 line-number-mode: t<br>=C2=A0 global-visual-line-mode: t<br>=C2=A0 v=
isual-line-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=A0 auto-composit=
ion-mode: t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compression-mo=
de: t<br><br>Load-path shadows:<br>/nix/store/rmgcpv2qf9pdchjkx0h0r6zrsr06r=
ig9-emacs-packages-deps/share/emacs/site-lisp/site-start hides /nix/store/1=
z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/site-lisp/site-=
start<br>/home/jerpo/.config/emacs/elpaca/builds/transient/transient hides =
/nix/store/1z0lbiv6w4kz0vspk3ivanaiwphyjgnn-emacs-pgtk-30.1/share/emacs/30.=
1/lisp/transient<br><br>Features:<br>(shadow sort mail-extr emacsbug messag=
e puny rfc822 mml mml-sec epa epg<br>rfc6068 epg-config gnus-util mm-decode=
 mm-bodies mm-encode mail-parse<br>rfc2231 mailabbrev gmm-utils mailheader =
sendmail rfc2047 rfc2045<br>ietf-drums mm-util mail-prsvr mail-utils jka-co=
mpr helpful cc-langs<br>cc-vars cc-defs trace cl-print edebug info-look inf=
o f help-fns<br>radix-tree elisp-refs rfc2104 tramp-cmds tramp-cache time-s=
tamp<br>dumb-jump popup dash s pcmpl-unix dired-aux hl-line dired dired-loa=
ddefs<br>avy misearch multi-isearch tramp-sh yank-media markdown-mode noutl=
ine<br>outline mood-line-segment-checker eglot external-completion flymake =
diff<br>ert ewoc debug backtrace find-func imenu grep xref calc-misc calc-u=
ndo<br>calc-alg calc-ext calc-menu calc calc-loaddefs rect calc-macs mule-u=
til<br>face-remap eshell-syntax-highlighting em-unix em-term em-script<br>e=
m-prompt em-pred em-ls em-hist em-glob em-extpipe em-cmpl em-dirs<br>em-bas=
ic em-banner em-alias em-tramp eshell esh-mode esh-var eat<br>term/xterm xt=
erm term disp-table ehelp esh-cmd generator esh-ext esh-opt<br>esh-proc esh=
-io esh-arg esh-module esh-module-loaddefs esh-util apheleia<br>apheleia-rc=
s apheleia-dp apheleia-formatters apheleia-utils apheleia-log<br>apheleia-f=
ormatter-context dabbrev vc-git vc-dispatcher<br>mood-line-segment-vc nix-m=
ode ffap thingatpt smie nix-repl nix-shell<br>nix-store magit-section deriv=
ed benchmark cursor-sensor llama comp<br>comp-cstr nix-log nix-instantiate =
nix-shebang nix-format nix<br>vertico-directory comp-run comp-common server=
 display-line-numbers<br>rainbow-delimiters autorevert filenotify saveplace=
 winner savehist<br>completion-preview vertico marginalia corfu-history cor=
fu-popupinfo cape<br>corfu yasnippet-snippets yasnippet envrc inheritenv di=
ff-mode<br>track-changes treesit-auto dape jsonrpc warnings tramp trampver<=
br>tramp-integration files-x tramp-message tramp-compat xdg shell pcomplete=
<br>parse-time iso8601 time-date tramp-loaddefs hexl gdb-mi bindat gud<br>p=
roject compile text-property-search repeat comint ansi-osc ansi-color<br>ri=
ng pulse color transient format-spec orderless mood-line no-littering<br>co=
mpat denote-autoloads visual-fill-column-autoloads verb-autoloads<br>elm-mo=
de-autoloads reformatter-autoloads sql-indent-autoloads<br>markdown-mode-au=
toloads nix-mode-autoloads emmet-mode-autoloads<br>web-mode-autoloads dape-=
autoloads dumb-jump-autoloads popup-autoloads<br>treesit-auto-autoloads mag=
it-autoloads pcase magit-section-autoloads<br>llama-autoloads with-editor-a=
utoloads transient-autoloads<br>scratch-autoloads envrc-autoloads inheriten=
v-autoloads<br>apheleia-autoloads yasnippet-snippets-autoloads yasnippet-au=
toloads<br>eshell-syntax-highlighting-autoloads eat-autoloads trashed-autol=
oads<br>dired-subtree-autoloads dired-hacks-utils-autoloads corfu-autoloads=
<br>cape-autoloads orderless-autoloads marginalia-autoloads<br>vertico-auto=
loads rainbow-delimiters-autoloads mood-line-autoloads<br>helpful-autoloads=
 f-autoloads elisp-refs-autoloads dash-autoloads<br>s-autoloads avy-autoloa=
ds vundo-autoloads no-littering-autoloads<br>base16-stylix-theme base16-the=
me init go-ts-mode rx c-ts-common treesit<br>indent-aux word-wrap-mode elec=
-pair edmacro kmacro elpaca-menu-elpa<br>which-key elpaca-menu-melpa elpaca=
-menu-org cl-extra help-mode<br>elpaca-use-package use-package use-package-=
ensure use-package-delight<br>use-package-diminish use-package-bind-key bin=
d-key easy-mmode<br>use-package-core elpaca-use-package-autoloads elpaca-lo=
g elpaca-ui url<br>url-proxy url-privacy url-expand url-methods url-history=
 url-cookie<br>generate-lisp-file url-domsuf url-util url-parse auth-source=
 eieio<br>eieio-core cl-macs password-cache json subr-x map byte-opt gv byt=
ecomp<br>byte-compile url-vars mailcap cl-seq elpaca elpaca-process<br>elpa=
ca-autoloads cus-edit pp cus-load icons wid-edit cl-loaddefs cl-lib<br>earl=
y-init rmc iso-transl tooltip cconv eldoc paren electric uniquify<br>ediff-=
hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win<br>pgtk-win t=
erm/common-win touch-screen pgtk-dnd tool-bar dnd fontset<br>image regexp-o=
pt fringe tabulated-list replace newcomment text-mode<br>lisp-mode prog-mod=
e register page tab-bar menu-bar rfn-eshadow isearch<br>easymenu timer sele=
ct scroll-bar mouse jit-lock font-lock syntax<br>font-core term/tty-colors =
frame minibuffer nadvice seq simple cl-generic<br>indonesian philippine cha=
m georgian utf-8-lang misc-lang vietnamese<br>tibetan thai tai-viet lao kor=
ean japanese eucjp-ms cp51932 hebrew greek<br>romanian slovak czech europea=
n ethiopic indian cyrillic chinese<br>composite emoji-zwj charscript charpr=
op case-table epa-hook<br>jka-cmpr-hook help abbrev obarray oclosure cl-pre=
loaded button loaddefs<br>theme-loaddefs faces cus-face macroexp files wind=
ow text-properties<br>overlay sha1 md5 base64 format env code-pages mule cu=
stom widget keymap<br>hashtable-print-readable backquote threads dbusbind i=
notify<br>dynamic-setting system-font-setting font-render-setting cairo gtk=
 pgtk<br>multi-tty move-toolbar make-network-process native-compile emacs)<=
br><br>Memory information:<br>((conses 16 873047 225658) (symbols 48 41607 =
1)<br>=C2=A0(strings 32 304075 12621) (string-bytes 1 7953692)<br>=C2=A0(ve=
ctors 16 936601) (vector-slots 8 8676661 205873)<br>=C2=A0(floats 8 453 199=
9) (intervals 56 16329 15127) (buffers 992 56))<br><br></div>

--000000000000fdd4ef063359af21--



------------=_1745677922-22416-1--


Message received at fakecontrol@fakecontrolmessage:


Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control <at> debbugs.gnu.org
From: Debbugs Internal Request <help-debbugs@HIDDEN>
Subject: Internal Control
Message-Id: bug archived.
Date: Sun, 25 May 2025 11:24:24 +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


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 6 Jul 2025 15:21:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 06 11:21:57 2025
Received: from localhost ([127.0.0.1]:56231 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uYRBl-0004mx-3i
	for submit <at> debbugs.gnu.org; Sun, 06 Jul 2025 11:21:57 -0400
Received: from out-180.mta1.migadu.com ([95.215.58.180]:45749)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <liam@HIDDEN>) id 1uYRBi-0004lY-Tn
 for control <at> debbugs.gnu.org; Sun, 06 Jul 2025 11:21:55 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpfr.net; s=key1;
 t=1751815308;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=HdJipP/wyDa2p1g9XMb2SR9WVW1sE7sFrNZ/DhoaIrA=;
 b=olS5eg0nFEGBB/LCkmxrV9rJFshlcnyid9GT1G/tQcnKocKICgFIikniWH1HUpDNbDS5ts
 SqCT6QqCTWrRR/aop7jzszXpKv73lTk+aQ4xdIYsAVRY3vjA5qbudTqnlPpir7+dVGt6cc
 J+Ok0d3mHoTAI/PAjYhe8vz1jjaZFJPlRlfm4twFGrUpiqynCPIaFe2TMDX2zhewq8IboY
 HXWBr1UU71tWQkOxPE1yx4Zs9eJm4YWvrDYKcF9Hl6aG5+nlTEX5iO+4a+d/BYap4pbRky
 F+qTg8/MLC2qjlioYPb+6QqvYvHgFCr5sFtxf7KLvQwRhn65mNLzAO5oNuXsTw==
From: Liam Hupfer <liam@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: control message for bug #77981
Date: Sun, 06 Jul 2025 10:21:41 -0500
Message-ID: <87ecutcpkq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

unarchive 77981
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#77981: 30.1; kill-ring-deindent-mode replaces spaces with tabs even when indent-tabs-mode is nil
Resent-From: Liam Hupfer <liam@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 06 Jul 2025 15:25:01 +0000
Resent-Message-ID: <handler.77981.B77981.175181548819776 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 77981
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>, spl3g <spleefer6@HIDDEN>
Cc: 77981 <at> debbugs.gnu.org
Received: via spool by 77981-submit <at> debbugs.gnu.org id=B77981.175181548819776
          (code B ref 77981); Sun, 06 Jul 2025 15:25:01 +0000
Received: (at 77981) by debbugs.gnu.org; 6 Jul 2025 15:24:48 +0000
Received: from localhost ([127.0.0.1]:56268 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uYREV-00058u-Uk
	for submit <at> debbugs.gnu.org; Sun, 06 Jul 2025 11:24:48 -0400
Received: from out-177.mta1.migadu.com ([95.215.58.177]:51980)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <liam@HIDDEN>) id 1uYREU-00057q-1o
 for 77981 <at> debbugs.gnu.org; Sun, 06 Jul 2025 11:24:46 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpfr.net; s=key1;
 t=1751815479;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=3JVIZWleTSAY2vm2V1b8E/ojrx94OVqWMqocr9En2bA=;
 b=HDCUJlSxtV+EoskCXsKyCPOZAxz7kX0MrR8hsSaJAwfrMfEVFwRMg9eJOVMy9tZbEvo+Gl
 E+6XuLcmQId8no3c3BwFnUzDrQW1Dk5IziR+xrcC3wcvHswMwUwYeGoa/9Mj6xXbxZav0V
 HA3COxUZi1+ooutY1VnvxJz7Nud/UaFMr5TkGq4rQEHMWbbUL+1psnsvwwrKEdVO9mK94I
 ZrioAvKbTkvsi5exE+BW8h0p6tSAFOCgmX+OeLYODozAIXZDaPSahLQYo0qvuCCzbnaotx
 sn3qdmKIqPeLOu8SFw9OfOE0ZbGIPH0DLXbd8C2xnUsWHt53gYsP5fHxtKVzBg==
From: Liam Hupfer <liam@HIDDEN>
In-Reply-To: <864iybt2ns.fsf@HIDDEN>
References: <CAP66TDGRju5anUcX9z550Q=GfrDQxMH-8eYNoZNpkPRAJ9vhgw@HIDDEN>
 <86o6wjt6ae.fsf@HIDDEN>
 <CAP66TDFsJng-jR9eUw4-fLuR=Kbu0+oHU7XmAdncB5gKdd3vQA@HIDDEN>
 <864iybt2ns.fsf@HIDDEN>
Date: Sun, 06 Jul 2025 10:24:24 -0500
Message-ID: <87bjpxcpg7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[resending after learning about unarchive=E2=80=A6]

Hi Eli et al.,

I enabled kill-ring-deindent-mode when I saw it in the Emacs 30 NEWS,
but it didn=E2=80=99t seem to work. Recently I came back to it and determin=
ed
the root cause after some debugging and found this bug.

Eli Zaretskii <eliz@HIDDEN> writes:

> Thanks for testing.  I=E2=80=99ve now installed the change on the master
> branch, and I=E2=80=99m therefore closing the bug.

Would you mind cherry-picking the fix to emacs-30? I =E2=80=9Cbackported=E2=
=80=9D it in
my config via advice and it works as advertised.

=E2=80=94Liam

--=-=-=--





Last modified: Sun, 6 Jul 2025 15:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.