1

I am using mu4e and pdf-tools. Whenever I go to open an attached pdf (e.g., with gnus-article-press-button) the attachment pops open in a new frame. How can I control where it pops up? Looking at that function and trying to trace it I couldn't find anything related to display-buffer or something I recognized as window management functionality.

1
  • Sorry and Thank you.
    – jds
    Dec 3, 2021 at 17:45

1 Answer 1

1

So I think that gnus-article-press-button eventually boils down to calling xdg-open.

I had emacsclient set as my default pdf reader in mimeapps.list and using a desktop file that called emacsclient with a --create-frame argument. Removing the --create-frames argument solved the problem and now emacsclient tries to use the existing frame when displaying a buffer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.