Date: Fri, 12 Apr 2002 21:38:32 +0200 From: Jochem Kossen <j.kossen@home.nl> To: "Gary W. Swearingen" <swear@blarg.net> Cc: doc@FreeBSD.ORG Subject: Re: GNU emacs 21.2 Message-ID: <20020412193832.GA30803@jochem.dyndns.org> In-Reply-To: <nc7kncyi83.knc@localhost.localdomain> References: <20020411182754.GA20002@jochem.dyndns.org> <nc7kncyi83.knc@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 12, 2002 at 09:50:04AM -0700, Gary W. Swearingen wrote: > Jochem Kossen <j.kossen@home.nl> writes: > > > Now, after opening a SGML document, i get: > > File mode specification error: (error "Autoloading failed to define > > function sgml-mode") > > Looks like it couldn't find a psgml.elc (or psgml.el) file which > /usr/ports/editors/psgml/pkg-plist indicates should have been installed > in /usr/local/share/emacs/site-lisp/psgml/ > Did you do as suggested in /usr/ports/editors/psgml/pkg-descr ? Yes we (another user was trying it out too) found that part later on ;) We thought the message should actually be in pkg-message but that's a whole other story ;) GNU emacs seemed to do strange things on my machine, so i deinstalled it this morning. > > Does anyone know what to put in ~/.emacs to get the sgml support > > completely working? (including correct spacing and indention?) > > Nope. But I've gotten some kind of PSGML running these ports (I didn't > know about your psgml port): > > xemacs-21.1.14 > xemacs-basic-mule-packages-1.4 > xemacs-comm-packages-2.6 > xemacs-oa-packages-1.5 > xemacs-packages-2.1 > xemacs-prog-packages-2.6 > > using some extra .emacs-type elisp I probably found on -questions but > too long and messed over too badly to bother either of us with. I used > to be happy with my HTML editing setup, but now it's all messed up with > the confusion over several HTML/SGML/PSGML modes and have been > sufferring with really messed up indentation and occasional problems > with DTDs, etc. I notice it seems to keep its PSGML code in > /usr/local/lib/xemacs/xemacs-packages/etc/psgml/ > This afternoon i installed xemacs, and xemacs-mule-psgml, and that seems to work perfectly, the auto indention is real neat so the problem is actually solved :) Here's what i added to my ~/.emacs for it to work: (require 'psgml-startup) (setq sgml-mode-hook '(lambda () (setq fill-column 70 indent-tabs-mode nil next-line-add-newlines nil standard-indent 2) (auto-fill-mode t))) Thanks for the responds! jk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020412193832.GA30803>