Re: [PATCH v2 1/1] emacs: notmuch-show-header-line: allow format strings and functions

Subject: Re: [PATCH v2 1/1] emacs: notmuch-show-header-line: allow format strings and functions

Date: Wed, 18 May 2022 20:31:30 +0100

To: David Bremner, Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: Jose A Ortega Ruiz


On Wed, May 18 2022, David Bremner wrote:

> Jose A Ortega Ruiz <jao@gnu.org> 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.

Ah, thanks.  I did that now in a new version of the patch.  Hopefully i
got it right this time.  I also refactored out a separate function, as
discussed with Tomi.

Cheers,
jao
-- 
He is a hard man who is only just, and a sad one who is only
wise. -Voltaire, philosopher (1694-1778)
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: