From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: PSGML broken? Date: Sun, 15 Jan 2023 08:45:10 +0200 Message-ID: <835yd870uh.fsf@gnu.org> References: <48566c3d-1b27-9e93-c7c3-670a2302234e@uni-koeln.de> <28e2242f-4342-ef6b-bac6-5812051f7889@uni-koeln.de> <86k01qn3cl.fsf@gnu.org> <3663b0c5-f840-f669-8cf3-bcc47756ce92@uni-koeln.de> <86lem661lc.fsf@gnu.org> <65427237-3fb9-6d65-a33c-c9206bd73718@uni-koeln.de> <86fscdpci7.fsf@gnu.org> <83bkn07w6l.fsf@gnu.org> <2f50c9b6-e358-2b01-0d52-c07f67545d9e@uni-koeln.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27092"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 15 07:46:03 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pGwmJ-0006rM-86 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 15 Jan 2023 07:46:03 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGwlX-0004AX-2M; Sun, 15 Jan 2023 01:45:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGwlQ-0004AC-JZ for help-gnu-emacs@gnu.org; Sun, 15 Jan 2023 01:45:09 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGwlQ-0006zy-83 for help-gnu-emacs@gnu.org; Sun, 15 Jan 2023 01:45:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=67dD+tcnizFnQ58k7ec4mEpWh2UQHxGPrfZltcqurJU=; b=MaCmJ4XBUUjhJRtgiD0l v+O7m4ocuGvX8+lo/EKi0pAIvMHSNbMjvvcHrw1tGatQZipZdrH9jzet29wkit0sGWizm2dyxKRVt p6xc1IYGlobylTHiG0U/DTXOyGznJCxXAVAgaogZhQz7AaWkB+ySvUR9X06n2V9p4+WFnfCKrdA32 HrZijZGZBI7w55ya6OsBqMcuoUndB9DIgjZMeqUV2KRAQPW/hqwNY4xcCrZA0IYUfKXFgVvOrJBl4 eVd7TZJKJmHPvzWC1E7R05ncDUWnEc1ZvKbFvSSK5snXLBrqEOdYh/s5Lsyrr39i13NAbX8jwZMsP 0TNTZd6/3VtI8w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGwlN-00058g-CG for help-gnu-emacs@gnu.org; Sun, 15 Jan 2023 01:45:07 -0500 In-Reply-To: <2f50c9b6-e358-2b01-0d52-c07f67545d9e@uni-koeln.de> (message from Ulrich Deiters on Sat, 14 Jan 2023 23:12:13 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142241 Archived-At: > Date: Sat, 14 Jan 2023 23:12:13 +0100 > From: Ulrich Deiters > > > Can you tell enough details for us to try to help you more efficiently? > > Like (1) what was the PSGML version you had installed before, (2) what > > exactly doesn't work -- show some file, tell how you try to use PSGML, > > and what happens that shouldn't? Also, are you sure "M-x sgml-mode" > > invokes PSGML and not the sgml-mode that comes with Emacs? > > … with pleasure! > > The old psgml version, which is still shipped with openSUSE Leap > versions <= 15.4, is 1.3.2. The most recent version is 1.3.5. > > The Emacs version shipped with openSUSE Leap 15.3 was 25.3.1. > The version shipped with Leap 15.4 is 27.2, and the latest version > that I got from GNU is 28.2. > > emacs-25.3.1 with psgml-1.3.2 works. > emacs-27.2 with psgml-1.3.2 fails. > emacs-28.2 with psgml-1.3.5 fails. > > When I run emacs-25.3.1 on one of my XML files, it indicates that it is > in the SGML mode ("SGML" written on the bottom line, SGML menu in the > menu bar). Whether this an emacs-built-in SGML or PSGML disguised as > SGML I cannot say. I can: it's the sgml-mode that comes with Emacs. PSGML shows "PSGML" on the mode line. So I think what you should do is: . start Emacs . type "M-x load-library RET psgml RET Then try visiting your XML files and see if things work better now. If they do, I suggest to add this to your init file: (autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t) (autoload 'xml-mode "psgml" "Major mode to edit XML files." t) (These two lines are from the PSGML manual, which comes with the package; did you read it?) This should cause Emacs to use PSGML for sgml-mode and xml-mode, and you should see what you were used to see in Emacs 25.