all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ulrich Deiters <ulrich.deiters@uni-koeln.de>
To: help-gnu-emacs@gnu.org
Subject: turning on SGML mode
Date: Thu, 12 Mar 2020 22:01:14 +0100	[thread overview]
Message-ID: <a09a1fd5-8190-6dd6-2205-4e59264b03de@uni-koeln.de> (raw)

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

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book SYSTEM "$ATXHOME/xml/book.dtd">
<article>
…

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/



             reply	other threads:[~2020-03-12 21:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12 21:01 Ulrich Deiters [this message]
2020-03-12 22:12 ` turning on SGML mode Stefan Monnier
2020-03-13  0:12   ` Ulrich Deiters
2020-03-13  0:26 ` Perry Smith
2020-03-13 16:06   ` Ulrich Deiters
2020-03-13  8:38 ` tomas

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=a09a1fd5-8190-6dd6-2205-4e59264b03de@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.
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.