unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5839: 23.1.94; Remove `Narrow' from mode indicators for Info mode
@ 2010-04-06  5:48 Drew Adams
  2010-04-06 17:11 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Drew Adams @ 2010-04-06  5:48 UTC (permalink / raw)
  To: 5839

emacs -Q
C-h i
 
`Narrow' appears in the list of mode indicators in the mode line, along
with `Info'. This doesn't make sense for Info mode, where widening is
not something to encourage.
 
In GNU Emacs 23.1.94.1 (i386-mingw-nt5.1.2600)
 of 2010-03-23 on G41R2F1
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/imagesupport/include'
 







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#5839: 23.1.94; Remove `Narrow' from mode indicators for Info mode
  2010-04-06  5:48 bug#5839: 23.1.94; Remove `Narrow' from mode indicators for Info mode Drew Adams
@ 2010-04-06 17:11 ` Eli Zaretskii
  2010-04-06 17:31   ` Drew Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2010-04-06 17:11 UTC (permalink / raw)
  To: Drew Adams; +Cc: 5839

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Mon, 5 Apr 2010 22:48:25 -0700
> Cc: 
> 
> emacs -Q
> C-h i
>  
> `Narrow' appears in the list of mode indicators in the mode line, along
> with `Info'.

Info was working like that since day one.

> This doesn't make sense for Info mode, where widening is not
> something to encourage.

Why not?  Emacs supports editing Info files, in case you didn't know.

I suggest to close this report, as I don't think this is a bug.  It's
a rather veteran feature.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#5839: 23.1.94; Remove `Narrow' from mode indicators for Info mode
  2010-04-06 17:11 ` Eli Zaretskii
@ 2010-04-06 17:31   ` Drew Adams
  2010-04-07  3:51     ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Drew Adams @ 2010-04-06 17:31 UTC (permalink / raw)
  To: 'Eli Zaretskii'; +Cc: 5839

> > emacs -Q
> > C-h i
> >  
> > `Narrow' appears in the list of mode indicators in the mode 
> > line, along with `Info'.
> 
> Info was working like that since day one.

Yes. But not with an active mode-line button. That was really my point (and I
should have expressed that more clearly).

> > This doesn't make sense for Info mode, where widening is not
> > something to encourage.
> 
> Why not?  Emacs supports editing Info files, in case you didn't know.

I have known, since day one, in case you didn't know.

It is still not something that needs encouraging via a button in the mode line.

I agree that it is helpful to have `Narrow' in the mode line, to let users know
what they're seeing. What I disagree with is that `Narrow' should be an active
button (for Info).

Anyone needing to widen the Info buffer will know enough to do that - s?he won't
need a button for that.

It is the presence of a button that is confusing to non-veterans and encourages
them to get themselves into trouble or more confusion.

There is a reason that `Info-enable-edit' is nil by default. That same reason
supports not having `Narrow' be an active button - at the very least whenever
`Info-enable-edit' is nil.

> I suggest to close this report, as I don't think this is a bug.  It's
> a rather veteran feature.

And I suggest disabling the `Narrow' button, at least when `Info-enable-edit' is
nil. That button is NOT a veteran feature (from day one), and it is not
something that veterans need, in any case.

Try to imagine that you are a newbie and you click mouse-2 on `Narrow'. In Info
that is particularly disconcerting: you are likely to be _very_ confused by what
you see. There is no need for this feature (button) - for newbies or veterans.

----

BTW, when Info edit is turned on, mouse-1 on `Info Edit' in the mode line brings
up an `Edit' menu. The most important operation is missing from that menu:
`Info-cease-edit' (C-c C-c).







^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#5839: 23.1.94; Remove `Narrow' from mode indicators for Info mode
  2010-04-06 17:31   ` Drew Adams
@ 2010-04-07  3:51     ` Stefan Monnier
  2016-04-27 21:35       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2010-04-07  3:51 UTC (permalink / raw)
  To: Drew Adams; +Cc: 5839

>> > `Narrow' appears in the list of mode indicators in the mode 
>> > line, along with `Info'.
[...]
>> > This doesn't make sense for Info mode, where widening is not
>> > something to encourage.

Agreed.  This is related to another discussion where we want to
distinguish between different kinds of narrowing (so as to count
line-numbers differently, among other things).


        Stefan






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#5839: 23.1.94; Remove `Narrow' from mode indicators for Info mode
  2010-04-07  3:51     ` Stefan Monnier
@ 2016-04-27 21:35       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-27 21:35 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 5839

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> > `Narrow' appears in the list of mode indicators in the mode 
>>> > line, along with `Info'.
> [...]
>>> > This doesn't make sense for Info mode, where widening is not
>>> > something to encourage.
>
> Agreed.  This is related to another discussion where we want to
> distinguish between different kinds of narrowing (so as to count
> line-numbers differently, among other things).

So I'm closing this bug report.  Info mode should be implemented without
"normal" narrowing, so it's not worth trying to make the "Narrow"
lighter go away by itself.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-27 21:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06  5:48 bug#5839: 23.1.94; Remove `Narrow' from mode indicators for Info mode Drew Adams
2010-04-06 17:11 ` Eli Zaretskii
2010-04-06 17:31   ` Drew Adams
2010-04-07  3:51     ` Stefan Monnier
2016-04-27 21:35       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).