GNU bug report logs -
#18047
24.4.50; Wrong type argument: arrayp, nil for `cua-mark-rectangle-mode'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Fri, 18 Jul 2014 06:04:01 UTC
Severity: normal
Merged with 17877
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18047 in the body.
You can then email your comments to 18047 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18047
; Package
emacs
.
(Fri, 18 Jul 2014 06:04:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 18 Jul 2014 06:04:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
emacs -Q
1. M-x load-library cua-rect.el
2. M-x set-variable debug-on-error t
3. Select text with the mouse, so its beginning and end are on different
lines and columns (so they define a rectangle).
4. M-x cua-rectangle-mark-mode RET
C-g
Repeat 3 & 4, selecting a different rectangle for 3.
You get this backtrace (or similar):
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
aref(nil 6)
(and (aref cua--rectangle 6))
cua--rectangle-virtual-edges()
(if (cua--rectangle-virtual-edges) " [R]" "")
(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)
cua--activate-rectangle()
(progn (if (and reopen cua--last-rectangle (eq (car cua--last-rectangle) (current-buffer))) (goto-char (car (cdr cua--last-rectangle))) (if (not mark-active) (push-mark nil nil t))) (cua--activate-rectangle) (cua--rectangle-set-corners) (if cua-enable-rectangle-auto-help (cua-help-for-rectangle t)))
(if (not cua--rectangle) (progn (if (and reopen cua--last-rectangle (eq (car cua--last-rectangle) (current-buffer))) (goto-char (car (cdr cua--last-rectangle))) (if (not mark-active) (push-mark nil nil t))) (cua--activate-rectangle) (cua--rectangle-set-corners) (if cua-enable-rectangle-auto-help (cua-help-for-rectangle t))))
cua-set-rectangle-mark()
(cond (cua-rectangle-mark-mode (add-hook (quote deactivate-mark-hook) (function (lambda nil (cua-rectangle-mark-mode -1)))) (add-hook (quote post-command-hook) (function cua--rectangle-post-command) nil t) (cua-set-rectangle-mark)) (t (cua--deactivate-rectangle) (remove-hook (quote post-command-hook) (function cua--rectangle-post-command) t)))
(let ((last-message (current-message))) (setq cua-rectangle-mark-mode (if (eq arg (quote toggle)) (not cua-rectangle-mark-mode) (> (prefix-numeric-value arg) 0))) (cond (cua-rectangle-mark-mode (add-hook (quote deactivate-mark-hook) (function (lambda nil (cua-rectangle-mark-mode -1)))) (add-hook (quote post-command-hook) (function cua--rectangle-post-command) nil t) (cua-set-rectangle-mark)) (t (cua--deactivate-rectangle) (remove-hook (quote post-command-hook) (function cua--rectangle-post-command) t))) (run-hooks (quote cua-rectangle-mark-mode-hook) (if cua-rectangle-mark-mode (quote cua-rectangle-mark-mode-on-hook) (quote cua-rectangle-mark-mode-off-hook))) (if (called-interactively-p (quote any)) (progn nil (if (and (current-message) (not (equal last-message (current-message)))) nil (message "Cua-Rectangle-Mark mode %sabled" (if cua-rectangle-mark-mode "en" "dis"))))))
cua-rectangle-mark-mode(toggle)
funcall-interactively(cua-rectangle-mark-mode toggle)
call-interactively(cua-rectangle-mark-mode record nil)
command-execute(cua-rectangle-mark-mode record)
execute-extended-command(nil "cua-rectangle-mark-mode")
funcall-interactively(execute-extended-command nil "cua-rectangle-mark-mode")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
of 2014-06-28 on ODIEONE
Bzr revision: 117431 rgm <at> gnu.org-20140628015517-eku6hj8mpgcvfnso
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=3D/c/Devel/emacs/snapshot/trunk
--enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3'
LDFLAGS=3D-Lc:/Devel/emacs/lib 'CPPFLAGS=3D-DGC_MCHECK=3D1
-Ic:/Devel/emacs/include''
Forcibly Merged 17877 18047.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 09 Aug 2014 20:37:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 07 Sep 2014 11:24:05 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Drew Adams <drew.adams <at> oracle.com>
to
control <at> debbugs.gnu.org
.
(Fri, 22 Oct 2021 22:59:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18047
; Package
emacs
.
(Fri, 22 Oct 2021 23:02:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 18047 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
ping. It's been 7 years.
This was force-merged with bug #17877, and a fix was
supposedly applied to some branch, but the bug is still open.
[winmail.dat (application/ms-tnef, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18047
; Package
emacs
.
(Sun, 24 Oct 2021 13:35:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 18047 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> ping. It's been 7 years.
>
> This was force-merged with bug #17877, and a fix was
> supposedly applied to some branch, but the bug is still open.
It was merged with a closed report, so I think that means that this one
is closed, too?
(And I'm not able to reproduce the error.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18047
; Package
emacs
.
(Sun, 24 Oct 2021 21:45:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 18047 <at> debbugs.gnu.org (full text, mbox):
> It was merged with a closed report, so I think that means that this one
> is closed, too?
>
> (And I'm not able to reproduce the error.)
Sorry; my bad. I misread it.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 22 Nov 2021 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.