From xemacs-m  Tue Feb 18 21:27:43 1997
Received: from corona.pixar.com (corona.pixar.com [138.72.20.84])
	by xemacs.org (8.8.5/8.8.5) with SMTP id VAA18026
	for <xemacs-beta@xemacs.org>; Tue, 18 Feb 1997 21:27:43 -0600 (CST)
Received: by corona.pixar.com (Smail3.1.29.1 #2)
	id m0vx2fc-0001YOC; Tue, 18 Feb 97 19:26 PST
Sender: retnuh@pixar.com (Hunter Kelly)
Sender: retnuh@corona
To: Hrvoje Niksic <hniksic@srce.hr>
Cc: xemacs-beta@xemacs.org
Subject: Re: line-move-ignore-invisible
References: <kig7mka82j3.fsf@jagor.srce.hr>
Mime-Version: 1.0 (generated by tm-edit 7.103)
Content-Type: text/plain; charset=US-ASCII
From: Hunter Kelly <retnuh@corona.pixar.com>
Date: 18 Feb 1997 19:26:11 -0800
In-Reply-To: Hrvoje Niksic's message of 15 Feb 1997 17:19:59 +0100
Message-ID: <yvtohdheass.fsf@corona.pixar.com>
Lines: 30
X-Mailer: Gnus v5.4.11/XEmacs 19.15

I agree.  At least, if we can't change the default, can this get
mentioned somewhere more prominently  than in an obscure apropos
search?

Hunter

Hrvoje Niksic <hniksic@srce.hr> writes:

> I've always been iritated by `next-line' and co. being stuck in Gnus
> invisible headers.  So, though I, The Day had come -- I decided to
> hack next-line.  Meditating on the inner and outer nature of extents,
> text-properties, overlays, I loaded (`found'?) prim/simple.el.
> 
> There I looked at the source, and see that they both call line-move.
> Excellent!  So only line-move needs to be hackified.  And moving
> towards line-move -- lo! what do I see?
> 
> (defvar line-move-ignore-invisible nil
>   "*Non-nil means \\[next-line] and \\[previous-line] ignore invisible lines.
> Outline mode sets this.")
> 
> I set this to t, and it works like a charm.  Is *that* all it takes?
> It looks that way.  Now, I'd like to know *why* doesn't this variable
> default to t?  The same variable is also set to nil in GNU Emacs, but
> then again, in GNU Emacs you don't get stuck in headers.
> 
> -- 
> Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
> --------------------------------+--------------------------------
> Ask not for whom the <CONTROL-G> tolls.

