From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mFW2FVArv2GOMgEAgWs5BA (envelope-from ) for ; Sun, 19 Dec 2021 13:53:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QP1vEVArv2HkLwAAbx9fmQ (envelope-from ) for ; Sun, 19 Dec 2021 12:53:36 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E9CD52142F for ; Sun, 19 Dec 2021 13:53:35 +0100 (CET) Received: from localhost ([::1]:34110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myvh1-0001y5-6g for larch@yhetil.org; Sun, 19 Dec 2021 07:53:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myvgU-0001wM-9S for emacs-orgmode@gnu.org; Sun, 19 Dec 2021 07:53:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1myvgU-0006ea-0z for emacs-orgmode@gnu.org; Sun, 19 Dec 2021 07:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1myvgT-000557-T9 for emacs-orgmode@gnu.org; Sun, 19 Dec 2021 07:53:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.0.90; deletechar distorts org-table Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Sun, 19 Dec 2021 12:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: Tak Kunihiro Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.163991832619467 (code B ref 45915); Sun, 19 Dec 2021 12:53:01 +0000 Received: (at 45915) by debbugs.gnu.org; 19 Dec 2021 12:52:06 +0000 Received: from localhost ([127.0.0.1]:45149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myvfa-00053u-3u for submit@debbugs.gnu.org; Sun, 19 Dec 2021 07:52:06 -0500 Received: from mail-pj1-f42.google.com ([209.85.216.42]:53920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myvfX-00053B-E9 for 45915@debbugs.gnu.org; Sun, 19 Dec 2021 07:52:05 -0500 Received: by mail-pj1-f42.google.com with SMTP id mj19so6722745pjb.3 for <45915@debbugs.gnu.org>; Sun, 19 Dec 2021 04:52:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=H6b+hBdmxIVdfgK9T7oJV2CfhsYgZkJIB9SECV8wYN0=; b=IQkh2rRjI45GUeihgmmHqg8pa4ArHDDaYqkmkN2e7VtyUHZmlTPeRWmho2HkByklRB 1TnEv23CyOe0L7kS1rds6pkrhDbyZsm188BiqUO6Ea9i7vpI6E+z5MVziavqflho3oGV N1Rua9i4Vdpn873lyd9ULP8+uBWI2aaQouHBcEVvBDnPeDAc8AgGxJfetjD03jq79xKL mcsjjMgLFOWZqKZoG0LeHtPmt2Tu6LUdTP+r5O1zm4kXgLX/BSpiNTSib2HRPXHyOoLR oRYyCnQgZ7zxXwy2uI1ZS0Q+U31yaoZsw7irFFR9MlEIBxXjyD+zxbFdD1OU66a7hk1g YVEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=H6b+hBdmxIVdfgK9T7oJV2CfhsYgZkJIB9SECV8wYN0=; b=XMpl7ErLR/1CDGLWdaacKexleYNaui8lp9u8+1W4SV8irUTuR6r6drXkEIdJlN8H24 dD+Q3caNnNrLDKKu9V/s/G9YByaUvImcTM89CwgFvs0gz00bkHFTGLhMiRUp4nw/oJqn xh9ehCj3IzsFSu+MLnWgSSOjPOkE8OAnMIQ1fvsVvadiQpMag6/kuOJGJc3/6w+27wxR 8/tGeL/53phCQde+47Yj+bTbJK1ZXC6IunniuLuMIIoJBjPsUCK28cpQ8eSUCjyJUtvA 6LRT87WM5AcO7bBW/vq9EgSCCIW1A40OKvLTllTABfbblSVw0JtA5htW7cgHRNlqBpI3 nLRQ== X-Gm-Message-State: AOAM532yUS25BuaK9KLL39mBSd5/Ngxvsr00BDlOsYsn+ggjqjrPmclh VaVNTEgERM5C671Pt7Hqapw= X-Google-Smtp-Source: ABdhPJyMl2DQYzMQK/SJXKkpyfZG6Ac2eg65xrMieq+60mCGUUjb5aTyobUMDWq6W0NaBojB0QJbvw== X-Received: by 2002:a17:90b:4d8c:: with SMTP id oj12mr14492390pjb.100.1639918317517; Sun, 19 Dec 2021 04:51:57 -0800 (PST) Received: from localhost ([217.138.212.194]) by smtp.gmail.com with ESMTPSA id nk23sm9033646pjb.16.2021.12.19.04.51.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Dec 2021 04:51:56 -0800 (PST) From: Ihor Radchenko In-Reply-To: References: <20210116.170134.789950463868688311.tkk@misasa.okayama-u.ac.jp> <87im477xpk.fsf@gnu.org> <1AD1B9B7-5A15-4F86-9274-B04B83694C85@misasa.okayama-u.ac.jp> Date: Sun, 19 Dec 2021 20:53:21 +0800 Message-ID: <877dc0sqm6.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639918416; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=H6b+hBdmxIVdfgK9T7oJV2CfhsYgZkJIB9SECV8wYN0=; b=LwB4Hs/8+IryCQA8q/IJtXkInR71BSC9qp5HTINgYq5XLqjQbJtUFT09kGw1bx8NOiJM4/ kKmOrXPc5Wgt4YteRlc7PD5tgvzUfZoqwgZLiKwSclflzlZjmWlOO0nYBJjHDQI1fhp58f tnKObzWSGDVtQaOLWRGG06VPGlUr6pVZbii5HhyJxTIq2/nwor/jIfyf78s7EPIOddXG5L 3SV3hQYZFaUK52ms3wYg0ujY0MJufB9bzQdhM010Q72Q66K7XojiHVPosnAzEt0LHaoG5+ FMFenkxAj/a8dW1wjIB3DkYikZYB40eahp5fNq3lxdyO0DkLVcxM13RR0eJo5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639918416; a=rsa-sha256; cv=none; b=YFBfnLJvG7lHs/CR5SikGZ9jvLwK50brgzUDcyIq5/OhX+LlDzEYnVezY0+sB+BV91iGLy /bze32y5WcK6C1P0vAz8lLTJvIdP1mLPREL0b4PVD6IzqZV8noU0Ah+OcgXAmn8wrXeV8u XuwYcocIFu3UFYfzLCk/s7M8TDpbdoK01is7ZhiqgQXygeKCHVyHgpbzmeNOwRHPKBlXe8 tZp6NnRXqFBkG3Qh4Y6mNro/X9801FHYgmPeM0F3RsrkmMh+/kUZBvg8HzbjtksAccCzRt VL/C6KWyLhv00OrLzD2V+vIr1PvupoJ6GYkkT8KChzw2Hu/3a7P8VdTgxD1TGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IQkh2rRj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IQkh2rRj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E9CD52142F X-Spam-Score: -1.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: dkMe9rrUMv92 --=-=-= Content-Type: text/plain Tak Kunihiro writes: > I confirm that there still is the problem with org-table on Emacs > 28.0.90 pretest with org-version 9.5.1. > > Here is a recipe to reproduce the problem. I still have to stick to > 26.3. I was able to reproduce. Can you try the attached fix? Best, Ihor --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-org-table.el-Fix-orgtbl-mode-not-remapping-delete-ke.patch >From 7b1a7d43e090292b6bd821c65a644f8c599b2044 Mon Sep 17 00:00:00 2001 Message-Id: <7b1a7d43e090292b6bd821c65a644f8c599b2044.1639918362.git.yantar92@gmail.com> From: Ihor Radchenko Date: Sun, 19 Dec 2021 20:49:54 +0800 Subject: [PATCH] org-table.el: Fix orgtbl-mode not remapping delete key * lisp/org-table.el (orgtbl-setup): Remap `delete-forward-char' in addition to `deleta-char'. The former is called in Emacs >26. Fixes https://orgmode.org/list/1AD1B9B7-5A15-4F86-9274-B04B83694C85@misasa.okayama-u.ac.jp --- lisp/org-table.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-table.el b/lisp/org-table.el index 1546cd563..0560e32a1 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -5290,6 +5290,7 @@ (defun orgtbl-setup () (org-remap orgtbl-mode-map 'self-insert-command 'orgtbl-self-insert-command 'delete-char 'org-delete-char + 'delete-forward-char 'org-delete-char 'delete-backward-char 'org-delete-backward-char) (org-defkey orgtbl-mode-map "|" 'org-force-self-insert)) t)) -- 2.32.0 --=-=-=--