GNU bug report logs -
#51606
29.0.50; [PATCH] Show offscreen context with properties
Previous Next
Reported by: Arash Esbati <arash <at> gnu.org>
Date: Fri, 5 Nov 2021 09:42:02 UTC
Severity: normal
Tags: moreinfo, patch
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 51606 <at> debbugs.gnu.org (full text, mbox):
> From: Daniel Martín <mardani29 <at> yahoo.es>
> Cc: Arash Esbati <arash <at> gnu.org>, 51606 <at> debbugs.gnu.org
> Date: Fri, 05 Nov 2021 13:57:08 +0100
>
> >> paren.el now can show the context in minibuffer when
> >> `show-paren-context-when-offscreen' is non-nil (introduced in this
> >> change 9f505c476e). Is it possible to extend this that text properties
> >> are not stripped? I'm thinking about something like this:
> >
> > Why do we remove the properties in the first place? Daniel, any
> > special reasons?
>
> No reason other than being cautious and "follow the traditional behavior
> of blink-matching-open". The code that I extracted from
> blink-matching-open to reuse it for show-paren-mode removed the text
> properties (see
> https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/simple.el?h=emacs-28#n8608).
> If I'm not mistaken, this was apparently introduced in 2005 by Richard
> Stallman
> (https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-28&id=1d0e3fc84f058248515f242c0484a0dabfac95aa),
> but I don't know the reasons for the change. Perhaps it didn't look
> good on some TTY frames?
I'd be surprised.
Richard, do you remember why you removed text properties from the
blink-matching-open text it shows in the echo-area?
This bug report was last modified 3 years and 183 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.