GNU bug report logs - #513
Several places should use run-mode-hooks

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Tue, 1 Jul 2008 04:15:03 UTC

Severity: minor

Found in version 23.0.60

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 513 in the body.
You can then email your comments to 513 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report stored:
bug#513; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Glenn Morris <rgm <at> gnu.org>:
New bug report received and filed, but not forwarded. Full text and rfc822 format available.

Message #5 received at quiet <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: quiet <at> debbugs.gnu.org
Subject: Several places should use run-mode-hooks
Date: Tue, 1 Jul 2008 00:07:04 -0400
Package: emacs
Version: 23.0.60
Severity: minor

Several places should use run-mode-hooks rather than run-hooks.
See:

http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg01140.html




Changed bug submitter from Glenn Morris <rgm <at> gnu.org> to Stefan Monnier <monnier <at> iro.umontreal.ca>. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 27 Aug 2008 21:15:04 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#513; Package emacs. (Thu, 13 Jan 2011 23:09:01 GMT) Full text and rfc822 format available.

Message #10 received at 513 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 513 <at> debbugs.gnu.org
Subject: Done
Date: Thu, 13 Jan 2011 18:16:17 -0500
Just committed to trunk.




bug closed, send any further explanations to Stefan Monnier <monnier <at> iro.umontreal.ca> Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> debbugs.gnu.org. (Thu, 13 Jan 2011 23:10:03 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#513; Package emacs. (Fri, 14 Jan 2011 01:44:02 GMT) Full text and rfc822 format available.

Message #15 received at 513 <at> debbugs.gnu.org (full text, mbox):

From: MON KEY <monkey <at> sandpframing.com>
To: 513 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#513: Several places should use run-mode-hooks
Date: Thu, 13 Jan 2011 20:51:04 -0500
Curious if this solves the problem of nxml leaving behind myriad RNG
parse buffers with names matching:

  " *RNC Input<N>*"

e.g. as per `rng-c-buffer-name' , `rng-c-init-buffer', `rng-c-parse-file',
`rng-c-parse-include', `rng-c-load-schema'

See lisp/nxml/rng-cmpct.el & lisp/nxml/rng-pttrn.el

FWIW just today I found 30(thirty) of these suckers lingering in my
buffer-list presumably doing nothing successfully and generally taking
up space...

--
/s_P\




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#513; Package emacs. (Fri, 14 Jan 2011 03:51:01 GMT) Full text and rfc822 format available.

Message #18 received at 513 <at> debbugs.gnu.org (full text, mbox):

From: MON KEY <monkey <at> sandpframing.com>
To: 513 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#513: Several places should use run-mode-hooks
Date: Thu, 13 Jan 2011 22:57:50 -0500
On Thu, Jan 13, 2011 at 8:51 PM, MON KEY <monkey <at> sandpframing.com> wrote:

> FWIW just today I found 30(thirty) of these suckers lingering in my
> buffer-list presumably doing nothing successfully and generally taking
> up space...
>

OK, It appears that nxml is leaving the RNG parse buffers around
whenever I kill an nxml mode buffer before it has had a chance to
finish validating.

Where the XML file's header has this:

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">

Emacs says this:
;=> Using schema ~/emacs/23.2/etc/schema/xhtml.rnc

The " *RNC Input<N>*" should be cleaned up, if not on the
run-mode-hooks then the kill-buffer-hook.

--
/s_P\




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 11 Feb 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 188 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.