From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45915: 28.2; delete-char deletes two letters Date: Sun, 18 Sep 2022 08:56:48 +0300 Message-ID: <83illlz0m7.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18531"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tkk@misasa.okayama-u.ac.jp, yantar92@gmail.com, 45915@debbugs.gnu.org To: Tak Kunihiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 18 07:57:15 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oZnIp-0004hE-AJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Sep 2022 07:57:15 +0200 Original-Received: from localhost ([::1]:36924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZnIn-00006a-Un for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Sep 2022 01:57:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZnIc-0008WR-AT for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2022 01:57:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48517) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZnIc-0007QN-1X for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2022 01:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZnIb-0005Nb-TP for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2022 01:57:01 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166348061720669 (code B ref 45915); Sun, 18 Sep 2022 05:57:01 +0000 Original-Received: (at 45915) by debbugs.gnu.org; 18 Sep 2022 05:56:57 +0000 Original-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 Original-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 Original-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==; Original-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 In-Reply-To: (message from Tak Kunihiro on Sun, 18 Sep 2022 14:44:59 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:242924 Archived-At: > 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"?