[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read-from-minibuffer & match data
From: |
Barry Margolin |
Subject: |
Re: read-from-minibuffer & match data |
Date: |
Thu, 20 Dec 2012 01:01:18 -0500 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article
<slrnkd49ne.m2k.joostkremers@j.kremers4.news.arnhem.chello.nl>,
Joost Kremers <joostkremers@yahoo.com> wrote:
> Barry Margolin wrote:
> > In article
> > <slrnkd3ck6.m2k.joostkremers@j.kremers4.news.arnhem.chello.nl>,
> > Joost Kremers <joostkremers@yahoo.com> wrote:
> >
> >> Still, I'll notify the developer of autopair, so he can decide for
> >> himself if he should do something about it.
> >
> > Why should he do something? If he needs to use string-match in his
> > implementation, what's wrong with that?
>
> I'm not saying he should, that's up to him to decide. I'm not
> knowledgeable enough to have an opinion on the matter.
>
> But on the face of it, autopair has nothing to do with
> read-from-minibuffer, so that makes me wonder whether similar unexpected
> interactions could happen with other parts of Emacs. The maintainer of
> autopair is much better able to decide that than I am.
I don't think it has anything to do specifically with the minibuffer. I
think typing anywhere will do it. autopair's post-command-hook uses
string-match. Also, autopair-on uses it, and it's called as part of
switching into buffers to enable/disable the minor mode.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***