From: <c.buhtz@posteo.jp>
To: Emacs-orgmode@gnu.org
Subject: SHIFT-TAB not working in Windows-SSH-shell or Debian-tty (sometimes "M-[ ~ is undefined")
Date: Sun, 31 Oct 2021 15:25:12 +0000 [thread overview]
Message-ID: <4Hj0ND6KM3z9rxQ@submission02.posteo.de> (raw)
X-Post: https://github.com/daviwil/emacs-from-scratch/issues/67
Hello together.
# Introduction
I am quite new to emacs and building my init.el based the "Emacs from
Scratch" (by System Crafter) videos. In org-mode I experience some wired
behavior of the SHIFT-TAB key when (un)folding headings in an
.org file.
# Problem
In some cases SHIFT-TAB creates a M-[ ~ is undefined message or simply
does not work without an error message.
# System
Debian 11
GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24,
cairo version 1.16.0) of 2021-03-28, modified by Debian
Copyright (C) 2020 Free Software Foundation, Inc.
# Minimal init.el
This can be used for reproduction.
;; === Package setup ===
(require 'package)
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")
("elpa" . "https://elpa.gnu.org/packages/")))
(package-initialize)
;; === use-package ==
;; use-package to simplify the config file
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
(require 'use-package)
(setq use-package-always-ensure 't)
(use-package org)
# Description of the behavior in multiple cases
## Windows SSH-terminal
Form a Windows 10 client and its usual command prompt (not PowerShell,
not Terminal.app) I log into my machine via SSH and (of course) use
emacs in none-gui mode then. TAB works. But SHIFT-TAB produce the M-[ ~
is undefined error.
## A tty terminal (Debian 11)
Here TAB works. But S-TAB does not. The latter does not produce any
error message. There is simply no reaction on that button.
## Cases in where it is NOT reproducable
- Gui mode in XFCE session on Debian 11
- Terminal emulator (terminator) in a XFCE session on Debian 11
- SSH terminal from Debian 11
## Sidenotes
There is a stackoverflow QA for this:
https://stackoverflow.com/q/3518846 The solution there does not work
for me (Emacs from Debian 11).
This problem is totally out of my scope of understanding.
Thanks in advance
next reply other threads:[~2021-10-31 15:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-31 15:25 c.buhtz [this message]
2021-10-31 21:16 ` SHIFT-TAB not working in Windows-SSH-shell or Debian-tty (sometimes "M-[ ~ is undefined") Tim Cross
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=4Hj0ND6KM3z9rxQ@submission02.posteo.de \
--to=c.buhtz@posteo.jp \
--cc=Emacs-orgmode@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 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).