From xemacs-m  Mon Apr  7 03:39:55 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id DAA20278
	for <xemacs-beta@xemacs.org>; Mon, 7 Apr 1997 03:39:53 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id KAA07437; Mon, 7 Apr 1997 10:39:50 +0200 (MET DST)
Sender: hniksic@public.srce.hr
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: facemenu and `M-g'
References: <kigpvw8gnwy.fsf@jagor.srce.hr> <rvhghjztys.fsf@sdnp5.ucsd.edu> <m2k9mf7osd.fsf@altair.xemacs.org> <kigpvw7lqr8.fsf@jagor.srce.hr> <y9lg1x32x20.fsf@modas.informatik.uni-tuebingen.de> <kign2rbnycq.fsf@jagor.srce.hr> <y9lbu7r2v3k.fsf@modas.informatik.uni-tuebingen.de> <kigencnnx3b.fsf@jagor.srce.hr> <m2pvw7454y.fsf@altair.xemacs.org>
X-URL: ftp://gnjilux.cc.fer.hr/pub/unix/util/wget/
X-Attribution: Hrv
X-Face: &}4JQk=L;e.~x+|eo]#DGk@x3~ed!.~lZ}YQcYb7f[WL9L'Z*+OyA\nA
        EL1M(".[qvI#a2E6WYI5>>e7'@_)3Ol9p|Nn2wNa/;~06jL*B%tTcn/X
        vhAu7qeES0\|MF%$;sI#yn1+y"
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 07 Apr 1997 10:39:50 +0200
In-Reply-To: Steven L Baur's message of 07 Apr 1997 01:19:09 -0700
Message-ID: <kigiv1z9qg9.fsf@jagor.srce.hr>
Lines: 50
X-Mailer: Gnus v5.4.42/XEmacs 19.15

Steven L Baur <steve@miranova.com> writes:

> Quick one question quiz here folks,

This is for me, I guess. :-)

> What is the difference between
> (setq auto-mode-alist (cons ("\\.s?html?\\'" . 'hm--html-mode)
> and 
> (setq facemenu-key "\C-xF")

The difference is that unlike psgml-html, `facemenu' redefines `M-g'
to be something entirely different.  It cannot be compared to
psgml-html, which *is* an HTML editing mode, if different from last.

If `M-g' were changed to a new, fancy `goto-line-interactive-customize'
function, your quiz would make sense, and I'd put a

(global-set-key "\M-g" 'goto-line)

in my .emacs.  But this is something different.

Or, is the point of the Quiz the assertion that `goto-line' has been
replaced with `facemenu-set-face' as the default `M-g' binding?  In
that case, why is the ###autoload removed in 19.15?

> > What if a package redefined `C-v' or up arrow?
> We have them.  See scroll-in-place.el for one.

You mean scroll-in-place.el redefines `C-v' to set faces or something?
I didn't know that.  In all the time I've used scroll-in-place, I
thought `C-v' scrolled the window.

So: no, we don't have a package that rebinds `C-v' to something new
and incompatible without the user's consent.  And it's damn well we
don't.

> > For me `M-g' is equally important a binding.
> I would much rather fix the brain dead unconditional C-h keybinding
> first.  That one has bit me on almost every system I've Emacs on.

But why do they have be fixed in that particular order?  Why must C-h
be fixed *before* M-g?  Sorry Steve, but I don't understand the
reasoning behind that sentence.  The C-h fix is complex.  The M-g fix
is a patch a few lines long.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Oh lord won't you buy me a color TV...

