From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Ulrich Deiters Newsgroups: gmane.emacs.help Subject: turning on SGML mode Date: Thu, 12 Mar 2020 22:01:14 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="11920"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 12 22:31:02 2020 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 1jCVPy-000312-92 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 12 Mar 2020 22:31:02 +0100 Original-Received: from localhost ([::1]:50688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCVPx-0002No-B6 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 12 Mar 2020 17:31:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39797) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCUxG-0001gC-SD for help-gnu-emacs@gnu.org; Thu, 12 Mar 2020 17:01:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCUxE-0004lo-Qj for help-gnu-emacs@gnu.org; Thu, 12 Mar 2020 17:01:21 -0400 Original-Received: from mail-out-v2.uni-koeln.de ([2a00:a200:0:13::59]:36883) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jCUxE-0004fM-7G for help-gnu-emacs@gnu.org; Thu, 12 Mar 2020 17:01:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-koeln.de; i=@uni-koeln.de; q=dns/txt; s=2019; t=1584046881; x=1615582881; h=to:from:subject:message-id:date:mime-version: content-transfer-encoding; bh=5eO0hSbwBxzswxjKLPbr9CmmQwXGKFAUMUf4OzDC39c=; b=dWtenrPvFXAjk8pqn/O9lyQ10jVJ4JxQlsRlEUkHodcZ6rWApor/SsIz AQ92iYxJgevomndu+AdVNQSUYPcSr5BUxvs20PbsEgiirY8FS5601nFWD jralMP6a14z9SG0Yj69OlrdNfEuza1KW4epCsgzacNzYhxZC4cGfGiVPe 5njDgaVFYm6QKvNLXPq8Z+tSO3lwG5GMR3nEtCxt91Giuyo8afsdoTDUh R99IKZU4cBOi9K1DtdeZiDEIa0LfjWmN26tPMDhH7RjztJDQo3coebEdm iQNR2d2lLzaLucdJmetEEgMv3876w9dSucBwTnUPE2C+4pNkjljsKpYvG Q==; IronPort-SDR: 8xdcjILzxwNx78ejgbdT9C2R+CX5Q6vAM7kTbbjCzocFf+SmG9cC3vfyRompIK42H7lbEvu98e MgFOZ18+EqGdvyjiamiEOWN93s+b6VhAmn6Yw1yCtCo9VV5V/H5aUHpkZq42I0YtrJswT1Eh9U 9Ui3TEMRbPSK17FMlqaLUXjPHwfghuTkuQz79mnpBmFf+AaMgn9vIrXChgqexG8GPpaGoOUSPV QqDzgzMpJZtb8wigaVb8gMvGhuLE+hzQZCAE2yj/GODXdGmR7olRUCIIzrg/Nthj7QMMNS423j X+4= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A+DXCgBfompe/wCiACoSACVmhBVVbAN?= =?us-ascii?q?TMYQ/jwSBbJl9gWcJAQ4BAR8QBAEBhlskOBMCAwEBCwEBBgEBAQEBBQRthVY?= =?us-ascii?q?Mhg0PAQV2AiYCbAgBAYMiAYJ8A6xUgTKFSoNbgT6BDiqMLw+BTD+BEScMhXi?= =?us-ascii?q?BOIEHgkSCXgSwNQeBSXZ4BIxggXGHGiOPBg0FjCadNo0kAgQLAhQBgWkigVg?= =?us-ascii?q?zGiSDPAhHGA2SQ4ojQY5vAQE?= X-IronPort-AV: E=Sophos;i="5.70,546,1574118000"; d="scan'208,217";a="55802226" Original-Received: from smtp-out.rrz.uni-koeln.de ([IPv6:2a00:a200:0:12::25]) by mail-out-v2.uni-koeln.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Mar 2020 22:01:16 +0100 Original-Received: from smtp-auth.rrz.uni-koeln.de (smtp-auth.rrz.uni-koeln.de [IPv6:2a00:a200:0:10::28]) by smtp-out.rrz.uni-koeln.de (8.14.4/8.14.4) with ESMTP id 02CL1FJx001440 for ; Thu, 12 Mar 2020 22:01:15 +0100 Original-Received: from [192.168.178.20] (cgn-213-196-211-10.nc.de [213.196.211.10]) (authenticated as user acp36 using CRAM-MD5 bits=0) by smtp-auth.uni-koeln.de (8.14.4/8.14.4) with ESMTP id 02CL1ENr014795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 12 Mar 2020 22:01:15 +0100 Content-Language: en-US X-Scanned-By: MIMEDefang 2.84 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:a200:0:13::59 X-Mailman-Approved-At: Thu, 12 Mar 2020 17:30:26 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:122568 Archived-At: Dear all, I abuse Emacs for my typesetting, i.e., I use Emacs with the psgml extension to edit XML documents (where Emacs gives me context-dependent menus and automatic syntax checks), translate the XML file to LaTeX, and convert the outcome to PDF. My XML file starts with
… and I invoke Emacs by emacs -l $ATXHOME/interface/cfg_emacs.el -geometry +0+0 where cfg_emacs.el contains definitions of menu points etc. My problem: Whenever I start Emacs, I need to enter ESC x sgml-mode manually. I tried to add (setq-default major-mode 'sgml-mode) to the configuration file, but that does not turn on the SGML mode. What am I doing wrong? Kind regards, Ulrich -- Prof. i.R. Dr. Ulrich K. Deiters ______________________________________ Institut f. Physikalische Chemie \ Greinstr. 4–6, D-50939 Köln Universitaet zu Köln /\/\... \ Tel. +49 (0)2232 932964 _______________________L|L|__|_____\ http://www.uni-koeln.de/deiters/