From: Tomi Ollila <tomi.ollila@iki.fi>
To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
Subject: Re: [PATCH] emacs: search archive tweak
Date: Sat, 07 Jun 2014 16:38:29 +0300 [thread overview]
Message-ID: <m2d2ekn8kq.fsf@guru.guru-group.fi> (raw)
In-Reply-To: <1402058914-16070-1-git-send-email-markwalters1009@gmail.com>
On Fri, Jun 06 2014, Mark Walters <markwalters1009@gmail.com> wrote:
> notmuch-search-archive-thread moves to the next line after tagging. In
> the normal case this makes sense, but if the region is active, it tags
> the whole region and then it doesn't really. Thus only move to the
> next line if region is not active.
> ---
Looks good, although I have no idea how to test this ;)
Tomi
>
> In response to the request in the parent message.
>
> Best wishes
>
> Mark
>
> emacs/notmuch.el | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index f6bf9c8..2a9876f 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -580,7 +580,8 @@ (defun notmuch-search-archive-thread (&optional unarchive beg end)
> (when notmuch-archive-tags
> (notmuch-search-tag
> (notmuch-tag-change-list notmuch-archive-tags unarchive) beg end))
> - (notmuch-search-next-thread))
> + (when (eq beg end)
> + (notmuch-search-next-thread)))
>
> (defun notmuch-search-update-result (result &optional pos)
> "Replace the result object of the thread at POS (or point) by
> --
> 1.7.10.4
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
next prev parent reply other threads:[~2014-06-07 13:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 12:17 Improving spam-tagging keybinding function to act on region in emacs Olivier Berger
2014-05-06 16:08 ` Mark Walters
2014-05-07 11:37 ` Olivier Berger
2014-05-22 8:06 ` Mark Walters
2014-05-22 8:59 ` Olivier Berger
2014-06-06 12:48 ` [PATCH] emacs: search archive tweak Mark Walters
2014-06-07 13:38 ` Tomi Ollila [this message]
2014-07-15 23:10 ` David Bremner
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://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2d2ekn8kq.fsf@guru.guru-group.fi \
--to=tomi.ollila@iki.fi \
--cc=markwalters1009@gmail.com \
--cc=notmuch@notmuchmail.org \
/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://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).