From unknown Sat Jun 21 10:43:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key Reply-To: Stefan =?UTF-8?Q?Reich=C3=B6r?= , 2859@debbugs.gnu.org Resent-From: Stefan =?UTF-8?Q?Reich=C3=B6r?= Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Apr 2009 12:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 2859 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123867534230346 (code B ref -1); Thu, 02 Apr 2009 12:35:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Apr 2009 12:29:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n32CSwux030333 for ; Thu, 2 Apr 2009 05:28:59 -0700 Received: from mx10.gnu.org ([199.232.76.166]:32857) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LpM2T-0001t0-RX for emacs-pretest-bug@gnu.org; Thu, 02 Apr 2009 08:28:57 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LpM2R-0000Aq-GQ for emacs-pretest-bug@gnu.org; Thu, 02 Apr 2009 08:28:57 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:57793) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LpM2Q-0000AY-Ku for emacs-pretest-bug@gnu.org; Thu, 02 Apr 2009 08:28:55 -0400 Received: from pchagsrei.ge-research.com (gleichnmann.aberger.at [194.187.178.23]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1LpM2O0YO0-0004me; Thu, 02 Apr 2009 14:28:52 +0200 From: Stefan =?UTF-8?Q?Reich=C3=B6r?= To: emacs-pretest-bug@gnu.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Date: Thu, 02 Apr 2009 14:29:26 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Provags-ID: V01U2FsdGVkX1/K/qixrim5UIq+j/CumpIHEonkzUPqfju/KnJ 02tset8iPLdHiIatX60cdEUoc0d59qqdPtGl7bOn4F2OC6BZjf xe2K4vQrmMoIdFCKTcn+bTJOq9tt7uuMYX1eHghjyHjb/UC+P8 tgg== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: (setq-default indent-tabs-mode nil) I have set indent-tabs-mode to nil This setting does not work during indenting with cua rectangle mode The recent input below shows a test case: Just go to the beginning of a line, hit C-RET And hit tab to indent a line I expect the line to be indented with blanks, but tabs are used here. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /opt/rhel4/stow/emacs/share/emacs/23.0.91/etc/DEBUG for instructions. In GNU Emacs 23.0.91.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2009-03-19 on pchagsrei Windowing system distributor `The X.Org Foundation', version 11.0.60802000 configured using `configure '--prefix=/opt/rhel4/stow/emacs' '--without-rsvg'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: whitespace-mode: t desktop-save-mode: t icomplete-mode: t eldoc-mode: t shell-dirtrack-mode: t global-cwarn-mode: t diff-auto-refine-mode: t global-auto-revert-mode: t recentf-mode: t cua-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t hs-minor-mode: t Recent input: C-k C-k l i n e 1 l i n e 2 M-x r e p o r t - e m b u Recent messages: C-?:help M-p:pad M-o:open M-c:close M-b:blank M-s:string M-f:fill M-i:incr M-n:seq line-move-visual: End of buffer [2 times] Mark set C-?:help M-p:pad M-o:open M-c:close M-b:blank M-s:string M-f:fill M-i:incr M-n:seq line-move-visual: End of buffer [2 times] ad-Orig-kill-line: End of buffer Mark set C-?:help M-p:pad M-o:open M-c:close M-b:blank M-s:string M-f:fill M-i:incr M-n:seq Scanning for dabbrevs...100% dabbrev-expand: No dynamic expansion for `cua-set-rec' found From unknown Sat Jun 21 10:43:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key Reply-To: Glenn Morris , 2859@debbugs.gnu.org Resent-From: Glenn Morris Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Apr 2009 06:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2859 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2859-submit@emacsbugs.donarmstrong.com id=B2859.123925813029201 (code B ref 2859); Thu, 09 Apr 2009 06:30:02 +0000 Received: (at 2859) by emacsbugs.donarmstrong.com; 9 Apr 2009 06:22:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n396M7VO029191 for <2859@emacsbugs.donarmstrong.com>; Wed, 8 Apr 2009 23:22:08 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LrneI-0002RF-0x; Thu, 09 Apr 2009 02:22:06 -0400 From: Glenn Morris To: Stefan =?UTF-8?Q?Reich=C3=B6r?= Cc: 2859@debbugs.gnu.org, "Kim F. Storm" References: X-Spook: cryptographic Bletchley Park FBI Yukon Sears Tower Freeh X-Ran: qMT/pWn`|ChcSHf3u]L(R0q|@XUIzTg>1X>f,QMiv/VZe"jKDAMZ" X-Hue: yellow X-Attribution: GM Date: Thu, 09 Apr 2009 02:22:05 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Stefan Reich=F6r wrote: > (setq-default indent-tabs-mode nil) > I have set indent-tabs-mode to nil > This setting does not work during indenting with cua rectangle mode It seems that cua-indent-rectangle always uses tabs. Kim, can you comment on this? (defun cua-indent-rectangle (column) "Indent rectangle to next tab stop. With prefix arg, indent to that column." (interactive "P") (if (null column) (cua-insert-char-rectangle ?\t) ; <------- (cua--indent-rectangle nil (prefix-numeric-value column)))) From unknown Sat Jun 21 10:43:04 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key Reply-To: storm@cua.dk (Kim F. Storm), 2859@debbugs.gnu.org Resent-From: storm@cua.dk (Kim F. Storm) Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 09 Apr 2009 17:25:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 2859 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 2859-submit@emacsbugs.donarmstrong.com id=B2859.123929742920331 (code B ref 2859); Thu, 09 Apr 2009 17:25:05 +0000 Received: (at 2859) by emacsbugs.donarmstrong.com; 9 Apr 2009 17:17:09 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from smtp.fullrate.dk (mail1-hoer.fullrate.dk [90.185.1.42]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n39HH4DP020322 for <2859@emacsbugs.donarmstrong.com>; Thu, 9 Apr 2009 10:17:06 -0700 Received: from kfs-lx.rd.rdm.cua.dk (unknown [90.184.173.152]) by smtp.fullrate.dk (Postfix) with SMTP id 0EA8F9D1D8; Thu, 9 Apr 2009 19:16:57 +0200 (CEST) From: storm@cua.dk (Kim F. Storm) To: Glenn Morris Cc: Stefan =?UTF-8?Q?Reich=C3=B6r?= , 2859@debbugs.gnu.org References: Date: Thu, 09 Apr 2009 19:16:57 +0200 In-Reply-To: (Glenn Morris's message of "Thu, 09 Apr 2009 02:22:05 -0400") Message-ID: <871vs1sq5y.fsf@kfs-lx.rd.rdm> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Glenn Morris writes: > Stefan Reich=C3=B6r wrote: > >> (setq-default indent-tabs-mode nil) >> I have set indent-tabs-mode to nil >> This setting does not work during indenting with cua rectangle mode > > It seems that cua-indent-rectangle always uses tabs. > Kim, can you comment on this? That's right - I have just committed a 1-line fix to the trunk. --=20 Kim F. Storm http://www.cua.dk From unknown Sat Jun 21 10:43:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Stefan =?UTF-8?Q?Reich=C3=B6r?= Subject: bug#2859 closed by Glenn Morris (Re: bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key) Message-ID: References: <7d4owxohiy.fsf@fencepost.gnu.org> X-Emacs-PR-Message: they-closed 2859 X-Emacs-PR-Package: emacs Reply-To: 2859@debbugs.gnu.org Date: Thu, 09 Apr 2009 17:45:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1239299106-29103-1" This is a multi-part message in MIME format... ------------=_1239299106-29103-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the t= ab key It has been closed by Glenn Morris . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Glenn Morris by replying to this email. --=20 2859: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2859 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1239299106-29103-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2859-done) by emacsbugs.donarmstrong.com; 9 Apr 2009 17:37:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.0 required=4.0 tests=HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n39HbBlt026844 for <2859-done@emacsbugs.donarmstrong.com>; Thu, 9 Apr 2009 10:37:12 -0700 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LryBZ-0001zN-UH; Thu, 09 Apr 2009 13:37:10 -0400 From: Glenn Morris To: storm@cua.dk (Kim F. Storm) Cc: 2859-done@debbugs.gnu.org Subject: Re: bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key References: <871vs1sq5y.fsf@kfs-lx.rd.rdm> X-Spook: UFO security CBNRC Khaddafi Bin Laden codes bce Indigo X-Ran: 2ztyCsSTiT'n(]O0`gwX6nzP{{4}U"/g=F3OK2a-g`t8 (Kim F. Storm's message of "Thu, 09 Apr 2009 19:16:57 +0200") Message-ID: <7d4owxohiy.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Kim F. Storm wrote: > That's right - I have just committed a 1-line fix to the trunk. Thanks. ------------=_1239299106-29103-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 2 Apr 2009 12:29:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n32CSwux030333 for ; Thu, 2 Apr 2009 05:28:59 -0700 Received: from mx10.gnu.org ([199.232.76.166]:32857) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LpM2T-0001t0-RX for emacs-pretest-bug@gnu.org; Thu, 02 Apr 2009 08:28:57 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LpM2R-0000Aq-GQ for emacs-pretest-bug@gnu.org; Thu, 02 Apr 2009 08:28:57 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:57793) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LpM2Q-0000AY-Ku for emacs-pretest-bug@gnu.org; Thu, 02 Apr 2009 08:28:55 -0400 Received: from pchagsrei.ge-research.com (gleichnmann.aberger.at [194.187.178.23]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1LpM2O0YO0-0004me; Thu, 02 Apr 2009 14:28:52 +0200 From: Stefan =?iso-8859-1?Q?Reich=F6r?= To: emacs-pretest-bug@gnu.org Subject: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Date: Thu, 02 Apr 2009 14:29:26 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Provags-ID: V01U2FsdGVkX1/K/qixrim5UIq+j/CumpIHEonkzUPqfju/KnJ 02tset8iPLdHiIatX60cdEUoc0d59qqdPtGl7bOn4F2OC6BZjf xe2K4vQrmMoIdFCKTcn+bTJOq9tt7uuMYX1eHghjyHjb/UC+P8 tgg== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: (setq-default indent-tabs-mode nil) I have set indent-tabs-mode to nil This setting does not work during indenting with cua rectangle mode The recent input below shows a test case: Just go to the beginning of a line, hit C-RET And hit tab to indent a line I expect the line to be indented with blanks, but tabs are used here. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /opt/rhel4/stow/emacs/share/emacs/23.0.91/etc/DEBUG for instructions. In GNU Emacs 23.0.91.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2009-03-19 on pchagsrei Windowing system distributor `The X.Org Foundation', version 11.0.60802000 configured using `configure '--prefix=/opt/rhel4/stow/emacs' '--without-rsvg'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: whitespace-mode: t desktop-save-mode: t icomplete-mode: t eldoc-mode: t shell-dirtrack-mode: t global-cwarn-mode: t diff-auto-refine-mode: t global-auto-revert-mode: t recentf-mode: t cua-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t hs-minor-mode: t Recent input: C-k C-k l i n e 1 l i n e 2 M-x r e p o r t - e m b u Recent messages: C-?:help M-p:pad M-o:open M-c:close M-b:blank M-s:string M-f:fill M-i:incr M-n:seq line-move-visual: End of buffer [2 times] Mark set C-?:help M-p:pad M-o:open M-c:close M-b:blank M-s:string M-f:fill M-i:incr M-n:seq line-move-visual: End of buffer [2 times] ad-Orig-kill-line: End of buffer Mark set C-?:help M-p:pad M-o:open M-c:close M-b:blank M-s:string M-f:fill M-i:incr M-n:seq Scanning for dabbrevs...100% dabbrev-expand: No dynamic expansion for `cua-set-rec' found ------------=_1239299106-29103-1--