GNU bug report logs - #34214
25.3; minibuffer function help in lisp modes changes match-data

Previous Next

Package: emacs;

Reported by: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>

Date: Sat, 26 Jan 2019 23:44:02 UTC

Severity: wishlist

Found in version 25.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 34214 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>
Cc: 34214 <at> debbugs.gnu.org, Philipp Stephani <p.stephani2 <at> gmail.com>
Subject: Re: bug#34214: 25.3;
 minibuffer function help in lisp modes changes match-data
Date: Fri, 18 Sep 2020 02:51:36 -0700
tags 34214 - notabug
thanks

"Miguel V. S. Frasson" <mvsfrasson <at> gmail.com> writes:

> The "documented" behavior is in Elisp Reference, but not in
> doc-strings of functions that rely on match data. So they are not so
> easily spotted by non-experienced users.

I agree that this could be documented in `match-string'.

> IMO it is so easy to avoid interference into user experience in this
> case, adding convenience, just by saving match data inside eldoc...
>
> Should a helper mode be able to "confuse" non-experienced users
> because it could rely on "documented" behavior? If so, why does Emacs
> have disabled commands, if they are also documented?

I have no strong opinion here.  Maybe you're right.

Anyone else?




This bug report was last modified 3 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.