From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id aDb1FlGmt2a/SAEAqHPOHw:P1 (envelope-from ) for ; Sat, 10 Aug 2024 17:41:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id aDb1FlGmt2a/SAEAqHPOHw (envelope-from ) for ; Sat, 10 Aug 2024 19:41:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tethera.net header.s=2024 header.b=LAvW+nVS; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723311696; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=wgRntUDpL+oXITETjLV1hJdzRwTJtSsc4NGNFMl70dQ=; b=KAPEL2l5chpinnoOVP8XNIh5RTxHfWtExAyc2TDKmZBRXnNpwqb/zRPx1Pr93db7005Wsr zH5T8X2ZSMbZYSCHxOC4orvnCwtQ049l4Ow6PmCnSqM8wZHFE5er8eS8pwlepwbJyaiZyO C6DFzrlXY17b1YnyuHzEb/o74dmbV1zSs+qVGJ6UDdHzsEc8sD4lDyrF9mAkAB1gZ4HEb8 +0RN0sGcxnBJfGbiBR7mU6Nkpq6b3/NoMBFxg+8UJFi331773qKSH1LyBpsmf9MnkD2VsV U+X1SFHo04k86lvxWhxKPmTOIWZ7WT5NN7+bEpODj4sN8etebHZdunbDGk1ZkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=tethera.net header.s=2024 header.b=LAvW+nVS; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723311696; a=rsa-sha256; cv=none; b=LvPYXQt2qdZGvmvP/tgXxeyjybgl6kyQJgxhJMw4xEz8voXtX16HyyHJb9HR7hU/1j5XVa lc6dzhdL27DNHlYVBf6y+Mp9ZkYPeD5udgEoWab6SX2xczT6Yq9GKRgtLDh5j3LCYd0y5p eKVfQ1oIvfqzSodbJk/in2yxTvWH7zQ3K/JGlBnJht2jIbfjdg40bMy5EEbLtIsrlG+gMC yruT1z5Kohacer0z3AYP5OjekfPD3hzaB4jfxsQI1rMAvmrnL/HANWMmSZhCDzbPTHDDMj yIMJYSgDobW/W3FVqwYB++6GqVeqxO3gypK1L/8huu7Lss+bfbgX4JK0eQCTNA== Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D071A770A1 for ; Sat, 10 Aug 2024 19:41:36 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 75C435F82F; Sat, 10 Aug 2024 17:41:33 +0000 (UTC) Received: from phubs.tethera.net (phubs.tethera.net [IPv6:2607:5300:60:3a9d::1]) by mail.notmuchmail.org (Postfix) with ESMTPS id 4ED575F6D8 for ; Sat, 10 Aug 2024 17:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tethera.net; i=@tethera.net; q=dns/txt; s=2024; t=1723311688; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : from; bh=Dq/P55hX/x/WVtIq4E27UK5hC8X3/6UHpFHHH2qAARE=; b=LAvW+nVS2b6GgPhSHQHoO5U1605vu4bMrgagwO7toY3/fbF6bDnKA6KsGyfgtpXa6nVSV 4cWjFMm4rR5jXarfvyyPhPEiRshzKuja6NtUoHoaKBCaySKWhFJW3zNkIELBVpjQn2XLATE /dOolQVRPXna8zssqPNSFHB1wsyClWn/hIrTdtcStU0dl6zD7oAe3Fhs9N2v46lr7XWEeGN fCdb37u/GWSm/5us66cDWLT7ML7T+pKlrRE8giQqovn3mvSNF9H1Us5QIXyGcvqbMSkfY9w MP41AoJ57IpiDNmsW/2+mNEx1/NCj3wWPxMEOmCES1OGNKFSaLaj5cij6u2g== Received: from tethera.net (fctnnbsc51w-159-2-211-58.dhcp-dynamic.fibreop.nb.bellaliant.net [159.2.211.58]) by phubs.tethera.net (Postfix) with ESMTPS id D8F57180180; Sat, 10 Aug 2024 14:41:28 -0300 (ADT) Received: (nullmailer pid 426478 invoked by uid 1000); Sat, 10 Aug 2024 17:41:27 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 1/6] emacs: add defcustom to control hl-line mode Date: Sat, 10 Aug 2024 14:36:20 -0300 Message-ID: <20240810174121.425192-2-david@tethera.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240810174121.425192-1-david@tethera.net> References: <20240810174121.425192-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: SJWUAJEYV4D62BGUZ75VUH3T7CEJ5TKN X-Message-ID-Hash: SJWUAJEYV4D62BGUZ75VUH3T7CEJ5TKN X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN X-Spam-Score: 1.21 X-Migadu-Queue-Id: D071A770A1 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 1.21 X-TUID: rwxNQhV3MXbv Currently the presence of hl-line highlighting is controlled implicitely by hooks. In future commits it will be migrated to use this variable. --- emacs/notmuch.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 2a73ffa5..934ec894 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -133,6 +133,11 @@ there will be called at other points of notmuch execution." :group 'notmuch-search :group 'notmuch-hooks) +(defcustom notmuch-hl-line t + "Use hl-line-mode to highlight current thread / message" + :type 'boolean + :group 'notmuch) + ;;; Mime Utilities (defun notmuch-foreach-mime-part (function mm-handle) -- 2.43.0