all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Alan Mackenzie'" <acm@muc.de>
Cc: 13141@debbugs.gnu.org, emacs-devel@gnu.org
Subject: RE: please review bug #13141
Date: Sun, 20 Jan 2013 20:24:29 -0800	[thread overview]
Message-ID: <B48D5A3E19FB4C899803BB96EE1A604B@us.oracle.com> (raw)
In-Reply-To: <1543326591D441B1ABA599BE163B141E@us.oracle.com>

[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]

> http://www.emacswiki.org/emacs-en/emacsbug%2b.el
>
> And I agree with Dmitry's additional suggestion that we could 
> provide a command or commands to insert individual information
> items, e.g., the same items a user can choose for the default
> behavior using the option:
> 
> * version info
> * important settings list
> * major mode
> * minor modes
> * recent input
> * recent messages
> * load-path shadows
> * features

I've done that now in the standalone version at the URL above.  The help buffer
describes the available keys (commands) for inserting info.  All such keys are
on prefix C-o.

Only those keys corresponding to info that is not automatically inserted,
according to the option value, are bound to keys.  And the help lists only those
that are currently bound.

E.g., if a user customizes the option to include no info by default, then a
command is bound for each info type, and all of those keys are listed in the
help, as shown in the attached screenshot.  When no info is inserted by default,
there is also a command/key to insert everything.

At the other extreme, by default everything is inserted automatically, so no
insertion commands are bound to keys and nothing is said in the help about the
commands.  The help is the same as in vanilla Emacs today, in that case, except
that it mentions the option that you can customize, with a link for that.

In between these extremes, the help shows keys for any info that did not get
inserted automatically.  It is very easy to add any type of info.

It's hard for me to believe that some people are still suggesting we require
users to answer a guantlet of questions about what info they want to provide.
That is so barbaric it makes my head spin.

This is the right approach, IMO:

Pick a good set of default info types to insert automatically (e.g., all of
them, today).  Then tell users, in the displayed help, that they can customize
an option to not include, by default, any of the info types they want.  If they
have customized that option to not include some types of info, then mention, in
the help, the keys that insert that missing info.

What could be simpler and more flexible?

[-- Attachment #2: throw-emacsbug-help.png --]
[-- Type: image/png, Size: 34408 bytes --]

[-- Attachment #3: throw-emacsbug-help-default.png --]
[-- Type: image/png, Size: 25336 bytes --]

  reply	other threads:[~2013-01-21  4:24 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-19 23:10 please review bug #13141 Drew Adams
2013-01-19 23:20 ` bug#13141: " Alan Mackenzie
2013-01-19 23:20 ` Alan Mackenzie
2013-01-19 23:59   ` Drew Adams
2013-01-20  0:12     ` bug#13141: " Xue Fuqiao
2013-01-20  0:12     ` Xue Fuqiao
2013-01-20  7:16     ` bug#13141: " Stephen J. Turnbull
2013-01-20  7:16     ` Stephen J. Turnbull
2013-01-20 10:33       ` bug#13141: " Xue Fuqiao
2013-01-20 10:33       ` Xue Fuqiao
2013-01-20 17:08       ` Eli Zaretskii
2013-01-20 17:08       ` bug#13141: " Eli Zaretskii
2013-01-20 18:41       ` Richard Stallman
2013-01-20 21:21         ` Drew Adams
2013-01-21  1:03         ` bug#13141: " Dmitry Gutov
2013-01-21  1:03         ` Dmitry Gutov
2013-01-21  3:02           ` Stephen J. Turnbull
2013-01-21  3:26           ` Stephen J. Turnbull
2013-01-21  2:39         ` Stephen J. Turnbull
2013-01-21  2:39         ` Stephen J. Turnbull
2013-01-20 10:50     ` bug#13141: " Alan Mackenzie
2013-01-20 10:50     ` Alan Mackenzie
2013-01-20 12:02       ` bug#13141: " Xue Fuqiao
2013-01-20 12:02       ` Xue Fuqiao
2013-01-20 20:27         ` Glenn Morris
2013-01-21  2:52           ` Stephen J. Turnbull
2013-01-20 17:40       ` Drew Adams
2013-01-21  4:24         ` Drew Adams [this message]
2013-01-21  4:24         ` bug#13141: " Drew Adams
2013-01-20 17:40       ` Drew Adams
2013-01-19 23:59   ` Drew Adams
2013-01-19 23:21 ` Drew Adams
2013-01-19 23:21 ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2013-01-21  7:18 Andrey Paramonov
2013-01-21 15:05 ` Drew Adams
2013-01-21 15:26   ` Harald Hanche-Olsen
2013-01-21 17:29     ` Eli Zaretskii
2013-01-21 22:20     ` Drew Adams
2013-01-22  4:15       ` Xue Fuqiao
2013-01-22  6:40         ` Drew Adams
2013-01-22  7:51           ` Xue Fuqiao
2013-01-22 15:10             ` Drew Adams

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=B48D5A3E19FB4C899803BB96EE1A604B@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=13141@debbugs.gnu.org \
    --cc=acm@muc.de \
    --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.