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

Re: dabbrev-expand weirdness



At Wed, 29 Sep 2010 06:26:52 +0900,
Kazuhiro Ito wrote:
> 
> > > > while composing the following message, if I have point immediately after
> > > > "wait," and I hit `M-/' (dabbrev-expand), I get the expansion I expect,
> > > > but point ends up just after the "D" in my name, rather than immediately
> > > > following the expanded word.
> > > 
> > > I confirmed your posted code makes a similar behavior.
> > > 
> > > Cf.
> > > http://thread.gmane.org/gmane.mail.wanderlust.general.japanese/7081/focus=7090
> > 
> > Yep, that's the cause of it, thanks!  But now I guess we need a real
> > solution to the original bug. :-(
> 
> You need save-match-data() for your hook function.

Bingo!  You've saved my WL usability, thanks!  Now why isn't this
functionality built in to WL?

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com