From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 784F66DE0C69 for ; Thu, 6 Oct 2016 07:12:32 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.546 X-Spam-Level: X-Spam-Status: No, score=0.546 tagged_above=-999 required=5 tests=[AWL=-0.425, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NSyadB-ZO17B for ; Thu, 6 Oct 2016 07:12:31 -0700 (PDT) Received: from ni.com (skprod3.natinst.com [130.164.80.24]) by arlo.cworth.org (Postfix) with ESMTPS id 6B1136DE0941 for ; Thu, 6 Oct 2016 07:12:31 -0700 (PDT) Received: from us-aus-mgwout1.amer.corp.natinst.com (nb-snip2-1338.natinst.com [130.164.19.135]) by us-aus-skprod3.natinst.com (8.15.0.59/8.15.0.59) with ESMTP id u96Dhwqr031241; Thu, 6 Oct 2016 08:43:58 -0500 Received: from adi-pc-linux.iotechamer.corp.natinst.com ([130.164.14.198]) by us-aus-mgwout1.amer.corp.natinst.com (Lotus Domino Release 8.5.3FP6 HF1218) with ESMTP id 2016100608435859-645258 ; Thu, 6 Oct 2016 08:43:58 -0500 From: Ioan-Adrian Ratiu To: notmuch@notmuchmail.org Subject: [PATCH v3 0/4] Add refresh all buffers functionality Date: Thu, 6 Oct 2016 16:42:23 +0300 Message-Id: <20161006134227.17194-1-adi@adirat.com> X-Mailer: git-send-email 2.10.0 X-MIMETrack: Itemize by SMTP Server on US-AUS-MGWOut1/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/06/2016 08:43:58 AM, Serialize by Router on US-AUS-MGWOut1/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 10/06/2016 08:43:58 AM, Serialize complete at 10/06/2016 08:43:58 AM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-10-06_06:, , signatures=0 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2016 14:12:32 -0000 Changes since v2 (based on Mark & Tomi's feedback) * fixed a missing parameter in the get-buffer-window-list call in notmuch-show-capture-state * added a (remove-overlays) call before (erase-buffer) in notmuch-search-refresh-view * replaced the (string-prefix-p "notmuch") in notmuch-refresh-all-buffers with explicit list * reworded the commit messages to replace the word patches with commits What I intentionally did not touch in v3 is the notmuch-show call to generate-new-buffer-name which creates now buffers when opening threads from notmuch-search; that fix should go in another patch series. Ioan-Adrian Ratiu (4): emacs: reuse buffer when refreshing searches emacs: notmuch-show: refresh all windows showing a buffer emacs: add refresh buffer optional no-display arg emacs: notmuch-lib: add refresh all buffers function emacs/notmuch-lib.el | 25 ++++++++++++++++++++++--- emacs/notmuch-show.el | 19 +++++++++++++------ emacs/notmuch.el | 25 +++++++++++++++++-------- 3 files changed, 52 insertions(+), 17 deletions(-) -- 2.10.0