GNU bug report logs - #2859
23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key

Previous Next

Package: emacs;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Thu, 2 Apr 2009 12:35:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 2859 <at> debbugs.gnu.org, "Kim F. Storm" <storm <at> cua.dk>
Subject: bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using the tab key
Date: Thu, 09 Apr 2009 02:22:05 -0400
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))))




This bug report was last modified 16 years and 47 days ago.

Previous Next


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