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 06:58:01 -0300

To: Jose A Ortega Ruiz, Tomi Ollila, notmuch@notmuchmail.org

Cc:

From: David Bremner


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.

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
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: