all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "José Júnior" <jjnilton@gmail.com>
Cc: 55202@debbugs.gnu.org
Subject: bug#55202: 27.1 Feature request: Show parens when point is anywhere inside of them
Date: Sun, 01 May 2022 10:43:01 +0200	[thread overview]
Message-ID: <87bkwhtzhm.fsf@gnus.org> (raw)
In-Reply-To: <CAGD2S5XY6zJR=QJXCX5PuZqaH-4vUTPM1mV0UWLW=9CUwH3+vg@mail.gmail.com> ("José Júnior"'s message of "Sat, 30 Apr 2022 23:32:55 -0300")

José Júnior <jjnilton@gmail.com> writes:

> How can I set emacs to show parens when the point is anywhere inside of them?
>
> For example, with the point in the character "i": (po|int)
>
> Coming from other editors, I expect that the parens are highlighted,
> but in emacs they're only highlighted the point is on paren or
> immediately after it, even with the variable "Show Paren When Point
> Inside Paren" set to "on".

That variable doc says "If non-nil, show parens when point is just
inside one.", so when point is right by the paren.

Anyway, I think it would make sense to add what you're requesting -- but
I'm not sure it would be efficient, or that it's well-defined.  For
instance, if you're in text-mode and the text is

  {(foo|bar})

what should it be blinking?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-05-01  8:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-01  2:32 bug#55202: 27.1 Feature request: Show parens when point is anywhere inside of them José Júnior
2022-05-01  8:43 ` Lars Ingebrigtsen [this message]
2022-05-01 13:19   ` José Júnior
2022-05-02  8:04     ` Lars Ingebrigtsen
2022-05-03  2:10       ` José Júnior
2022-05-01  9:17 ` Rudolf Schlatte

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

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

  git send-email \
    --in-reply-to=87bkwhtzhm.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=55202@debbugs.gnu.org \
    --cc=jjnilton@gmail.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.