GNU bug report logs -
#17984
24.4.50; Error in post-command-hook (rectangle--string-preview)
Previous Next
Reported by: Dani Moncayo <dmoncayo <at> gmail.com>
Date: Thu, 10 Jul 2014 07:06:01 UTC
Severity: normal
Found in version 24.4.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
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 17984 in the body.
You can then email your comments to 17984 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#17984
; Package
emacs
.
(Thu, 10 Jul 2014 07:06:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Dani Moncayo <dmoncayo <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 10 Jul 2014 07:06:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
emacs -Q
Select a couple of lines.
C-x r t
At that moment, I see this error in the echo area:
Error in post-command-hook (rectangle--string-preview):
(wrong-type-argument stringp nil)
In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
of 2014-07-09 on LEG570
Repository revision: 117503 sds <at> gnu.org-20140709145152-p0uy20pnxfum36cs
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'
--
Dani Moncayo
Reply sent
to
Stefan Monnier <monnier <at> iro.umontreal.ca>
:
You have taken responsibility.
(Sat, 19 Jul 2014 01:45:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Dani Moncayo <dmoncayo <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 19 Jul 2014 01:45:04 GMT)
Full text and
rfc822 format available.
Message #10 received at 17984-done <at> debbugs.gnu.org (full text, mbox):
> emacs -Q
> Select a couple of lines.
> C-x r t
> At that moment, I see this error in the echo area:
> Error in post-command-hook (rectangle--string-preview):
> (wrong-type-argument stringp nil)
Indeed, thanks. I installed the patch below which should fix this
problem,
Stefan
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog 2014-07-16 17:06:12 +0000
+++ lisp/ChangeLog 2014-07-19 01:43:04 +0000
@@ -1,3 +1,8 @@
+2014-07-19 Stefan Monnier <monnier <at> iro.umontreal.ca>
+
+ * rect.el (rectangle--string-preview): Don't assume there
+ a non-nil default (bug#17984).
+
2014-07-16 Glenn Morris <rgm <at> gnu.org>
* desktop.el (after-init-hook): Disable startup frame restoration
=== modified file 'lisp/rect.el'
--- lisp/rect.el 2014-07-09 02:20:21 +0000
+++ lisp/rect.el 2014-07-19 01:41:57 +0000
@@ -396,7 +396,7 @@
(when (equal str "")
(setq str (or (car-safe minibuffer-default)
(if (stringp minibuffer-default) minibuffer-default))))
- (setq str (propertize str 'face 'region))
+ (when str (setq str (propertize str 'face 'region)))
(with-selected-window rectangle--string-preview-window
(unless (or (null rectangle--string-preview-state)
(equal str (car rectangle--string-preview-state)))
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 16 Aug 2014 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 6 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.