Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uwmcsd1!ig!agate!ucbvax!hplabs!hp-pcd!hplsla!ericb
From: ericb@hplsla.HP.COM (            Eric Backus)
Newsgroups: comp.emacs
Subject: Re: Gnu emacs questions from Gosling emacs user.
Message-ID: <6280001@hplsla.HP.COM>
Date: 5 Jul 88 06:50:37 GMT
References: <1520001@hplb29a.HPL.HP.COM>
Organization: HP Lake Stevens, WA
Lines: 35

>1) How do I save the state of the buffers that I am editing so that the
>next time that I run Gnu Emacs, it comes up visting the files that I
>was working with, with the cursor positioned where it was when I exited
>the editor?  Gosling emacs does this by writing a file named
>.emacs_ on the connected directory.  I can't figure out how to
>do this in Gnu Emacs.  It would be even nicer if I could have Gnu Emacs
>come up with the same window layout that I had when I exited.

No idea here.  If it's possible, let me know.

>2) The 'next' and 'prev' keys on my 350 keyboard seem to be turned off
>when in Gnu emacs.  They apparently don't transmit anything at all.

Correct.  You can make them transmit anything you want by creating a
".Xkeymap" file.  See keycomp(1) for details on this.  However, there's
a catch!  Most X10 clients look at the ".Xkeymap" file, including xterm
and hpterm.  If you remap "next" and "prev" to something (anything), then
hpterm will no longer treat these keys the way you are used to.

I believe that it may be possible to instead write some emacs-lisp function
which maps these keys to whatever key sequence you want, but I haven't
investigated it.

>3) The border of the X-window built by emacs is always highlighted, whether
>the mouse cursor is inside of it or not.

That's just the way emacs works.  I, too, would like to see someone add
active/inactive borders to emacs.  I don't have the time to do it myself.

>Dan Conway
>dan_conway@hplabs.hp.com
--
				Eric Backus
				hplabs!hp-pcd!hplsla!ericb
				(206) 335-2495