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: Sat, 17 Sep 2022 09:38:57 +0300 Message-ID: <83bkre33pa.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14761"; 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 Sat Sep 17 08:40:18 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 1oZRUv-0003jA-Fo for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 08:40:17 +0200 Original-Received: from localhost ([::1]:56876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZRUu-0008Q1-7R for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 02:40:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZRUh-0008Pp-46 for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 02:40:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45940) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZRUf-0002yd-Sh for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 02:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZRUf-0006nH-OL for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 02:40: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: 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 Original-Received: via spool by 45915-submit@debbugs.gnu.org id=B45915.166339674926039 (code B ref 45915); Sat, 17 Sep 2022 06:40:01 +0000 Original-Received: (at 45915) by debbugs.gnu.org; 17 Sep 2022 06:39:09 +0000 Original-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 Original-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 Original-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==; Original-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 In-Reply-To: (message from Tak Kunihiro on Sat, 17 Sep 2022 12:48:56 +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:242832 Archived-At: > 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'?