From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 27.1; deletechar distorts org-table Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Jan 2021 08:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45915@debbugs.gnu.org Cc: tkk@misasa.okayama-u.ac.jp X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161078417629168 (code B ref -1); Sat, 16 Jan 2021 08:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jan 2021 08:02:56 +0000 Received: from localhost ([127.0.0.1]:42343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0gXw-0007aO-FR for submit@debbugs.gnu.org; Sat, 16 Jan 2021 03:02:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:59576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0gXr-0007aC-GM for submit@debbugs.gnu.org; Sat, 16 Jan 2021 03:02:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0gXr-0006g5-9m for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2021 03:02:51 -0500 Received: from mx0b-00602c01.pphosted.com ([205.220.174.65]:35088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0gXp-0002hI-61 for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2021 03:02:51 -0500 Received: from pps.filterd (m0238151.ppops.net [127.0.0.1]) by mx0a-00602c01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10G7xOow026991 for ; Sat, 16 Jan 2021 17:01:42 +0900 Received: from mlsec.cc.okayama-u.ac.jp (mlsec.cc.okayama-u.ac.jp [150.46.12.254]) by mx0a-00602c01.pphosted.com with ESMTP id 363h2207vg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 16 Jan 2021 17:01:42 +0900 Received: from jlsv301.okayama-u.ac.jp (unknown [150.46.12.5]) by mlsec.cc.okayama-u.ac.jp with smtp id 4f03_2af6_aa9ff5be_dcf2_4158_88a1_86b550affb38; Sat, 16 Jan 2021 17:01:34 +0900 Received: from localhost (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by jlsv301.okayama-u.ac.jp (Postfix) with ESMTPSA id A2BAB760084; Sat, 16 Jan 2021 17:01:34 +0900 (JST) Date: Sat, 16 Jan 2021 17:01:34 +0900 (JST) Message-Id: <20210116.170134.789950463868688311.tkk@misasa.okayama-u.ac.jp> From: Tak Kunihiro X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 4 Rules triggered EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6912=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6912> : inlines <7226> : streams <1879244> : uri <3190398> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9865 signatures=668683 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 mlxscore=0 malwarescore=0 spamscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 impostorscore=0 clxscore=1011 phishscore=0 mlxlogscore=440 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101160047 Received-SPF: pass client-ip=205.220.174.65; envelope-from=prvs=2650e3c672=tkk@misasa.okayama-u.ac.jp; helo=mx0b-00602c01.pphosted.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) I am using emacs 27.1 with orgtbl-mode. On certain condition, typing distorts alighment of a table. Then, typing moves previous line but far right position. | | rownames | | | rownames | | / | | | / | | |---+----------| -> |---+----------| | / | a | | | a | Here is a recipe to reproduce the glitch started from emcas -Q. I hope that together with bug#45091, this would be fixed before 27.2. 1. Create a buffer with (text-mode) and yank following table. | | rownames | | / | | |---+----------| | | a | 2. (progn (require 'org) (call-interactively 'orgtbl-mode)) 3. Move point to the first column and the third line with letter 'a'. 4. Hit . 5. Hit . 6. Hit . From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 27.1.91; deletechar distorts org-table Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Sun, 31 Jan 2021 02:55: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: 45915@debbugs.gnu.org Cc: tkk@misasa.okayama-u.ac.jp Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.161206167225689 (code B ref 45915); Sun, 31 Jan 2021 02:55:02 +0000 Received: (at 45915) by debbugs.gnu.org; 31 Jan 2021 02:54:32 +0000 Received: from localhost ([127.0.0.1]:56186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l62si-0006gH-0n for submit@debbugs.gnu.org; Sat, 30 Jan 2021 21:54:32 -0500 Received: from mail-pl1-f173.google.com ([209.85.214.173]:41000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l62se-0006g2-KU for 45915@debbugs.gnu.org; Sat, 30 Jan 2021 21:54:30 -0500 Received: by mail-pl1-f173.google.com with SMTP id h15so8013995pli.8 for <45915@debbugs.gnu.org>; Sat, 30 Jan 2021 18:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=fqMGCBB1oOIXxGwfSzZjWbydw1zPbYexORRgJR44Oa4=; b=F52UwBcCXcC04/QM8JCHSy3nNkyaPpjqcZ7R+5MsFEgs3eEp3qhm3iYo1EI2IErBdi A3ShzRrnKX9z9XbO4wL7ZAEdrXq0OucFf/rHdaNvPRR2mlbavXMqnpRaC4EIi+tRIWQS 8Hr5zYbv/USMb3Ktls7Pkloka+vJOgdds2vbuToLG1XxyAI+pVXKQS8YKgRgah2DSccJ wRhNB6WUMiyiOO9ZRCnxlxLQwOiZNvg6pE8udSDcz+WqNl8maxVKqMlAwfB+9i8NzWjU ero9k3E4vKvy1RIyilTO3K8YawcJURrH7bN4j39bDWlSdlAeuKJGRyTRbSJRodi+XjLe NGHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=fqMGCBB1oOIXxGwfSzZjWbydw1zPbYexORRgJR44Oa4=; b=iLkVmXvXqN18FpBUZgioCZfcYQDONe0Ocfp1hQi+fetDYxFkLF6ZWUlHlL87LyNh51 Gd5oAG+GBicmVxunihJWe6v3sE3cBmAUJL0/ylSnV9lB9KdQxUewyKdst4XKvn2m+yOM JIjxk1cxtTKSXyIwbjdWPivoaeu5GRfs9oVKNvr/ChKADzKEWtwo1UA6ytCTU2OSfwVJ eQXXauotyHRpRt7ZCViqijH9B2P5TaYqS1NMJeaIKhU19y203HgJwoSr32R4E96Eytbu 5dzy56fa1a+4xoRN6Hyvd6GrCUxRCOIvmCgmtahPU9Rvh8HCUvsVd4MpaoJdsn3IEe2l 6d7w== X-Gm-Message-State: AOAM530dZQaLs1KT/YogtqzLtpkvHDzRAX9qUVUnBVA1lWI1YjXswJnq wH+abnIkHuu7wzMJDH/D8RlBarVBqfQ= X-Google-Smtp-Source: ABdhPJzV2kIx3aH+D57TJR5DQHb4ueMyuHYml4E4Da1PqODvQM6grTNecf3FeIgC472EmzL9no6KAg== X-Received: by 2002:a17:90a:634b:: with SMTP id v11mr11013056pjs.147.1612061662609; Sat, 30 Jan 2021 18:54:22 -0800 (PST) Received: from DreamBook2017.local (p258008-ipngn200208tottori.tottori.ocn.ne.jp. [180.36.255.8]) by smtp.gmail.com with ESMTPSA id x8sm11748988pjf.55.2021.01.30.18.54.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jan 2021 18:54:21 -0800 (PST) From: Tak Kunihiro X-Google-Original-From: Tak Kunihiro References: <20210116.170134.789950463868688311.tkk@misasa.okayama-u.ac.jp> Date: Sun, 31 Jan 2021 11:54:18 +0900 In-Reply-To: <20210116.170134.789950463868688311.tkk@misasa.okayama-u.ac.jp> (Tak Kunihiro's message of "Sat, 16 Jan 2021 17:01:34 +0900 (JST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.91 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I confirm that there still is following problem on 27.1.91. Could someone take a look and show me work around? > I am using emacs 27.1 with orgtbl-mode. On certain condition, typing > distorts alighment of a table. Then, typing moves > previous line but far right position. > > | | rownames | | | rownames | > | / | | | / | | > |---+----------| -> |---+----------| > | / | a | | | a | > > Here is a recipe to reproduce the glitch started from emcas -Q. I > hope that together with bug#45091, this would be fixed before 27.2. > > 1. Create a buffer with (text-mode) and yank following table. > > | | rownames | > | / | | > |---+----------| > | | a | > > 2. (progn (require 'org) (call-interactively 'orgtbl-mode)) > 3. Move point to the first column and the third line with letter 'a'. > 4. Hit . > 5. Hit . > 6. Hit . From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 27.1.91; deletechar distorts org-table Resent-From: Bastien Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Wed, 28 Apr 2021 06:04: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: Tak Kunihiro Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.161958980017890 (code B ref 45915); Wed, 28 Apr 2021 06:04:02 +0000 Received: (at 45915) by debbugs.gnu.org; 28 Apr 2021 06:03:20 +0000 Received: from localhost ([127.0.0.1]:51535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbdI8-0004eT-Eh for submit@debbugs.gnu.org; Wed, 28 Apr 2021 02:03:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbdI6-0004eG-4n for 45915@debbugs.gnu.org; Wed, 28 Apr 2021 02:03:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38518) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbdHx-0003Et-Bi; Wed, 28 Apr 2021 02:03:09 -0400 Received: from [78.194.183.21] (port=42506 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lbdHv-0003MB-3G; Wed, 28 Apr 2021 02:03:08 -0400 Received: by guerry (Postfix, from userid 1000) id CAAF81A60EAE; Wed, 28 Apr 2021 08:03:03 +0200 (CEST) From: Bastien In-Reply-To: (Tak Kunihiro's message of "Sun, 31 Jan 2021 11:54:18 +0900") Organization: GNU References: <20210116.170134.789950463868688311.tkk@misasa.okayama-u.ac.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Wed, 28 Apr 2021 08:03:03 +0200 Message-ID: <87im477xpk.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Tak Kunihiro writes: > I confirm that there still is following problem on 27.1.91. > Could someone take a look and show me work around? I cannot reproduce this with latest Org stable version 9.4.5. Can you try again and report? See https://orgmode.org/org.html#Installation on how to install using Org=E2=80=99s git repository if you want to try the latest version. From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 27.2; deletechar distorts org-table Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Wed, 28 Apr 2021 08:37: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: 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16195990019506 (code B ref 45915); Wed, 28 Apr 2021 08:37:02 +0000 Received: (at 45915) by debbugs.gnu.org; 28 Apr 2021 08:36:41 +0000 Received: from localhost ([127.0.0.1]:51672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbfgX-0002TG-Bw for submit@debbugs.gnu.org; Wed, 28 Apr 2021 04:36:41 -0400 Received: from mx0a-00602c01.pphosted.com ([205.220.162.67]:62454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbfgT-0002T5-34 for 45915@debbugs.gnu.org; Wed, 28 Apr 2021 04:36:40 -0400 Received: from pps.filterd (m0238148.ppops.net [127.0.0.1]) by mx0a-00602c01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 13RMLw2q032406 for <45915@debbugs.gnu.org>; Wed, 28 Apr 2021 17:36:35 +0900 Received: from mlsec.cc.okayama-u.ac.jp (mlsec.cc.okayama-u.ac.jp [150.46.12.254]) by mx0a-00602c01.pphosted.com with ESMTP id 3862kca35m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <45915@debbugs.gnu.org>; Wed, 28 Apr 2021 17:36:35 +0900 Received: from jlsv301.okayama-u.ac.jp (unknown [150.46.12.5]) by mlsec.cc.okayama-u.ac.jp with smtp id 1726_5fb2_ec8d17e6_3b8c_46d9_9fd7_79b2354f5788; Wed, 28 Apr 2021 17:36:26 +0900 Received: from [192.168.1.53] (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by jlsv301.okayama-u.ac.jp (Postfix) with ESMTPSA id 4C19B7608A1 for <45915@debbugs.gnu.org>; Wed, 28 Apr 2021 17:36:27 +0900 (JST) From: Tak Kunihiro Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Date: Wed, 28 Apr 2021 17:36:26 +0900 References: <20210116.170134.789950463868688311.tkk@misasa.okayama-u.ac.jp> <87im477xpk.fsf@gnu.org> In-Reply-To: <87im477xpk.fsf@gnu.org> Message-Id: <1AD1B9B7-5A15-4F86-9274-B04B83694C85@misasa.okayama-u.ac.jp> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 4 Rules triggered EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_TEMP_ERROR=0, RV6944=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6944> : inlines <7226> : streams <1888984> : uri <3249165> X-Proofpoint-GUID: MFyOpen-eibOJhMUxfL5sjPELsGXiyeP X-Proofpoint-ORIG-GUID: MFyOpen-eibOJhMUxfL5sjPELsGXiyeP X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9967 signatures=668683 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 clxscore=1011 impostorscore=0 mlxscore=0 malwarescore=0 mlxlogscore=784 phishscore=0 spamscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104280058 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> I confirm that there still is following problem on 27.1.91. >> Could someone take a look and show me work around? > > I cannot reproduce this with latest Org stable version 9.4.5. > > Can you try again and report? I downloaded Org 9.4.5 and reproduced the problem on 26.3, 27.2, and 28.0.50. Here is a recipe again. > On certain condition, typing distorts alignment of > a table. Then, typing moves point to previous line but far > right position (column 14 instead of column 2). > > | | rownames | | | rownames | > | / | | | / | | > |---+----------| -> |---+----------| > | / | a | | | a | > > Here is a recipe to reproduce the glitch started from emcas -Q. > > 1. Create a buffer with (text-mode) and yank following table. > > | | rownames | > | / | | > |---+----------| > | | a | > > 2. (progn (require 'org) (call-interactively 'orgtbl-mode)) > 3. Move point to the first column and the third line with letter 'a'. > 4. Hit . > 5. Hit . > 6. Hit . From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 29.0.50; deletechar distorts org-table Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Mon, 11 Oct 2021 00:46: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: 45915@debbugs.gnu.org Cc: tkk@misasa.okayama-u.ac.jp Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16339131261131 (code B ref 45915); Mon, 11 Oct 2021 00:46:01 +0000 Received: (at 45915) by debbugs.gnu.org; 11 Oct 2021 00:45:26 +0000 Received: from localhost ([127.0.0.1]:56123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZjRW-0000IB-J9 for submit@debbugs.gnu.org; Sun, 10 Oct 2021 20:45:26 -0400 Received: from mail-pl1-f174.google.com ([209.85.214.174]:34609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZjRQ-0000Hu-GW for 45915@debbugs.gnu.org; Sun, 10 Oct 2021 20:45:24 -0400 Received: by mail-pl1-f174.google.com with SMTP id g5so7062624plg.1 for <45915@debbugs.gnu.org>; Sun, 10 Oct 2021 17:45:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=GW8dMU9f9FVthJW8GBdnZ0vdP9EEW5+UzcIJfy7/5ko=; b=H2i0GjNKbkFKJOwpm5w0HM0M10nzxvnTRABsi3vR5eXnKvKiINtc7fQj4XSL5GimHN JAAemveUzMmj5MnIm3asZ2cjdOKwt5xmkXHpnrHhLVZvcplYZzc5R2UszpZsC9yFPnGH P/RqBA2PSJGW6zoOBiTK7B5HEQkzHzrHvQnefhDNyPrpKLXzp4Z0PSELSoGz7LWt2aiK xsuqhAPcPHKqapQqXzF2gec3R1gB4W5HXP/r/9Im5ScSy+7aTPCYCfTOOnT47MFNzQNr du95RTt5SlWUlZ5J02/FtfHtISnCHSnufQYj6yaATMyYTGE1n+h8+gC1dcb5mTmw0wp5 tR+g== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=GW8dMU9f9FVthJW8GBdnZ0vdP9EEW5+UzcIJfy7/5ko=; b=qr/L/bKogNebrztg4zyRFSPnS3GOvf99uoljGW2ZqZizHUSI0lkAItXV4tzTqMFcj+ qB/ZGSmIN6txzdyNCUF+0bka59DQAY9BTbr0+bOLGVPw5UrxGLBtDJYO1AkuLbjl2P0U hkoaxJMDXxrREeaozcPFiuC6hiqQl6zG1rrrdUwNRMcIjAXxJq0A4mZ0Mi6E3ricNy9r sy8/+Kz8CJRau2xoMajUOMoe0Y255S6n/YRQeuIb6yF/gfuO4zT9+SkM3hYB4ZFKztm6 LQqwOqfS+7WzpxT3GcZY4M4CJcG7QxCB0WHTREsjWn4FU9J6yoABIma+GWFAbkafgznx /XXg== X-Gm-Message-State: AOAM532lBY4KelNQTbb9iq4/yiLrrBmkLX+w23BSz7shhQmE5nAx27NV 3bHcBn8hD8gzAS37fdWEA2zw9nIXdxo= X-Google-Smtp-Source: ABdhPJzH6M9qCt8By55KVCUgsyHuqMI7ZejyG7KfI6jKOnXW8wK72hJE9KgOoBu80OdAiCIoP1C3HQ== X-Received: by 2002:a17:90a:9285:: with SMTP id n5mr26341864pjo.29.1633913114417; Sun, 10 Oct 2021 17:45:14 -0700 (PDT) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id c12sm5601757pfc.161.2021.10.10.17.45.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Oct 2021 17:45:13 -0700 (PDT) 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> Date: Mon, 11 Oct 2021 09:45:11 +0900 In-Reply-To: <1AD1B9B7-5A15-4F86-9274-B04B83694C85@misasa.okayama-u.ac.jp> (Tak Kunihiro's message of "Wed, 28 Apr 2021 17:36:26 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I confirm that there is still problem with org-table on Emacs 29.0.50 with org-version 9.5. I created a function to produce the problem as shown below. Can you try again? (defun emacs-bug-reproduce-45915 () "Reproduce bug#45915." ;; (gnus-read-ephemeral-emacs-bug-group 45915) (interactive) (with-current-buffer (get-buffer-create "*temp buffer*") (erase-buffer) (require 'org) (orgtbl-mode 1) (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) (insert "| | rownames | | / | | |---+----------| | | a |")) (switch-to-buffer-other-window "*temp buffer*") (execute-kbd-macro (kbd "M-< C-n C-n C-n C-n C-f C-f")) (message "I will hit S-.") (sit-for 2) (execute-kbd-macro (kbd "S-")) (message "I will hit .") (sit-for 2) (execute-kbd-macro (kbd "")) (message "I will call previous-line.") (sit-for 2) (call-interactively 'previous-line)) ;;; (call-interactively 'emacs-bug-reproduce-45915) >>> I confirm that there still is following problem on 27.1.91. >>> Could someone take a look and show me work around? >> >> I cannot reproduce this with latest Org stable version 9.4.5. >> >> Can you try again and report? > > I downloaded Org 9.4.5 and reproduced the problem on 26.3, 27.2, > and 28.0.50. Here is a recipe again. > >> On certain condition, typing distorts alignment of >> a table. Then, typing moves point to previous line but far >> right position (column 14 instead of column 2). >> >> | | rownames | | | rownames | >> | / | | | / | | >> |---+----------| -> |---+----------| >> | / | a | | | a | >> >> Here is a recipe to reproduce the glitch started from emcas -Q. >> >> 1. Create a buffer with (text-mode) and yank following table. >> >> | | rownames | >> | / | | >> |---+----------| >> | | a | >> >> 2. (progn (require 'org) (call-interactively 'orgtbl-mode)) >> 3. Move point to the first column and the third line with letter 'a'. >> 4. Hit . >> 5. Hit . >> 6. Hit . From unknown Tue Jun 17 01:46:17 2025 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: Tue, 07 Dec 2021 08:44: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 Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16388666327271 (code B ref 45915); Tue, 07 Dec 2021 08:44:01 +0000 Received: (at 45915) by debbugs.gnu.org; 7 Dec 2021 08:43:52 +0000 Received: from localhost ([127.0.0.1]:36327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muW4l-0001tD-ND for submit@debbugs.gnu.org; Tue, 07 Dec 2021 03:43:52 -0500 Received: from mail-pl1-f182.google.com ([209.85.214.182]:44744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muW4j-0001sz-36 for 45915@debbugs.gnu.org; Tue, 07 Dec 2021 03:43:50 -0500 Received: by mail-pl1-f182.google.com with SMTP id q17so8919547plr.11 for <45915@debbugs.gnu.org>; Tue, 07 Dec 2021 00:43:48 -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=5iwdC+Bz5IGgMgk31cJPVXjdyLqsG5MYJ+7vDsMOwcw=; b=qGOIf/OW0WophUaB6EDnd0ma462llYiHt5kb3suZLrhU5iGCH+sj19teBQCVhDuL0X /Iz8sD5Up9Toq9knuft+p791wwlGQfNI2fvQdaEkjXbswZ6uTqnFcE+EyMgEGvpzB9Ff W8i5OFlN/sYjOSE7LxgMd1+BYR9cr4PQKdqQ5PEjTfJzGv32XjcSYNm+wDf9YlIwdSRu duwcinknBvyGC0FA/KDgzGI7i54rUx/f5xrG1al9a5HrfxbZpBtiVq7itPnuMA1incEg aMcksK4/3k0GpGz3hwOGu6Etf91Vu637CDFw7WlVqiPnnNXVC3usMNZwrbAcJOQT6pg+ r9fQ== 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=5iwdC+Bz5IGgMgk31cJPVXjdyLqsG5MYJ+7vDsMOwcw=; b=uysnOSxiNMiIVvA3fxfYkYnWYaHgS8ZvZEEAMlB7oofY5Aa34C5GA5ookETpOkkNJ/ zDjgI0FiEu4ivDM3N/mlxsOzQaRhLdl1F+Z5b99fsKqARDhW/X2189slywPrgavh/jud QPgN9u5sL4SzjY8e0eoWs3+j0jAB4TzSQyQmFROWXitgVUsXqDKz9sFWQVWg0vAa/afh gjYWe0pOHuc7A4PcCwqd8GkGhTH8pjm2TfppnyIB60tMlS35KXuozvxY6XW1t0P6QhMF BV61UqXX6Eg1YyGWMkJQa3yt/NE2BbSULvdvfSvfeWXYCajWgatOTvX8gOF46s4b1hlT XKgg== X-Gm-Message-State: AOAM532tqcjjnwkGgd7uQ2BOMbeCL0GDj5yjwRfT5Lnw5qIOgmRkFaDC 1WYJXq//WPDvmnh7svGhods= X-Google-Smtp-Source: ABdhPJyIJuJts9mGce+J4ZrBUMGnTxd7FLx8PzPrHlI9VcOwE1KKMNyDFHBUSv9UENQL05nEvzfN+A== X-Received: by 2002:a17:902:ba84:b0:142:5514:8dd6 with SMTP id k4-20020a170902ba8400b0014255148dd6mr50074002pls.19.1638866623046; Tue, 07 Dec 2021 00:43:43 -0800 (PST) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id l9sm15671430pfu.55.2021.12.07.00.43.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Dec 2021 00:43:42 -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> Date: Tue, 07 Dec 2021 17:43:40 +0900 In-Reply-To: (Tak Kunihiro's message of "Mon, 11 Oct 2021 09:45:11 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. 1. emacs -Q 2. (defun emacs-bug-reproduce-45915 () ...) 3. (call-interactively 'emacs-bug-reproduce-45915) (defun emacs-bug-reproduce-45915 () "Reproduce bug#45915." ;; (gnus-read-ephemeral-emacs-bug-group 45915) (interactive) (with-current-buffer (get-buffer-create "*temp buffer*") (erase-buffer) (require 'org) (orgtbl-mode 1) (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) (insert "| | rownames | | / | | |---+----------| | | a |")) (switch-to-buffer-other-window "*temp buffer*") (execute-kbd-macro (kbd "M-< C-n C-n C-n C-n C-f C-f")) (message "I will hit S-.") (sit-for 2) (execute-kbd-macro (kbd "S-")) (message "I will hit .") (sit-for 2) (execute-kbd-macro (kbd "")) (message "I will call previous-line.") (sit-for 2) (call-interactively 'previous-line)) > I confirm that there is still problem with org-table > on Emacs 29.0.50 with org-version 9.5. > >>>> I confirm that there still is following problem on 27.1.91. >>>> Could someone take a look and show me work around? >>> >>> I cannot reproduce this with latest Org stable version 9.4.5. >>> >>> Can you try again and report? >> >> I downloaded Org 9.4.5 and reproduced the problem on 26.3, 27.2, >> and 28.0.50. Here is a recipe again. >> >>> On certain condition, typing distorts alignment of >>> a table. Then, typing moves point to previous line but far >>> right position (column 14 instead of column 2). >>> >>> | | rownames | | | rownames | >>> | / | | | / | | >>> |---+----------| -> |---+----------| >>> | / | a | | | a | >>> >>> Here is a recipe to reproduce the glitch started from emcas -Q. >>> >>> 1. Create a buffer with (text-mode) and yank following table. >>> >>> | | rownames | >>> | / | | >>> |---+----------| >>> | | a | >>> >>> 2. (progn (require 'org) (call-interactively 'orgtbl-mode)) >>> 3. Move point to the first column and the third line with letter 'a'. >>> 4. Hit . >>> 5. Hit . >>> 6. Hit . From unknown Tue Jun 17 01:46:17 2025 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 Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org 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-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --=-=-= 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 --=-=-=-- From unknown Tue Jun 17 01:46:17 2025 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 Cc: Tak Kunihiro , tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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)) From unknown Tue Jun 17 01:46:17 2025 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: Sat, 30 Apr 2022 04:00:03 +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 Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16512911933987 (code B ref 45915); Sat, 30 Apr 2022 04:00:03 +0000 Received: (at 45915) by debbugs.gnu.org; 30 Apr 2022 03:59:53 +0000 Received: from localhost ([127.0.0.1]:55717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkeGu-00012E-Nr for submit@debbugs.gnu.org; Fri, 29 Apr 2022 23:59:53 -0400 Received: from mail-pf1-f175.google.com ([209.85.210.175]:37647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkeGr-00011x-OK for 45915@debbugs.gnu.org; Fri, 29 Apr 2022 23:59:50 -0400 Received: by mail-pf1-f175.google.com with SMTP id bo5so8409310pfb.4 for <45915@debbugs.gnu.org>; Fri, 29 Apr 2022 20:59:49 -0700 (PDT) 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=GYbS7FqMoh4zg+/SMglbIo4RVcyLRS9my9FV0g0BO9A=; b=CPqGKpbDYTAfRpNTDAbAbCHvuyHI6q5rNRDX1IdCqXhPfM+ux4OBYORHjDQHlKxMYA swIFfV2zNJADLi5bNlHjZWNxbM6oTrkL7wpLJHFXQqlZbsWoyfhhylrDuG8vuvMMIE2S UDiOJGrZfoL+j4203iQzfbZ5x5ClrBCfeFcEhaHaZZZ5BJfrTXoXuK86yLQp0LzKiQm4 6fn6DCT8f3EJd6+N+Ilr7fl3cFs0Lbpe4/bWbZg87oOSH6r443SokulPliBJTOH3gUC7 LSGQLOY1c2OuSZ0GQpcav6wTXqNR2SkdpE7j71euzfsvGQwX8Ry8Lxek9lQAicRQfwrE ww+g== 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=GYbS7FqMoh4zg+/SMglbIo4RVcyLRS9my9FV0g0BO9A=; b=nvdGehznYKdpTY1h663Gguqfw6uclf/Uypo6wbHHug6k7/iUEKy/OhtkOYOmtTSyXG XN+jmvT+Es3ecGBcc+u6HG0ltYx35Q/oYznLWnjiwvI0X+bEMudUwqOENW4ykqUCHe/M OrlPpMnu5LM2O9FqHZaK671b4mLNstJ5BZ0ycTnBAxL8ujSEy9OfEIhbcBfkNt6q7BoM G1msauX00j6lv154rjYszcnI4QubBb1sxViyzR3lswbfl9w0FoXe31zTMeU4tpDB31ut KRjleLsB/0JvaclRTHWVqwzfrQn0dQFqO6Rjby6s7urvBDuLNyIl/4GyHqXdhDMdcKbM Ep/g== X-Gm-Message-State: AOAM5335tf38Feav8b8ODP+JRMUp+ZgHgZdjYMCujOr6Q8RhaTR2Uf7j bY9XdH3U3HuUsGNmzGejaeA= X-Google-Smtp-Source: ABdhPJxOq8iunSJNtNQbyVfdLk7Z4FbogTsMtok5B8oaaWyFAjQbIfS9tlh/6oUkSXSx2H9DtZHMTA== X-Received: by 2002:a63:9d06:0:b0:3c1:5f7e:8e66 with SMTP id i6-20020a639d06000000b003c15f7e8e66mr1849754pgd.538.1651291183670; Fri, 29 Apr 2022 20:59:43 -0700 (PDT) Received: from localhost ([45.83.130.130]) by smtp.gmail.com with ESMTPSA id c136-20020a63358e000000b003c14af5063bsm7491391pga.83.2022.04.29.20.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 20:59:42 -0700 (PDT) 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> <877dc0sqm6.fsf@localhost> Date: Sat, 30 Apr 2022 12:00:21 +0800 Message-ID: <87k0b7usoa.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Tak Kunihiro writes: > 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? The problem was solved on my side, but _not_ using your reproducer explicitly. If I save the buffer from your reproducer as a file and later open in, the patch does solve the problem. However, when I run the reproducer as is, a similar-looking problem emerges. Using your reproducer, something very strange is going on. With the patch, is correctly mapped to org-delete-char, which calls (delete-char 1) at some point. However, this (delete-char 1) somehow deletes 2!! chars instead of 1. This should be some tricky Emacs issue (bug?). In any case, I am not ready to dig into what is going on in Emacs. I do not think that such problem is going to appear during normal Emacs usage. At least, I was unable to reproduce it by other means than your reproducer function. To illustrate the issue, one can use the following version of the reproducer. Feel free to report this to Emacs upstream. (defun emacs-bug-reproduce-45915 () "Reproduce bug#45915." ;; (gnus-read-ephemeral-emacs-bug-group 45915) (interactive) (with-current-buffer (get-buffer-create "*temp buffer*") (erase-buffer) (require 'org) (orgtbl-mode 1) (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) (insert "| | rownames | | / | | |---+----------| | | a |")) (switch-to-buffer-other-window "*temp buffer*") (execute-kbd-macro (kbd "M-< C-n C-n C-n C-n C-f C-f")) (message "I will hit S-.") (sit-for 2) (execute-kbd-macro (kbd "S-")) (message "I will hit .") (sit-for 2) ;; (execute-kbd-macro (kbd "")) (delete-char 1) (message "I will call previous-line.") (sit-for 2) (call-interactively 'previous-line)) Best, Ihor From unknown Tue Jun 17 01:46:17 2025 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: Sat, 30 Apr 2022 04:01: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 Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16512912064112 (code B ref 45915); Sat, 30 Apr 2022 04:01:01 +0000 Received: (at 45915) by debbugs.gnu.org; 30 Apr 2022 04:00:06 +0000 Received: from localhost ([127.0.0.1]:55721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkeH8-00014F-7Y for submit@debbugs.gnu.org; Sat, 30 Apr 2022 00:00:06 -0400 Received: from mail-pj1-f49.google.com ([209.85.216.49]:45751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkeH6-00012R-EB for 45915@debbugs.gnu.org; Sat, 30 Apr 2022 00:00:05 -0400 Received: by mail-pj1-f49.google.com with SMTP id w17-20020a17090a529100b001db302efed6so7300844pjh.4 for <45915@debbugs.gnu.org>; Fri, 29 Apr 2022 21:00:04 -0700 (PDT) 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=GYbS7FqMoh4zg+/SMglbIo4RVcyLRS9my9FV0g0BO9A=; b=AU7SBZiH7W0lE4+Wkg2LL4BOHS9yg0rOs7zuNvFOS2dksJPF1sqN8NcaAUPUXC+889 BUNLT0YGXgRl0LI5YB5QbOs5Ri/jOihQ59YGi+QWaQDMtziqjcFT+Nq9S/iqZW0fT/Hj a/HebXGHj+Oy2+zH+qgIX2DcCjDxhsye8DzKGasr8QnmGYdoEw2boxFlsFsjzNmPDVL3 JpwC4VInNSYzkh3/OJ9psGhnb8bQPjkdbT2kVM/4670PlCawHivpTU5NN7HnHKyMzLx2 W0SHcX24Fcb8fXOYxfnJ4g7cacJJZujTOenSc+7Q1qh94XJ33XXLSMCt09pEkwsvqtbn acDw== 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=GYbS7FqMoh4zg+/SMglbIo4RVcyLRS9my9FV0g0BO9A=; b=Ol8KiG1Umx0WVZU5K9eO7/zW/pz/8wg/0qqZX1l7ZrOfMFqO67z87A4t2m0fEGpERK n+MLqEE3kZwyME3+5mmWOUu/vDQMgnnADoINPMwxxBs0D8TxmrzuzHZYL3Fg8qdVRt9z OXvnvODIhE5yLpmbJ9H78svGTVwBW3CT+2IP84ntAT5MQSI7KZBV+0RfIGGzwODUOJGV ogjbn7ncCv/QrpnLm1IG8tTD699jsI/P00/x0R4RKS8Ok94ZEwMM+4tbbSmDZMq2N8l8 fBtlqxmnenut4jG6DWu76XzRqRe/Bjc501aa3SFwl4XT4I3kANk+Tf8f7xYSYU7H/iLs 72sA== X-Gm-Message-State: AOAM531oSoVRKYOjS5SnE2Pfut9MzJ+M4iOzHb6Gm1aU1omDUGTNCozX M5KMLC7q8bzDgGE8pUUio4c= X-Google-Smtp-Source: ABdhPJyCj+dfG7KWWjvwmwELj5+TEcPBXk7+t8NrU0ewUj/qHp3Kk5wilvGgo6NGHrI3BFLnOV6pFw== X-Received: by 2002:a17:90b:11d1:b0:1db:d99f:62cc with SMTP id gv17-20020a17090b11d100b001dbd99f62ccmr2445255pjb.200.1651291198713; Fri, 29 Apr 2022 20:59:58 -0700 (PDT) Received: from localhost ([45.83.130.130]) by smtp.gmail.com with ESMTPSA id x48-20020a056a000bf000b0050dc76281dcsm451119pfu.182.2022.04.29.20.59.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 20:59:58 -0700 (PDT) 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> <877dc0sqm6.fsf@localhost> Date: Sat, 30 Apr 2022 12:00:47 +0800 Message-ID: <87ilqrusnk.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Tak Kunihiro writes: > 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? The problem was solved on my side, but _not_ using your reproducer explicitly. If I save the buffer from your reproducer as a file and later open in, the patch does solve the problem. However, when I run the reproducer as is, a similar-looking problem emerges. Using your reproducer, something very strange is going on. With the patch, is correctly mapped to org-delete-char, which calls (delete-char 1) at some point. However, this (delete-char 1) somehow deletes 2!! chars instead of 1. This should be some tricky Emacs issue (bug?). In any case, I am not ready to dig into what is going on in Emacs. I do not think that such problem is going to appear during normal Emacs usage. At least, I was unable to reproduce it by other means than your reproducer function. To illustrate the issue, one can use the following version of the reproducer. Feel free to report this to Emacs upstream. (defun emacs-bug-reproduce-45915 () "Reproduce bug#45915." ;; (gnus-read-ephemeral-emacs-bug-group 45915) (interactive) (with-current-buffer (get-buffer-create "*temp buffer*") (erase-buffer) (require 'org) (orgtbl-mode 1) (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) (insert "| | rownames | | / | | |---+----------| | | a |")) (switch-to-buffer-other-window "*temp buffer*") (execute-kbd-macro (kbd "M-< C-n C-n C-n C-n C-f C-f")) (message "I will hit S-.") (sit-for 2) (execute-kbd-macro (kbd "S-")) (message "I will hit .") (sit-for 2) ;; (execute-kbd-macro (kbd "")) (delete-char 1) (message "I will call previous-line.") (sit-for 2) (call-interactively 'previous-line)) Best, Ihor From unknown Tue Jun 17 01:46:17 2025 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: Mon, 23 May 2022 09:27: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: Ihor Radchenko Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16532979838214 (code B ref 45915); Mon, 23 May 2022 09:27:01 +0000 Received: (at 45915) by debbugs.gnu.org; 23 May 2022 09:26:23 +0000 Received: from localhost ([127.0.0.1]:47303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt4KU-00028Q-Rl for submit@debbugs.gnu.org; Mon, 23 May 2022 05:26:23 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:37677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt4KT-000283-Is for 45915@debbugs.gnu.org; Mon, 23 May 2022 05:26:21 -0400 Received: by mail-pg1-f171.google.com with SMTP id h9so4981296pgl.4 for <45915@debbugs.gnu.org>; Mon, 23 May 2022 02:26:21 -0700 (PDT) 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=YT4jWyUT4bjXqhmvwvNb3qp/+YOyoUv66tIpCsX1/AI=; b=AKiK8Id23m0x9wXiWLEMsZXseKamvEkeyF0M3bKVjObpkzQvtq06vri4AzSPC6LWZK DOPXfp2/7iXWLS0HiBn7Cq7ME4e+7RKvv6hH+5xdygSTS8JLzv0p7WvcizuArUgRSWVG K1GBCsQYsUsLgi0JYEeYgh9HMr3L+6xaO0lC6U1auRGrvypyMu+nAS4Sa7nQsvDEFhuK VlyXm8N9BiJ70aRc6jl+YsXLu7UdRWIPkBBAa5+Zmof6xX78+et5YF6kvGIVhUsBGP3z cKGVmSnv6jm//LqgPpj5Eu87mEM8YqPMRocNs3ng5RywyZAV7AxMDO0HAZTVTL8ocOFR rXGw== 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=YT4jWyUT4bjXqhmvwvNb3qp/+YOyoUv66tIpCsX1/AI=; b=zonJo+AQrP9dqdOlx1oJh3BDnukK5Pi+5yh+VzTlWNeIWyUG3tOot6N7ZRgTcNZ3ck iPAAAHtjLgs146nWSHY2IpSynkjnJabv42Zt4Edy4d5lvaCyRTfY2fhp74LqXH8VRvRu pULTpwR2RUnHZNHDXs3t5JprhjbYH9PWtQWAUckRmeOSdCYZhoHA8lmSP9ZZBbUDW1iT hR/d9MFUWDsdcPuDjbNP9pS+KGTkEk61OuubD5AhqzHZt7wpYeiIVrsNqdu2+4lk4AxM 5O5g42JK+mZOdaBidfbJ3zjnOGbF4k4pXoI6OXJMrORsOhAOXcU/MEFOvJ8ksDB5Wj5Z E2kA== X-Gm-Message-State: AOAM531RNYyKNlZ2gbCblxO6GyIGk2LXnFHUEKMN2bSTuk2546wuaMs4 OROFn2fcARz5B5gycNdEW7Q= X-Google-Smtp-Source: ABdhPJyNMcZPjtwDsXVBQOpznTJC40htUy29bYsE6joNsBiI8NGU9vsErPbV8sUyWXiYiEG4uTLmVQ== X-Received: by 2002:a63:6949:0:b0:3f6:5b37:e949 with SMTP id e70-20020a636949000000b003f65b37e949mr15532168pgc.24.1653297974753; Mon, 23 May 2022 02:26:14 -0700 (PDT) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id a23-20020a056a001d1700b0050dc76281ddsm6596478pfx.183.2022.05.23.02.26.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 02:26:14 -0700 (PDT) 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> <87k0b7usoa.fsf@localhost> Date: Mon, 23 May 2022 18:26:11 +0900 In-Reply-To: <87k0b7usoa.fsf@localhost> (Ihor Radchenko's message of "Sat, 30 Apr 2022 12:00:21 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dear Ihor, > However, this (delete-char 1) somehow deletes 2!! chars instead of > 1. This should be some tricky Emacs issue (bug?). In any case, I am > not ready to dig into what is going on in Emacs. I do not think that > such problem is going to appear during normal Emacs usage. At least, I > was unable to reproduce it by other means than your reproducer > function. > > To illustrate the issue, one can use the following version of the > reproducer. Feel free to report this to Emacs upstream. (defun emacs-bug-reproduce-45915 () "Reproduce bug#45915." ;; (gnus-read-ephemeral-emacs-bug-group 45915) (interactive) (with-current-buffer (get-buffer-create "*temp buffer*") (erase-buffer) (require 'org) (orgtbl-mode 1) (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) (insert "| | rownames | | / | | |---+----------| | | a |")) (switch-to-buffer-other-window "*temp buffer*") (execute-kbd-macro (kbd "M-< C-n C-n C-n C-n C-f C-f")) (message "I will hit S-.") (sit-for 2) (execute-kbd-macro (kbd "S-")) (message "I will hit .") (sit-for 2) ;; (execute-kbd-macro (kbd "")) (delete-char 1) (message "I will call previous-line.") (sit-for 2) (call-interactively 'previous-line)) I still see the problem with GNU Emacs 29.0.50 (build 8, x86_64-apple-darwin21.5.0, NS appkit-2113.50 Version 12.4 (Build 21F79)) of 2022-05-23 with org-version 9.5.3. I create org-tables and revise these everyday. On duplication of a cell, I hit S- often. The problem occurs, with my use case, once in 5 minutes. IOW point moves unexpectedly once in 5 minutes. I think that there is an issue in `org-table-copy-down'. However, I cannot tell what specifically is not good. Is this issue of Emacs instead of Org? From unknown Tue Jun 17 01:46:17 2025 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: Mon, 23 May 2022 09:55: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: Tak Kunihiro Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.165329969719542 (code B ref 45915); Mon, 23 May 2022 09:55:02 +0000 Received: (at 45915) by debbugs.gnu.org; 23 May 2022 09:54:57 +0000 Received: from localhost ([127.0.0.1]:47330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt4m9-000558-HC for submit@debbugs.gnu.org; Mon, 23 May 2022 05:54:57 -0400 Received: from mail-pg1-f171.google.com ([209.85.215.171]:45674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt4m8-00054v-D8 for 45915@debbugs.gnu.org; Mon, 23 May 2022 05:54:56 -0400 Received: by mail-pg1-f171.google.com with SMTP id a9so11199042pgv.12 for <45915@debbugs.gnu.org>; Mon, 23 May 2022 02:54:56 -0700 (PDT) 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=CZTeJDRqQjMduGmmSJckkzZUbPRRQLVLjfhU/oRpMxk=; b=fNrG/JCzjFtAr4SjvarXnetw5vAnUmQJtXBrOijScr9cGJVHwF+197E2LrdN80nuZ1 gUd5r4y8oG3Jj/Xzyy2SQKDRCIAEwv6wwFa5Np2YUpf854bM040IZfEQGrWoUQZB3l9E Qsuoh9Eo7KWG62aZp2rMx12I5koobIFkNo/qBos3UhlBdZX4HFusO235ChgP10VrvLnQ nK005PqCZMXX7O1mMK2dgLx3Qmno2zfcxg24gUnFpDfIQjkaoQJr/DfWAeGexZDO3nwH XJwdrniqSDXC9I6ZLr9VFAJBa8KzGPKNwoBAB61HjkLGqGEj7vmK4YwlurAe99QGjTf7 EAIQ== 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=CZTeJDRqQjMduGmmSJckkzZUbPRRQLVLjfhU/oRpMxk=; b=NvmEscabNwFX+EiCLwIhz7RXnAKYglK8BbCRGqqtUYPGL4rZA66vaAiEDJaQfabROi qn3jvdrsfDLrYNvCJYIMoYtaNgLDEwTZYTzOsaIjR9c1Q6gkPk1v5EbKJasEhjc8yxsW +2+kKCVtAKtAWkhZYzfDmKLNEYQpHb5FjQHqQgRd5SUeeMEouicZXeS01GyibNCh9iK6 cLsYmp5RC1rwfpasbDRfMfJ4G+qlRRDkC4rqIG+tm6zgDZkmgHIyb6h9dwNMv90Qt4Sc iY8UzcrDH8HhV0G2z8bnrMFnMcdkz00nFwNy1O1SBD8B1dG4no2U0SPEHayHtiSSvn9q KOSA== X-Gm-Message-State: AOAM5336UIphPxmo6WUByS6YRco+Qmwxn8qbupk4XHNx+V2Ua2e0zE3i oDZqzqCt5RPrajNt1a5BoXA= X-Google-Smtp-Source: ABdhPJxWqZv7wpZR7j1972TOoS9PpF6KUkwLJVFlL6/DHSdom3xknmz5qqtxIwvilg0pSE92sHJvkw== X-Received: by 2002:a05:6a00:16d2:b0:512:c652:a2f7 with SMTP id l18-20020a056a0016d200b00512c652a2f7mr23189482pfc.9.1653299690454; Mon, 23 May 2022 02:54:50 -0700 (PDT) Received: from localhost ([45.83.130.130]) by smtp.gmail.com with ESMTPSA id k193-20020a633dca000000b003f60a8d7dadsm4369072pga.15.2022.05.23.02.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 02:54:49 -0700 (PDT) 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> <877dc0sqm6.fsf@localhost> <87k0b7usoa.fsf@localhost> Date: Mon, 23 May 2022 17:55:33 +0800 Message-ID: <87y1ysshd6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Tak Kunihiro writes: > I still see the problem with GNU Emacs 29.0.50 (build 8, > x86_64-apple-darwin21.5.0, NS appkit-2113.50 Version 12.4 (Build 21F79)) > of 2022-05-23 with org-version 9.5.3. > > I create org-tables and revise these everyday. On duplication of a > cell, I hit S- often. The problem occurs, with my use case, once > in 5 minutes. IOW point moves unexpectedly once in 5 minutes. To clarify, I haven't applied the patch onto Org upstream. Before the patch, the table is distorted because of an omission in Org. After the patch, the table is distorted only using your reproducer specifically, and the issue appears to be on Emacs side. Best, Ihor From unknown Tue Jun 17 01:46:17 2025 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: Sat, 18 Jun 2022 06:20: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 Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.165553315032179 (code B ref 45915); Sat, 18 Jun 2022 06:20:01 +0000 Received: (at 45915) by debbugs.gnu.org; 18 Jun 2022 06:19:10 +0000 Received: from localhost ([127.0.0.1]:47408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2Rna-0008Mv-1L for submit@debbugs.gnu.org; Sat, 18 Jun 2022 02:19:10 -0400 Received: from mail-qk1-f173.google.com ([209.85.222.173]:37384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2RnX-0008Md-Om for 45915@debbugs.gnu.org; Sat, 18 Jun 2022 02:19:09 -0400 Received: by mail-qk1-f173.google.com with SMTP id g15so4573611qke.4 for <45915@debbugs.gnu.org>; Fri, 17 Jun 2022 23:19:07 -0700 (PDT) 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=rPJ1EONEjfyyjyit4wVn6U4epE2VMVCcwRtgrqwmcQI=; b=QeXJD/7bJ2gYIBFWEAB3gGqS/CjzDJVJA/CQy+tZ5hEgwiAjhMWV1Uv1T/NUkE0fGk pw7AI2tp29RaLM1fX4eVRwdZe5aKnWta9h+DF41yFPAyxkIzU4uQPH42gR9gzwnoTBAa qZU+17eTgNQIq78+9R1i9BWlOUApYkRD0282tBaex5w73fyh2FR3A+Jp4pZro/ssCIW3 B46fWiRSAZerMGaMfskvjZPlq3S8P0DM93vEl4qhhqKgoqPOu8O5lm/1jHYVyyYMgdur slzZDFHt7ZkwVoWUcZ0+Y7c89TJgZJi4zpw6QCQUrR4JhGgrP2i0mnmzMRQRJbtDACvL I2+g== 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=rPJ1EONEjfyyjyit4wVn6U4epE2VMVCcwRtgrqwmcQI=; b=jXpx0O1hHydt6+CL64T1tOt1q4hncK//AFtu0/ICVNYDY49vZMnXYYFadyZWUfjEEg XaxkXAS8hygT5ApsqhHgYdaUGx766LAeoFWIvTN7HNRXBknqgWe9UikMvotoRTJIoKwm fhODMGHawDY6rGj5eAdC2xsQeVvv01AX2AxlGAn+1rbr1UeHSDPHtEh/pC3o9EDjQATg juDcsUJH1Mfwpj6iTDUB3y8f1M4fTPwVYyQZJlPHQikWyQp1VYElMrYyE1IcL9qbN7mZ mRyDpPg914nvITSaI9upzYmNBmbAQ6IqVhcgiFlf8x59P33E3R8MVURvMU10xABlvsZl TKjA== X-Gm-Message-State: AJIora9N/yyaaiJbGCBTBDEd2TGDqKCRaV7T7bGySS2Cffeon+hr84kd TxH467iRKgbBfHSmN+UvW6o= X-Google-Smtp-Source: AGRyM1tZURMM6gwBqZrbaXlLwfDgujB4CYiWNO1ejr8njdGqdL6I0H5ILsBFSyDUESKp1613Rz+etg== X-Received: by 2002:a05:620a:25cb:b0:6a1:136:a7ed with SMTP id y11-20020a05620a25cb00b006a10136a7edmr9667241qko.531.1655533142238; Fri, 17 Jun 2022 23:19:02 -0700 (PDT) Received: from localhost ([192.161.177.252]) by smtp.gmail.com with ESMTPSA id u12-20020a05620a0c4c00b006a760640118sm6304852qki.27.2022.06.17.23.19.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jun 2022 23:19:01 -0700 (PDT) From: Ihor Radchenko In-Reply-To: <87y1ysshd6.fsf@localhost> 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> <87k0b7usoa.fsf@localhost> <87y1ysshd6.fsf@localhost> Date: Sat, 18 Jun 2022 14:20:11 +0800 Message-ID: <87wndev6g4.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Ihor Radchenko writes: > To clarify, I haven't applied the patch onto Org upstream. > Before the patch, the table is distorted because of an omission in Org. > After the patch, the table is distorted only using your reproducer > specifically, and the issue appears to be on Emacs side. I now applied the patch onto main via 65e19a081. This should solve part of the problem. The remaining part should be solved on Emacs side (AFAIU). Best, Ihor From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.1; delete-char deletes two letters Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Wed, 13 Jul 2022 10:18: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: 45915@debbugs.gnu.org Cc: tkk@misasa.okayama-u.ac.jp, Ihor Radchenko Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16577074564980 (code B ref 45915); Wed, 13 Jul 2022 10:18:02 +0000 Received: (at 45915) by debbugs.gnu.org; 13 Jul 2022 10:17:36 +0000 Received: from localhost ([127.0.0.1]:44494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBZR2-0001IF-AR for submit@debbugs.gnu.org; Wed, 13 Jul 2022 06:17:36 -0400 Received: from mail-pg1-f178.google.com ([209.85.215.178]:36597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBZR1-0001Hp-8z for 45915@debbugs.gnu.org; Wed, 13 Jul 2022 06:17:35 -0400 Received: by mail-pg1-f178.google.com with SMTP id s206so10028434pgs.3 for <45915@debbugs.gnu.org>; Wed, 13 Jul 2022 03:17:35 -0700 (PDT) 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=yEzZE5AsctiV8UzAISiFTuidh4Iv7nWBJxVv81j4fjM=; b=EbJR5QYukjkHOj1kcQOAC3in4a4JjX7EJNFlZWs4WL8wQUq+TnfrVGru6Z+eHRQ6Sn aiylOHSlL0iGxUq1Ba/z4f54YrJZlixlGbTjBJTxU5UCn4h1EJtqJ+XLhQvvHBFRt8rS ML+RHP3HKAGhh+xndtM7HKRtYFL2zibjSGrRPX7u93dwqQIbhNSIp9KBa61ADDd6O06L b7mnWr+5isqVMhBvpW2wWttY5PzWFbqObXG13pL7RP1JIzp79yKidcS6MAVPSBbiBnTq QhuP6OQy387cquY8bkC7wMgQZakxR+IAtE0iYp4By5ywUGbNiv9Bh3SCcmHE0UPLvzKv TMUg== 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=yEzZE5AsctiV8UzAISiFTuidh4Iv7nWBJxVv81j4fjM=; b=mQDIoylelgTDDmXKSyGUFRk0s7rMU+5a9SM5bMG5RVuVHHqfNvdUquY77QsLptaewH gW2vnHw8F/tTYEwQWGpbJaPhnglZDf+el920RcLq36gsrcYKwc3uAJ/W9l7xP6tyjK57 B7ZWqHk6Sz+seER9DEoh4XTpk2Jm5dzM/i9SeXAQsj7IT3oOD9MbbMclWEcv1CmJK/wM naFurvsgOuWjO1UWZByXJoTNBEqc2UexZ7MqyIMzEGpqxcnrKsfJszXud60T/bR7fVwJ FNHijFRyevOoXlWxM0qkeClpVm3QbSuT4u5hy3GWWOa339CnRkxqinIpKDjrLDlbhP7P V+9g== X-Gm-Message-State: AJIora/uqOslw2N6iAFezmNMn9ynNbVergBPoEYBGMfXuR/zLKYm2/AF Odh/cknfz8sfTHWZ5UMBaaQ= X-Google-Smtp-Source: AGRyM1vfv7Cgas3QCL4x72LoeugEf+5QuBOt/ObCdfKbZYNaPBE3fSvOrzHolqKJ1qMx70dr7b/+8w== X-Received: by 2002:a65:430a:0:b0:412:1877:7def with SMTP id j10-20020a65430a000000b0041218777defmr2390637pgq.93.1657707449343; Wed, 13 Jul 2022 03:17:29 -0700 (PDT) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id x2-20020aa79562000000b00525521a288dsm8516798pfq.28.2022.07.13.03.17.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jul 2022 03:17:27 -0700 (PDT) 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> <87ilqrusnk.fsf@localhost> Date: Wed, 13 Jul 2022 19:17:22 +0900 In-Reply-To: <87ilqrusnk.fsf@localhost> (Ihor Radchenko's message of "Sat, 30 Apr 2022 12:00:47 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) As Ihor pointed out, delete-char deletes two letters. Can someone take a look and evaluate if this is issue with delete-char? I simplified the recipes as shown below. #+begin_src emacs-lisp (defun emacs-bug-reproduce-45915 () "Reproduce bug#45915." ;; (gnus-read-ephemeral-emacs-bug-group 45915) (interactive) (with-current-buffer (get-buffer-create "*temp buffer*") (erase-buffer) (require 'org) (orgtbl-mode 1) (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) (insert "| 1 |")) (switch-to-buffer-other-window "*temp buffer*") (execute-kbd-macro (kbd "M-< C-n C-f C-f")) (message "I will hit .") (sit-for 2) (execute-kbd-macro (kbd "")) (sit-for 2) (message "I will hit .") (sit-for 2) (execute-kbd-macro (kbd "")) (message "Two letters were deleted unexpectedly.")) ;;; (call-interactively 'emacs-bug-reproduce-45915) #+end_src From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Thu, 15 Sep 2022 09:32: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: 45915@debbugs.gnu.org, Ihor Radchenko Cc: tkk@misasa.okayama-u.ac.jp Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166323426328474 (code B ref 45915); Thu, 15 Sep 2022 09:32:02 +0000 Received: (at 45915) by debbugs.gnu.org; 15 Sep 2022 09:31:03 +0000 Received: from localhost ([127.0.0.1]:57145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYlD5-0007PB-6q for submit@debbugs.gnu.org; Thu, 15 Sep 2022 05:31:03 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:45836) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYlD1-0007Oc-1R for 45915@debbugs.gnu.org; Thu, 15 Sep 2022 05:31:01 -0400 Received: by mail-pf1-f180.google.com with SMTP id 9so6376894pfz.12 for <45915@debbugs.gnu.org>; Thu, 15 Sep 2022 02:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date; bh=VHleEc+hv3V2ZVUyXaKI1v+PBrAgK8k4Np5GTqj9rtM=; b=PVkVWMQDGakchTl+3e1S3tbVRN3oIOpu1lSEGbjbzrqQTJjUvc4P9PH3Xsp6+oPka+ iIbRusJ7VuiG9BKEXPX6jyZUCr2qP81p8ALNOFQXwc6ilkkkMWnkKzNBArTjk9VhGwLN yhUBR6NJyESnR6f+kJO0REQA4ZmMQTnN3tQeXUg0Ys3XXKo8tXVL/o00SsWFKBkxnKwL ZyttXvVyUxOtoCOhF9/Xu0aq92mWM4eHYGxhk3lGiHIsn8pPUQDitEO0XmHY/g6OG2aU xLVaVSJDGVG81o6+IgomDdxFRKuYtIe+jAhe6Oa9fZpUrQULcqAY6k4Iir2Kqy7G2zNU 9M7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=VHleEc+hv3V2ZVUyXaKI1v+PBrAgK8k4Np5GTqj9rtM=; b=MN2uqIP+W8jBNVUo8hdgkpoVzAfpcd1OG6W7WZykBSz6Bb/pcIz4sMdF7KA6X85Lxr WGgsOA1SkrsvxDaOmI2yYq8YaLxC+wSmqbLi1OU/34s9wpCcX1Z5xsr5a+aloGduH7Sy MUbmdhQgyoKduwnknaZEmo0LymS+IRzWSUTGoWqLf9L1+vdHRxHfC6MjGzbQoIVYeW3s oZkS84w9EkPd20NuxhSC87MpqjSvW/La3VjkE6tfsZZ7EaYHDoI2VHZXypT5CvNr8cIq BHAz5DBBEUOABhITLN3Hqei8pVuJ5ulr+w3LGNYb1ICa9rCzS4cxkLZShyAGZVp2UdNG Pe1w== X-Gm-Message-State: ACgBeo3wITNaklYiMaffy1ZsSWhPawStGifb2CyIwsu4FABGC2B6SVJO pvW0EM5cXUW0Rt/QDydVGJE= X-Google-Smtp-Source: AA6agR4sOC4mDMrZlJddJKu0M8weec7DWcMJeM8DyHN0ZfoQIGAZHdfwH28QyPopLd0z5+RcnvsWWQ== X-Received: by 2002:a65:64d0:0:b0:434:e318:801 with SMTP id t16-20020a6564d0000000b00434e3180801mr35353821pgv.550.1663234253098; Thu, 15 Sep 2022 02:30:53 -0700 (PDT) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id x9-20020aa79a49000000b0053812f35a41sm11989623pfj.194.2022.09.15.02.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 02:30:52 -0700 (PDT) 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> <87ilqrusnk.fsf@localhost> Date: Thu, 15 Sep 2022 18:30:49 +0900 In-Reply-To: (Tak Kunihiro's message of "Wed, 13 Jul 2022 19:17:22 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I confirmed that delete-char still deletes two letters on emacs-version: 28.2, org-version: 9.5.5. I found out (org-table-align) in (org-table-copy-down) makes this situation. Can someone take a look (org-table-align)? TIA #+begin_src emacs-lisp (defun emacs-bug-reproduce-45915 () "Reproduce bug#45915." ;; (gnus-read-ephemeral-emacs-bug-group 45915) (interactive) (with-current-buffer (get-buffer-create "*temp buffer*") (erase-buffer) (require 'org) (orgtbl-mode 1) (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) (insert "| 1 |")) (switch-to-buffer-other-window "*temp buffer*") (execute-kbd-macro (kbd "M-< C-n C-f C-f")) (message "I will call #'org-table-copy-down.") (sit-for 2) (call-interactively #'org-table-copy-down) (sit-for 2) (message "I will hit .") (sit-for 2) (execute-kbd-macro (kbd "")) (message "Two letters were deleted unexpectedly.")) ;;; (call-interactively 'emacs-bug-reproduce-45915) #+end_src From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 23:57:14 2022 Received: (at control) by debbugs.gnu.org; 16 Sep 2022 03:57:14 +0000 Received: from localhost ([127.0.0.1]:41093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ2TZ-0003wq-LS for submit@debbugs.gnu.org; Thu, 15 Sep 2022 23:57:13 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:39466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ2TW-0003wa-8d for control@debbugs.gnu.org; Thu, 15 Sep 2022 23:57:12 -0400 Received: by mail-pf1-f180.google.com with SMTP id u132so20016225pfc.6 for ; Thu, 15 Sep 2022 20:57:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date; bh=nt3A/JBqbElvHXud5cON5Mys0+Lmg1AcUkiqUBTDJF0=; b=kyA8Wf9y8TEd6tOiu583Rt3RmUfdbFdWybblp8veXKow6lNO3uUFLQaUAXWEP5okcs AcHykSzViUJ4ehO1dV+Flecz6h/oaJ/GnulnoTd7dz1r+7vgYhwPRaOh9zzlAC/ynvj4 FUi6Z1mv/2BSton9w0/ZHU0zcrfqW8LaSXf2P5CVMXPkgnKWeaj6Pph82Z1/OuWZoiJh M50ipVHHQoUz9uHZLUaz5fDNgq3OUm+3alTi5hvIjkFPfe4/MQB+yOykbbZ+0rluFUiT qL5M7pHA+ZpKS+Q1KbgYUZzUNsU98dL14Zd6dDZbkErg98i2wY+aJp/DcqxDTFYSJKfA He+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date; bh=nt3A/JBqbElvHXud5cON5Mys0+Lmg1AcUkiqUBTDJF0=; b=3p18ZZpFyMJ4+QCDsBwwnDEgpd8pfFM8Ndf8kwmfiRbt2TS9lhbX3rfMUo8/c6uFwh 6ZlAK4I0SLiMIcglJBfA4S4oF7kg8HS93LsNGuvU7SRB3oj6+wW5mxWxwKMaT1kIqARY g4XhACkgFUbGJRLoTuxVjV3hRhl1GNxLsivn1rjvB0e91cNFeS7At37hbvCTsxUpyy+H 3Y1EvUMkhArMNIcBp6EtF5PW8WTx7I5tkW7ulypVkYbmiwCI04giTWfSEqBejlPAubiH 5x2ZYAYL/rTlC4EBt6h9bYng2ZtX66v3+jM8XE8pt9ESOHAwL/D5InkMtxkoFFRBXzyB Uz0A== X-Gm-Message-State: ACrzQf1gDFbMdy63kFeAebsFof71mdw8VkAYy8UVsndkUZLWC9u8EWog ziEZESHfl3fqa1QRzi/IfF3i1sNzlPo= X-Google-Smtp-Source: AMsMyM701HE3Ysnhtgie4EfgIwIdVpB/ilVd7ONkTyzOd43hOSR1mLweo1faaj+JzXvdaZjbZdFf1Q== X-Received: by 2002:a05:6a00:140a:b0:540:bdb4:aa54 with SMTP id l10-20020a056a00140a00b00540bdb4aa54mr2738357pfu.17.1663300623952; Thu, 15 Sep 2022 20:57:03 -0700 (PDT) Received: from localhost ([1.83.155.65]) by smtp.gmail.com with ESMTPSA id b6-20020a170903228600b0017693bb573bsm13774547plh.219.2022.09.15.20.57.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 20:57:03 -0700 (PDT) From: Ihor Radchenko To: control@debbugs.gnu.org Subject: control message for 45915 Date: Fri, 16 Sep 2022 11:58:00 +0800 Message-ID: <871qscug1j.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) reassign 45915 emacs From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2022 03:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tak Kunihiro Cc: tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166330070715333 (code B ref 45915); Fri, 16 Sep 2022 03:59:02 +0000 Received: (at 45915) by debbugs.gnu.org; 16 Sep 2022 03:58:27 +0000 Received: from localhost ([127.0.0.1]:41098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ2Ul-0003zD-6Z for submit@debbugs.gnu.org; Thu, 15 Sep 2022 23:58:27 -0400 Received: from mail-ej1-f50.google.com ([209.85.218.50]:38739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZ2Ui-0003yj-F3 for 45915@debbugs.gnu.org; Thu, 15 Sep 2022 23:58:25 -0400 Received: by mail-ej1-f50.google.com with SMTP id u9so46642655ejy.5 for <45915@debbugs.gnu.org>; Thu, 15 Sep 2022 20:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=2o1fhBtNeCzjf8p75rYPNOkbVkhdgGhMGtLS09wsbeA=; b=LFUN+9QoyiRHcTcc89jkQtMR0P9ucZbShHQLXFFHki3fc0Cyd5QOsxOW4PcGkul+zN cHZSRWOX2iSwjHmffkIRyGvKZfR74GS6+7VZhZDp3+u1URBmvNl2lrvHJPD1Y3tFWnD1 oSoKNHJodelQ8eosoEUqMVqcpgzv3Cj4NHZsPlCVV22hgKW8RA4NWEWdJFeNIzcDryp/ srPh43/cS+0lbTEaluz/5nH36dRc+/xF7xLB6RgzaL0AeNCObVgV2eSins5u7Zz9kBPN P6b3KfEDRZA/RibSwQJZL4pCDiRK5/S5V90fZ5mqcaJqNMIYNlQIzj5+M/shHICEBMGJ BUnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=2o1fhBtNeCzjf8p75rYPNOkbVkhdgGhMGtLS09wsbeA=; b=eFDZLslDCmqxzY9hIcFIOqx39oW5VYIhEikgrABOEwr/AgVsTBsjaLtIlAQx98zjAW 9QIxfb4hqT5AZYeCdVDFqfcgVtUNZYIR6DcEPuImQZE9siQTcEVWFb9w0gBx/Sd74Ef0 0rLuvJvEhxwDpAo94e/BZFHl25mGBBt859v/vuo49bkfdnDYXQH8NOHjOodSBH6OJmiU oDaHcvyqlpAEse3eN64H5AM0V/9+XwY3AlLqRDgrt3PCuJCpIWNceed1ZL054zOCoGs7 uOBFwfXuXllySvkCBNN5PwWGYWeqnc99aZMv9nMjXv3KoLVxcLfW4S+/YAqioqFwtIPJ utfQ== X-Gm-Message-State: ACrzQf0UiTpiqvlRqERoDlMTYTOz3EBl9G8tcUNWN3iENWiw3Nbs/K/A xfSl9R51bQG5Ms3DcX54bgU= X-Google-Smtp-Source: AMsMyM5R+2+6nu1T/IWfV9bjOuWbuRSUxgc4Dt8a6JrAaMO8fpKr1dwjG3ZgvD8NzIkM9LAa3b+cxA== X-Received: by 2002:a17:907:9812:b0:77c:8496:2969 with SMTP id ji18-20020a170907981200b0077c84962969mr2009600ejc.424.1663300698565; Thu, 15 Sep 2022 20:58:18 -0700 (PDT) Received: from localhost ([1.83.155.65]) by smtp.gmail.com with ESMTPSA id z25-20020aa7d419000000b0044efc3d4c4csm12822961edq.33.2022.09.15.20.58.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Sep 2022 20:58:18 -0700 (PDT) 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> <877dc0sqm6.fsf@localhost> <87ilqrusnk.fsf@localhost> Date: Fri, 16 Sep 2022 11:59:13 +0800 Message-ID: <87y1ukt1f2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Tak Kunihiro writes: > I confirmed that delete-char still deletes two letters on > emacs-version: 28.2, org-version: 9.5.5. > > I found out (org-table-align) in (org-table-copy-down) makes > this situation. > > Can someone take a look (org-table-align)? I think that the thread has been lost because the bug has been assigned to Org. I now tried to reassign the bug back to emacs. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92 From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 03:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45915@debbugs.gnu.org Cc: tkk@misasa.okayama-u.ac.jp, Ihor Radchenko Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16633865498645 (code B ref 45915); Sat, 17 Sep 2022 03:50:02 +0000 Received: (at 45915) by debbugs.gnu.org; 17 Sep 2022 03:49:09 +0000 Received: from localhost ([127.0.0.1]:44773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZOpI-0002FK-RO for submit@debbugs.gnu.org; Fri, 16 Sep 2022 23:49:09 -0400 Received: from mail-pf1-f179.google.com ([209.85.210.179]:43913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZOpF-0002Eh-AJ for 45915@debbugs.gnu.org; Fri, 16 Sep 2022 23:49:07 -0400 Received: by mail-pf1-f179.google.com with SMTP id d82so23004686pfd.10 for <45915@debbugs.gnu.org>; Fri, 16 Sep 2022 20:49:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:cc:to:from:from:to:cc:subject:date; bh=7SXuVBr9BjlMoIr/wWRx6d6R45fY2IIrza6lkZxEkdA=; b=GYOmuVQKYO1nN1FajVowFGsa1ZD60fu2xFZOUR+HV+XK9GQB0BW9C6qk6Ft2njCot1 BEYOWL/a1J1q44gd0spdRGsZdOE4WE9atW6Tw+5mBtMaGB6/cNcF6KgNyFG9qO5qWEwa DVh8li7bMdkkIm2S9AMjFmFCRf8zUaD3Nj1goEeVn3a2jb20v3AEEYpMlDqrJ8vn/4Kq xwwVCsbCMhUxRZK7WFMN0HvW6ek5lFsY4DcqSeEux2AKezvl7LkIKUjd4hJFOuV875Yl dJ+EsHxUnQvSNK46Mso0iEpbsYCNVp+TYJwdcCmEdSN473bo2Ui/yVqztKIeATO6ErUo B5bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=7SXuVBr9BjlMoIr/wWRx6d6R45fY2IIrza6lkZxEkdA=; b=mvS6997vHM4hzWWxETLlWqOIZ2L6LUJj8ws4suyUb6M271Qfisj09QnaSZaSv6EKqV aHSgpt7bXH+12JyGmb6y5y8Af0TpNKDSgs3JnzVkw5t3LVkCPevZ20sAJGEUddd+ZXWf DR8QuV5ixAZlSiBxARLugzqBzJU6ImM6BnvD+wG2jvl4jnaLrsoNqX9iQGG/kIFXdveY IQ9dJGpjdIvp9Hx/o/N9GvxdRsHdMVxM70DOECRe2ev8tN3e/+4o8737br4L3e78cGI+ iijwiIUK0ZZ9SRuXeGhEkijBCm+xMhIclAP/dwJYRX47s6hys24Gdb4yEoKx2NVx5PfU 0NiQ== X-Gm-Message-State: ACrzQf0j5s/ZGYAtUDMiOZETZVZ0iyxmpunuvfczOzoY6+m+X0baiW7F 6OF08r3hRYnGp3kNOEgdUJo= X-Google-Smtp-Source: AMsMyM7L87sRRdAwYgP05jTwU3vca62Kmmh7CTo0RLzBqkZV6skRUsRYIS6LfFbnLGpbPV5AdXmQSQ== X-Received: by 2002:a05:6a00:2446:b0:528:5f22:5b6f with SMTP id d6-20020a056a00244600b005285f225b6fmr8695719pfj.73.1663386539254; Fri, 16 Sep 2022 20:48:59 -0700 (PDT) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id k7-20020a170902c40700b0016d9d6d05f7sm15761244plk.273.2022.09.16.20.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Sep 2022 20:48:58 -0700 (PDT) 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> <87ilqrusnk.fsf@localhost> Date: Sat, 17 Sep 2022 12:48:56 +0900 In-Reply-To: (Tak Kunihiro's message of "Thu, 15 Sep 2022 18:30:49 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I see a light. With the following patch, deletes only a letter. The (org-table-align) inserts string with text properties. It seems that the text properties matter. However, I do not understand what's going on there. Can you take a look (org-table-align) with this hint and revise it in correct way? diff --git a/lisp/org/org-table.el b/lisp/org/org-table.el index 9b692d09736..55bc2838718 100644 --- a/lisp/org/org-table.el +++ b/lisp/org/org-table.el @@ -4410,6 +4410,7 @@ org-table-align alignments) "|"))) "|"))) + (setq new (substring-no-properties new)) (if (equal new previous) (forward-line) (insert new "\n") From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 06:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tak Kunihiro Cc: tkk@misasa.okayama-u.ac.jp, yantar92@gmail.com, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166339674926039 (code B ref 45915); Sat, 17 Sep 2022 06:40:01 +0000 Received: (at 45915) by debbugs.gnu.org; 17 Sep 2022 06:39:09 +0000 Received: from localhost ([127.0.0.1]:45016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZRTp-0006lv-CD for submit@debbugs.gnu.org; Sat, 17 Sep 2022 02:39:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZRTm-0006lV-S7 for 45915@debbugs.gnu.org; Sat, 17 Sep 2022 02:39:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37450) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZRTg-0002qh-0B; Sat, 17 Sep 2022 02:39:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=nZMfpHr/qHQHFoFUqT7JiNqEG7xsWe9kl7NjK5k2QgA=; b=AdDHIlUvPpgU 39Hut6TNpOI7lwJ4hMqjqqv91t2SbsvIhL6ikgdGtLWqvc1oVGHLxjqmtuXuXpKUaZ3bWNxRIOvzR J76R6vDtCtH7vwYrzz2dSzA1kPl0XbJLGSCeuGxk1tkXlfxHVEHuu3KRvHr4iLQDtW4UjC8HtX5r3 62P5paNRKbxDT0dtHJN+gn2d2ar9m9oS3cDZZ3J+g+bt1E8ZTYJTRdbZcd6TXY7YRs0Xp3ObDUMCO BCkqVhD0zhNmRPTvegsUYWk1XqPVx2HkP1n8uBdCx/6a17auFvUAMsN/e2BXafm4mCDPLkgkbtv6j DKSIaGQpaQtVYfkpy8i+HQ==; Received: from [87.69.77.57] (port=1766 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZRTe-0006U1-LN; Sat, 17 Sep 2022 02:38:59 -0400 Date: Sat, 17 Sep 2022 09:38:57 +0300 Message-Id: <83bkre33pa.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Tak Kunihiro on Sat, 17 Sep 2022 12:48:56 +0900) 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> <87ilqrusnk.fsf@localhost> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: tkk@misasa.okayama-u.ac.jp, Ihor Radchenko > From: Tak Kunihiro > Date: Sat, 17 Sep 2022 12:48:56 +0900 > > I see a light. > With the following patch, deletes only a letter. > > The (org-table-align) inserts string with text properties. > It seems that the text properties matter. > > However, I do not understand what's going on there. Can you take a look > (org-table-align) with this hint and revise it in correct way? Why do you think your proposed change is incorrect? Rather than asking us to study how org-table works and why it misbehaves in this case, would it be possible for some Org expert to explain that in simple terms, so that the relation of what happens to the relevant core Emacs features could be easier to realize? For example, what are the text properties involved in this case, the ones that substring-no-properties removes? Is it possible that one of these properties is 'composition'? From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 08:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Tak Kunihiro , tkk@misasa.okayama-u.ac.jp, yantar92@gmail.com, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16634028383556 (code B ref 45915); Sat, 17 Sep 2022 08:21:02 +0000 Received: (at 45915) by debbugs.gnu.org; 17 Sep 2022 08:20:38 +0000 Received: from localhost ([127.0.0.1]:45145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZT41-0000vI-LF for submit@debbugs.gnu.org; Sat, 17 Sep 2022 04:20:38 -0400 Received: from mail-pf1-f179.google.com ([209.85.210.179]:44903) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZT40-0000v6-7V for 45915@debbugs.gnu.org; Sat, 17 Sep 2022 04:20:36 -0400 Received: by mail-pf1-f179.google.com with SMTP id j12so23366234pfi.11 for <45915@debbugs.gnu.org>; Sat, 17 Sep 2022 01:20:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:cc:to:from:from:to:cc:subject:date; bh=6QZL9JbpztL8Vpi1sSspS9KTJnFLM6WDNAFwrtc5qy8=; b=RuaKEHNnoi69PaEnwvIPskgeD00A8YtQ1OARh/FFxz6HaBXWakFonrldm12sjOwse5 XmpZv9h/oJcVRV0tN75MVMQQjFV4sUGa/fSKpcwd64vkPOGDAy2uYzw2UCrYBWsMH9R1 nkBLKfM0frnKit47V7Zb6SqjrS5pYNTZOTwNvQLBxQGx2QF43Ldv8iy7aBnsOX/ZfoDk qv9Doo6n76gGtdsROJ+R+0elK/i9fJCuUdREtZ1bX0Y8iuHLun2L/N3nxLyje41+Vejz UzEu9wAMPwnzz1sMqPj8viNcJeo4/YSzfAsV7ZnNdGdxyafg8xh7fQOr3KLgJSEpVMws c1Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=6QZL9JbpztL8Vpi1sSspS9KTJnFLM6WDNAFwrtc5qy8=; b=vj+pLZj0ZTOa8HaMVmwyG8C7jVHPDLt3AdR0ucKPlIKpCM4LtBnvuPfUWbPtDNXhEm uoYrAmj4otBsfcT+R3d6GGivP+E428wubHN0zQXLnHcjGnhtrY3Gn6DTpMrA9G6SwPPc dOY6nLbOrU6SYjP1pdz+dkKycv3VBRqitpdD3toW/1VOpuEoV66GId3P0h7OrBKX8vxo +W6OH9gzREXlI0gwAz+hBzewRRFglNTySw9qfzapZ1fdrtOucZ6mMijVB+27JMEov9LV e2f7ciAKWZ5z8rIDsqbchxCx9SwUBXBIJEkDZswJPUglOR+Rse7rF20+QkdFjpwuSNCC j1kA== X-Gm-Message-State: ACrzQf18I7LVnUKhxSNCAlPdVuzsqAq+L1aoXE+dhmoN3ZgclJqzaFTI kGcvOOKcRFodsRO1RnaMax4= X-Google-Smtp-Source: AMsMyM6RRVQI2Hq3fKRmK7EHpE5LCn0HEsOW9R3Aslqal8m4Q3a8O/7hM8bAdVp1n3A6JwEi9K/nsA== X-Received: by 2002:a63:8949:0:b0:439:c1df:5e6e with SMTP id v70-20020a638949000000b00439c1df5e6emr4874373pgd.112.1663402830464; Sat, 17 Sep 2022 01:20:30 -0700 (PDT) Received: from DreamBook2017.local ([2400:4153:47a0:f300:a5d9:f759:ecf2:293f]) by smtp.gmail.com with ESMTPSA id r2-20020aa79ec2000000b00545f5046372sm10109166pfq.208.2022.09.17.01.20.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Sep 2022 01:20:30 -0700 (PDT) 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> Date: Sat, 17 Sep 2022 17:20:26 +0900 In-Reply-To: <83bkre33pa.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 17 Sep 2022 09:38:57 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> Cc: tkk@misasa.okayama-u.ac.jp, Ihor Radchenko >> From: Tak Kunihiro >> Date: Sat, 17 Sep 2022 12:48:56 +0900 >> >> I see a light. >> With the following patch, deletes only a letter. >> >> The (org-table-align) inserts string with text properties. >> It seems that the text properties matter. >> >> However, I do not understand what's going on there. Can you take a look >> (org-table-align) with this hint and revise it in correct way? > > Why do you think your proposed change is incorrect? > > Rather than asking us to study how org-table works and why it > misbehaves in this case, would it be possible for some Org expert to > explain that in simple terms, so that the relation of what happens to > the relevant core Emacs features could be easier to realize? For > example, what are the text properties involved in this case, the ones > that substring-no-properties removes? Is it possible that one of > these properties is 'composition'? Dear Eli, thank you for the response. I really want to fix it to switch to 28.2 from 26.3! 1. Following function will create a problematic org-table. (defun emacs-bug-reproduce-45915 () "Reproduce bug#45915." (interactive) (with-current-buffer (get-buffer-create "*temp buffer*") (erase-buffer) (require 'org) (orgtbl-mode 1) (setq org-table-copy-increment nil) (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) (insert "| 1 |")) (switch-to-buffer-other-window "*temp buffer*") (execute-kbd-macro (kbd "M-< C-n C-f C-f")) (message "I will call #'org-table-copy-down.") (call-interactively #'org-table-copy-down)) ;;; (call-interactively 'emacs-bug-reproduce-45915) 2. Buffer is with the 1x2 table as shown below. deletes one letter on the first row, and it does two letters on the second row. emacs-version: 28.2, org-version: 9.5.5 | 1 | | 1 | 3. I wonder what is the difference between two lines. I examined each line with following statement. (buffer-substring (line-beginning-position) (line-end-position)) line 1 returns: "| 1 |" line 2 returns: #("| 1 |" 1 2 (display (space :relative-width 1)) 3 4 (display (space :relative-width 1))) 4. Although I do not know how to understand the return for line 2, I speculated the problem is something to do with text properties. 5. It is (org-table-align) that generates and inserts the second line with text properties. 6. I tried to remove text-properties from string to be inserted by (org-table-align) using substring-no-properties (as shown in the patch). Now, both lines returns the same "| 1 |". Problem disappeared. 7. Since I do not know intention why (org-table-align) wants to give text properties to tables, I cannot tell the side effect of the patch. TIA From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 11:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tak Kunihiro Cc: tkk@misasa.okayama-u.ac.jp, yantar92@gmail.com, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166341347422112 (code B ref 45915); Sat, 17 Sep 2022 11:18:02 +0000 Received: (at 45915) by debbugs.gnu.org; 17 Sep 2022 11:17:54 +0000 Received: from localhost ([127.0.0.1]:45256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZVpZ-0005kX-V8 for submit@debbugs.gnu.org; Sat, 17 Sep 2022 07:17:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZVpX-0005k9-2U for 45915@debbugs.gnu.org; Sat, 17 Sep 2022 07:17:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:32770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZVpQ-0005ZB-3z; Sat, 17 Sep 2022 07:17:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=eDDrBmGLSLeG1BMv+d2oSVtw6nth/yJvfoL5CNJIZfg=; b=bRo75QFDr5GZ yv22ZSf7BXoHuYUYUimtA95Jt/ocummmYDZk0SkYt/DTGQXnAl5lduVU6Wv7LzyUA1LTHib8rcvRM Fdx4JI1X0JINJ1JsQLj17D82Kc1kh9xj9asoJYx11jpgXmmu5yz/0zMliq497htq8reEkzXo8g3vv VvgDVdwC66DvSVbM6K157pB25qauOSBRrl3jECWPUWVW7gpvIL5C6UMkjr+QbkxdInc+MCZKlywwy 7x/xq+BDdb6z25y5b1cCxn1tE89rFurzyRz48kcLrYnDhy3FSoaTq7VET/eQelaPebfmmCKqwn27d 8bQg75FFv8OMJfqd/rRdpg==; Received: from [87.69.77.57] (port=3103 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZVpP-00057M-Dr; Sat, 17 Sep 2022 07:17:43 -0400 Date: Sat, 17 Sep 2022 14:17:41 +0300 Message-Id: <83o7ve1c8a.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Tak Kunihiro on Sat, 17 Sep 2022 17:20:26 +0900) 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tak Kunihiro > Cc: Tak Kunihiro , 45915@debbugs.gnu.org, > yantar92@gmail.com > Cc: tkk@misasa.okayama-u.ac.jp > Date: Sat, 17 Sep 2022 17:20:26 +0900 > > 1. Following function will create a problematic org-table. > > (defun emacs-bug-reproduce-45915 () > "Reproduce bug#45915." > (interactive) > (with-current-buffer (get-buffer-create "*temp buffer*") > (erase-buffer) > (require 'org) > (orgtbl-mode 1) > (setq org-table-copy-increment nil) > (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) > (insert "| 1 |")) > (switch-to-buffer-other-window "*temp buffer*") > (execute-kbd-macro (kbd "M-< C-n C-f C-f")) > (message "I will call #'org-table-copy-down.") > (call-interactively #'org-table-copy-down)) > ;;; (call-interactively 'emacs-bug-reproduce-45915) > > 2. Buffer is with the 1x2 table as shown below. deletes one > letter on the first row, and it does two letters on the > second row. > > emacs-version: 28.2, org-version: 9.5.5 > | 1 | > | 1 | No, it doesn't delete 2 characters in the 2nd line, it deletes just one. After you press , type C-b (to go to the space between the two '|' characters, and type "C-x =". You will see this: Char: SPC (32, #o40, #x20, part of display " ") point=51 of 54 (93%) column=1 Note the "51 to 54" part: there's a 'display' property there that covers _two_ buffer positions, not one. That's because the two 'display' properties on the two SPC characters before the deletion have the same value: > (buffer-substring (line-beginning-position) (line-end-position)) > > line 1 returns: "| 1 |" > line 2 returns: #("| 1 |" 1 2 (display (space :relative-width 1)) 3 4 > (display (space :relative-width 1))) Those two 'display' properties are now displayed as a single stretch glyph, because two adjacent text properties with the same value are indistinguishable from a single one that spans all of the buffer positions. This is not a bug, this is how Emacs always worked. The question is now why is this a problem for you, and how it affects Org Table. The solution, if there's a need for one, should IMO come from the Org side. From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Sep 2022 05:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: yantar92@gmail.com, 45915@debbugs.gnu.org, Eli Zaretskii Cc: tkk@misasa.okayama-u.ac.jp Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166347991418704 (code B ref 45915); Sun, 18 Sep 2022 05:46:02 +0000 Received: (at 45915) by debbugs.gnu.org; 18 Sep 2022 05:45:14 +0000 Received: from localhost ([127.0.0.1]:47568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZn7C-0004rc-3w for submit@debbugs.gnu.org; Sun, 18 Sep 2022 01:45:14 -0400 Received: from mail-pj1-f47.google.com ([209.85.216.47]:47101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZn76-0004rH-SK for 45915@debbugs.gnu.org; Sun, 18 Sep 2022 01:45:12 -0400 Received: by mail-pj1-f47.google.com with SMTP id j6-20020a17090a694600b00200bba67dadso3210301pjm.5 for <45915@debbugs.gnu.org>; Sat, 17 Sep 2022 22:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date; bh=QLhxGFPuiLZLhb8pEovnmwboFBSbhvDV2NOBTut5Gdg=; b=U2ilwWWLFTt3JjLKUDOaE6QUDotORGNGe4Ed3KzrPOGAC97F9e+tusMGJNueXV1/2O memN2rT2ZV0qi+M/sow9x2hT+7B0Bi0rNXdBjKFv0wnNBfJpgpvuIRNM8kAVPJ3tKhuc 14qxi9O38tQ+YhF/XzvLBW/npc9XWnma2Uvr83bLW35y8E8WxegDGt7EIcX0VTo20euK hIyG1wsRbecJfmxtd5W9RSw4QNSkeDogC7hUb5bZ3GYBKUUpIdJm8625/5tWGWfpuzHo 7BjkzeW1kE0Ht7KoQNZFDRB8tcfSwjh0ImQ2FKMz8K34IADlm9HJnqH9FP1/9dlxo+VE /vcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=QLhxGFPuiLZLhb8pEovnmwboFBSbhvDV2NOBTut5Gdg=; b=dgSPLNF/rN36NSaaLVrRcb0BDC7Ec0jr31r8xtKd/fx6RKGcqF0ZchEcmpZ0PvCo5h wWnp+qaWaN/8uepsnyzpsWiaSaPirEeBmZe5a5nxFCBDB1TU0p3gohDIfSEWAQvmQEpN 5J2/hcKkg8nqmUFdw4SJ8Kur7r1l5CYiTwhsPMyNpYDad4xqKkFQmK02f1EzbWrrkWP2 Q+Bjx0frspsJpSSovzDFTh6q2DC3LfihelEkA6PRyYbeCh4XwxOBLVZ47d7EOqxGQ3ku V2HNzCwDaxPBWrq5wwS7RSTWX0I/JIMGf3OAsVHEf8Oivr7SmT7uHxk/lW8JxLsTmbZF o2Xg== X-Gm-Message-State: ACrzQf3jdSMImK3cyfPsuk6KcvsyPuYjlo/d3AAc6LcxcHAryO3TeOut DbXV0BJVR2VXBweKJkwwDmQ= X-Google-Smtp-Source: AMsMyM5ygP8w9nEwS8waCOjUXLE/Cp0wG8LprxL7e8KHzkNse+3HwfK89UGH4KWGp00HeBnt2zhhfw== X-Received: by 2002:a17:902:c944:b0:178:4568:9f99 with SMTP id i4-20020a170902c94400b0017845689f99mr7518843pla.98.1663479902824; Sat, 17 Sep 2022 22:45:02 -0700 (PDT) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id i10-20020a170902c94a00b001768517f99esm18048876pla.244.2022.09.17.22.45.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Sep 2022 22:45:02 -0700 (PDT) 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> <83o7ve1c8a.fsf@gnu.org> Date: Sun, 18 Sep 2022 14:44:59 +0900 In-Reply-To: <83o7ve1c8a.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 17 Sep 2022 14:17:41 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >> (buffer-substring (line-beginning-position) (line-end-position)) >> >> line 1 returns: "| 1 |" >> line 2 returns: #("| 1 |" 1 2 (display (space :relative-width 1)) 3 4 >> (display (space :relative-width 1))) > > Those two 'display' properties are now displayed as a single stretch > glyph, because two adjacent text properties with the same value are > indistinguishable from a single one that spans all of the buffer > positions. > > This is not a bug, this is how Emacs always worked. I see. I understand that 'display' properties on an org-table matters. I took a look for (org-table-align) and found that `org-table-separator-space' defines the text properties as shown below. org-table.el: (defconst org-table-separator-space org-table.el: (propertize " " 'display '(space :relative-width 1)) org-table.el: "Space used around fields when aligning the table. org-table.el: This space serves as a segment separator for the purposes of the org-table.el: bidirectional reordering.") Although I still do not understand the purpose of `:relative-width', problem disappeared with following configuration. (with-eval-after-load "org-table" (setq org-table-separator-space " ")) I have an impression that default characters on org-table-separator-space is problematic. From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Sep 2022 05:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tak Kunihiro Cc: tkk@misasa.okayama-u.ac.jp, yantar92@gmail.com, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166348061720669 (code B ref 45915); Sun, 18 Sep 2022 05:57:01 +0000 Received: (at 45915) by debbugs.gnu.org; 18 Sep 2022 05:56:57 +0000 Received: from localhost ([127.0.0.1]:47595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZnIX-0005NJ-8b for submit@debbugs.gnu.org; Sun, 18 Sep 2022 01:56:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZnIV-0005N6-UC for 45915@debbugs.gnu.org; Sun, 18 Sep 2022 01:56:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZnIO-0007Om-DT; Sun, 18 Sep 2022 01:56:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Wfs05LUeHvIsZpj6idVuPImf+bEcyJsTpD6OQAoVtvI=; b=LQLXu3VpAR1k /6P9dvseKOS5hYWpBaqJW2MeITLdVz3moJ06oDv8sI4UxYOethduZfXV7nm4uwzsMTAWHVRxBmDIZ sFU0kZYd9mDedR+4szt7lLEcaashuPFWR9a9LNxLbVNz6hvIIQJIrd3/xm7jv74sFaeFOY3L+nZ3B yK9oAUSAYcVgE44C8TCDTnnmmG9teWFHIqvApp0bgHgiR6efon1vfp7r78Eqo5eLacl3JaG3Hvbxu ZlbD+z/gwXW5VIryCdwc7ixZ1I5hVa0sNCAGlLZ18lulZp7ZnTvTET9DvHLUhMpzMuTNgDVXWqcYs VO2xWJdcHpDBlIaLgmMRqQ==; Received: from [87.69.77.57] (port=4268 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZnIN-0002HH-NF; Sun, 18 Sep 2022 01:56:48 -0400 Date: Sun, 18 Sep 2022 08:56:48 +0300 Message-Id: <83illlz0m7.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Tak Kunihiro on Sun, 18 Sep 2022 14:44:59 +0900) 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> <83o7ve1c8a.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tak Kunihiro > Cc: tkk@misasa.okayama-u.ac.jp > Date: Sun, 18 Sep 2022 14:44:59 +0900 > > I see. I understand that 'display' properties on an org-table matters. > I took a look for (org-table-align) and found that > `org-table-separator-space' defines the text properties as shown below. > > org-table.el: (defconst org-table-separator-space > org-table.el: (propertize " " 'display '(space :relative-width 1)) > org-table.el: "Space used around fields when aligning the table. > org-table.el: This space serves as a segment separator for the purposes of the > org-table.el: bidirectional reordering.") Yes, and that's exactly right for when the table could include bidirectional (i.e. mixed L2R and R2L) text. > Although I still do not understand the purpose of `:relative-width', > problem disappeared with following configuration. > > (with-eval-after-load "org-table" > (setq org-table-separator-space " ")) I don't think this is the right solution. One possible solution that is better is to bind to an org-table specific command, which would insert some character displayed as a thin space between the two spaces that have the 'display' property. But I'll let Ihor chime in. > I have an impression that default characters on > org-table-separator-space is problematic. What do you mean by "default characters"? From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Sep 2022 08:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: yantar92@gmail.com Cc: homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.1663488332607 (code B ref 45915); Sun, 18 Sep 2022 08:06:02 +0000 Received: (at 45915) by debbugs.gnu.org; 18 Sep 2022 08:05:32 +0000 Received: from localhost ([127.0.0.1]:47721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZpIx-00009i-QF for submit@debbugs.gnu.org; Sun, 18 Sep 2022 04:05:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZpIv-00009W-Qo for 45915@debbugs.gnu.org; Sun, 18 Sep 2022 04:05:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZpIm-0000T3-F2; Sun, 18 Sep 2022 04:05:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ieW3E2owglPGtoYB83luiCGX4dQ3QidTqAM+6XeUve8=; b=iytvOTGe2xh8 tawMKGoe0xqSeu4a4JDTM3QPRImhcfo7eMw+May1nNNeQC8vPqd31pY+XIahWIAS3F0a+al1FZEd3 C4pyOQSRMAN2pH1gzal6rQrZ7m3HfHtiMS8aDJqXLSJkdrpn3WxdCvhE+NnMxlnowozeA9HeU7Huh oWr1k+VeoSP2x9IlKzUEcuqWCGOney+E8amuV03ssXCo8Qj3R7L29YSwmTNNA8jU1YAVT47GC1mCN lMJ9hODiuKoUWTdS04wVd+3DVFVQGc7bnGrB/forDcGPcsihWwB7jjMrZhIkKu8mXW4P8imKF6+Ye uw+IL+rbwOnfCtG+Sgd4hA==; Received: from [87.69.77.57] (port=4288 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZpIl-00079p-Lk; Sun, 18 Sep 2022 04:05:20 -0400 Date: Sun, 18 Sep 2022 11:05:20 +0300 Message-Id: <83edw9yunz.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <83illlz0m7.fsf@gnu.org> (message from Eli Zaretskii on Sun, 18 Sep 2022 08:56:48 +0300) 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> <83o7ve1c8a.fsf@gnu.org> <83illlz0m7.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: tkk@misasa.okayama-u.ac.jp, yantar92@gmail.com, 45915@debbugs.gnu.org > Date: Sun, 18 Sep 2022 08:56:48 +0300 > From: Eli Zaretskii > > I don't think this is the right solution. One possible solution that > is better is to bind to an org-table specific command, which > would insert some character displayed as a thin space between the two > spaces that have the 'display' property. But I'll let Ihor chime in. One other possibility is to use a slightly different :relative-width factor for the two spaces in a table cell: one with the value of 1, the other with 1.001 (say). They will be indistinguishable on display, but since the values are not equal, both stretch gfyphs will be displayed, not just one. From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Sep 2022 01:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: tkk@misasa.okayama-u.ac.jp, yantar92@gmail.com, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166354938010318 (code B ref 45915); Mon, 19 Sep 2022 01:03:01 +0000 Received: (at 45915) by debbugs.gnu.org; 19 Sep 2022 01:03:00 +0000 Received: from localhost ([127.0.0.1]:51579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa5Bc-0002gL-9Z for submit@debbugs.gnu.org; Sun, 18 Sep 2022 21:03:00 -0400 Received: from mail-pj1-f42.google.com ([209.85.216.42]:37721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa5Ba-0002g8-9R for 45915@debbugs.gnu.org; Sun, 18 Sep 2022 21:02:59 -0400 Received: by mail-pj1-f42.google.com with SMTP id n23-20020a17090a091700b00202a51cc78bso5406922pjn.2 for <45915@debbugs.gnu.org>; Sun, 18 Sep 2022 18:02:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:cc:to:from:from:to:cc:subject:date; bh=rrTjmtYxJK3G8bJoB5hLwtlp4/4wM4gN8KpAqyJL0Jo=; b=ZLyPkI6nlEnjEH8Pi1WT1QrqigDYTCMZFLT/6SKR6Cnsz9VOatWVvBLngTIM3fk22n kGRXV2GjFlld/DuVJyGI8S6ZLzryfSrAVZsPWTNLHKYZUAwDM2+9VWOrZMj508MoF7bh XpFruyhF2aYYdY1P/j7pNurjF9/nSa/7twY9HvnofmFPkbMh9i+PFuVJ+8jDJ2n0eJ5l rrqSvgi5n7afeLXH4aLR+hykmFBD+7yYpLPaCtcfWmKHZ9zvHSJz0VmJKE5FPGXVABDl fvYaaLbn9tgRwwg5yo3d905HL35tBGhZWp1YbEdYF8AoiZSHNlWY0QhDf4FEfyQaKSY4 bNYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=rrTjmtYxJK3G8bJoB5hLwtlp4/4wM4gN8KpAqyJL0Jo=; b=tKHzcw7R4R1ndRg0FYa0QVNyr3auyE7yzWYdeO/VyCdUs+c/ar8pIjG2adUAqvVg0n O9t0z62YBBvLN/0lg/isC5wh15Z7xPdbnUpdmpenByT/jS/NLIzxDgcwEd1zbuODsHpu RJKzViCaQ6HxshO7zBCgfI810DWedbELLlg9fyianQzNjHfHgJ2kkZw9yAhuhUBLxnQ6 XhPUyIsLxSKmp+MQggpYRZ5tVH/TVksUtigd77krLyOdkBSsD6rzN4xA1XGtdaKKip3m KE0X4NOFIg1Ll0Nb+C21/jCV5htD+HKL80oAySrc03toH1oSMKX0eYgKz/AwYiNIZgSX q5vA== X-Gm-Message-State: ACrzQf3c5+o6C8mI5NZ6JjsHyU+TslDx5l1pCK79U0u3FFQoj/qjjtrc whJzIgM68a+dbGvmIoHCaAE= X-Google-Smtp-Source: AMsMyM6HXTjSkDwBG+YdWs3CgMqBoZK+oVoMY45+Y71cyPpj41R/mvVtlGJUbI0HlN3GgciNVmpVCQ== X-Received: by 2002:a17:90b:38ca:b0:203:64d2:dac5 with SMTP id nn10-20020a17090b38ca00b0020364d2dac5mr11834061pjb.209.1663549372263; Sun, 18 Sep 2022 18:02:52 -0700 (PDT) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id u9-20020a170902e80900b00173411a4385sm19608996plg.43.2022.09.18.18.02.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Sep 2022 18:02:51 -0700 (PDT) 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> <83o7ve1c8a.fsf@gnu.org> <83illlz0m7.fsf@gnu.org> <83edw9yunz.fsf@gnu.org> Date: Mon, 19 Sep 2022 10:02:48 +0900 In-Reply-To: <83edw9yunz.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 18 Sep 2022 11:05:20 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > One other possibility is to use a slightly different :relative-width > factor for the two spaces in a table cell: one with the value of 1, > the other with 1.001 (say). They will be indistinguishable on > display, but since the values are not equal, both stretch gfyphs will > be displayed, not just one. Function (org-table--align-field) in org-table.el sandwiches text by org-table-separator-space as shown below. (concat org-table-separator-space prefix field suffix - org-table-separator-space))) + (propertize org-table-separator-space 'display '(space :relative-width 1.001))))) I confirmed that this modification works good. >> I have an impression that default characters on >> org-table-separator-space is problematic. > > What do you mean by "default characters"? Let me take the statement back. From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Sep 2022 01:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Tak Kunihiro , tkk@misasa.okayama-u.ac.jp, yantar92@gmail.com, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166355071112499 (code B ref 45915); Mon, 19 Sep 2022 01:26:02 +0000 Received: (at 45915) by debbugs.gnu.org; 19 Sep 2022 01:25:11 +0000 Received: from localhost ([127.0.0.1]:51599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa5X4-0003FX-OB for submit@debbugs.gnu.org; Sun, 18 Sep 2022 21:25:10 -0400 Received: from mail-pl1-f170.google.com ([209.85.214.170]:38546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa5Wz-0003Ev-Sb for 45915@debbugs.gnu.org; Sun, 18 Sep 2022 21:25:09 -0400 Received: by mail-pl1-f170.google.com with SMTP id x1so26556158plv.5 for <45915@debbugs.gnu.org>; Sun, 18 Sep 2022 18:25:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:cc:to:from:from:to:cc:subject:date; bh=BIwiYCZrhA0MuRxN8iTHCeXt7kRymL6QoRQ24+hRs7M=; b=RBXlBM/W2p5xt4sSVGpHlbE8YEFCptmKJedFcsVxOr7Zjodbu8/TeHYxAvLBJIJGSc Jp/1hu58EhasJ6qXXaNGYEHP09Svv2nkXsl/VQhZK/DN8giqZBeNVGMsGO3N38665mqJ wYc+7fL2TF6cQVemVUPO983QQuXpJHjSdHOf+kxWaI/o+Iy4Jm6/+LlMksgxP/wzd6bT cmtbVchPT3MNB42WZWEbu2dmWL8ZuxJ+wmOA+r3c21K7T9DKDbwEq1zeYuykFc4ZtDJK 5JZQyzt97JCsK5FbM5IXu32jWRRJ22E/J16mqM1g9k6xqp6DjQdp+vdg8IXvvi813Jzf VvAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=BIwiYCZrhA0MuRxN8iTHCeXt7kRymL6QoRQ24+hRs7M=; b=zlZlvXx8SujVSgi237yMx9vY4JKIENg84HwW2oYi/b0YnQz+hqjkI0cJzuHnZiBCq/ DVAcywOepwbjKPHbg9gLu7EKer1YAy/tTbEsIgO1opodslQAD2S7gMHGgCglAxEm46D7 5WnkP36S/5+tncMY7BVpHF1bxkxBo14lVFeHVW6vaeLokczOiy9CSZkNebo4/G527CBP P/HPA7TFQwpqyA5clUThRHwL/xSVPrb/wqHYJHQmcrGZP9zynJy29Xi93gcIe//Pq6Tb kQV3XHPHLbrdPYdXcwCjoIf2SXs//23qmTOlReINZmFU6dd3ZRN2lHKE2mF9M4BrwAYd XhWg== X-Gm-Message-State: ACrzQf2QMUH9PEdlSJ2SzTo7cbESzwyGanzR5yh3Eln19WXZUG39jfJf ga24MKt4dghQ2146+0ZjfV0= X-Google-Smtp-Source: AMsMyM4/ve3WU711to/8i0bqiMGa4CQvuL3/v4iMlqnGubhjJ+DPaIbY06hZ+FcIXP8edUX4U27TsA== X-Received: by 2002:a17:90b:1c07:b0:202:ff6e:6015 with SMTP id oc7-20020a17090b1c0700b00202ff6e6015mr17510581pjb.210.1663550700093; Sun, 18 Sep 2022 18:25:00 -0700 (PDT) Received: from DreamMini2019.local ([150.46.201.82]) by smtp.gmail.com with ESMTPSA id ik21-20020a170902ab1500b00172d0c7edf4sm19160101plb.106.2022.09.18.18.24.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Sep 2022 18:24:59 -0700 (PDT) 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> <83o7ve1c8a.fsf@gnu.org> <83illlz0m7.fsf@gnu.org> Date: Mon, 19 Sep 2022 10:24:55 +0900 In-Reply-To: <83illlz0m7.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 18 Sep 2022 08:56:48 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) OK. Now I understand only deletes one letter. Two spaces are shown as one letter, as expected. To have a distorted table soon after deletion of text is OK. However, when two spaces are shown as one letter, point moves randomly when I press . I cannot keep editing with this condition. I show recipe to reproduce this situation. Is there a trick to move point in expected way? (defun emacs-bug-reproduce-45915 () "Reproduce bug#45915." ;; (gnus-read-ephemeral-emacs-bug-group 45915) (interactive) (with-current-buffer (get-buffer-create "*temp buffer*") (erase-buffer) (require 'org) (orgtbl-mode 1) (insert (format "emacs-version: %s, org-version: %s\n" emacs-version org-version)) (insert "| 1 | | | | | | | | |")) (switch-to-buffer-other-window "*temp buffer*") (execute-kbd-macro (kbd "M-< C-n C-f C-f")) (message "I will call #'org-table-copy-down.") (sit-for 2) (call-interactively #'org-table-copy-down) (sit-for 2) (message "I will hit .") (sit-for 2) (execute-kbd-macro (kbd "")) (message "One letter was deleted expectedly.") (sit-for 2) (message "I will hit .") (sit-for 2) (execute-kbd-macro (kbd "")) (message "Point moved unexpectedly.")) ;;; (call-interactively 'emacs-bug-reproduce-45915) From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Sep 2022 13:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Tak Kunihiro Cc: tkk@misasa.okayama-u.ac.jp, yantar92@gmail.com, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.1663594037608 (code B ref 45915); Mon, 19 Sep 2022 13:28:02 +0000 Received: (at 45915) by debbugs.gnu.org; 19 Sep 2022 13:27:17 +0000 Received: from localhost ([127.0.0.1]:52756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaGns-00009k-NJ for submit@debbugs.gnu.org; Mon, 19 Sep 2022 09:27:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaGnr-00009X-Lw for 45915@debbugs.gnu.org; Mon, 19 Sep 2022 09:27:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaGnj-0007lA-FK; Mon, 19 Sep 2022 09:27:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=l25FJVi47jA9IaTnOWVJTMz018OpRb3BoM7YjiP9Kko=; b=NOXujmtnmvPu GbEG2SUZuvgLlsniDgEdILVYNRletLQotdbSxL95zLFnszeYFuvK6qgPBbQlx8CgX0PQf83/mb/ib alu/aeCVQE3wv1n7x4G8pEA6nZ9YVa/N1klMpdj0r6hte87zoJmvL4bPqOq8Zbkc8wJ1Kto3rXBt6 4j3JN4IV734jOFVlbkuFsYEvzt7YVymbru6b8PPIDwN4PZaBIU5HZ8XKPjp4RuANV+Axu0vvpinCa 8FdbUYJeaTvmSY+Ximez2Ux57WGwvmPcDBAbLGdrSzqqd8I2I1z9ggQK6Yh6EY75QeK3okyZkIa2c O5/0z/WErU8VBcJ0+ts26g==; Received: from [87.69.77.57] (port=4676 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaGni-0002Ba-6b; Mon, 19 Sep 2022 09:27:07 -0400 Date: Mon, 19 Sep 2022 16:27:09 +0300 Message-Id: <83wn9zxzo2.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Tak Kunihiro on Mon, 19 Sep 2022 10:24:55 +0900) 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> <83o7ve1c8a.fsf@gnu.org> <83illlz0m7.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Tak Kunihiro > Cc: Tak Kunihiro , yantar92@gmail.com, > 45915@debbugs.gnu.org > Cc: tkk@misasa.okayama-u.ac.jp > Date: Mon, 19 Sep 2022 10:24:55 +0900 > > However, when two spaces are shown as one letter, point moves randomly > when I press . I cannot keep editing with this condition. > > I show recipe to reproduce this situation. Is there a trick to move > point in expected way? This is an unrelated bug, now fixed on the master branch. (A workaround is to press C-f or before .) From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Sep 2022 12:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, emacs-orgmode@gnu.org, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16638482048270 (code B ref 45915); Thu, 22 Sep 2022 12:04:01 +0000 Received: (at 45915) by debbugs.gnu.org; 22 Sep 2022 12:03:24 +0000 Received: from localhost ([127.0.0.1]:36525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obKvM-00029K-EY for submit@debbugs.gnu.org; Thu, 22 Sep 2022 08:03:24 -0400 Received: from mail-pf1-f173.google.com ([209.85.210.173]:35639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obKvH-000293-DP for 45915@debbugs.gnu.org; Thu, 22 Sep 2022 08:03:22 -0400 Received: by mail-pf1-f173.google.com with SMTP id e5so9080866pfl.2 for <45915@debbugs.gnu.org>; Thu, 22 Sep 2022 05:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=5fjX4f14ceIMbnXZksl4TT0y4et96v0385ahvxpvbds=; b=QPUvWCEc1PWXLo0fif0BtBVIqRTWDR2uCLMII9JGVqXOYWRsH6yIlujDytXR/P+gZn j7Vb0Alx7Sc+JaO45JFhkphuC9jqLgajoUc33S4UATa3lWymeMzu4BcSS8XDfHP/4KR7 IuGgE1gVcknnoxjf/cpRvV+weqBEbgQ0JAehy66uEk2zNKt3EA7Di21/8CEhIwLVHthB /ZmnToyopGeZP/vFcyX3Rqxpl1zoPUz4d00n0n0xSlYmvtTeDrOttMcLVV/XF6AN4aoe 8NaeXbmrtimWCM90KyS4hQ0F2GJVN+udpY/pcRozKcKogbF65tUMlslHwo+O5o/hN3gZ tSvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=5fjX4f14ceIMbnXZksl4TT0y4et96v0385ahvxpvbds=; b=50LNU1y4gS3HqlseAxZtxsX1jRH9MW6me9fuZkDjeuIbwYtbmAEj+K9EhW31Wu7TXE QnqrHMR9PPh/1W1R8drn7FLylrgThAoDhCZBLzId2e0ZPyWXKOmd8B6RtbBMyfvrUAcJ 3TaKzbiYFAVKcGb8Q94PyQXw1sAyDHaJ4YzCZMwh3HH4xrmHPO0/XVl8Cdyzf/Ahpixy UGhyJ9FSFUGkvRhAb8OVfHHkB9gwc56VyU0pvYvJ0zNwkbm1kdfJBA74YqleN5EMJXWY 13rafsekTLI+fw4NMa2QSgaR4vG0iPss3KVc0IJzdS2tEqDhSGnH1eW+5c2Uc+1F1VYg OWsg== X-Gm-Message-State: ACrzQf3flZu+j7zbhWbLZE28iorW9mStGyXfJ0TOA1gY5h8Wxdyh6p/T 4bgfRmn3hFV4huo3X5dBTBw= X-Google-Smtp-Source: AMsMyM7BMEU9vVXeJIsQszJgNrnjS7Pj+XqOpb7nck8Nv/WGdX+kOIyqCn+BcmLhkx2NbqsXa55KPA== X-Received: by 2002:a05:6a00:8cc:b0:52c:7ab5:2ce7 with SMTP id s12-20020a056a0008cc00b0052c7ab52ce7mr3188853pfu.28.1663848193629; Thu, 22 Sep 2022 05:03:13 -0700 (PDT) Received: from localhost ([2409:8a70:2b5:ad00:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id a12-20020a17090a688c00b001ef81574355sm3646912pjd.12.2022.09.22.05.03.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 05:03:12 -0700 (PDT) From: Ihor Radchenko In-Reply-To: <83edw9yunz.fsf@gnu.org> 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> <83o7ve1c8a.fsf@gnu.org> <83illlz0m7.fsf@gnu.org> <83edw9yunz.fsf@gnu.org> Date: Thu, 22 Sep 2022 20:03:55 +0800 Message-ID: <87sfkjaa50.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Eli Zaretskii writes: >> I don't think this is the right solution. One possible solution that >> is better is to bind to an org-table specific command, which >> would insert some character displayed as a thin space between the two >> spaces that have the 'display' property. But I'll let Ihor chime in. > > One other possibility is to use a slightly different :relative-width > factor for the two spaces in a table cell: one with the value of 1, > the other with 1.001 (say). They will be indistinguishable on > display, but since the values are not equal, both stretch gfyphs will > be displayed, not just one. This is a good idea. I used it to fix the reported issue. Fixed on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9dde82411aefe5a6728eef95c3629dbf266fefa5 -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92 From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Sep 2022 12:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ihor Radchenko Cc: homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, emacs-orgmode@gnu.org, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166385078912489 (code B ref 45915); Thu, 22 Sep 2022 12:47:01 +0000 Received: (at 45915) by debbugs.gnu.org; 22 Sep 2022 12:46:29 +0000 Received: from localhost ([127.0.0.1]:36608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obLb2-0003FN-Tb for submit@debbugs.gnu.org; Thu, 22 Sep 2022 08:46:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obLay-0003F7-Dp for 45915@debbugs.gnu.org; Thu, 22 Sep 2022 08:46:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obLaq-0000yn-U6; Thu, 22 Sep 2022 08:46:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Eo0z83CUZaH3qTfgVh6iNEUE7c9aPs6vBmsYXwbtVc8=; b=DmLcY6gFfIX2 4/oV8NrMELy8DXhKFNbLYxX8NaF+OWXOz3VZtd7G72s4MfIAYQCl/15rXaP2yDwNgsrNbvApiMLMx Wy3dzyELMPzt2Jm3suut1R89djcoZTvrvtFXUEalzzrthEKd2xOGeSV7YVg38c2C/JidaTllQFdYw NsgHsZ79fyrKiWcNQfBMiFKsMfNoYhET47t9kQCdZQi1cZVEFzFil4NJqLMGEuDh2aCAS9ij/Bvir lNQlHeStvto5FA3k4hNbNn0FtOWYLtNaJSTQILermLUjLjd3XthfS+hMGiruOD2Oe6V9c6VI3jC9H rfbxKaxRQZ3lTSXgnRZpTg==; Received: from [87.69.77.57] (port=4869 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obLap-0005Eb-O0; Thu, 22 Sep 2022 08:46:16 -0400 Date: Thu, 22 Sep 2022 15:46:27 +0300 Message-Id: <83czbnshjw.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87sfkjaa50.fsf@localhost> (message from Ihor Radchenko on Thu, 22 Sep 2022 20:03:55 +0800) 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> <87ilqrusnk.fsf@localhost> <83bkre33pa.fsf@gnu.org> <83o7ve1c8a.fsf@gnu.org> <83illlz0m7.fsf@gnu.org> <83edw9yunz.fsf@gnu.org> <87sfkjaa50.fsf@localhost> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Ihor Radchenko > Cc: homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, > 45915@debbugs.gnu.org, emacs-orgmode@gnu.org > Date: Thu, 22 Sep 2022 20:03:55 +0800 > > Eli Zaretskii writes: > > > One other possibility is to use a slightly different :relative-width > > factor for the two spaces in a table cell: one with the value of 1, > > the other with 1.001 (say). They will be indistinguishable on > > display, but since the values are not equal, both stretch gfyphs will > > be displayed, not just one. > > This is a good idea. I used it to fix the reported issue. > > Fixed on main. Great. So I guess this bug report can be closed? From unknown Tue Jun 17 01:46:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45915: 28.2; delete-char deletes two letters Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Sep 2022 21:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45915 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: eliz@gnu.org Cc: homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, emacs-orgmode@gnu.org, yantar92@gmail.com, 45915@debbugs.gnu.org Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.16638826288879 (code B ref 45915); Thu, 22 Sep 2022 21:38:01 +0000 Received: (at 45915) by debbugs.gnu.org; 22 Sep 2022 21:37:08 +0000 Received: from localhost ([127.0.0.1]:38728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obTsa-0002J9-8n for submit@debbugs.gnu.org; Thu, 22 Sep 2022 17:37:08 -0400 Received: from jlsv301.okayama-u.ac.jp ([150.46.12.5]:51018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obTsU-0002Ig-Q3 for 45915@debbugs.gnu.org; Thu, 22 Sep 2022 17:37:07 -0400 Received: from localhost (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by jlsv301.okayama-u.ac.jp (Postfix) with ESMTPSA id 1F41C7609DF; Fri, 23 Sep 2022 06:36:59 +0900 (JST) Date: Fri, 23 Sep 2022 06:36:58 +0900 (JST) Message-Id: <20220923.063658.703945866478584943.tkk@misasa.okayama-u.ac.jp> From: Tak Kunihiro In-Reply-To: <83czbnshjw.fsf@gnu.org> References: <83edw9yunz.fsf@gnu.org> <87sfkjaa50.fsf@localhost> <83czbnshjw.fsf@gnu.org> X-Mailer: Mew version 6.8 on Emacs 28.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >>> One other possibility is to use a slightly different :relative-width >>> factor for the two spaces in a table cell: one with the value of 1, >>> the other with 1.001 (say). They will be indistinguishable on >>> display, but since the values are not equal, both stretch gfyphs will >>> be displayed, not just one. >> >> This is a good idea. I used it to fix the reported issue. >> >> Fixed on main. > > Great. So I guess this bug report can be closed? Nice. Yes, please close this bug report. From unknown Tue Jun 17 01:46:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tak Kunihiro Subject: bug#45915: closed (Re: bug#45915: 28.2; delete-char deletes two letters) Message-ID: References: <83iller5le.fsf@gnu.org> <20210116.170134.789950463868688311.tkk@misasa.okayama-u.ac.jp> X-Gnu-PR-Message: they-closed 45915 X-Gnu-PR-Package: emacs Reply-To: 45915@debbugs.gnu.org Date: Fri, 23 Sep 2022 06:03:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1663912982-26258-1" This is a multi-part message in MIME format... ------------=_1663912982-26258-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45915: 27.1; deletechar distorts org-table which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45915@debbugs.gnu.org. --=20 45915: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45915 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1663912982-26258-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45915-done) by debbugs.gnu.org; 23 Sep 2022 06:02:30 +0000 Received: from localhost ([127.0.0.1]:39118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obbld-0006ol-NH for submit@debbugs.gnu.org; Fri, 23 Sep 2022 02:02:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obblc-0006oZ-1O for 45915-done@debbugs.gnu.org; Fri, 23 Sep 2022 02:02:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40222) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obblP-00084y-Ml; Fri, 23 Sep 2022 02:02:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bqYMoQ2q1HhDDFiH+oOWAx5i7YcTnoBlYD3U3AcJ0UQ=; b=DMG4tugvF+4M L4SqbMYPPjsC0tHSnGNFQZB/DZAwaN47vV0SeqBq2WDtEfXBlGE36DSkmXY2pYef/gMYwZMUPONBK vLmD5eeCEYu5D7oM+pW0UAESQrV4ke0xTmcAWOyQ7n3EePNH0/4MrUl6F0/nfuX+xll3AyOursrdp ggAUAtHu+s/Jkgy2ge7hhW/fOXSbndD/XaDbBIncySrZRjEErAAm+5DYjBfUz/JWnx7yBBPm1cY+M td8GUx9wGH85CP7rZQol2o+Lebgc5vfOmiV2vAyyn8oVe8bu6Z4B5qHinVRxbVgj+hv0baDcXWiSL Ps8L3VXuqwhordiUgG0qpg==; Received: from [87.69.77.57] (port=4697 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obblI-00028L-H1; Fri, 23 Sep 2022 02:02:11 -0400 Date: Fri, 23 Sep 2022 09:02:21 +0300 Message-Id: <83iller5le.fsf@gnu.org> From: Eli Zaretskii To: Tak Kunihiro In-Reply-To: <20220923.063658.703945866478584943.tkk@misasa.okayama-u.ac.jp> (message from Tak Kunihiro on Fri, 23 Sep 2022 06:36:58 +0900 (JST)) Subject: Re: bug#45915: 28.2; delete-char deletes two letters References: <83edw9yunz.fsf@gnu.org> <87sfkjaa50.fsf@localhost> <83czbnshjw.fsf@gnu.org> <20220923.063658.703945866478584943.tkk@misasa.okayama-u.ac.jp> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 45915-done Cc: 45915-done@debbugs.gnu.org, homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, emacs-orgmode@gnu.org, yantar92@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 23 Sep 2022 06:36:58 +0900 (JST) > Cc: yantar92@gmail.com, homeros.misasa@gmail.com, 45915@debbugs.gnu.org, > emacs-orgmode@gnu.org, tkk@misasa.okayama-u.ac.jp > From: Tak Kunihiro > > >>> One other possibility is to use a slightly different :relative-width > >>> factor for the two spaces in a table cell: one with the value of 1, > >>> the other with 1.001 (say). They will be indistinguishable on > >>> display, but since the values are not equal, both stretch gfyphs will > >>> be displayed, not just one. > >> > >> This is a good idea. I used it to fix the reported issue. > >> > >> Fixed on main. > > > > Great. So I guess this bug report can be closed? > > Nice. Yes, please close this bug report. Thanks, done. ------------=_1663912982-26258-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Jan 2021 08:02:56 +0000 Received: from localhost ([127.0.0.1]:42343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0gXw-0007aO-FR for submit@debbugs.gnu.org; Sat, 16 Jan 2021 03:02:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:59576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0gXr-0007aC-GM for submit@debbugs.gnu.org; Sat, 16 Jan 2021 03:02:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0gXr-0006g5-9m for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2021 03:02:51 -0500 Received: from mx0b-00602c01.pphosted.com ([205.220.174.65]:35088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0gXp-0002hI-61 for bug-gnu-emacs@gnu.org; Sat, 16 Jan 2021 03:02:51 -0500 Received: from pps.filterd (m0238151.ppops.net [127.0.0.1]) by mx0a-00602c01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 10G7xOow026991 for ; Sat, 16 Jan 2021 17:01:42 +0900 Received: from mlsec.cc.okayama-u.ac.jp (mlsec.cc.okayama-u.ac.jp [150.46.12.254]) by mx0a-00602c01.pphosted.com with ESMTP id 363h2207vg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sat, 16 Jan 2021 17:01:42 +0900 Received: from jlsv301.okayama-u.ac.jp (unknown [150.46.12.5]) by mlsec.cc.okayama-u.ac.jp with smtp id 4f03_2af6_aa9ff5be_dcf2_4158_88a1_86b550affb38; Sat, 16 Jan 2021 17:01:34 +0900 Received: from localhost (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by jlsv301.okayama-u.ac.jp (Postfix) with ESMTPSA id A2BAB760084; Sat, 16 Jan 2021 17:01:34 +0900 (JST) Date: Sat, 16 Jan 2021 17:01:34 +0900 (JST) Message-Id: <20210116.170134.789950463868688311.tkk@misasa.okayama-u.ac.jp> To: bug-gnu-emacs@gnu.org Subject: 27.1; deletechar distorts org-table From: Tak Kunihiro X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 4 Rules triggered EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6912=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6912> : inlines <7226> : streams <1879244> : uri <3190398> X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9865 signatures=668683 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 mlxscore=0 malwarescore=0 spamscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 impostorscore=0 clxscore=1011 phishscore=0 mlxlogscore=440 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2101160047 Received-SPF: pass client-ip=205.220.174.65; envelope-from=prvs=2650e3c672=tkk@misasa.okayama-u.ac.jp; helo=mx0b-00602c01.pphosted.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: tkk@misasa.okayama-u.ac.jp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) I am using emacs 27.1 with orgtbl-mode. On certain condition, typing distorts alighment of a table. Then, typing moves previous line but far right position. | | rownames | | | rownames | | / | | | / | | |---+----------| -> |---+----------| | / | a | | | a | Here is a recipe to reproduce the glitch started from emcas -Q. I hope that together with bug#45091, this would be fixed before 27.2. 1. Create a buffer with (text-mode) and yank following table. | | rownames | | / | | |---+----------| | | a | 2. (progn (require 'org) (call-interactively 'orgtbl-mode)) 3. Move point to the first column and the third line with letter 'a'. 4. Hit . 5. Hit . 6. Hit . ------------=_1663912982-26258-1--