all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: PSGML broken?
Date: Sun, 15 Jan 2023 08:45:10 +0200	[thread overview]
Message-ID: <835yd870uh.fsf@gnu.org> (raw)
In-Reply-To: <2f50c9b6-e358-2b01-0d52-c07f67545d9e@uni-koeln.de> (message from Ulrich Deiters on Sat, 14 Jan 2023 23:12:13 +0100)

> Date: Sat, 14 Jan 2023 23:12:13 +0100
> From: Ulrich Deiters <ulrich.deiters@uni-koeln.de>
> 
> > 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.



  reply	other threads:[~2023-01-15  6:45 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-09 18:26 PSGML broken? Ulrich Deiters
2023-01-09 20:17 ` Thibaut Verron
2023-01-09 22:19   ` Ulrich Deiters
2023-01-10  1:13     ` Emanuel Berg
2023-01-10  7:57     ` Michael Albinus
     [not found]     ` <ea5f839c-ca91-e08b-fd74-0e0dfd247246@gmail.com>
2023-01-10 22:42       ` Ulrich Deiters
2023-01-13 10:19         ` Arash Esbati
2023-01-13 12:37           ` Ulrich Deiters
2023-01-13 12:49             ` Arash Esbati
2023-01-13 15:12               ` Ulrich Deiters
2023-01-14 11:43                 ` Arash Esbati
2023-01-14 19:12                   ` Ulrich Deiters
2023-01-14 19:28                     ` Eli Zaretskii
2023-01-14 22:12                       ` Ulrich Deiters
2023-01-15  6:45                         ` Eli Zaretskii [this message]
2023-01-15 10:24                           ` Ulrich Deiters
2023-01-15 10:51                             ` Eli Zaretskii
2023-01-15 16:37                               ` Ulrich Deiters
2023-01-15 10:57                     ` Arash Esbati
  -- strict thread matches above, loose matches on Subject: below --
2014-12-05 21:45 Ulrich Deiters
2014-12-06  1:21 ` Alexis
2014-12-06 17:32   ` Ulrich Deiters
2014-12-06 22:06 ` Stefan Monnier
2014-12-07  1:15   ` Ulrich Deiters
2014-12-07  8:31 ` Andreas Röhler
2014-12-07 10:21   ` Florian v. Savigny

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

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

  git send-email \
    --in-reply-to=835yd870uh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.