GNU bug report logs -
#17877
24.3.92; Errors from cua-rectangle-mark-mode
Previous Next
Reported by: penthief <penthief <at> SDF.ORG>
Date: Sun, 29 Jun 2014 17:48:05 UTC
Severity: normal
Merged with 18047
Found in versions 24.3.92, 24.4.50
Fixed in version 24.3.93
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 2014-06-30 00:38, Glenn Morris wrote:
> penthief wrote:
>
>> cua--activate-rectangle: Wrong type argument: arrayp, nil
>
> With almost no testing, this seems to fix it:
Yes, your patch seems to work perfectly.
>
> *** lisp/emulation/cua-rect.el 2014-01-01 07:43:34 +0000
> --- lisp/emulation/cua-rect.el 2014-06-29 23:36:26 +0000
> ***************
> *** 726,735 ****
> ;; Set cua--rectangle to indicate we're marking a rectangle.
> ;; Be careful if we are already marking a rectangle.
> (setq cua--rectangle
> ! (if (and cua--last-rectangle
> (eq (car cua--last-rectangle) (current-buffer))
> ! (eq (car (cdr cua--last-rectangle)) (point)))
> ! (cdr (cdr cua--last-rectangle))
> (cua--rectangle-get-corners))
> cua--status-string (if (cua--rectangle-virtual-edges) " [R]"
> "")
> cua--last-rectangle nil)
> --- 726,735 ----
> ;; Set cua--rectangle to indicate we're marking a rectangle.
> ;; Be careful if we are already marking a rectangle.
> (setq cua--rectangle
> ! (or (and cua--last-rectangle
> (eq (car cua--last-rectangle) (current-buffer))
> ! (eq (car (cdr cua--last-rectangle)) (point))
> ! (cdr (cdr cua--last-rectangle)))
> (cua--rectangle-get-corners))
> cua--status-string (if (cua--rectangle-virtual-edges) " [R]"
> "")
> cua--last-rectangle nil)
This bug report was last modified 3 years and 263 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.