From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: Migrating from compile-internal (psgml) Date: Wed, 24 Jul 2013 13:06:00 +0200 Message-ID: <87zjtcfc9z.fsf@rosalinde.fritz.box> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1374664006 23719 80.91.229.3 (24 Jul 2013 11:06:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jul 2013 11:06:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 24 13:06:47 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V1wu2-0004hm-U3 for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jul 2013 13:06:43 +0200 Original-Received: from localhost ([::1]:38555 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1wu2-0005YB-7X for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Jul 2013 07:06:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1wtj-0005Xp-PR for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 07:06:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1wtc-0007rJ-5B for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 07:06:23 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:43017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1wtb-0007r6-TW for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 07:06:16 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V1wtY-00040p-SK for help-gnu-emacs@gnu.org; Wed, 24 Jul 2013 13:06:12 +0200 Original-Received: from i59f57e14.versanet.de ([89.245.126.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Jul 2013 13:06:12 +0200 Original-Received: from stephen.berman by i59f57e14.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Jul 2013 13:06:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i59f57e14.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92361 Archived-At: 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 [...] * textmodes/sgml-mode.el (sgml-validate): Use `compilation-start' instead of the obsolete `compile-internal'. Steve Berman