unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Use find-buffer-visiting instead of get-file-buffer
@ 2022-11-22 21:37 Al Haji-Ali
  2024-05-26 22:22 ` notmuch-show-insert-part-text/calendar David Bremner
  0 siblings, 1 reply; 8+ messages in thread
From: Al Haji-Ali @ 2022-11-22 21:37 UTC (permalink / raw)
  To: notmuch


In the function `notmuch-show-insert-part-text/calendar`, get-file-buffer is used which works most of the time except the file is visited under a different name (for example when a directory in `temporary-file-directory` in symlinked).

This can be easily corrected by using `find-buffer-visiting` instead.  

-- Al

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-05-28 12:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-22 21:37 Use find-buffer-visiting instead of get-file-buffer Al Haji-Ali
2024-05-26 22:22 ` notmuch-show-insert-part-text/calendar David Bremner
2024-05-26 22:22   ` [PATCH 1/3] test/corpora: add example with text/calendar attachment David Bremner
2024-05-26 22:22   ` [PATCH 2/3] test/emacs: add regression test for display of calendar parts David Bremner
2024-05-26 22:22   ` [PATCH 3/3] WIP/test: add tests for rendering text/calendar parts David Bremner
2024-05-28  9:24     ` Al Haji-Ali
2024-05-28 10:26       ` David Bremner
2024-05-28 12:39         ` Al Haji-Ali

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).