all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: info
Date: Wed, 29 Jan 2003 13:57:27 -0600 (CST)	[thread overview]
Message-ID: <200301291957.NAA25981@moose.dms.auburn.edu> (raw)
In-Reply-To: <Pine.SUN.3.91.1030129082419.11962F-100000@is> (message from Eli Zaretskii on Wed, 29 Jan 2003 08:29:48 +0200 (IST))

Eli Zaretskii wrote:

   That's not good: RET also follows a cross-reference near point, not only 
   menu items.  So it must first find out what is ``the thing'' near point 
   that it should follow, and then do it.

You are right here.  I forgot about xrefs and the like.  I retract my
original suggestion.

However, you seem to vastly underestimate the differences between
stand-alone behavior and Emacs behavior.

   I'm not sure I like it: what RET does currently in Info is similar to 
   many other programs which support links or references of some kind: if 
   there's no link anywhere in sight, they do nothing, no questions asked.
   Users generally know that if RET didn't have any effect, point is not on 
   a link.  What you suggest deviates significantly from that behavior, and 
   I seriously wonder whether the downsides of the deviation are justified 
   by whatever gains you think we'll have.

That may be what RETURN does in stand-alone info.  In the Emacs version
however, RETURN currently always tries to do something, whether there
is something obvious to do or not.  The consequences can be extremely
confusing.

   I don't remember all the intricacies of this, but I do remember that it 
   is not always easy to decide what menu item to select.

But, that is exactly the problem.  The Emacs version makes decisions
in cases where trying to make a decision is hopeless, resulting in
wild and unpredictable behavior.  I hope newbies learn about the `l'
key fast, or they are not going to have fun with RETURN.

   IMHO we should not change what RET does if it cannot find any link
   nearby.

What you seem to be saying is that it should not be changed from its
stand-alone behavior.  That means a radical change for the Emacs
version.

   I like the behavior of the stand-alone Info better than what Emacs
   does now and better than what you propose.  (But then I'm not
   objective about this: I worked on these aspects of the stand-alone
   reader.)

I guess we all like it better than what Emacs does now.  Also, of
course you do not like what I proposed, even I do not like it anymore.
The only concrete proposal I made was silly, I completely overlooked
something.  (Sorry about that.)

Changing Emacs behavior to the stand-alone behavior you describe would
be acceptable to me.  It would also be helpful to users using both if
they were made more compatible.  Note however, that in as far as the
Emacs version is concerned, that constitutes a change.

A possible alternative would be to make RETURN do the same thing as
mouse-2 if mouse-2 does something (includes xrefs), otherwise the same
as m RETURN if that does something (by default), otherwise nothing.
If there is an obvious choice, that chooses it.  Whenever there is no
obvious choice, only users familiar with the way m chooses defaults in
the given situation would be tempted to use it anyway.  Again however,
the stand-alone behavior you describe sounds perfectly acceptable.

One last example of actual behavior in the Emacs version.  Do:
C-h i m emacs m killing.  We see:

* Menu:

* Deletion::            Commands for deleting small amounts of text
  and
                          blank areas.
* Killing by Lines::    How to kill entire lines of text at one time.
* Other Kill Commands:: Commands to kill large regions of text and
                          syntactic units such as words and sentences.


Place point on syntactic, in the last line of the quote.  Which node do
you expect to go to if you press RETURN and which one do you actually
go to (in the Emacs version).

I believe the present Emacs situation definitely needs a change.

Sincerely,

Luc.

  reply	other threads:[~2003-01-29 19:57 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-29  1:33 info Luc Teirlinck
2003-01-29  3:53 ` info Luc Teirlinck
2003-01-29  6:29   ` info Eli Zaretskii
2003-01-29 19:57     ` Luc Teirlinck [this message]
2003-01-30  5:46       ` info Eli Zaretskii
2003-01-29 21:17   ` info Richard Stallman
2003-01-29 17:33 ` info Eli Zaretskii
2003-01-29 20:39   ` info Luc Teirlinck
2003-01-29 23:21     ` info Luc Teirlinck
2003-01-30  5:48     ` info Eli Zaretskii
2003-01-30  8:39       ` info Kai Großjohann
2003-01-30 15:11         ` info Luc Teirlinck
2003-01-30 16:30           ` info Luc Teirlinck
2003-01-30 20:02         ` info Eli Zaretskii
2003-01-30 20:51           ` info Kai Großjohann
2003-01-30 22:37           ` info Robert J. Chassell
2003-01-31  1:51             ` info Luc Teirlinck
2003-01-31 13:05               ` info Robert J. Chassell
2003-01-31 20:22                 ` info Luc Teirlinck
2003-02-01  1:22                   ` info Robert J. Chassell
2003-01-29 21:17 ` info Richard Stallman
2003-01-30  0:31   ` info Luc Teirlinck
2003-01-30  1:43     ` info Luc Teirlinck
2003-01-30  2:03       ` info Luc Teirlinck
     [not found] <84smvc2guf.fsf@lucy.is.informatik.uni-duisburg.de>
2003-01-29 14:20 ` info Eli Zaretskii
2003-01-30 15:21   ` info Richard Stallman
2003-01-30 16:21     ` info Luc Teirlinck
2003-01-31 19:20       ` info Richard Stallman
2003-02-01  1:22         ` info Luc Teirlinck
2003-02-01 22:11           ` info Richard Stallman
2003-02-02  4:59             ` info Luc Teirlinck
2003-02-02  5:44             ` info Eli Zaretskii
2003-02-02  6:09               ` info Miles Bader
2003-02-03 14:40             ` info Stefan Monnier
2003-02-03 19:00               ` info Luc Teirlinck
2003-02-03 19:16                 ` info Luc Teirlinck
2003-02-03 19:19                   ` info Luc Teirlinck
2003-02-04 15:41                 ` info Richard Stallman
2003-02-05  6:08                   ` info Eli Zaretskii
2003-02-05 20:07                     ` info Luc Teirlinck
2003-02-09  4:45                       ` info Luc Teirlinck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200301291957.NAA25981@moose.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.