GNU bug report logs - #23456
25.0.93; Explicitely bind <backtab> to 'table-backward-cell'

Previous Next

Package: emacs;

Reported by: Tino Calancha <f92capac <at> gmail.com>

Date: Thu, 5 May 2016 05:43:02 UTC

Severity: minor

Tags: patch

Found in version 25.0.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23456 in the body.
You can then email your comments to 23456 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23456; Package emacs. (Thu, 05 May 2016 05:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tino Calancha <f92capac <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 05 May 2016 05:43:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tino Calancha <f92capac <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.93; Explicitely bind <backtab> to 'table-backward-cell'
Date: Thu, 5 May 2016 14:44:31 +0900 (JST)
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 sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 07 May 2016 08:22:01 GMT) Full text and rfc822 format available.

Notification sent to Tino Calancha <f92capac <at> gmail.com>:
bug acknowledged by developer. (Sat, 07 May 2016 08:22:02 GMT) Full text and rfc822 format available.

Message #10 received at 23456-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tino Calancha <f92capac <at> gmail.com>
Cc: 23456-done <at> debbugs.gnu.org
Subject: Re: bug#23456: 25.0.93;
 Explicitely bind <backtab> to 'table-backward-cell'
Date: Sat, 07 May 2016 11:21:44 +0300
> Date: Thu, 5 May 2016 14:44:31 +0900 (JST)
> From: Tino Calancha <f92capac <at> gmail.com>
> 
> ;; 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)

Thanks, pushed to master.

Please in the future provide a ChangeLog style log message as well.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 04 Jun 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.