From: "Rodrigo G. López" <rodrigosloop@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] [PATCH] Spaceindent mode for acme
Date: Thu, 5 Aug 2021 19:28:02 +0200 [thread overview]
Message-ID: <CA+cCjXp3EQ3b6V9P5qA6XBaY=u7tC=x63boSWDYYLBdrShNm+w@mail.gmail.com> (raw)
In-Reply-To: <aa25197282b2e797c11a8695bf123d809a15936a.camel@gmail.com>
hi,
9front's had this for a long time (last time i used acme it already
did, back in 2017).
maybe you could try to import those changes instead of rolling your own?
best,
-rodri
On Thu, Aug 5, 2021 at 6:59 PM binarycat <dogedoge61@gmail.com> wrote:
>
> I do prefer tabs over spaces, but sometimes you have to use spaces.
> For example, zig doesn't even allow the tab charachter in its source
> code.
>
> So, I put together a simple patch that adds a command `Spaceindent`.
> This command works similar to `Indent`, but changing whether to insert
> tabs or spaces. there is also the `-s` option to enable it on startup.
>
> The number of spaces to insert is the same as the tab width,
> controlled by `Tab`.
>
> My implementation may be a bit awkward, I haven't tried modifying acme
> to this extent before.
> --
> binarycat <dogedoge61@gmail.com>
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Td96032ea2eda50a5-M4c0bddcfef55e476f27d69d3
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next prev parent reply other threads:[~2021-08-05 17:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-05 16:59 binarycat
2021-08-05 17:28 ` Rodrigo G. López [this message]
2021-08-06 17:15 ` theinicke
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='CA+cCjXp3EQ3b6V9P5qA6XBaY=u7tC=x63boSWDYYLBdrShNm+w@mail.gmail.com' \
--to=rodrigosloop@gmail.com \
--cc=9fans@9fans.net \
/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).