From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eNFjObbuAWAYfQAA0tVLHw (envelope-from ) for ; Fri, 15 Jan 2021 19:36:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aJYrNbbuAWDhLAAAB5/wlQ (envelope-from ) for ; Fri, 15 Jan 2021 19:36:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3CBB69403D5 for ; Fri, 15 Jan 2021 19:36:22 +0000 (UTC) Received: from localhost ([::1]:56662 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0UtR-0003Su-3t for larch@yhetil.org; Fri, 15 Jan 2021 14:36:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0UsA-0003AA-0P; Fri, 15 Jan 2021 14:35:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58453) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l0Us9-0007tX-PB; Fri, 15 Jan 2021 14:35:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l0Us9-0004Iy-Lt; Fri, 15 Jan 2021 14:35:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45091: 27.1; M-x org-table-paste-rectangle Resent-From: Naoya Yamashita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Fri, 15 Jan 2021 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45091 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: To: joaotavora@gmail.com Received: via spool by 45091-submit@debbugs.gnu.org id=B45091.161073924416470 (code B ref 45091); Fri, 15 Jan 2021 19:35:01 +0000 Received: (at 45091) by debbugs.gnu.org; 15 Jan 2021 19:34:04 +0000 Received: from localhost ([127.0.0.1]:41766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0UrC-0004HX-P4 for submit@debbugs.gnu.org; Fri, 15 Jan 2021 14:34:04 -0500 Received: from mail-pf1-f173.google.com ([209.85.210.173]:33765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0Ur8-0004H2-RI for 45091@debbugs.gnu.org; Fri, 15 Jan 2021 14:34:00 -0500 Received: by mail-pf1-f173.google.com with SMTP id h186so6130031pfe.0 for <45091@debbugs.gnu.org>; Fri, 15 Jan 2021 11:33:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:cc:subject:from:in-reply-to:references :mime-version:content-transfer-encoding; bh=xpGUijfepqsNrd6EF6p0GBP6SzvdwUBwOXf7A/PWP0U=; b=glyl0VIA/HiB57Urz3ibGU5TB+QfGpxCZOKAw8tyWt9aca7yV8szCwjTmkVoUYrklU ZJMCgVgvD7rFIg2Ms3CG8Qz4yDN+KSFDv7xGZrgeUVwasQMIbXZoOsPZo4VWpEk7OMaQ EBXFPa2kYeytYepT1f5dl5vT5QdzIstpBJgXjfB98++ef4OlEEXZomyAEAyu3k1z3RVS 8vzDwCi1jbOudf1D3272BxeuBj9HqeOWg1UKuv+W7V2Ej7fqrI7POHM4CvdOv7kEYAMC ejb5zp2DDsDW/K7pD01IvPWPQKOmpKo4P5NY1cuRzVUx4mcRViECQfuLYsfNkGW+fjMq 9VIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:cc:subject:from:in-reply-to :references:mime-version:content-transfer-encoding; bh=xpGUijfepqsNrd6EF6p0GBP6SzvdwUBwOXf7A/PWP0U=; b=jJbE2fpLH2Gc8MZLmIIr2enRvDg/CiVdh4NoInVV+XvLgbkKE6QpDsMCX2DnO34Gao 53hnCiz3bIgxzhGVnOAd1QmAzXOgqpEWcRRZ52aoYBPMvfKk/m1unQt0Dlt1afVaCj+J ZYJZuAOW+7zDxztNoX3t1JjRtOCg+RUyQdOEhpFb457pMtnfj3+/5/E4Gy+1JmMhuAHF JRIISyQdCDO+p+C6o6UrZJ81qnpM0zpQEDbVLEsINM7JVogN5n33W/GTviM1fxftBSOk L6eV0u2Rw3WDMrL0s/zyEBH+g0jzmh9tNJxlbquDov8OohpnbxH6LbrXoD5ffIW5uPOX oWlw== X-Gm-Message-State: AOAM531Y9M6Hhmn+NdHyZ2/qWmzbw4xIAx97Ug3IWRF5r1zCssaVU9lG +t2LR8NG7bEJlKLPX+j4zGg= X-Google-Smtp-Source: ABdhPJyzKRwZD8UTrn88GAAh5uc/RHsg38Nnzv5JHcTSINGqRFaiiSpNBSnI60fcH8KufN+OUPKfwQ== X-Received: by 2002:a65:490b:: with SMTP id p11mr14423513pgs.88.1610739232860; Fri, 15 Jan 2021 11:33:52 -0800 (PST) Received: from localhost (p210141-ipngn200407niho.hiroshima.ocn.ne.jp. [118.4.79.141]) by smtp.gmail.com with ESMTPSA id a30sm2114635pfh.66.2021.01.15.11.33.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 11:33:52 -0800 (PST) Date: Sat, 16 Jan 2021 04:33:49 +0900 (JST) Message-Id: <20210116.043349.110178221913826662.conao3@gmail.com> From: Naoya Yamashita In-Reply-To: References: <20210115.204440.196131068956280221.conao3@gmail.com> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tkk@misasa.okayama-u.ac.jp, 45091@debbugs.gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.24 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=glyl0VIA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 3CBB69403D5 X-Spam-Score: 0.24 X-Migadu-Scanner: scn1.migadu.com X-TUID: kPuQk+kf+sAC > Okay, your bisect scripts points to one of my commits. > > But I wish it was more automated. Because I tried quite > hard and sometimes I _could_ reproduce the problem and > sometimes I couldn't. So you could be seeing noise here. > Maybe you can make your script do those copy-paste > operations automatically and reliably? Then we'd be sure. > > Anyway, I think is might be enough to point to a bug > that was introduced by my commit, or rather exposed > by it. I'll have another look. Sorry, you're true. I try to build (semi-)automatically reproduce step and do bisect with it, I got different commit. It is 165f7383822086d465519ebe6e4283723923f097 (Update Org to 9.3). (I wanted to reproduce the problem completely in auto, but the problem is related to Emacs font-lock and post-command-hook, and I could not reproduce it with --batch. If you know how to partially pass control to Emacs main-loop while running Elisp, please tell me that.) ## Repro step 1. Prepare below contents. ```latex <~/dev/tmp/taks-file.tex> -*- mode: latex -*- | rownames | acq | | ref-coal-krt-2000-4-s1@4104 | 4104 | | ref-coal-krt-2000-4-s1@4105 | 4105 | |------------------------+--------+--------+---------------+---------+---------+-----+------+------| | | 12C12C | 12C14N | 12C14Nz12C12C | d13Cion | d15Nion | N/C | d13C | d15N | |------------------------+--------+--------+---------------+---------+---------+-----+------+------| | !cniso-mtx-ogl1-2@4112 | | | | | | | | | | cniso-mtx-ogl1-2@4113 | | | | | | | | | | cniso-mtx-ogl1-2@4114 | | | | | | | | | | cniso-mtx-ogl1-2@4115 | | | | | | | | | | cniso-mtx-ogl1-2@4116 | | | | | | | | | | cniso-mtx-ogl1-2@4117 | | | | | | | | | | cniso-mtx-ogl1-2@4118 | | | | | | | | | | cniso-mtx-ogl1-2@4119 | | | | | | | | | | cniso-mtx-ogl1-2@4124 | | | | | | | | | | cniso-mtx-ogl1-2@4125 | | | | | | | | | | cniso-mtx-ogl1-2@4126 | | | | | | | | | | cniso-mtx-ogl1-2@4127 | | | | | | | | | | cniso-mtx-ogl1-2@4128 | | | | | | | | | | cniso-mtx-ogl1-2@4129 | | | | | | | | | | cniso-mtx-ogl1-2@4130 | | | | | | | | | | cniso-mtx-ogl1-2@4131 | | | | | | | | | | cniso-mtx-ogl1-2@4132 | | | | | | | | | | cniso-mtx-ogl1-2@4133 | | | | | | | | | | cniso-mtx-ogl1-2@4134 | | | | | | | | | | cniso-mtx-ogl1-2@4135 | | | | | | | | | | cniso-mtx-ogl1-2@4136 | | | | | | | | | |------------------------+--------+--------+---------------+---------+---------+-----+------+------| ``` ```sh <~/dev/tmp/bisect-script.sh> git clean -fdx make clean ./autogen.sh ./configure --prefix=$HOME/.local/head make -j6 ./src/emacs -Q ~/dev/tmp/taks-file.tex --eval " (progn (setq truncate-lines t) (setq debug-on-error t) (require 'org) (require 'org-table) (orgtbl-mode) (search-forward \"|\") (org-table-copy-region (1+ (org-table-begin)) (- (org-table-end) 2)) (search-forward \"!\") (global-set-key (kbd \"\") (lambda () (interactive) (org-table-paste-rectangle) (set-buffer-modified-p nil) (condition-case e (insert \"text\") (error (kill-emacs 1))) (kill-emacs 0))) )" \ 2>/dev/null ``` 2. Do below command in terminal ```sh git bisect start emacs-27.1 emacs-26.3 git bisect run ~/dev/tmp/bisect-script.sh ``` 3. Wait for build and wake Emacs, then press . 4. Got commit it has some problem. (I got bellow bisect log in Magit) ``` Bisect Log (15) git bisect start 'emacs-27.1' 'emacs-26.3' git bisect good 38564f8a664347c42f7614d9c91e0d49e4a073e8 git bisect good 825fd4d34165e5edc718a9df93838a410d25ea81 git bisect good 5c5c1b559313d06aab6516ff1b1acf1da3a01c7d git bisect bad d7cd4ab7d948427104003f1d35cf52a4eac45d0a git bisect bad 4b2c2faab83fe3b13430b837be7d450b5cd47caf git bisect good 16ce6dbef279bda70b4d60b4d2d0aff008bfa5f7 git bisect bad 5063e38921de8cb872965abda32bcc6fd8894532 git bisect bad 4c933077157ba409d645f4649c8a3a8e534d53d5 git bisect bad 096be9c4541329af259273fe604dc4f8669fbd8a git bisect bad 8f2267c87bc96d6301aadeda66b870a61a0433e8 git bisect good 8bea7e9ab4453da71d9766d582089154f31de907 git bisect bad 165f7383822086d465519ebe6e4283723923f097 git bisect good 821de968434d2096bdea67dd24301bf6b517aef1 165f7383822086d465519ebe6e4283723923f097 is the first bad commit ```