all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: goncholden <goncholden@protonmail.com>
To: Emanuel Berg <incal@dataswamp.org>
Cc: help-gnu-emacs@gnu.org, emacs-erc@gnu.org
Subject: Re: Indentation with spaces
Date: Sat, 11 Jun 2022 00:00:47 +0000	[thread overview]
Message-ID: <lmKqdexTVN9uXWRN81Z6nInIBjHx6ZYep82MwLPBTLBDrPqmZw8TfSF6IESeRtSurBd_R9dutJtP6tUa4At5JlcO4BCqSA-hqxjtvBW7uVE=@protonmail.com> (raw)
In-Reply-To: <87czfgunrl.fsf@dataswamp.org>


------- Original Message -------
On Saturday, June 11th, 2022 at 11:01 AM, Emanuel Berg <incal@dataswamp.org> wrote:


> Po Lu wrote:
>
> > Where did I say people should use tabs to print data?
>
>
> I don't know, you said "tabs are very convenient when printing
> data" or something?
>
> But what are you printing with them then ... tabs?
>
> > > As for source you can't align with any hope of precision
> > > since some other dude will have another tab width setting,
> > > so then he will arrange it the way he thinks it should
> > > look, and this "change" to the source rings all the little
> > > bells and so on ...
> >
> > We have a single tab width setting for all code. And it's
> > very easy to put `tab-width' in the local variables section
> > of a file.
>
>
> Easy but ugly since interface metadata shouldn't clutter
> source files ...
>
> And they should do so even less when there is no gain doing so
> either, right?
>
> The TAB key on the keyboard is one of my favorite keys and
> I often do iteration with that and the so-called backtab which
> is S-TAB. See this for ERC which is cool if I may, don't know
> if they liked it enough or what happened ...

Yes, but emacs should allow a number of possibilities rather than being prescriptive on its use.  For instance, it does not allow multiple tabs at start of line, which happens with legacy codes (e.g. in fortran).

I suggest a rethinking and the introduction of a set of function that help the setting up of space and tab functionality.

whitespace-mode should also be extended to allow users to set colour hex codes for the various highlighting regions.  For instance, whilst the highlighting of trailing spaces in vibrant, the one used for tabs suffers from a very low contrast ratio.

Efforts should be directed towards applying accessibility measures for which there are actual standards (e.g. WCAG).  One can also use
a colour wheel with equally seperated colours in terms of contrast ratio for increased vibrancy, which is another good measure.

> https://dataswamp.org/~incal/emacs-init/erc/erc-iterate.el
>
> Note that it doesn't iterate the same things! (Type of things.)
>
> B)
>
> --
> underground experts united
> https://dataswamp.org/~incal



  reply	other threads:[~2022-06-11  0:00 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-08 22:21 Indentation with spaces goncholden via Users list for the GNU Emacs text editor
2022-06-08 22:52 ` Skip Montanaro
2022-06-08 23:40   ` goncholden
2022-06-09  1:57     ` Skip Montanaro
2022-06-09  3:08       ` Emanuel Berg
2022-06-09  3:12         ` goncholden
2022-06-09  3:17           ` Emanuel Berg
2022-06-09 12:01             ` goncholden
2022-06-10 10:02               ` Emanuel Berg
2022-06-09  9:51         ` Skip Montanaro
2022-06-09 12:33           ` goncholden
2022-06-09 18:43             ` Lele Gaifax
2022-06-10  9:57             ` Emanuel Berg
2022-06-10 10:29             ` Emanuel Berg
2022-06-10 18:43               ` goncholden
2022-06-11  4:37               ` Christopher Dimech
2022-06-11  5:38                 ` Emanuel Berg
2022-06-11  6:16               ` Christopher Dimech
2022-06-09 13:37           ` goncholden
2022-06-09 13:49             ` goncholden
2022-06-09 16:06               ` tomas
2022-06-10 10:08               ` Emanuel Berg
2022-06-10  9:45           ` Emanuel Berg
2022-06-10 17:57             ` goncholden
2022-06-10 18:08               ` tomas
2022-06-10 18:12                 ` goncholden
2022-06-10 18:33                   ` Emanuel Berg
2022-06-10 18:46                     ` goncholden
2022-06-10 18:40                   ` tomas
2022-06-10 18:53                     ` Emanuel Berg
2022-06-10 19:05                       ` goncholden
2022-06-10 19:27                         ` goncholden
2022-06-11  0:56                       ` goncholden
2022-06-10 18:29               ` Emanuel Berg
2022-06-09 13:27         ` Po Lu
2022-06-09 15:44           ` goncholden
2022-06-10 10:20             ` Emanuel Berg
2022-06-10 10:16           ` Emanuel Berg
2022-06-10 11:35             ` Po Lu
2022-06-10 18:26               ` goncholden
2022-06-11  0:57                 ` Po Lu
2022-06-11  1:05                   ` goncholden
2022-06-11  1:17                     ` Po Lu
2022-06-11  1:33                       ` goncholden
2022-06-11  1:36                         ` goncholden
2022-06-11  7:38                           ` Eli Zaretskii
2022-06-11  7:44                             ` Emanuel Berg
2022-06-11  8:26                               ` Eli Zaretskii
2022-06-11  7:57                             ` goncholden
2022-06-11  8:27                               ` Eli Zaretskii
2022-06-11  9:07                                 ` goncholden
2022-06-11 10:10                                   ` Eli Zaretskii
2022-06-11 15:43                                   ` [External] : " Drew Adams
2022-06-11 20:31                                     ` goncholden
2022-06-12  2:21                                       ` Drew Adams
2022-06-12  3:08                                         ` goncholden
2022-06-12  6:42                                       ` Eli Zaretskii
2022-06-11  1:49                       ` Emanuel Berg
2022-06-11  2:05                         ` goncholden
2022-06-10 23:01               ` Emanuel Berg
2022-06-11  0:00                 ` goncholden [this message]
2022-06-11  7:31                   ` Eli Zaretskii
2022-06-11  0:58                 ` Po Lu
2022-06-11  1:41                   ` Emanuel Berg
2022-06-09 19:01         ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-06-09 20:16           ` [External] : " Drew Adams
2022-06-09 20:20             ` goncholden
2022-06-11  5:16             ` Emanuel Berg
2022-06-11  5:33               ` tomas
2022-06-11  5:44                 ` Emanuel Berg
2022-06-11  5:51               ` goncholden
2022-06-11 15:43               ` Drew Adams
2022-06-12  4:45                 ` RE: [External] : " Christopher Dimech
2022-06-13  5:04                 ` [External] : " Emanuel Berg
2022-06-10 10:29           ` reinventing the wheel but not faculty, libraries (was: Re: Indentation with spaces) Emanuel Berg
2022-06-09  5:30     ` Indentation with spaces Eli Zaretskii

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='lmKqdexTVN9uXWRN81Z6nInIBjHx6ZYep82MwLPBTLBDrPqmZw8TfSF6IESeRtSurBd_R9dutJtP6tUa4At5JlcO4BCqSA-hqxjtvBW7uVE=@protonmail.com' \
    --to=goncholden@protonmail.com \
    --cc=emacs-erc@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=incal@dataswamp.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.