From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wLxKMzHDhGJ8/gAAbAwnHQ (envelope-from ) for ; Wed, 18 May 2022 11:58:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id wPJBMzHDhGLVWwAAauVa8A (envelope-from ) for ; Wed, 18 May 2022 11:58:09 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 9208D15F8F for ; Wed, 18 May 2022 11:58:09 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D35C95F76B; Wed, 18 May 2022 09:58:06 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 418925F75B for ; Wed, 18 May 2022 09:58:04 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id E1B875FBD7; Wed, 18 May 2022 05:58:02 -0400 (EDT) Received: (nullmailer pid 734436 invoked by uid 1000); Wed, 18 May 2022 09:58:01 -0000 From: David Bremner To: Jose A Ortega Ruiz , Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH v2 1/1] emacs: notmuch-show-header-line: allow format strings and functions In-Reply-To: <871qwr96rb.fsf@gnus.jao.io> References: <20220516022039.551596-1-jao@gnu.org> <20220516022039.551596-2-jao@gnu.org> <871qwr96rb.fsf@gnus.jao.io> Date: Wed, 18 May 2022 06:58:01 -0300 Message-ID: <87sfp7b1sm.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: VUG24OY7SUK4MHAEGO4GQRP2W2HIQPA3 X-Message-ID-Hash: VUG24OY7SUK4MHAEGO4GQRP2W2HIQPA3 X-MailFrom: david@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-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652867889; 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; bh=LWrY3w/V/Q+SFsFqKcvsHjgBEdANpmzeov+eP2ciVwM=; b=l2y9DHisq3vBueXvC0UiYcDkmno2GEQy5ABeaEa3HGkbx5s0MERdzydHcl+i8wSj49dtcq jd7RH8XWUWhsoD6pBIHJsz0/2wtd191d90rGAXLF0PnklDC5mTyV5YczWi3PgY/BKBWsLp M24mC/kd6mtaFH5/AZ//88VIGbLxdCkGzza+AbWbDP5wUY2ABvlo1HSe2OeqUOWHBFhxZK Wdywin4VVE5F13pRNvx7yNqeMziQphcANYhIJU+WdUd7/1xH/s8j8ghSerSACii8jL8+2x 85vwogiuLGupdoGaHtlCaB++Z9RSy7JNm7SvrSSsgmK3QkSXsVkCpQQYMCvqOw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652867889; a=rsa-sha256; cv=none; b=KELfqR56q1zPMXdKpiSMjYFyzxE9dzM9sHPDW82sDcBNNmecLSc2N5k5nJ02j65GnoyrQ1 6AE893DIE7mqpNZDtD7be8M/WrJtORwAAVU+pp/azjw3nXRxQd8jomU1ETLJxdZQ7GkZRh 4cinciigHxiwT6UB69GIMyTeGl4qjNJU9nRbty5AhstU6BG5g4LpVGtT6wP0nvvZ36GkXF 73rkURBwgQPm74fVeq7mijmVPvoJS4T6jlp3AKFbY9tp4iCpbNkj2yHmmNxHyCFt5q+yrl rWmFRPPhsb3zxZtO6rwP1Tq81WiOwm5C1olFWAlCGY0ojEmQF99W4lKGqEtYZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 9208D15F8F X-Spam-Score: -1.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0aLHQoWyLWFp Jose A Ortega Ruiz writes: > On Tue, May 17 2022, Tomi Ollila wrote: > > > [...] > >> To me it looks like some lines are indented with tabs and some spaces >> (noticed as indentation looked weird to me and then started moving cursor >> at the beginning of line -- there is probably a way to highlight tabs in >> notmuch show buffer but...) > > oh, i've got that highlight on, and i see spaces and tabs mixed all over > the place, so i didn't pay attention: i have emacs configured to indent > using spaces, am i supposed to use tabs for notmuch elisp? or just not > mix the two in the same block? > If you run "devel/check-notmuch-commit" (or the embedded emacs command) it will "do the right thing" for indenting elisp. Basically however emacs -Q does it. The only catch is that potentially some files might predate this and/or have indentation overriding emacs, so you have to pick and choose any diffs. d