From: "João Távora" <firstname.lastname@example.org> To: Tak Kunihiro <email@example.com> Cc: Eli Zaretskii <firstname.lastname@example.org>, email@example.com, firstname.lastname@example.org Subject: bug#45091: 27.1; M-x org-table-paste-rectangle Date: Tue, 08 Dec 2020 17:02:13 +0000 [thread overview] Message-ID: <email@example.com> (raw) In-Reply-To: <CALDnm50Rf_fhVbE+dRyOG5gn5thjQmtC7C9oBgQ-=-Syz_rvDQ@mail.gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Tue, 8 Dec 2020 02:42:29 +0000") João Távora <firstname.lastname@example.org> 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ão 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") >(#<marker in no buffer> 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* ((cell (syntax-ppss--data)) (ppss-last (car cell)) (pps$ (unwind-protect (progn (set-syntax-table (or syntax-ppss-table (syntax-table))) (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ão
next prev parent reply other threads:[~2020-12-09 14:05 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <email@example.com> [not found] ` <firstname.lastname@example.org> [not found] ` <CALDnm53uvZOy+KgTfFfiCZtSe8g-1+roC_pVC+dudHmK76S0VQ@mail.gmail.com> [not found] ` <CALDnm53ZSJF8hCSKiaE5c=ykrTbnaxM9i5mtzpJHB-uP9M4=-Q@mail.gmail.com> [not found] ` <email@example.com> 2020-12-08 2:42 ` João Távora 2020-12-08 17:02 ` João Távora [this message] 2020-12-08 17:08 ` Eli Zaretskii 2020-12-08 23:48 ` Tak Kunihiro 2020-12-20 0:14 ` Tak Kunihiro 2020-12-20 0:18 ` João Távora 2020-12-21 4:58 ` Tak Kunihiro 2021-01-16 6:24 ` Tak Kunihiro 2021-01-15 11:44 ` Naoya Yamashita 2021-01-15 12:19 ` João Távora 2021-01-15 19:33 ` Naoya Yamashita
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://www.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --subject='Re: bug#45091: 27.1; M-x org-table-paste-rectangle' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).