emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Free up C-c SPC/org-table-blank-field?
Date: Wed, 03 Feb 2021 01:16:29 -0500	[thread overview]
Message-ID: <875z39y8ua.fsf@kyleam.com> (raw)
In-Reply-To: <87im7k51u0.fsf@ericabrahamsen.net>

Eric Abrahamsen writes:

> Hi all,
>
> The C-c SPC keybinding is pretty prime property (it's also, according to
> Emacs conventions, meant to be reserved for the user, though I know
> that's already out the window with Org),

Based on my reading of (info "(elisp)Key Binding Conventions"), I think
`C-c SPC` doesn't fall into the user's `C-c LETTER' territory but
instead into the this group:

  Sequences consisting of ‘C-c’ followed by any other ASCII
  punctuation or symbol character are allocated for minor modes.
  Using them in a major mode is not absolutely prohibited, but if you
  do that, the major mode binding may be shadowed from time to time
  by minor modes.

But, either way, I don't disagree with what you say next.

> and it's currently bound to `org-table-blank-field', which is useless
> unless you... happen to be in a table. I don't use tables often (or
> blank fields when I do), which means this binding is effectively just
> removed.
>
> What do people think about making it a no-op when not on a table
> (letting it fall through to the global map), or putting it in a keymap
> text property on tables, or otherwise not hogging the binding?

In my view, the first would be fine, and the second also unless someone
chimes in with a technical reason not to.  For the last, perhaps `C-c
C-SPC' would be an okay replacement, though I'd assume that would break
some users' muscle memory in a surprising and unpleasant way.


  reply	other threads:[~2021-02-03  6:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25 18:05 Eric Abrahamsen
2021-02-03  6:16 ` Kyle Meyer [this message]
2021-02-03  6:26   ` Tim Cross
2021-02-05  3:48   ` Eric Abrahamsen
2021-02-05  4:45     ` Kyle Meyer
2021-02-05  5:32     ` Tim Cross
2021-02-05  9:41       ` Christian Moe
2021-02-05 10:44         ` Carsten Dominik
2021-02-05 18:33           ` Eric Abrahamsen
2021-02-11  9:45             ` Carsten Dominik
2021-03-04 19:49               ` Eric Abrahamsen
2021-04-28  3:50                 ` Bastien
2021-05-01 21:09                   ` Eric Abrahamsen

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.orgmode.org/

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

  git send-email \
    --in-reply-to=875z39y8ua.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    --subject='Re: Free up C-c SPC/org-table-blank-field?' \
    /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

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).