From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Deiters Newsgroups: gmane.emacs.help Subject: Re: PSGML broken? Date: Sun, 15 Jan 2023 17:37:11 +0100 Message-ID: <100a6303-4aeb-4dc0-c7e7-8b2b30afcd83@uni-koeln.de> 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> <835yd870uh.fsf@gnu.org> <4faed6fc-1aee-38a7-1c10-e64368e49b55@uni-koeln.de> <83k01o5avk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36565"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 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 17:37:56 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 1pH615-0009Lb-ES for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 15 Jan 2023 17:37:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pH60X-00021g-4p; Sun, 15 Jan 2023 11:37:21 -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 1pH60V-00021Y-Az for help-gnu-emacs@gnu.org; Sun, 15 Jan 2023 11:37:19 -0500 Original-Received: from mail-out-v2.uni-koeln.de ([134.95.86.59]) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pH60S-0007kd-Qf for help-gnu-emacs@gnu.org; Sun, 15 Jan 2023 11:37:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-koeln.de; i=@uni-koeln.de; q=dns/txt; s=2019; t=1673800637; x=1705336637; h=message-id:date:mime-version:subject:to:references:from: in-reply-to:content-transfer-encoding; bh=n14rGIRbf8d9OnR/RE7rW2fCJQWxBexzuv36OKdWAX4=; b=RMv8vYEqeCATMYLMMbwGV5ZnMKUGU0xx02QjIxNSDQdtvFvOLL4X3L7Z sU5Zrc9FUthWx6bB8QBnk2roiaCjOI8F2JorPgVc8V5EmWbOx4ASjfwY3 6DmF9LwNZmnGfFdbXzvtTmCmXW5tRmnwwAcWjv4LAmXgTr3JSWEChEOR9 0zVBnPY7HfiJUzO8i8zxX+4Ad6JihnSyqksojRYKHAJGGdyCt5UQIFhNW G9s3LxVaOEkkkRzhwkTFyvXUPN+/eY3OnBY4pFaOXQxWeT0+hDeoWQy9S 0X41z+wQQh1JtzoblCTAl8E2a4MQ0RQHvGtawBpeo/U7Z/QsXOKCzi67s w==; X-IPAS-Result: =?us-ascii?q?A+DeBACCKsRj/wCiACoSAIIYWoEJiymRHwOfOw8BDwEBR?= =?us-ascii?q?AQBAYUGAoUVJzgTAQIEAQEBAQMCAwEBAQEBAQMBAQYBAQEBAQEGBIEdhS9Gh?= =?us-ascii?q?lcBBAEjDwEFR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y3GnvLfygnauMG4VPPjinhJwu3WTy2gLTRIQSB62pPCykWaxXc8ZL FYbkhfCtoAp8VCzC97gQ1iioCHCpAQOHcdWEqg57wyJzOzY7m51G1Q5c9KIU/R+3OdeeNDg/ gbhcw/BbdC3jICodA== IronPort-HdrOrdr: A9a23:zvQQualSCbHlj6w0/hFOBLO47wLpDfIV3DAbv31ZSRFFG/Fw9v rPoB1/73TJYVkqKRQdcLy7VJVoIkm8yXcW2+Qs1N6ZNWHbUQOTXeNfBODZrQEIdReQygda78 1dWrk7Ecb3EFRxkMbk7E29G80jwN6ImZrY5tvj8w== X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="5.97,219,1669071600"; d="scan'208";a="99949292" Original-Received: from smtp-out-rh7.rrz.uni-koeln.de ([IPv6:2a00:a200:0:12::118]) by mail-out-v2.uni-koeln.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2023 17:37:13 +0100 Original-Received: from smtp-auth-rh7.rrz.uni-koeln.de (smtp-auth-rh7.rrz.uni-koeln.de [IPv6:2a00:a200:0:10::195]) by smtp-out.rrz.uni-koeln.de (8.14.7/8.14.7) with ESMTP id 30FGbCms047502 for ; Sun, 15 Jan 2023 17:37:12 +0100 Original-Received: from [IPV6:2003:f1:ef13:1100:b62e:99ff:fe67:ebad] (p200300f1ef131100b62e99fffe67ebad.dip0.t-ipconnect.de [IPv6:2003:f1:ef13:1100:b62e:99ff:fe67:ebad]) (authenticated as user acp36 using CRAM-MD5 bits=0) by smtp-auth.uni-koeln.de (8.14.7/8.14.7) with ESMTP id 30FGbB1C032571 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sun, 15 Jan 2023 17:37:12 +0100 Content-Language: en-US In-Reply-To: <83k01o5avk.fsf@gnu.org> X-Scanned-By: MIMEDefang 2.86 Received-SPF: pass client-ip=134.95.86.59; envelope-from=ulrich.deiters@uni-koeln.de; helo=mail-out-v2.uni-koeln.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:142250 Archived-At: > 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