unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53848: [PATCH] Tweak Notmuch EBDB insinuate
@ 2022-02-07 15:08 Utkarsh Singh
  2022-02-07 23:04 ` Eric Abrahamsen
  0 siblings, 1 reply; 4+ messages in thread
From: Utkarsh Singh @ 2022-02-07 15:08 UTC (permalink / raw)
  To: 53848; +Cc: Eric Abrahamsen

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

Hello,

IMHO it would be really helpful if EBDB insinuation can be hooked with
`notmuch-message-mode-hook' for the cases where `notmuch-message-mode'
is not preceded by `notmuch-show-mode'.  For eg. "directly" executing
`notmuch-mua-new-mail' command.

Thank you,
Utkarsh Singh
-- 
Utkarsh Singh
https://utkarshsingh.xyz/

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 737 bytes --]

From ba05872b80d5cebcf9258c4ff5ed9deca545b09c Mon Sep 17 00:00:00 2001
From: Utkarsh Singh <utkarsh190601@gmail.com>
Date: Mon, 7 Feb 2022 20:11:52 +0530
Subject: [PATCH] ebdb-notmuch.el: Tweak Notmuch EBDB insinuate

---
 ebdb-notmuch.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ebdb-notmuch.el b/ebdb-notmuch.el
index a945b56..c01df9d 100644
--- a/ebdb-notmuch.el
+++ b/ebdb-notmuch.el
@@ -70,6 +70,7 @@ the value of `ebdb-default-window-size'."
       (define-key notmuch-message-mode-map (kbd "TAB") #'ebdb-complete-mail))))
 
 (add-hook 'notmuch-show-mode-hook #'ebdb-insinuate-notmuch)
+(add-hook 'notmuch-message-mode-hook #'ebdb-insinuate-notmuch)
 
 (provide 'ebdb-notmuch)
 ;;; ebdb-notmuch.el ends here
-- 
2.35.1


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

end of thread, other threads:[~2022-11-06  3:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 15:08 bug#53848: [PATCH] Tweak Notmuch EBDB insinuate Utkarsh Singh
2022-02-07 23:04 ` Eric Abrahamsen
2022-09-08 12:55   ` Lars Ingebrigtsen
2022-11-06  3:35     ` Eric Abrahamsen

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

	https://git.savannah.gnu.org/cgit/emacs.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).