unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] devel/uncrustify: add line length limits.
@ 2021-03-07 19:44 David Bremner
  2021-03-08 17:38 ` Tomi Ollila
  2021-03-12 11:26 ` David Bremner
  0 siblings, 2 replies; 3+ messages in thread
From: David Bremner @ 2021-03-07 19:44 UTC (permalink / raw)
  To: notmuch; +Cc: David Bremner

A generous limit of 102 is chosen to moderate the amount of resulting
reformatting.
---
 devel/uncrustify.cfg | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/uncrustify.cfg b/devel/uncrustify.cfg
index c36c33d6..d203d4e1 100644
--- a/devel/uncrustify.cfg
+++ b/devel/uncrustify.cfg
@@ -119,3 +119,9 @@ cmt_star_cont		= true
 # indent_brace		= 0
 
 indent_class = true
+
+# line width / line splitting
+code_width            102
+ls_for_split_full     True
+ls_func_split_full    True
+ls_code_width         True
-- 
2.30.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] devel/uncrustify: add line length limits.
  2021-03-07 19:44 [PATCH] devel/uncrustify: add line length limits David Bremner
@ 2021-03-08 17:38 ` Tomi Ollila
  2021-03-12 11:26 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: Tomi Ollila @ 2021-03-08 17:38 UTC (permalink / raw)
  To: David Bremner, notmuch; +Cc: David Bremner

On Sun, Mar 07 2021, David Bremner wrote:

> A generous limit of 102 is chosen to moderate the amount of resulting
> reformatting.

LGTM

Tomi


> ---
>  devel/uncrustify.cfg | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/devel/uncrustify.cfg b/devel/uncrustify.cfg
> index c36c33d6..d203d4e1 100644
> --- a/devel/uncrustify.cfg
> +++ b/devel/uncrustify.cfg
> @@ -119,3 +119,9 @@ cmt_star_cont		= true
>  # indent_brace		= 0
>  
>  indent_class = true
> +
> +# line width / line splitting
> +code_width            102
> +ls_for_split_full     True
> +ls_func_split_full    True
> +ls_code_width         True
> -- 
> 2.30.1
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] devel/uncrustify: add line length limits.
  2021-03-07 19:44 [PATCH] devel/uncrustify: add line length limits David Bremner
  2021-03-08 17:38 ` Tomi Ollila
@ 2021-03-12 11:26 ` David Bremner
  1 sibling, 0 replies; 3+ messages in thread
From: David Bremner @ 2021-03-12 11:26 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> A generous limit of 102 is chosen to moderate the amount of resulting
> reformatting.

applied to master.

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-03-12 11:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-07 19:44 [PATCH] devel/uncrustify: add line length limits David Bremner
2021-03-08 17:38 ` Tomi Ollila
2021-03-12 11:26 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).