GNU bug report logs -
#645
23.0.60; rng-after-change-function error when validation not started
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 645 in the body.
You can then email your comments to 645 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#645
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
The function rng-after-change-function might be called before validation
has started. This results in an error. The patch below corrects this
problem.
Index: rng-valid.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/nxml/rng-valid.el,v
retrieving revision 1.8
diff -u -b -r1.8 rng-valid.el
--- rng-valid.el 3 Jul 2008 12:25:22 -0000 1.8
+++ rng-valid.el 3 Aug 2008 18:27:21 -0000
@@ -304,6 +304,7 @@
(or rng-validate-mode (rng-validate-mode)))
(defun rng-after-change-function (start end pre-change-len)
+ (when rng-validate-up-to-date-end
;; Work around bug in insert-file-contents.
(when (> end (1+ (buffer-size)))
(setq start 1)
@@ -343,7 +344,7 @@
;; Arrange to revalidate
(rng-activate-timers)
;; Need to do this after activating the timer
- (force-mode-line-update))
+ (force-mode-line-update)))
(defun rng-compute-mode-line-string ()
(cond (rng-validate-timer
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-08-01
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#645
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Hm. Please do not apply this now. I can't see why it can happen that
rng-validate-up-to-date-end is nil. I will investigate it.
Lennart Borgman (gmail) wrote:
> The function rng-after-change-function might be called before validation
> has started. This results in an error. The patch below corrects this
> problem.
>
> Index: rng-valid.el
> ===================================================================
> RCS file: /sources/emacs/emacs/lisp/nxml/rng-valid.el,v
> retrieving revision 1.8
> diff -u -b -r1.8 rng-valid.el
> --- rng-valid.el 3 Jul 2008 12:25:22 -0000 1.8
> +++ rng-valid.el 3 Aug 2008 18:27:21 -0000
> @@ -304,6 +304,7 @@
> (or rng-validate-mode (rng-validate-mode)))
>
> (defun rng-after-change-function (start end pre-change-len)
> + (when rng-validate-up-to-date-end
> ;; Work around bug in insert-file-contents.
> (when (> end (1+ (buffer-size)))
> (setq start 1)
> @@ -343,7 +344,7 @@
> ;; Arrange to revalidate
> (rng-activate-timers)
> ;; Need to do this after activating the timer
> - (force-mode-line-update))
> + (force-mode-line-update)))
>
> (defun rng-compute-mode-line-string ()
> (cond (rng-validate-timer
>
>
>
> In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
> of 2008-08-01
>
>
>
>
>
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#645
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
"Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Tags added: moreinfo
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Tue, 12 Aug 2008 06:50:09 GMT)
Full text and
rfc822 format available.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Sun, 10 Jul 2011 00:22:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Lennart Borgman (gmail)" <lennart.borgman <at> gmail.com>
:
bug acknowledged by developer.
(Sun, 10 Jul 2011 00:22:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 645-done <at> debbugs.gnu.org (full text, mbox):
Never followed up; closing.
"Lennart Borgman (gmail)" wrote:
> Hm. Please do not apply this now. I can't see why it can happen that
> rng-validate-up-to-date-end is nil. I will investigate it.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#645
; Package
emacs
.
(Sun, 10 Jul 2011 00:46:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 645 <at> debbugs.gnu.org (full text, mbox):
That is ok. I do not have time to dive into this. And I think a rework
of some parts of Emacs must be done to fix it.
On Sun, Jul 10, 2011 at 02:21, Glenn Morris <rgm <at> gnu.org> wrote:
>
> Never followed up; closing.
>
> "Lennart Borgman (gmail)" wrote:
>
>> Hm. Please do not apply this now. I can't see why it can happen that
>> rng-validate-up-to-date-end is nil. I will investigate it.
>
>
>
>
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 07 Aug 2011 11:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.