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 aCWhIUqJAWDKCQAA0tVLHw (envelope-from ) for ; Fri, 15 Jan 2021 12:23:38 +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 mA9oHUqJAWAscAAAB5/wlQ (envelope-from ) for ; Fri, 15 Jan 2021 12:23:38 +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 35BEC9403EB for ; Fri, 15 Jan 2021 12:23:38 +0000 (UTC) Received: from localhost ([::1]:42388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l0O8e-0003l6-06 for larch@yhetil.org; Fri, 15 Jan 2021 07:23:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l0O5C-0001ac-52; Fri, 15 Jan 2021 07:20:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l0O5B-00016l-SK; Fri, 15 Jan 2021 07:20:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l0O5B-000693-N1; Fri, 15 Jan 2021 07:20:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45091: 27.1; M-x org-table-paste-rectangle Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Fri, 15 Jan 2021 12:20: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: Naoya Yamashita Received: via spool by 45091-submit@debbugs.gnu.org id=B45091.161071317423581 (code B ref 45091); Fri, 15 Jan 2021 12:20:01 +0000 Received: (at 45091) by debbugs.gnu.org; 15 Jan 2021 12:19:34 +0000 Received: from localhost ([127.0.0.1]:40079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0O4i-00068E-0W for submit@debbugs.gnu.org; Fri, 15 Jan 2021 07:19:34 -0500 Received: from mail-io1-f54.google.com ([209.85.166.54]:37175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l0O4c-00067z-OL for 45091@debbugs.gnu.org; Fri, 15 Jan 2021 07:19:30 -0500 Received: by mail-io1-f54.google.com with SMTP id d13so14456532ioy.4 for <45091@debbugs.gnu.org>; Fri, 15 Jan 2021 04:19:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=y28fr0Qod61LvG7WqmCM4csxVRt45VdiJOKk6AvaF3s=; b=PPHV5frgf6iS+CYDa3FB3kEKyf84mwCrELjglNwx9qVVswkrkX4o4G+8zA221dUX+j 6Slo+YqvOfaRprOva0qeRRmkiiXI+t1TGPOr4B9tqSM7I/XBDOIlVlXCrQOKmi/BrLms pP53y0/3qQIc1LR89Un7YxZRyvaFsDdsRT032IMiO+vnFkyBcBzlciMdyZvuyLOzq89x cWeHws9lfIPNAx64PTBCaVcnfeUTk+ZRgKFq2VAdvM/3DXxKIGXEwZcd8y8OGZs4JOtR 3IDDqUeKk6qwlOUfDFjD2XLoFrh3xWpspI9wnZTJGDPquLPVnGTHe7ltKBzRx60T5q59 /B0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=y28fr0Qod61LvG7WqmCM4csxVRt45VdiJOKk6AvaF3s=; b=QTmrMSsYdRSkVheT+LqgZ1JWDBrwkzAO67q1EuB/ujL8a/Z9lnShz4VwWBDG+x5cc3 mqgCOA4/V6YLwyiVzatRL+us55evcx7X90cE018y5LQjbKWjEo0lFPECUb1qZQD2qhp0 /Ivm7+f0t5TtU3QxqrsKKvwbxN1Pv/fTzGC1H+yZQPhUgcFt9ryk2s52wsGbSGvD+2dP kDV06lO+y5IlpzmYdxo/3n3OhHd9Sj+NcVq21TAaJHSRHxy9z8Vi7PAOqhR7XSnzEXuX ROvmTcN0IVV8L1Ojw1Arg72tkRXb3kozDuKDPI+OQxwcD1gDrKhWH3opL8DXfQ3vquK9 Lldg== X-Gm-Message-State: AOAM530BmCtGtikmMux38x9qGWNBoHRmCjgULfQD9mn7raF1wd/BqYjW nL4Z55un5iOkxriZejJvUIwdhvbO9LbjHZZEd/M= X-Google-Smtp-Source: ABdhPJw3isHB/JfPZpAlzzU4zziTjoH7CYury+ruUIVYhWl7se3NZ7OoJdLIJEpRXlUGNOu+OETknOCZPmBemDRu/JU= X-Received: by 2002:a92:d210:: with SMTP id y16mr10471117ily.97.1610713161116; Fri, 15 Jan 2021 04:19:21 -0800 (PST) MIME-Version: 1.0 References: <20210115.204440.196131068956280221.conao3@gmail.com> In-Reply-To: <20210115.204440.196131068956280221.conao3@gmail.com> From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Date: Fri, 15 Jan 2021 12:19:08 +0000 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=PPHV5frg; 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: 35BEC9403EB X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: SnplwYye9sRL 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. Jo=C3=A3o On Fri, Jan 15, 2021 at 12:11 PM Naoya Yamashita wrote: > > > Hi, I'm new on this thread, but I can reproduce tak's issue and I > tried to do bisect. > > Finally, I got 5b45c269cda09fe46e110adb6f6767040f4ade59 is a > commit has a some problem. > > I'm happy if this information could help you. > > ``` > 5b45c269cda09fe46e110adb6f6767040f4ade59 > New jit-lock-antiblink-grace feature > > * lisp/jit-lock.el (jit-lock-antiblink-grace): New defcustom. > (jit-lock--antiblink-line-beginning-position) > (jit-lock--antiblink-string-or-comment): New variables > (jit-lock--antiblink-post-command): New helper. > (jit-lock-mode): Tweak post-command-hook and > jit-lock-context-timer. > > * etc/NEWS: Mention jit-lock-antiblink-grace > > 2 files changed, 81 insertions(+), 1 deletion(-) > etc/NEWS | 7 ++++++ > lisp/jit-lock.el | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++= ++++- > ``` > > --- > > Here is my bash script and do `C-c l` (org-table-copy-region) on > first table and `C-c ;` (org-table-paste-rectangle) on second table. > (~/dev/tmp/taks-file.tex have first tak's mention contents.) > > ```sh > make clean > ./autogen.sh > ./configure --prefix=3D$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) \ > (global-set-key (kbd \"C-c l\") \ > (lambda () \ > (interactive) \ > (org-table-copy-region (1+ (org-table-begin)) (- (org-table-end)= 2)))) \ > (global-set-key (kbd \"C-c ;\") \ > (lambda () \ > (interactive) \ > (org-table-paste-rectangle) \ > (set-buffer-modified-p nil))))" \ > 2>/dev/null > ``` > > And here is my bisect log. > ``` > Bisect Log (14) > 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 good 096be9c4541329af259273fe604dc4f8669fbd8a > git bisect bad bd95d66ae97f3dcfe73b972de935e27e434e49be > git bisect bad 5b45c269cda09fe46e110adb6f6767040f4ade59 > git bisect good 0e774d4f355b4f12a625da5ca9602d1ba876bcc1 > 5b45c269cda09fe46e110adb6f6767040f4ade59 is the first bad commit > ``` > > > --=20 Jo=C3=A3o T=C3=A1vora