all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* turning on SGML mode
@ 2020-03-12 21:01 Ulrich Deiters
  2020-03-12 22:12 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ulrich Deiters @ 2020-03-12 21:01 UTC (permalink / raw)
  To: help-gnu-emacs

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/



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-03-13 16:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-12 21:01 turning on SGML mode Ulrich Deiters
2020-03-12 22:12 ` 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

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.