unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Utkarsh Singh <utkarsh190601@gmail.com>
To: 53848@debbugs.gnu.org
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>
Subject: bug#53848: [PATCH] Tweak Notmuch EBDB insinuate
Date: Mon, 07 Feb 2022 20:38:59 +0530	[thread overview]
Message-ID: <87leymogs4.fsf@gmail.com> (raw)

[-- 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


             reply	other threads:[~2022-02-07 15:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-07 15:08 Utkarsh Singh [this message]
2022-02-07 23:04 ` bug#53848: [PATCH] Tweak Notmuch EBDB insinuate Eric Abrahamsen
2022-09-08 12:55   ` Lars Ingebrigtsen
2022-11-06  3:35     ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87leymogs4.fsf@gmail.com \
    --to=utkarsh190601@gmail.com \
    --cc=53848@debbugs.gnu.org \
    --cc=eric@ericabrahamsen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).