From owner-freebsd-doc Fri Apr 12 12:39:10 2002 Delivered-To: freebsd-doc@freebsd.org Received: from CC40670-a.groni1.gr.nl.home.com (cc40670-a.groni1.gr.nl.home.com [217.120.131.23]) by hub.freebsd.org (Postfix) with ESMTP id 4BC7F37B422 for ; Fri, 12 Apr 2002 12:38:48 -0700 (PDT) Received: from lisa.CC40670-a.groni1.gr.nl.home.com (lisa.CC40670-a.groni1.gr.nl.home.com [192.168.1.2]) by CC40670-a.groni1.gr.nl.home.com (8.12.2/8.12.2) with ESMTP id g3CJcgkC061720; Fri, 12 Apr 2002 21:38:48 +0200 (CEST) (envelope-from jochem@lisa.CC40670-a.groni1.gr.nl.home.com) Received: from lisa.CC40670-a.groni1.gr.nl.home.com (localhost [127.0.0.1]) by lisa.CC40670-a.groni1.gr.nl.home.com (8.12.2/8.12.2) with ESMTP id g3CJcX2N030881; Fri, 12 Apr 2002 21:38:33 +0200 (CEST) (envelope-from jochem@lisa.CC40670-a.groni1.gr.nl.home.com) Received: (from jochem@localhost) by lisa.CC40670-a.groni1.gr.nl.home.com (8.12.2/8.12.2/Submit) id g3CJcWP4030880; Fri, 12 Apr 2002 21:38:32 +0200 (CEST) Date: Fri, 12 Apr 2002 21:38:32 +0200 From: Jochem Kossen To: "Gary W. Swearingen" Cc: doc@FreeBSD.ORG Subject: Re: GNU emacs 21.2 Message-ID: <20020412193832.GA30803@jochem.dyndns.org> References: <20020411182754.GA20002@jochem.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Apr 12, 2002 at 09:50:04AM -0700, Gary W. Swearingen wrote: > Jochem Kossen 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