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	[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

unofficial mirror of notmuch@notmuchmail.org

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/notmuch/0 notmuch/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 notmuch notmuch/ https://yhetil.org/notmuch \
		notmuch@notmuchmail.org
	public-inbox-index notmuch

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.mail.notmuch.general
	nntp://news.gmane.io/gmane.mail.notmuch.general


code repositories for project(s) associated with this inbox:

	notmuch.git.git (no URL configured)

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git