From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OI5NFPoAzGGPWgEAgWs5BA (envelope-from ) for ; Wed, 29 Dec 2021 07:32:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AKVMDvoAzGETSQEAG6o9tA (envelope-from ) for ; Wed, 29 Dec 2021 07:32:26 +0100 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 9D99AC1CB for ; Wed, 29 Dec 2021 07:32:25 +0100 (CET) Received: from localhost ([::1]:45704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2SVc-0006r6-HY for larch@yhetil.org; Wed, 29 Dec 2021 01:32:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2SSM-0006q5-HJ for emacs-orgmode@gnu.org; Wed, 29 Dec 2021 01:29:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36390) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2SSM-0004Wx-6S for emacs-orgmode@gnu.org; Wed, 29 Dec 2021 01:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2SSM-0006L0-3c for emacs-orgmode@gnu.org; Wed, 29 Dec 2021 01:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.0.90; deletechar distorts org-table Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Wed, 29 Dec 2021 06:29:02 +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: Ihor Radchenko Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.164075930124315 (code B ref 45915); Wed, 29 Dec 2021 06:29:02 +0000 Received: (at 45915) by debbugs.gnu.org; 29 Dec 2021 06:28:21 +0000 Received: from localhost ([127.0.0.1]:47936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2SRh-0006K7-9F for submit@debbugs.gnu.org; Wed, 29 Dec 2021 01:28:21 -0500 Received: from mail-pl1-f177.google.com ([209.85.214.177]:41618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2SRf-0006Js-M7 for 45915@debbugs.gnu.org; Wed, 29 Dec 2021 01:28:20 -0500 Received: by mail-pl1-f177.google.com with SMTP id z3so15199800plg.8 for <45915@debbugs.gnu.org>; Tue, 28 Dec 2021 22:28:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=5kNhxKNg07s90h7BEJ0i1AvBW9S3hl10zQlNUYX8Pso=; b=m58NkwVXDFYSkbZ8VcDPDqr7HrOTXvGqYX77pgSxvFShe8zooIAoP1Qj1NuEafLUVu RGnewcPLC8Lrn/OiUSEJFbupamztcswnX6wQ5gUywONop6FmwiQbM27p95wOrz5q9ZeM AMwLQEgY26gif7iuXEavdxnR2AzqiAScBh4VMgPQIhbeSlIHxfQuLzof6YGY0chD7sLF S/8nZFpJkuJVSAYH7kLClLWyNaP016TABXubZMJ7uJf0gAdyupVOvgNS3g+Bfdnxjh/+ O0wJ8k6Bq+Ew0uAI3FUrDgg2r5SNdcu++vYCVC/hjd3+utx7or7pgX12VOpdYpJafoYc t2ww== 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:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=5kNhxKNg07s90h7BEJ0i1AvBW9S3hl10zQlNUYX8Pso=; b=YVCSxgGslomKfPzjnosgQZnAguAdvK6K2buo5Nn4a4WZtA65tk7Ddlad1HrBI79Wal SChEBtcbiGda6fvAlb7jrE32hXtixW5i8r3mS9lc8AV8Wfz/aLAYKp3ADT3VCyvPmfMX bJLAvPbWklviPzPdw7d3Xa573HEM0g32QcwwOBALUU5rMACqTx03xwBteoWQmNGOGSH3 cwymX5BoWgX3erRuvtddOg5jDwDfith6K25IPWQM874Ldcg02cBQzr4ZKKMz6Qwc56qx dZ3zdi+RG/wktcYlTaZVP5IlZ6Mbvug0LH8tOrOiFKDyYUU7SdG9fY9BH0SYzBqy7q24 p8og== X-Gm-Message-State: AOAM532tK5QwFEaONrt7a6VMeKKoHJuL4HUxQoaKsa+LmoNpTAEImpU3 tu7CgYNd8SnBWTnmUGvnZT4= X-Google-Smtp-Source: ABdhPJwoYOGwCT3Xxg16Np/+qKoitiQpahAO77TIBEPOdf1/0GrTB1wGvjqTh/1PKHEiIZ/ryqnWHw== X-Received: by 2002:a17:902:bc88:b0:149:2032:6bcf with SMTP id bb8-20020a170902bc8800b0014920326bcfmr24957064plb.44.1640759293952; Tue, 28 Dec 2021 22:28:13 -0800 (PST) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id s30sm15373919pfw.195.2021.12.28.22.28.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Dec 2021 22:28:13 -0800 (PST) From: Tak Kunihiro X-Google-Original-From: Tak Kunihiro References: <20210116.170134.789950463868688311.tkk@misasa.okayama-u.ac.jp> <87im477xpk.fsf@gnu.org> <1AD1B9B7-5A15-4F86-9274-B04B83694C85@misasa.okayama-u.ac.jp> <877dc0sqm6.fsf@localhost> Date: Wed, 29 Dec 2021 15:28:10 +0900 In-Reply-To: <877dc0sqm6.fsf@localhost> (Ihor Radchenko's message of "Sun, 19 Dec 2021 20:53:21 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (darwin) MIME-Version: 1.0 Content-Type: text/plain 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: Tak Kunihiro , 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=1640759545; 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=5kNhxKNg07s90h7BEJ0i1AvBW9S3hl10zQlNUYX8Pso=; b=aIByBMKyQbZds9kyyU9ok5iZO+sY356oU6nfXHGc+HiKwu7wedwIkjqYia0NdsQXdFQDxh XfLQaE+0XJwcka08PNeE4balu6i7xt2zYBZYZ1bGdEWSY0Ztar9WW55DeBaZEAcu4QRhEX UAr874zt3IaPA233FNfIkcdVFr0O9DgCzTSBeNoyyitUXU67m7MSFoL9e+u3mu9CgLVNQ6 iJX7XWgEf/CCbOOmM4kA9gzp1jHfeVvoxLSlgIwWr+Rx0e3V7VAKzmHn2/HmVFDraLx4jV h4mWOtOEjGEgdxnYjqVcA1jmkXIAkpdQb9U1PJUqW+ypQ4kb5TsVSpsqpBbXng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640759545; a=rsa-sha256; cv=none; b=W5ikR8u5/JMP6m9Y4OD41da7LcskPxzwju6cr8RMHswdRQ/wKsPWctioNVKphYTom9ksOi AZ7Q/ecWFO5z4vzWpFqrRjyadkCEj9AxLKVOwrnVGXdymxpNR+7XyIAIXc4fASOQ/Bhvmt Id9KZP1gyp/lmkt9SLzG0wK+NgchJ3YsQBYz6LvYZwTkOT3f01rMPvAhhC0Szp62mWAjVq t80ps3iZjYps7cIXP+t26OrpuIXHTfrLEB5IMD85XLUsdztrKl3ThpqT/9jrD5ZAGYXeHP cp8N3RPK9Yir7Fw0WpT2pYqmB1/4W4cVKTJBQnGybbui2aJqB245Pik3knBLlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=m58NkwVX; 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: -0.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=m58NkwVX; 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: 9D99AC1CB X-Spam-Score: -0.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: KHxnsk/cW/1t Dear Ihor Thank you for the patch. I applied the patch to org-table.el on Emacs 28.0.90. And I still see the problem there. Is the problem solved by the patch on your environment? Tak Ihor Radchenko writes: > 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 > > 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))