ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: juh <juh+ntg-context@mailbox.org>
To: ntg-context@ntg.nl
Subject: Re: How to write readable source files?
Date: Sat, 24 Apr 2021 15:45:57 +0200	[thread overview]
Message-ID: <20210424134557.GA22067@sokrates> (raw)
In-Reply-To: <CB7525F3-F462-4F83-B86E-880A36C42F45@fiee.net>


[-- Attachment #1.1: Type: text/plain, Size: 819 bytes --]

Am Sat, Apr 24, 2021 at 01:55:28PM +0200 schrieb Henning Hraban Ramm:
> I guess many of us adhere to Hans’ style, as shown in the sources.
> 
> i.e. e.g.
> \setupsomething
>   [name]
>   [key=value,
>    otherkey=value]
> 
> while I prefer:
> 
> \setupsomething[name][
>   key=value,
>   otherkey=value,
> ]

I, too, stick to these styles more or less.

But after many iterations my code gets scrambled so that I would be happy to
reformat it via some tool. The usual functions in Vim and Emacs never results in
a style like this.

Ciao!
Jan Ulrich Hasecke

-- 
Autoren-Homepage: ......... http://literatur.hasecke.com
Satiren & Essays: ......... http://www.sudelbuch.de
Privater Blog: ............ http://www.hasecke.eu
Netzliteratur-Projekt: .... http://www.generationenprojekt.de



[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2021-04-24 13:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-24  9:45 Jan U. Hasecke
2021-04-24 11:55 ` Henning Hraban Ramm
2021-04-24 13:25   ` Hans van der Meer
2021-04-24 13:45   ` juh [this message]
2021-04-24 19:25     ` Nicola
2021-04-25  7:13       ` juh
2021-04-25 12:12         ` Nicola
2021-04-25 12:24           ` Hans Hagen
2021-05-29 15:03             ` Nicola
2021-05-29 17:08               ` Hans Hagen
2021-05-29 18:29                 ` Nicola
2021-05-29 23:04                   ` Hans Hagen
2021-05-30  8:13                     ` Nicola
2021-04-24 12:12 ` luigi scarso
2021-04-24 15:17 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210424134557.GA22067@sokrates \
    --to=juh+ntg-context@mailbox.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).