all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <f92capac@gmail.com>
To: 23456@debbugs.gnu.org
Subject: bug#23456: 25.0.93; Explicitely bind <backtab> to 'table-backward-cell'
Date: Thu, 5 May 2016 14:44:31 +0900 (JST)	[thread overview]
Message-ID: <alpine.LRH.2.20.1605051442320.21594@calancha-ilc.kek.jp> (raw)


The issue only happen wen running Emacs without graphics (i.e. inside 
terminal)

emacs -Q -nw --eval="(require 'table)"
;; Notice the option '-nw'
;; Insert following text in *scratch* buffer:

  +-------------------------------+----------------------------------+
  |`table-insert'                 |Insert a table consisting of grid |
  |                               |of cells by specifying the number |
  |                               |of COLUMNS, number of ROWS, cell  |
  |                               |WIDTH and cell HEIGHT.            |
  +-------------------------------+----------------------------------+
  |`table-insert-row'             |Insert row(s) of cells before the |
  |                               |current row that matches the      |
  |                               |current row structure.            |
  +-------------------------------+----------------------------------+
  |`table-insert-column'          |Insert column(s) of cells before  |
  |                               |the current column that matches   |
  |                               |the current column structure.     |
  +-------------------------------+----------------------------------+
M-x table-recognize RET
;; Shift + TAB shows error:
;; <backtab> is undefined
;; When running Emacs with graphics the binding already exists.


In GNU Emacs 25.0.93.9 (x86_64-pc-linux-gnu, GTK+ Version 2.24.30)
  of 2016-05-05 built on calancha-pc
Repository revision: 1a4127dbd625ea64f535b3bd09844a99161290a6
Windowing system distributor 'The X.Org Foundation', version 11.0.11803000
System Description:	Debian GNU/Linux unstable (sid)

;; Suggested patch:

diff --git a/lisp/textmodes/table.el b/lisp/textmodes/table.el
index 653db83..49411f4 100644
--- a/lisp/textmodes/table.el
+++ b/lisp/textmodes/table.el
@@ -936,6 +936,7 @@ table-cell-bindings
      ([(shift backtab)]	. table-backward-cell) ; for HPUX console keyboard
      ([(shift iso-lefttab)]    . table-backward-cell) ; shift-tab on a microsoft natural keyboard and redhat linux
      ([(shift tab)]	. table-backward-cell)
+    ([backtab]          . table-backward-cell) ; for terminals (e.g. xterm)
      ([return]		. *table--cell-newline)
      ([(control m)]	. *table--cell-newline)
      ([(control j)]	. *table--cell-newline-and-indent)





             reply	other threads:[~2016-05-05  5:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-05  5:44 Tino Calancha [this message]
2016-05-07  8:21 ` bug#23456: 25.0.93; Explicitely bind <backtab> to 'table-backward-cell' Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=alpine.LRH.2.20.1605051442320.21594@calancha-ilc.kek.jp \
    --to=f92capac@gmail.com \
    --cc=23456@debbugs.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.