[PATCH] emacs: show: make id links respect window
Mark Walters
markwalters1009 at gmail.com
Tue Dec 25 03:04:39 PST 2012
On Mon, 24 Dec 2012, David Bremner <david at tethera.net> wrote:
> Mark Walters <markwalters1009 at gmail.com> writes:
>
>> I think this is a bug but that could be debated. It is particularly
>> easy to trigger with notmuch pick because that uses the split pane
>> while focus usually remains in the `pick' pane rather than the `show'
>> pane.
>
> I can imagine that people would want/like the "open in other window"
> effect of the current code, even if the reason is a bug.
That's definitely possible. I generally expect a mouse click to select
the window I click and this feels counter intuitive. I think that some
people might like an option "open this link in a new window" but I would
guess that would like that whether they clicked or pressed RET on the
button.
>> 'action `(lambda (arg)
>> (notmuch-show ,(third link)))
> Can you (or someone) explain why backquote is needed here? Is this some
> kind of workaround for lack of lexical scope? If so, maybe a comment.
I think this is a reasonably standard use: we want "(third link)" to be
evaluated when the button is made, but we want the rest of the action to
be evaluated when the action is called.
Best wishes
Mark
>
> d
More information about the notmuch
mailing list