bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2859: 23.0.91; indent-tabs-mode and cua-rectangle editing when using


From: Glenn Morris
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
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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))))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]