help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read-from-minibuffer & match data


From: Joost Kremers
Subject: Re: read-from-minibuffer & match data
Date: 19 Dec 2012 12:26:47 GMT
User-agent: slrn/pre1.0.0-18 (Linux)

Drew Adams wrote:
>> I've put a save-match-data into the function to solve the 
>> issue, but I'd just like to make sure this isn't a bug in emacs.
>
> The way to make sure is to file a bug report, preferably with a recipe 
> starting
> from `emacs -Q'.

Sorry, I should have tested with `emacs -Q' before posting of course...
Turns out that it is not Emacs itself but a package I started using
recently, autopair. With `emacs -Q' read-from-minibuffer does not affect
the match data. If I then load autopair.el and activate it globally
(autopair-global-mode), read-from-minibuffer suddenly does chang the
match data.

However, given that there is apparently no good reason to assume that
read-from-minibuffer never changes the match data, I have to consider
this a bug in my code, so I'll keep the fix I added.

Still, I'll notify the developer of autopair, so he can decide for
himself if he should do something about it.

Thanks to all who replied in this thread. :-)

-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]