unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Okamsn via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 64547@debbugs.gnu.org
Subject: bug#64547: `show-paren-mode` thinks that a paren is offscreen in `M-:` when it isn't
Date: Sun, 09 Jul 2023 19:49:06 +0000	[thread overview]
Message-ID: <7bf644a7-3cd7-1def-706e-9ed74b64bd58@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

Hello,

I have `show-paren-style` set to `mixed` and 
`show-paren-context-when-offscreen` set to `overlay`.

When using `eval-expression`, `show-paren` thinks that the starting 
parenthesis is offscreen.

I have attached images showing how, although I am typing on the same 
line as the parenthesis, the context overlay is still shown.

With `show-paren-when-point-inside-paren` enabled, typing before the 
closing parenthesis causes the prompt of `M-:` to be shown before 
quickly being hidden by the context overlay again. This causes text to 
quickly move side to side as I type. I have attached a screen recording 
of this movement.

This is in Emacs 29.0.92. If it is relevant, I have `line-spacing` set 
to 0.15.

Thank you.

[-- Attachment #2: without-context.png --]
[-- Type: image/png, Size: 1812 bytes --]

[-- Attachment #3: with-context.png --]
[-- Type: image/png, Size: 1328 bytes --]

[-- Attachment #4: show-paren-movement.mp4 --]
[-- Type: video/mp4, Size: 84260 bytes --]

             reply	other threads:[~2023-07-09 19:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-09 19:49 Okamsn via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-07-10 12:15 ` bug#64547: `show-paren-mode` thinks that a paren is offscreen in `M-:` when it isn't Eli Zaretskii
2023-07-10 13:26   ` Stephen Berman
2023-07-10 14:17     ` Eli Zaretskii
2023-07-14  3:03       ` okamsn--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-14  6:44         ` Eli Zaretskii
2023-07-15  1:06           ` okamsn--- via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-15  7:22             ` Eli Zaretskii

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7bf644a7-3cd7-1def-706e-9ed74b64bd58@protonmail.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=64547@debbugs.gnu.org \
    --cc=okamsn@protonmail.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).