From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qNkJEJ7Z0F8wawAA0tVLHw (envelope-from ) for ; Wed, 09 Dec 2020 14:05:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0LPFC57Z0F9IAQAAbx9fmQ (envelope-from ) for ; Wed, 09 Dec 2020 14:05:18 +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 D38D694011C for ; Wed, 9 Dec 2020 14:05:17 +0000 (UTC) Received: from localhost ([::1]:55760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kn05k-0006g7-O4 for larch@yhetil.org; Wed, 09 Dec 2020 09:05:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmgOF-0003Uw-9a; Tue, 08 Dec 2020 12:03:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmgOF-0004ee-0S; Tue, 08 Dec 2020 12:03:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmgOE-0007DN-Tz; Tue, 08 Dec 2020 12:03:02 -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: Tue, 08 Dec 2020 17:03:02 +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: Tak Kunihiro Received: via spool by 45091-submit@debbugs.gnu.org id=B45091.160744694327111 (code B ref 45091); Tue, 08 Dec 2020 17:03:02 +0000 Received: (at 45091) by debbugs.gnu.org; 8 Dec 2020 17:02:23 +0000 Received: from localhost ([127.0.0.1]:59428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmgNb-00072t-1O for submit@debbugs.gnu.org; Tue, 08 Dec 2020 12:02:23 -0500 Received: from mail-wr1-f47.google.com ([209.85.221.47]:45688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmgNZ-0006xT-NS for 45091@debbugs.gnu.org; Tue, 08 Dec 2020 12:02:22 -0500 Received: by mail-wr1-f47.google.com with SMTP id t4so16943643wrr.12 for <45091@debbugs.gnu.org>; Tue, 08 Dec 2020 09:02:21 -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:content-transfer-encoding; bh=ZUTivoxNUYDM5lJtRGsi/6ptNE4hXTw6ynbi3jSuUq8=; b=VCiGzXqJeXvgfzqghl/SmaMmwq6mfcyoHLFeqVKiTIhouJBMr+R8OWUllMVIh5FM/5 9UW5vFCzeMZ1pzG3ti/mp32rHlNBdatZV9CuiiG6Gl3BhEpBU5Iln7gkPrVr9LKAwNZ7 W7UE/YC2+JN5zBdGjz/WfYaH0jhUUWq52qJTC6/D9O6os0PY9p4MHkYt2eAm9fh5pBY0 NmBdupq12IEz/F1fCrvSkiCMUVoo7SrrTvEHSDMw4KbzdxNFzfFLnRVVpyrzJyfmbx7n SiaWvXaY2dY3hVIBCdzi4hPBCqQHk+2+jWeyTamGl7H3dEJS+4x1s+nOg7TiVtKmnLYX eMew== 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:content-transfer-encoding; bh=ZUTivoxNUYDM5lJtRGsi/6ptNE4hXTw6ynbi3jSuUq8=; b=uh/3fpN8QbgvmBq5PTCQvYJRaqnksmfS18U1w6FTWQnWvonnxd3ac4mX7rsvTroG24 cFU2roC9SeASWAGSpVSdQKYWBBsbQenJCJCHNzJmn4CaSTtN3fmtvK6fvt3JvVx7tkGG Sioq388T+CpF+eXbUqbqAlvhJxg6t6s40LOOiFlfyeFitR73/J83XUOQX1QgZNhUO4a+ SezOtv0E6I2sJRIQ+lQqEiFn2Q6e+vyvCAHKiU4OylqB2m4wI/PAsP45VD2+43T9a1M1 5M1DGHUsH5c7yg07qW3JtCnFL6ueL1EPnjT4iVjjcNdOnWepSFlkC7XFaKcB/PsP0YVq /gXA== X-Gm-Message-State: AOAM5302LBaKyf20aVEuo7iEbq2COKboAWVePgwWFS1ds+r9iNA9dptZ 8FXCrmpZw02Fn9rp3UI5FRM= X-Google-Smtp-Source: ABdhPJyOX9s+G+IukWbZRnOQltx4G8d2C/t0+21YXnd0TIPqdmCr+ogGhqy+sOOXXhHxVABnz4BmIQ== X-Received: by 2002:a5d:5401:: with SMTP id g1mr12321086wrv.93.1607446935876; Tue, 08 Dec 2020 09:02:15 -0800 (PST) Received: from krug ([87.196.174.9]) by smtp.gmail.com with ESMTPSA id l8sm21757302wro.46.2020.12.08.09.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Dec 2020 09:02:15 -0800 (PST) From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= References: <831rg1aapc.fsf@gnu.org> Date: Tue, 08 Dec 2020 17:02:13 +0000 In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Tue, 8 Dec 2020 02:42:29 +0000") Message-ID: <87360g44fe.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 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-Mailman-Approved-At: Wed, 09 Dec 2020 09:04:06 -0500 X-BeenThere: emacs-orgmode@gnu.org List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eli Zaretskii , 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.79 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=VCiGzXqJ; 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: D38D694011C X-Spam-Score: 1.79 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: kgDWQ3o1RNm4 Jo=C3=A3o T=C3=A1vora writes: > I'll keep investigating: I still don't know which marker the message > is referring to. It could be antiblink's marker, but it could be > anything else. > > Jo=C3=A3o I've now reproduced after setting (setq jit-lock-antiblink-grace nil) Which turns off the antiblink feature _almost_ entirely. I've also been able to reproduce it from the command line via: ~/Source/Emacs/emacs-27/src/emacs -Q ~/tmp/taks-file.latex = \ --eval "(progn = \ (require 'org) = \ (require 'org-table) = \ (orgtbl-mode) = \ (remove-hook 'post-command-hook = \ 'jit-lock--antiblink-post-command t))" Which _completely_ turns off the antiblink feature. It doesn't need a window system, -nw is fine to reproduce. This was with a fresh build of the Emacs 27.1 tag. It's hard to reproduce sometimes, but iterating the undo/paste rectangle cycle eventually gets one there. It has to be done on the very same file that Tak Kunihiro posted. Sometimes I mess the file slightly (in ways that I can't tell) and it doesn't happen again. Tak Kunihiro, what is in your opinion the deciding character of these files? I.e. what did you change from the first file (where I couldn't reproduce) to the second? I'm quite lost as to why this happens, of course, but it seems it's always coming from syntax-ppss. When I evaluate that definition (rather than compiling), I get more clues: Debugger entered--Lisp error: (error "Marker does not point anywhere") >(# 2919) (and old-pos (> old-pos pos)) (if (and old-pos (> old-pos pos)) (setq old-pos nil)) (let* ((cell (syntax-ppss--data)) (ppss-last (car cell)) (ppss-cache (cdr= cell)) (old-ppss (cdr ppss-last)) (old-pos (car pps$ (progn (set-syntax-table (or syntax-ppss-table (syntax-table))) (let* ((c= ell (syntax-ppss--data)) (ppss-last (car cell)) (pps$ (unwind-protect (progn (set-syntax-table (or syntax-ppss-table (syntax-ta= ble))) (let* ((cell (syntax-ppss--data)) (ppss-last $ (let ((table (syntax-table)) (buffer (current-buffer))) (unwind-protect (= progn (set-syntax-table (or syntax-ppss-table (synta$ syntax-ppss() I'll keep looking a bit, but at this point it doesn't seem to have anything to do with the antiblink feature. I might be wrong, but I think that only shows up first in the messages buffer because it's unlucky enough to be one of the first users of syntax-ppss after a command. Jo=C3=A3o