emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: Ingo Lohmar <ingo.lohmar@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-mode binds C-c C-TAB, which seems illegal [9.5 (9.5-g0a86ad @ /home/il/.config/emacs/elpa/org-9.5/)]
Date: Thu, 18 Nov 2021 00:17:25 +0100	[thread overview]
Message-ID: <87fsrupe2i.fsf@gmail.com> (raw)
In-Reply-To: <87r1bezdiv.fsf@kenko.localhost.com> (Ingo Lohmar's message of "Wed, 17 Nov 2021 21:19:04 +0000")

Ingo Lohmar <ingo.lohmar@posteo.net> writes:

> It seems the change was introduced in
> 565361eb698b0b39c1d823ad1565f5bd88fa2034 and persists.
>
> Can people actually enter "C-c C-TAB" into their emacs (how?), or has
> everybody has just bound another key in their config?

Mmm, I can't seem to input C-c C-TAB either.  IIUC (but maybe I don't),
this makes sense because

- Emacs translates the function key <tab> into the control character
  TAB=^I when no modifiers are added.  I.e. this can be triggered by
  hitting <tab> or <control>+i:

> (local-set-key (kbd "TAB") (lambda () (interactive) (message "TAB-ish!")))

- But Emacs can't translate <control>+<tab> into "C-TAB", because C-TAB
  means "control+control+i", which I guess is not representable at the
  key code level or something?  Hopefully someone can explain this
  better.

(?\C-\t does return something though, and it's consistent with what (kbd
"C-TAB") returns, so I guess there's no reason why Emacs couldn't
translate C-<tab> to C-TAB like it does <tab> to TAB? 🤷)

FWIW, however you decide to fix this, I'd be very grateful if org-cycle
remained bound to TAB, since I'm one of those weirdos who actually hits
<control>+i for TAB instead of <tab>…


  reply	other threads:[~2021-11-17 23:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01 21:16 [BUG] org-mode binds C-c C-TAB, which seems illegal [9.5 (9.5-g0a86ad @ /home/il/.config/emacs/elpa/org-9.5/)] Ingo Lohmar
2021-11-17 21:19 ` Ingo Lohmar
2021-11-17 23:17   ` Kévin Le Gouguec [this message]
2021-11-18  7:43     ` Timothy
2021-11-18 10:12       ` Ihor Radchenko
2021-11-18 17:08   ` Max Nikulin
2021-11-19 15:46   ` Daniel Fleischer
2021-12-10  9:35 ` Nicolas Goaziou

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=87fsrupe2i.fsf@gmail.com \
    --to=kevin.legouguec@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ingo.lohmar@posteo.net \
    /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/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).