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 153E46DE135D for ; Sun, 9 Oct 2016 13:33:51 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.017 X-Spam-Level: X-Spam-Status: No, score=0.017 tagged_above=-999 required=5 tests=[AWL=-0.113, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 RKkmfQL-KJCc for ; Sun, 9 Oct 2016 13:33:50 -0700 (PDT) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by arlo.cworth.org (Postfix) with ESMTPS id DD43E6DE1346 for ; Sun, 9 Oct 2016 13:33:49 -0700 (PDT) Received: by mail-lf0-f67.google.com with SMTP id l131so6749268lfl.0 for ; Sun, 09 Oct 2016 13:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=AxyShJXr9HDDFASbg0hDhyeF8CR0G8WJXy7YimfHQ5Q=; b=SZjpvzcN0a5tVPauLGqe+dKYwD9OS7eYFFMau3JRzvat+lUKoAEyCAVKj2YC44KwJZ pr2Gt4gsntTl/5FdEGm9Kx3xiUn8kLRuv45grJgGyzu0xRxIr1QOZk1hwTrJZdSO8g6M czF2EO90PKv3Aqih1I69pCMZGc2U/qmTKNwon6B4wkHlx069uy/XTSu7kFzSGR7JKoEW LLyCa/jrFRClkzTO2nvTu3QLaMzkCG1SYnlN3ABOsycAYXpZQQvHeBV0IGj6tUxz91rc dY5fvCY6uYQ/cJlZnDcsaS38uQU84SMDc86WcCNa1Zlvu0vrSsMLDdmrZ7rkxxc09UxP 92yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=AxyShJXr9HDDFASbg0hDhyeF8CR0G8WJXy7YimfHQ5Q=; b=CCUhegrizvdtVLvdXHpUNfkKCbgWy/Ar6f80ei/rjBeW7N+qCY9V/u6//QQHGHR/PR TOSS2DkmiaHWQ5hTccPsVhVGPeAIr71b5sHwyQt3z3AkjObRXoMhSYT810K35W+2hSlT ZG4yB8jr0Fb4tnOZuhp5LE/2IMqLSyuQOCIYTMHYBxP6pBc5KTlj9lZYZ/CBe6PBd4KX yZ/r64jVjYWe52bBLbhKaiQhRheZdWH7vMku7KBdlcWNWZP1RVDe/tTg/b09TDUepa+X Xkl6sl4bMtNb+6he5OSR1t4wBgwesiCucTBesSliMWt61LUL7TA41FpF4z4fCQpMPdis vPSg== X-Gm-Message-State: AA6/9RmWgSIl5tOw6EUcUv/WBtLG49ztO+cafjvDrgx8SGw5fc5Fxnk/SEIqCrZwTkNlCQ== X-Received: by 10.194.223.97 with SMTP id qt1mr11803762wjc.33.1476045227580; Sun, 09 Oct 2016 13:33:47 -0700 (PDT) Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) by smtp.gmail.com with ESMTPSA id p3sm33444687wjr.31.2016.10.09.13.33.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Oct 2016 13:33:46 -0700 (PDT) From: Mark Walters To: notmuch@notmuchmail.org, adi@adirat.com Subject: [PATCH v5 0/7] Add refresh all buffers functionality Date: Sun, 9 Oct 2016 21:33:36 +0100 Message-Id: <1476045223-5238-1-git-send-email-markwalters1009@gmail.com> X-Mailer: git-send-email 2.1.4 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: Sun, 09 Oct 2016 20:33:51 -0000 This is a simplified version of the series at id:20161008210139.25322-1-adi@adirat.com The main change is that it makes all the refresh functions refresh the buffer without forcing the buffer to be displayed. In tree and show mode this was already the case; in search mode it is a change but since the refresh function has to be called in the buffer it is likely to already be displayed. In hello mode it a genuine change, but notmuch-hello-update is a trivial wrapped of notmuch-hello so anyone who wants to force display can just call notmuch-hello. Once this change is made Ionel's changes become very clean. Best wishes Mark Ioan-Adrian Ratiu (4): emacs: notmuch-search: add no-display functionality emacs: notmuch-search-refresh-view: reuse buffer emacs: notmuch-show: refresh all windows displaying buffer emacs: notmuch-lib: add refresh all buffers function Mark Walters (3): emacs: tree: make refresh use generic binding emacs: make the refresh functions more consistent emacs: hello: stop update from forcing the buffer to be displayed emacs/notmuch-hello.el | 7 ++++--- emacs/notmuch-lib.el | 23 ++++++++++++++++++----- emacs/notmuch-show.el | 19 +++++++++++++------ emacs/notmuch-tree.el | 1 - emacs/notmuch.el | 16 +++++++++++----- 5 files changed, 46 insertions(+), 20 deletions(-) -- 2.1.4