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

Re: dabbrev-expand weirdness



> > > 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.

-- 
Kazuhiro Ito