unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Weiner <rsw@gnu.org>
To: "Clément Pit--Claudel" <clement.pit@gmail.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Improving describe-mode and discoverability
Date: Thu, 23 Jun 2016 15:11:44 -0400	[thread overview]
Message-ID: <CA+OMD9jmxN03NjR9cSuXObmqOhTPv6MqgF6=tm_s14cPuOzvGg@mail.gmail.com> (raw)
In-Reply-To: <576C2FE4.5000705@gmail.com>

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

On Thu, Jun 23, 2016 at 2:52 PM, Clément Pit--Claudel <clement.pit@gmail.com
> wrote:

> On 2016-06-23 14:46, Robert Weiner wrote:
> > On Thu, Jun 23, 2016 at 2:29 PM, Clément Pit--Claudel <
> clement.pit@gmail.com <mailto:clement.pit@gmail.com>> wrote:
> >
> >     ‘C-M-q’ (prog-indent-sexp)
> >           Indent the expression after point.
> >
> > One small formatting suggestion is to surround the key sequences
> > with curly braces, {C-M-q}.
>


> Thanks! Isn't the convention to surround them in `single quotes' (which
> get translated into ‘curly quotes’), though?
>

​I just find that quotes are not unique enough and do not set off key
bindings from other quoted items well.  Curly braces seem to do a better
job, that is all.
​


> By invoke the keybinding, do you mean browse to the source, or run the
> associated command? The latter would be undesirable, since most of these
> commands are going to be context-sensitive.
>

​You could make them do whatever you want.  The default is to invoke the
key binding when one mouse button is pressed (shift-mouse2) and to show the
key binding's full documentation ​when shift-mouse3 is pressed.  If a key
binding is not useful within the current buffer, simply don't select it for
execution.

And I like your idea.  You could also consider the formatting and
hyperlinking from M-x apropos as a reference point.

Bob

[-- Attachment #2: Type: text/html, Size: 2863 bytes --]

  reply	other threads:[~2016-06-23 19:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-23 18:29 Improving describe-mode and discoverability Clément Pit--Claudel
2016-06-23 18:46 ` Robert Weiner
2016-06-23 18:52   ` Clément Pit--Claudel
2016-06-23 19:11     ` Robert Weiner [this message]
2016-06-23 19:36       ` Clément Pit--Claudel
2016-06-23 20:26 ` Drew Adams
2016-06-23 21:50   ` Clément Pit--Claudel
2016-06-23 22:07     ` Drew Adams
2016-06-23 22:10       ` Dmitry Gutov
2016-06-23 22:27         ` Clément Pit--Claudel
2016-06-23 23:15           ` Drew Adams
2016-06-23 23:39             ` Clément Pit--Claudel
2016-06-24  0:05               ` Drew Adams
2016-06-24  2:59                 ` Clément Pit--Claudel
2016-07-06 17:47 ` John Wiegley

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='CA+OMD9jmxN03NjR9cSuXObmqOhTPv6MqgF6=tm_s14cPuOzvGg@mail.gmail.com' \
    --to=rsw@gnu.org \
    --cc=clement.pit@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rswgnu@gmail.com \
    /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).