unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Brady Montz <bradym@balestra.org>
Cc: xemacs-design@xemacs.org, emacs-devel@gnu.org
Subject: Re: The minibuffer vs. Dialog Boxes (Re: Making XEmacs be more up-to-date)
Date: 22 Apr 2002 09:54:09 -0700	[thread overview]
Message-ID: <aa1fdt$g59$2@main.gmane.org> (raw)
In-Reply-To: <87vgak30cw.fsf@tleepslib.sk.tsukuba.ac.jp>

"Stephen J. Turnbull" <stephen@xemacs.org> writes:

> >>>>> "Brady" == Brady Montz <bradym@balestra.org> writes:
> 
>     Brady> "Stephen J. Turnbull" <stephen@xemacs.org> writes:
> 
>     >> Hm, I use them all the time.  My only complaint is that we only
>     >> have mouse bindings for them.  I'd like to be able to type RET
>     >> on them.  Bonus points if C-x o TAB TAB RET Does The Right
>     >> Thing.
> 
>     Brady> I didn't say you didn't use them. Just that I haven't seen
>     Brady> many doc strings that take much advantage of them for the
>     Brady> "see also" purpose.
> 
>     Brady> Taking my running example of sort-lines, It's doc tells me
>     Brady> about it's config variable sort-fold-case, but I had to do
> 
> I would say that's exactly right for a docstring.

I agree.

>     Brady> a find-library sort to look at the source to find out about
>     Brady> sort-paragraphs, sort-pages, sort-fields, ...
> 
> That may be what _you_ resorted to, but besides Eli's suggestion of
> C-h a sort- RET, there's C-h C-f sort-lines RET (output appended
> below; taller than you would get on a 80x24 TTY, but the line
> containing "sort-paragraphs" would almost certainly appear).  My
> conclusion is that we don't need to redo all the docstrings, but
> rather to educate people better about the available help functions.

I don't think the doc strings need changing. When I piped in on this
thread, I viewed it as a thread about the UI, specifically for
beginers. I see very little in the UI which makes these various
options obvious, and the biggest single struggle I have helping emacs
beginners is helping them learn how to find out
information. Currently, people have suggested three ways to get to
sort-paragraph from sort-lines: open sort.el (my fallback approach),
apropos, or Info-elisp-ref, and putting xrefs in the doc strings.

Now, as for more xrefs in the docstring. Not good. Bad. For one thing,
they are too likely to get stale. For another, I think the
cross-referencing mechanism should be seperate from the little pieces
that are being referenced. I don't think it's a good interface if
there's a different way to get to the info node from the doc string
than vice versa. I don't think I ever suggested this, but I can see
why people might think that. My thinking more is that: I want xrefs,
docstrings have a few of those, but they don't do enough for that,
people writing those strings generally aren't putting xrefs in, and
that's probably for the best cause xrefs are something different.

Back to my example. So far, three people have suggested three
ways. First, not all of these ways work for every function (for
example, C-h C-f gnus just failed for me), nor for every situation
(for example, starting from a keybinding instead of a function name),
none of them are apparant from the UI (I can only judge from xemacs,
and the inability of the beginners I've known to find them).

Now, once I found sort-paragraph, it was a "duh I shoulda C-h a and
that would have found it." But the fact is that even after 14 years, I
hadn't ever seen it. And I know I've read the docs for sort-lines
multiple times. I don't think I'm unusually dense, and I've seen many
posts to various lists and newsgroups where people, even well known
long-time users, had been missing out on "easy to find" functionality.

One of the points from way back in this thread was that emacs isn't as
easy to use as it could be. I think things like this are one reason
why. Emacs can do a lot, and you can do most anything with it,
including finding out everything you want to about how it works. But
there's just this "friction" between emacs and the user, where things
that could be much more simple or obvious just require that extra bit
of work that can result in the user just not doing it.

-------

So, time to experiment with some code. I'd like to know any idioms
that people have for finding information. In particular, I'd like to
know the situations in which those idioms are used. For example,
knowing a fair bit about emacs, I generally start with my comfortable
turf which is a known similar function, then I apropos, search the
info pages or source, or a known phrase (generally with nice emacs
terms like buffers, regions, yank, that are stirring up so much
trouble elsewhere on this thread :)), and I google search. The more
familiar I am with a package, the less likely I am to start with the
info pages or menus.

Probably shouldn't email those suggestions on this thread. I'm keeping
this reply on this thread, but any replies to that last query should
probably go on their own thread or straight to me.

I think I'm viewing the documentation as a bit of a graph, with nodes
being what you know or where you are. Examples: the function name, the
key command, the phrase describing what you want, the info node, the
main source file for the package, a menu entry, the customize
page. And there's ways to get from each to the other. Which paths are
most common, which are the most useful, and which entry points are
most likely?

With any luck, an interactive tutorial similar to the ones they gave
me back in grade school about how to find stuff in the library will
suffice. 

-- 
 Brady Montz
 bradym@balestra.org

  parent reply	other threads:[~2002-04-22 16:54 UTC|newest]

Thread overview: 153+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4.3.2.7.2.20020417123512.0398e4c8@san-francisco.beasys.com>
2002-04-19 11:40 ` The minibuffer vs. Dialog Boxes (Re: Making XEmacs be more up-to-date) Per Abrahamsen
     [not found] ` <rjk7r3zzk4.fsf@zuse.dina.kvl.dk>
2002-04-19 16:27   ` Brady Montz
2002-04-19 16:55   ` Andy Piper
2002-04-20 17:27   ` Richard Stallman
     [not found] ` <m2g01rbjhi.fsf@sandman.balestra.org>
2002-04-19 20:28   ` Andy Piper
     [not found] ` <m2d6wvodpt.fsf@sandman.balestra.org>
2002-04-19 17:00   ` Andy Piper
2002-04-20 11:03   ` Terje Bless
2002-04-20 17:27   ` Richard Stallman
     [not found]   ` <200204201727.g3KHRTg01417@aztec.santafe.edu>
2002-04-21  2:06     ` Brady Montz
     [not found]     ` <m2wuv1yfdj.fsf@sandman.balestra.org>
2002-04-21  6:48       ` Eli Zaretskii
2002-04-21  7:35         ` Brady Montz
2002-04-21 15:31           ` Stephen J. Turnbull
     [not found]           ` <87vgal3w79.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-04-21 17:17             ` Brady Montz
2002-04-21 18:49             ` Eli Zaretskii
     [not found]             ` <m2d6wtx97q.fsf@sandman.balestra.org>
2002-04-21 19:09               ` Eli Zaretskii
2002-04-22  2:58               ` Stephen J. Turnbull
     [not found]               ` <87vgak30cw.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-04-22 16:54                 ` Brady Montz [this message]
     [not found]                 ` <m2elh7wu6m.fsf@sandman.balestra.org>
2002-04-22 19:40                   ` Eli Zaretskii
     [not found]                   ` <7263-Mon22Apr2002224014+0300-eliz@is.elta.co.il>
2002-04-22 20:46                     ` Brady Montz
2002-04-23  4:03                       ` Stephen J. Turnbull
2002-04-23  6:31                       ` Eli Zaretskii
     [not found]                       ` <87bscbysbm.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-04-23  6:41                         ` Eli Zaretskii
2002-04-23 16:21                         ` Brady Montz
     [not found]                         ` <m2r8l6v108.fsf@sandman.balestra.org>
2002-04-23 17:09                           ` Stephen J. Turnbull
     [not found]                           ` <878z7euysa.fsf@tleepslib.sk.tsukuba.ac.jp>
2002-04-23 18:20                             ` Brady Montz
2002-04-23 19:21                               ` Eli Zaretskii
     [not found]                               ` <7263-Tue23Apr2002222135+0300-eliz@is.elta.co.il>
2002-04-23 19:56                                 ` Brady Montz
2002-04-23 23:00                       ` Michael Toomim
2002-04-24  6:09                         ` Eli Zaretskii
     [not found]               ` <2950-Sun21Apr2002220958+0300-eliz@is.elta.co.il>
2002-04-22 16:56                 ` Brady Montz
2002-04-21  9:01       ` Per Abrahamsen
2002-04-21 20:21         ` Simon Josefsson
     [not found]         ` <ilusn5o950a.fsf@extundo.com>
2002-04-22  8:50           ` Per Abrahamsen
2002-04-22  9:00             ` Miles Bader
     [not found]             ` <buoy9fg85ve.fsf@mcspd15.ucom.lsi.nec.co.jp>
2002-04-22 10:44               ` Per Abrahamsen
2002-04-22 11:12               ` Simon Josefsson
     [not found]               ` <rjk7r0ovw9.fsf@zuse.dina.kvl.dk>
2002-04-22 12:36                 ` Miles Bader
2002-04-22 22:36           ` Richard Stallman
2002-04-23 20:10       ` Tutorials and Demos (Re: " Samuel Mikes
     [not found]       ` <15557.49069.908484.860930@marvin.cubane.com>
2002-04-24  4:37         ` Tutorials and Demos Robin S. Socha
     [not found] ` <4.3.2.7.2.20020419095654.00bee3c0@san-francisco.beasys.com>
2002-04-19 19:01   ` The minibuffer vs. Dialog Boxes (Re: Making XEmacs be more up-to-date) Brady Montz
2002-04-20 17:28   ` Richard Stallman
     [not found]   ` <200204201728.g3KHSDW01513@aztec.santafe.edu>
2002-04-20 21:45     ` Andy Piper
2002-04-21 15:54     ` William M. Perry
     [not found] ` <4.3.2.7.2.20020419132421.00bfa9d0@san-francisco.beasys.com>
2002-04-19 20:39   ` Brady Montz
2002-04-20 23:53   ` William M. Perry
     [not found] <f01050101-1013-195C612D544F11D6B75900039300CF5C@[192.168.1.7]>
2002-04-20 11:59 ` Eli Zaretskii
     [not found] ` <7263-Sat20Apr2002145929+0300-eliz@is.elta.co.il>
2002-04-20 12:22   ` Miles Bader
2002-04-20 14:04   ` Simon Josefsson
2002-04-20 15:30     ` Eli Zaretskii
2002-04-20 18:59     ` Andreas Schwab
     [not found]     ` <E16ywpH-0004J0-00@fencepost.gnu.org>
2002-04-20 19:48       ` Hrvoje Niksic
     [not found]       ` <sxs8z7inobz.fsf@florida.arsdigita.de>
2002-04-21  0:56         ` Terje Bless
2002-04-21  5:41         ` Miles Bader
2002-04-21  5:57           ` Hrvoje Niksic
     [not found]           ` <sxsu1q5twz5.fsf@florida.arsdigita.de>
2002-04-21  7:24             ` Miles Bader
     [not found]             ` <87adrxo6o7.fsf@tc-1-100.kawasaki.gol.ne.jp>
2002-04-21 12:21               ` Robert J. Chassell
     [not found]               ` <m16zGLO-000IiIC@localhost>
2002-04-21 13:35                 ` Miles Bader
2002-04-23 11:17                 ` Kai Großjohann
2002-04-21  6:28         ` Eli Zaretskii
2002-04-20 19:17   ` Michael Toomim
     [not found]   ` <3CC1BEB9.9020104@cs.berkeley.edu>
2002-04-20 19:28     ` Kyle Jones
2002-04-20 19:33     ` Nix
2002-04-20 19:51     ` Alfred M. Szmidt
     [not found]     ` <15553.49507.745094.604981@ice.wonderworks.com>
2002-04-21  0:04       ` Terje Bless
2002-04-21  3:24       ` Michael Toomim
     [not found]       ` <3CC230D1.2040106@cs.berkeley.edu>
2002-04-21  3:46         ` Miles Bader
     [not found]     ` <87elhap2r4.fsf@lgh163a.kemisten.nu>
2002-04-21  1:09       ` Terje Bless
2002-04-21 11:37         ` Alfred M. Szmidt
2002-04-21  3:28       ` Michael Toomim
     [not found]       ` <3CC231D2.6020709@cs.berkeley.edu>
2002-04-21 11:25         ` Alfred M. Szmidt
     [not found]         ` <873cxpz436.fsf@lgh163a.kemisten.nu>
2002-04-21 15:41           ` Terje Bless
2002-04-21 17:54             ` Alfred M. Szmidt
2002-04-21 17:08           ` Robert J. Chassell
     [not found]           ` <m16zKoy-000IioC@localhost>
2002-04-21 17:51             ` Alfred M. Szmidt
2002-04-20 23:48   ` Terje Bless
     [not found]   ` <87adrypnjn.fsf@tc-1-100.kawasaki.gol.ne.jp>
2002-04-20 19:33     ` Michael Toomim
     [not found]     ` <3CC1C275.6090009@cs.berkeley.edu>
2002-04-20 21:26       ` Kyle Jones
     [not found]       ` <15553.56593.407791.923999@ice.wonderworks.com>
2002-04-20 21:48         ` Andy Piper
2002-04-20 23:16         ` Michael Toomim
2002-04-21  6:24       ` Eli Zaretskii
2002-04-20 23:58     ` Terje Bless
2002-04-20 14:12 ` Serge Wroclawski
2002-04-20 16:28 ` Brady Montz
2002-04-20 18:51   ` Matt Tucker
     [not found] <4.3.2.7.2.20020419095141.00bf8580@san-francisco.beasys.com>
2002-04-20 15:44 ` Per Abrahamsen
2002-04-20 16:59   ` Andy Piper
2002-04-20 19:42   ` Hrvoje Niksic
     [not found]   ` <sxshem6nolr.fsf@florida.arsdigita.de>
2002-04-21  3:47     ` Michael Toomim
2002-04-21  8:44     ` Per Abrahamsen
     [not found] <f01050101-1013-2EBD099554C511D6B75900039300CF5C@[192.168.1.7]>
2002-04-21  1:45 ` Hrvoje Niksic
2002-04-21  6:38 ` Eli Zaretskii
     [not found] ` <sxssn5pvn7u.fsf@florida.arsdigita.de>
2002-04-21  2:10   ` Miles Bader
2002-04-21  3:21   ` Michael Toomim
2002-04-21  6:39   ` Eli Zaretskii
2002-04-21 15:11   ` Terje Bless
2002-04-21 17:17     ` Hrvoje Niksic
2002-04-21 19:02     ` Eli Zaretskii
     [not found]     ` <sxsbscdt1i3.fsf@florida.arsdigita.de>
2002-04-21 19:40       ` Michael Toomim
     [not found]       ` <3CC31593.1040001@cs.berkeley.edu>
2002-04-22  3:18         ` Stephen J. Turnbull
     [not found]     ` <7263-Sun21Apr2002220242+0300-eliz@is.elta.co.il>
2002-04-21 21:30       ` Terje Bless
2002-04-22  3:49         ` Stephen J. Turnbull
2002-04-22  6:04           ` Eli Zaretskii
2002-04-23 11:33           ` Kai Großjohann
     [not found]           ` <vafg01mk5tm.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de>
2002-04-23 12:28             ` Stephen J. Turnbull
2002-04-23 13:02               ` Stephen J. Turnbull
2002-04-23 13:34               ` Kai Großjohann
     [not found]               ` <vafg01mh72r.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de>
2002-04-23 14:09                 ` Stefan Monnier
2002-04-23 14:48               ` Eli Zaretskii
2002-04-23 23:23             ` Terje Bless
2002-04-23 22:27           ` Terje Bless
2002-04-22  6:02         ` Eli Zaretskii
2002-04-22  4:18       ` Miles Bader
2002-04-23  3:07     ` Andy Piper
2002-04-23 11:26     ` Kai Großjohann
     [not found]   ` <3CC23021.5090506@cs.berkeley.edu>
2002-04-21 15:19     ` Stephen J. Turnbull
     [not found] <87sn5q2mj4.fsf@amaterasu.srvr.nix>
2002-04-21  6:25 ` Eli Zaretskii
     [not found] <000601c1e8b5$2960f830$947ba8c0@TSUNAMI>
2002-04-21 10:57 ` Alex Schroeder
2002-04-21 14:48 ` Stephen J. Turnbull
     [not found] <Pine.SUN.3.91.1020421092955.2767F-100000@is>
2002-04-21 15:29 ` Terje Bless
2002-04-21 18:53   ` Eli Zaretskii
2002-04-23  3:07   ` Andy Piper
2002-04-23 18:42     ` Michael Matthew Toomim
     [not found]     ` <3CC5AB1D.5000004@cs.berkeley.edu>
2002-04-23 18:52       ` Hrvoje Niksic
2002-04-25  1:41       ` Andy Piper
2002-04-25  1:41       ` Andy Piper
2002-04-23 23:14     ` Terje Bless
     [not found] <000501c1e8b4$abd058c0$947ba8c0@TSUNAMI>
2002-04-21 15:38 ` Stephen J. Turnbull
     [not found] <buoelh89xik.fsf@mcspd15.ucom.lsi.nec.co.jp>
2002-04-22  6:06 ` Eli Zaretskii
     [not found] <Pine.LNX.4.44.0204221304080.3349-100000@yxa.extundo.com>
2002-04-22 12:33 ` Per Abrahamsen
2002-04-23 19:31 ` Richard Stallman
     [not found] <rj662jq5ef.fsf@zuse.dina.kvl.dk>
2002-04-22 12:59 ` Simon Josefsson
     [not found] <Pine.SUN.3.91.1020423093250.22959G-100000@is>
2002-04-23  7:01 ` Stephen J. Turnbull
2002-04-23 11:16   ` Eli Zaretskii
     [not found] <Pine.SUN.3.91.1020423173957.27983A@is>
2002-04-23 16:28 ` Stephen J. Turnbull
2002-04-23 18:38 ` Michael Matthew Toomim
2002-04-23 19:29   ` Eli Zaretskii
     [not found]   ` <2950-Tue23Apr2002222955+0300-eliz@is.elta.co.il>
2002-04-23 22:13     ` Terje Bless
2002-04-23 23:51     ` Michael Toomim
     [not found] <vafk7qyk64g.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de>
2002-04-23 23:21 ` Terje Bless
     [not found] ` <f01050101-1014-AC0D4356571711D6A31200039300CF5C@[192.168.1.7]>
2002-04-24  3:45   ` Sean MacLennan
2002-04-24 10:15   ` Kai Großjohann
2002-04-24 17:40   ` Jan D.
2002-04-24  0:08 Terje Bless
     [not found] <m2k7qymbos.fsf@sandman.balestra.org>
2002-04-24  6:06 ` Eli Zaretskii
2002-04-24 16:31   ` Brady Montz
     [not found] <f01050101-1014-BA54C556571711D6A31200039300CF5C@[192.168.1.7]>
2002-04-24  6:39 ` Eli Zaretskii
     [not found] <f01050101-1014-AEEDD9C8571711D6A31200039300CF5C@[192.168.1.7]>
2002-04-24  9:08 ` Stephen J. Turnbull
     [not found] <f01050101-1014-A82EBF4C571711D6A31200039300CF5C@[192.168.1.7]>
2002-04-24  0:43 ` Robert J. Chassell
2002-04-24  6:26 ` Eli Zaretskii
2002-04-24  9:23 ` Michael Toomim
     [not found] <Pine.SUN.3.91.1020424090919.4915F-100000@is>
2002-04-25  2:04 ` Hrvoje Niksic
     [not found] <000401c1ebfa$5bc43060$947ba8c0@TSUNAMI>
2002-05-01  8:33 ` Michael Toomim

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='aa1fdt$g59$2@main.gmane.org' \
    --to=bradym@balestra.org \
    --cc=emacs-devel@gnu.org \
    --cc=xemacs-design@xemacs.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 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).