From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Subject: Re: Bug: orgtbl-self-insert-command does not overwrite whitespace [8.3.4 (8.3.4-50-g83e373-elpa @ /home/alex/.emacs.d/elpa/org-20160509/)] Date: Fri, 20 May 2016 14:26:17 -0600 Message-ID: <87futcbhna.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3t8X-0003j4-TK for emacs-orgmode@gnu.org; Fri, 20 May 2016 18:43:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3r0F-0000UQ-RH for emacs-orgmode@gnu.org; Fri, 20 May 2016 16:26:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:41104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3r0F-0000UA-K2 for emacs-orgmode@gnu.org; Fri, 20 May 2016 16:26:35 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b3r0A-0006yy-Mw for emacs-orgmode@gnu.org; Fri, 20 May 2016 22:26:30 +0200 Received: from s01061859339e9903.ss.shawcable.net ([174.2.107.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 May 2016 22:26:30 +0200 Received: from agrambot by s01061859339e9903.ss.shawcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 May 2016 22:26:30 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Cc: mail@nicolasgoaziou.fr Alex G writes: >> > Backspace works as expected, however. >> I'm afraid that as of org-20160516 on ELPA, backspace also does not >> overwrite whitespace. > > Oh, it seems like backspace works fine in text modes like > fundamental-mode and message-mode, but not prog-derived modes. I'd say > that's another bug. > > A git bisect says that this commit by Bastien Guerry is the culprit: > f0a64ab3b5c46c8c7b1c838de2ed20511357e43d > > Does anyone know why it also affects orgtbl-self-insert-command? I believe I have figured out the issue for both problems: a) orgtbl-self-insert-command wasn't updated along with org-self-insert-command in the commit 73a5c27cc1751721344886e7518f20ff382265b5. Changing it accordingly fixes the issue. b) Backspace doesn't work in prog-derived modes as orgtbl-mode seems to just remap delete-backward-char to orgtbl, but in prog modes backspace is bound to backward-delete-char-untabify. Perhaps something extra should be done about backspace in orgtbl-mode instead of just a simple remapping?