GNU bug report logs -
#18309
24.3.93; cua-rectangle-mark-mode error
Previous Next
Reported by: joaotavora <at> gmail.com (João Távora)
Date: Thu, 21 Aug 2014 09:52:01 UTC
Severity: important
Found in version 24.3.93
Fixed in version 24.3.94
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 18309 in the body.
You can then email your comments to 18309 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#18309
; Package
emacs
.
(Thu, 21 Aug 2014 09:52:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
joaotavora <at> gmail.com (João Távora)
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 21 Aug 2014 09:52:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi, maintainers,
emacs -Q
In the *scratch* buffer
M-x beginning-of-buffer
M-x newline
M-x forward-word
M-x cua-rectangle-mark-mode
M-x cua-resize-rectangle-left
M-x cua-resize-rectangle-up
An error is signalled
Error in post-command-hook (cua--rectangle-post-command):
(args-out-of-range 0 0)
The rectangle is left in an unconsistent state: typing still enters text
inside the rectangle but the red highlighting is never
revived.
Furthermore cursor can be moved to other places and text still goes
inside the rectangle and creating a rectangle somewhere in the same
buffer else somehow revives the old rectangle.
There used to be another bug that I can't reproduce anymore so perhaps
the bug above was introduced by a a fix between 24.3.91 and 24.3.93: An
error used to be signalled sometimes after existing
cua-rectangle-mark-mode and trying to reenter it again in another
location.
Thanks,
João
In GNU Emacs 24.3.93.1 (i686-pc-mingw32)
of 2014-08-15 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'
Important settings:
value of $LC_CTYPE: UTF-8
value of $LANG: C.UTF-8
locale-coding-system: cp1252
Major mode: Lisp Interaction
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18309
; Package
emacs
.
(Thu, 21 Aug 2014 20:48:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 18309 <at> debbugs.gnu.org (full text, mbox):
João Távora wrote:
> In the *scratch* buffer
>
> M-x beginning-of-buffer
> M-x newline
> M-x forward-word
> M-x cua-rectangle-mark-mode
> M-x cua-resize-rectangle-left
> M-x cua-resize-rectangle-up
>
> An error is signalled
>
> Error in post-command-hook (cua--rectangle-post-command):
> (args-out-of-range 0 0)
This seems to avoid the error, but I never use this stuff...
*** lisp/emulation/cua-rect.el 2014-07-06 23:58:52 +0000
--- lisp/emulation/cua-rect.el 2014-08-21 20:44:23 +0000
***************
*** 794,800 ****
(make-string
(- l cl0 (if (and (= le pl) (/= le lb)) 1 0))
(if cua--virtual-edges-debug ?. ?\s))
! 'face (or (get-text-property (1- s) 'face) 'default)))
(if (/= pl le)
(setq s (1- s))))
(cond
--- 794,800 ----
(make-string
(- l cl0 (if (and (= le pl) (/= le lb)) 1 0))
(if cua--virtual-edges-debug ?. ?\s))
! 'face (or (get-text-property (max (1- s) (point-min)) 'face) 'default)))
(if (/= pl le)
(setq s (1- s))))
(cond
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Mon, 25 Aug 2014 16:42:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
joaotavora <at> gmail.com (João Távora)
:
bug acknowledged by developer.
(Mon, 25 Aug 2014 16:42:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 18309-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.3.94
Installed in the absence of any comments.
Glenn Morris wrote:
> *** lisp/emulation/cua-rect.el 2014-07-06 23:58:52 +0000
> --- lisp/emulation/cua-rect.el 2014-08-21 20:44:23 +0000
> ***************
> *** 794,800 ****
> (make-string
> (- l cl0 (if (and (= le pl) (/= le lb)) 1 0))
> (if cua--virtual-edges-debug ?. ?\s))
> ! 'face (or (get-text-property (1- s) 'face) 'default)))
> (if (/= pl le)
> (setq s (1- s))))
> (cond
> --- 794,800 ----
> (make-string
> (- l cl0 (if (and (= le pl) (/= le lb)) 1 0))
> (if cua--virtual-edges-debug ?. ?\s))
> ! 'face (or (get-text-property (max (1- s) (point-min)) 'face) 'default)))
> (if (/= pl le)
> (setq s (1- s))))
> (cond
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#18309
; Package
emacs
.
(Mon, 25 Aug 2014 16:54:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 18309 <at> debbugs.gnu.org (full text, mbox):
> From: Glenn Morris <rgm <at> gnu.org>
>
> Installed in the absence of any comments.
I meant to report that it works nicely now, but I forgot
Thanks,
João
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 23 Sep 2014 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 226 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.