On Sat, Jun 15 2013, Kyle Machulis wrote:
> I'm getting this too. Might be that the regexp in mu4e-main's
> mu4e~main-action-str is getting a different group back now? I'm not seeing
> any recent git changes in there, did something update in the emacs regexp
> engine (I just updated to the 2013/06/11 build today)?
Hmmm, it still works for me (24.3.50.21 on debian/sid). Can you
reproduce it with an older version?
This is what I get:
(insert (mu4e~main-action-str "\t* [j]ump to some maildir\n"
'mu4e-jump-to-maildir))
=> "* [j]ump to some maildir"
Are you getting
(insert (mu4e~main-action-str "\t* [j]ump to some maildir\n"
'mu4e-jump-to-maildir))
=> "* [*]ump to some maildir"
?
If so, it would be interesting to see what
(let* ((str "\t* [f]oo bar"))
(insert
(replace-regexp-in-string "\\[\\(\\w+\\)\\]"
(lambda(m)
(format "[%s]" (propertize (match-string 1 str) 'face 'mu4e-highlight-face)))
str)))
does (I get "* [f]oo bar").
Best wishes,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:
www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C