unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Discouraging C-g in the same way C-h is discouraged
@ 2011-09-16 19:50 Edward O'Connor
  2011-09-16 23:11 ` Deniz Dogan
  2011-09-17 19:50 ` Chong Yidong
  0 siblings, 2 replies; 3+ messages in thread
From: Edward O'Connor @ 2011-09-16 19:50 UTC (permalink / raw)
  To: emacs-devel

Hi,

(elisp)Key Binding Conventions contains the following text, discouraging
mode authors from binding C-h:

   * Don't bind `C-h' following any prefix character (including `C-c').
     If you don't bind `C-h', it is automatically available as a help
     character for listing the subcommands of the prefix character.

I think it should similarly discourage authors from binding C-g, for the
similar reason that users might often begin a key sequence and then want
to stop before completing the sequence. Some users hit ESC in such a
situation, while others hit C-g.

Thoughts?


Ted



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

* Re: Discouraging C-g in the same way C-h is discouraged
  2011-09-16 19:50 Discouraging C-g in the same way C-h is discouraged Edward O'Connor
@ 2011-09-16 23:11 ` Deniz Dogan
  2011-09-17 19:50 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Deniz Dogan @ 2011-09-16 23:11 UTC (permalink / raw)
  To: emacs-devel

On 2011-09-16 21:50, Edward O'Connor wrote:
> Hi,
>
> (elisp)Key Binding Conventions contains the following text, discouraging
> mode authors from binding C-h:
>
>     * Don't bind `C-h' following any prefix character (including `C-c').
>       If you don't bind `C-h', it is automatically available as a help
>       character for listing the subcommands of the prefix character.
>
> I think it should similarly discourage authors from binding C-g, for the
> similar reason that users might often begin a key sequence and then want
> to stop before completing the sequence. Some users hit ESC in such a
> situation, while others hit C-g.
>

I thought it said that somewhere already.  Does it not?



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

* Re: Discouraging C-g in the same way C-h is discouraged
  2011-09-16 19:50 Discouraging C-g in the same way C-h is discouraged Edward O'Connor
  2011-09-16 23:11 ` Deniz Dogan
@ 2011-09-17 19:50 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2011-09-17 19:50 UTC (permalink / raw)
  To: Edward O'Connor; +Cc: emacs-devel

"Edward O'Connor" <hober0@gmail.com> writes:

> I think it should similarly discourage authors from binding C-g, for the
> similar reason that users might often begin a key sequence and then want
> to stop before completing the sequence. Some users hit ESC in such a
> situation, while others hit C-g.

I added an item for this.  Thanks.



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

end of thread, other threads:[~2011-09-17 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-16 19:50 Discouraging C-g in the same way C-h is discouraged Edward O'Connor
2011-09-16 23:11 ` Deniz Dogan
2011-09-17 19:50 ` Chong Yidong

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).