unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key
@ 2009-04-02 12:29 ` Stefan Reichör
  2009-04-09  6:22   ` Glenn Morris
  2009-04-09 17:45   ` bug#2859: marked as done (23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key) Emacs bug Tracking System
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Reichör @ 2009-04-02 12:29 UTC (permalink / raw)
  To: emacs-pretest-bug


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:
<down> <down> <home> C-k C-k l i n e 1 <return> l i 
n e 2 <return> <up> <up> <C-return> <return> <tab> 
<C-return> <help-echo> M-x r e p o r t - e m <tab> 
b u <tab> <return>

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






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

* bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key
  2009-04-02 12:29 ` bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key Stefan Reichör
@ 2009-04-09  6:22   ` Glenn Morris
  2009-04-09 17:16     ` Kim F. Storm
  2009-04-09 17:45   ` bug#2859: marked as done (23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key) Emacs bug Tracking System
  1 sibling, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2009-04-09  6:22 UTC (permalink / raw)
  To: Stefan Reichör; +Cc: 2859, Kim F. Storm

Stefan Reichör 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))))






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

* bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key
  2009-04-09  6:22   ` Glenn Morris
@ 2009-04-09 17:16     ` Kim F. Storm
  0 siblings, 0 replies; 4+ messages in thread
From: Kim F. Storm @ 2009-04-09 17:16 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 2859, Stefan Reichör

Glenn Morris <rgm@gnu.org> writes:

> Stefan Reichör 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.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk







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

* bug#2859: marked as done (23.0.91; indent-tabs-mode and  cua-rectangle editing when using the tab key)
  2009-04-02 12:29 ` bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key Stefan Reichör
  2009-04-09  6:22   ` Glenn Morris
@ 2009-04-09 17:45   ` Emacs bug Tracking System
  1 sibling, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2009-04-09 17:45 UTC (permalink / raw)
  To: Glenn Morris

[-- Attachment #1: Type: text/plain, Size: 950 bytes --]


Your message dated Thu, 09 Apr 2009 13:37:09 -0400
with message-id <7d4owxohiy.fsf@fencepost.gnu.org>
and subject line Re: bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key
has caused the Emacs bug report #2859,
regarding 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2859: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2859
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 5014 bytes --]

From: "Stefan Reichör" <stefan@xsteve.at>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key
Date: Thu, 02 Apr 2009 14:29:26 +0200
Message-ID: <m0hc17z1ax.fsf@ge-research.com>


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:
<down> <down> <home> C-k C-k l i n e 1 <return> l i 
n e 2 <return> <up> <up> <C-return> <return> <tab> 
<C-return> <help-echo> M-x r e p o r t - e m <tab> 
b u <tab> <return>

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



[-- Attachment #3: Type: message/rfc822, Size: 1745 bytes --]

From: Glenn Morris <rgm@gnu.org>
To: storm@cua.dk (Kim F. Storm)
Cc: 2859-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key
Date: Thu, 09 Apr 2009 13:37:09 -0400
Message-ID: <7d4owxohiy.fsf@fencepost.gnu.org>

Kim F. Storm wrote:

> That's right - I have just committed a 1-line fix to the trunk.

Thanks.


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

end of thread, other threads:[~2009-04-09 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <7d4owxohiy.fsf@fencepost.gnu.org>
2009-04-02 12:29 ` bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key Stefan Reichör
2009-04-09  6:22   ` Glenn Morris
2009-04-09 17:16     ` Kim F. Storm
2009-04-09 17:45   ` bug#2859: marked as done (23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key) Emacs bug Tracking System

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

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

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