unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Migrating from compile-internal (psgml)
Date: Wed, 24 Jul 2013 13:06:00 +0200	[thread overview]
Message-ID: <87zjtcfc9z.fsf@rosalinde.fritz.box> (raw)
In-Reply-To: E1V1vWE-000305-RS@eggs.gnu.org

On Wed, 24 Jul 2013 05:38:04 -0400 florian@fsavigny.de (Florian v. Savigny) wrote:

> Hi there!
>
> I have just discovered that C-c C-v (sgml-validate) does not work in
> psgml anymore because it uses an obsolete function, which has
> disappeared as of Emacs 24.3 (namely, compile-internal).
>
> I have found out how to work around this (get a copy of a pre-24.3
> compile.el and load it before calling sgml-validate), but I am
> wondering if there is some rather straightforward, standard way of
> migrating such packages to the new way that compile.el offers, because
> my workaround is surely not a clean way of dealing with this. What I
> have read about the changes seemed rather a little discouraging.
>
> (An alternative might be creating some kind of intermediate layer,
> which emulates compile-internal, but it would have to make sure that
> other packages are not confused.)
>
> Other packages must surely have migrated, too, it seems to me ... Any
> suggestions?

Maybe psgml can do what smgl-mode did long ago:

2005-08-26  Romain Francoise  <romain@orebokech.com>

        [...]    
	* textmodes/sgml-mode.el (sgml-validate): Use `compilation-start'
	instead of the obsolete `compile-internal'.

Steve Berman




      reply	other threads:[~2013-07-24 11:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-24  9:38 Migrating from compile-internal (psgml) Florian v. Savigny
2013-07-24 11:06 ` Stephen Berman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjtcfc9z.fsf@rosalinde.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).