unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ulrich Deiters <ulrich.deiters@uni-koeln.de>
To: help-gnu-emacs@gnu.org
Subject: Re: PSGML broken?
Date: Sun, 15 Jan 2023 17:37:11 +0100	[thread overview]
Message-ID: <100a6303-4aeb-4dc0-c7e7-8b2b30afcd83@uni-koeln.de> (raw)
In-Reply-To: <83k01o5avk.fsf@gnu.org>

> The tarball you've installed contains psgml.texi.  You can run
> 
>   pdftex psgml.texi …
Yes, now that you mention it, I found the file. I had been looking
for the usual README or for PDF files.

> So your installation of PSGML seems to be broken.  How did you install
> it, and how was that installation different from what you had with
> Emacs 25?

This was probably the case. I brought my Emacs-27.2 up,
entered "M-x package-list", and deleted psgml. Then
I installed it again, and for reasons unknown Emacs
got a fresh psgml code from the Internet and put it into
my .emacs.d directory.

When I then entered "emacs" at a terminal, then did a
"M-x load-library RET psgml", and then used the File → Open File
menu to open an XML file, PSGML behaved correctly.

But:
The autoload instructions from the PSGML manual have no effect.
Instead, I put a "(load "psgml")" instruction into my init_psgml.el
file and force its loading with emacs -l init_psgml.el . This
appears to work. Problem solved!

My impression is that the psgml library has already to be active when
an XML/SGML file is opened. Otherwise Emacs gives preference to its
generic XML and SGML modes, and never loads psgml (autoload is
supposed to load libraries when they are called for). Perhaps it
would be better to have a psgml-mode? The PSGML manual says that
"psgml" is a major mode for Emacs, but one cannot enter
"M-x psgml-mode". Having two SGML modes with the same name is
perhaps confusing.

Anyway, Emacs is working as it should. Thank you all for your
help!

Regards,

Ulrich




  reply	other threads:[~2023-01-15 16:37 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
2023-01-15 10:24                           ` Ulrich Deiters
2023-01-15 10:51                             ` Eli Zaretskii
2023-01-15 16:37                               ` Ulrich Deiters [this message]
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

  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=100a6303-4aeb-4dc0-c7e7-8b2b30afcd83@uni-koeln.de \
    --to=ulrich.deiters@uni-koeln.de \
    --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).