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 7B6FD6DE0F76 for ; Fri, 5 Apr 2019 08:36:02 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -2.698 X-Spam-Level: X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[AWL=-0.196, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, 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 ls-j4M-iR4fN for ; Fri, 5 Apr 2019 08:36:01 -0700 (PDT) Received: from smtp-4.sys.kth.se (smtp-4.sys.kth.se [130.237.48.193]) by arlo.cworth.org (Postfix) with ESMTPS id CAE8F6DE0EF2 for ; Fri, 5 Apr 2019 08:36:00 -0700 (PDT) Received: from smtp-4.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-4.sys.kth.se (Postfix) with ESMTP id 80F53E48 for ; Fri, 5 Apr 2019 17:35:58 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-4.sys.kth.se ([127.0.0.1]) by smtp-4.sys.kth.se (smtp-4.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rKXE1KgOS2QM; Fri, 5 Apr 2019 17:35:58 +0200 (CEST) X-KTH-Auth: ekeberg [2001:6b0:1:1de0:8538:d8dc:82b:eba6] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1554478557; bh=FZocg8pxD3gwHfVeQtG9oDo6juGzlkaHUppMWR/KPf4=; h=From:To:Cc:Subject:Date; b=DxD2eyJP6Pw57F195ryMTmVUW67xnryzH6dh/j8zFhu7HOJJAV7iDiqi/bQCx7NTp 33uFV1QlM8icTXUNuvl2au6Kg8qC5ujMHwqMjPAS9dNiTZd1grk1IV8MVkH23Xfl7a F4ynHeCe8Mw0jJ7W5I8KO5SqcSvtWtQJ6Rhj0XsA= X-KTH-mail-from: ekeberg@kth.se Received: from swing.nada.kth.se (unknown [IPv6:2001:6b0:1:1de0:8538:d8dc:82b:eba6]) by smtp-4.sys.kth.se (Postfix) with ESMTPSA id A89C368F8; Fri, 5 Apr 2019 17:35:56 +0200 (CEST) From: =?UTF-8?q?=C3=96rjan=20Ekeberg?= To: notmuch@notmuchmail.org Subject: [PATCH] emacs: Make first documentation line distinct for "a" and "x" commands. Date: Fri, 5 Apr 2019 17:35:50 +0200 Message-Id: <20190405153550.2416-1-ekeberg@kth.se> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Fri, 05 Apr 2019 15:36:02 -0000 Since only the first line of the documentation is shown by the help command, it is confusing when "x" and "a" seem to have the same binding in show-mode. This commit makes the two function documentations first lines different and (hopefully) clearer. --- emacs/notmuch-show.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 49fc779d..e13ca3d7 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -2256,7 +2256,7 @@ message will be \"unarchived\", i.e. the tag changes in (notmuch-tag-change-list notmuch-archive-tags unarchive)))) (defun notmuch-show-archive-message-then-next-or-exit () - "Archive the current message, then show the next open message in the current thread. + "Archive current message, then show next open message in current thread. If at the last open message in the current thread, then exit back to search results." @@ -2265,7 +2265,7 @@ to search results." (notmuch-show-next-open-message t)) (defun notmuch-show-archive-message-then-next-or-next-thread () - "Archive the current message, then show the next open message in the current thread. + "Archive current message, then show next open message in current or next thread. If at the last open message in the current thread, then show next thread from search." -- 2.20.1