all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: "N. Jackson" <nljlistbox2@gmail.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Turning off colorization
Date: Fri, 7 Nov 2014 08:42:51 +1100	[thread overview]
Message-ID: <CAC=50j-h4MVtGpJ-1h1fMEGtdKM9hn3aCC8aFV3at8u9UEVhDw@mail.gmail.com> (raw)
In-Reply-To: <87lhno9jeq.fsf@moondust.localdomain>

[-- Attachment #1: Type: text/plain, Size: 3634 bytes --]

I'm always amazed at how a group of smart people can too often over
complicate a question. This thread started with s relatively simple
usability question on whether font-lock was a good term wrt font colours.
We have then strayed off into related questions, but away from the original
question.

I agree font-lock is not a very intuitive name and could be improved. My
view is in line with David K's points. While syntax-highlighting may not be
100% accurate, it is a common term used to refer to different text being
displayed in different colours. I also prefer it over 'colorize' as it
avoids the issues associated with different spelling. Syntax is also a term
likely to be familiar with a majority of users - emacs is after all
primarily used by those involved in programming at some level.

The other points relating to vision impairments, colour blindness etc are
also interesting, but a side issue. As someone who has used emacs for
nearly 20 years and who has a sight impairment which requires tweaking of
colours, I can say things have improved immensely. Originally, I use to
spend hours defining an elisp file to customize all the faces and adding
new packages with their own face definitions was often a source of
frustration as you would need to then modify your setup. However, the
introduction of thems has made this a lot simpler. We do need to encourage
package writers to use default values derived from the standard set of
faces i.e. use inheritance rather than simply defining new faces with their
own colour settings as this will improve how themes work and often gives a
better result as too often, individual packages will not use the full
configuration i.e. don't define defaults for monochrome, tty etc.

There are already themes defined which will set colours that are typically
better for red-green colour blind and even monochrome themes for those who
prefer no colours. I think this is a good approach. The range of vision
impairments and individual requirements is far too broad for us to ever
hope to cater for everyone. Providing some basic themes which can then be
tweaked to suit individual tastes/needs is the way to go.

The critical requirement is to make it easy for people to find out how to
customize things. This means getting the names right, which is a really
hard thing to do. I would suggest adding both syntax-highlighting and
colorize-mode seem to be reasonable starting points to address this issue.
It would also be worthwhile ensuring the manual covers this and includes
links to the customize-theme stuff as experience has taught me you are much
better off starting with a theme close to your requirements and then
tweaking it than going through the tedious task of listing all the faces
and tweaking them individually.

Tim


On 7 November 2014 07:13, N. Jackson <nljlistbox2@gmail.com> wrote:

> At 11:02 -0400 on Wednesday 2014-11-05, Stefan Monnier wrote:
>
> > Someone posted a patch last year or so, that made it possible to tweak
> > in Elisp the computation of faces (IIRC it was around the discussion
> > of the fallback-background color, to try and dynamically compute the
> > background face to use for the region, so that it's always visible).
>
> Perhaps you are thinking of this message by Daniel Colascione?:
>
> http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01272.html
>
> Unfortunately, this very promising approach (which it seems would
> minimise the need for turning off "colourisation" in buffers just to be
> able to see the text) seemed to get derailed by bickering over defaults.
>
> Regards,
> N. Jackson
>
>
>


-- 
regards,

Tim

--
Tim Cross

[-- Attachment #2: Type: text/html, Size: 4468 bytes --]

  reply	other threads:[~2014-11-06 21:42 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04 16:43 Turning off colorization Richard Stallman
2014-11-04 17:11 ` Phillip Lord
2014-11-05  4:57   ` Richard Stallman
2014-11-05  9:11     ` David Kastrup
2014-11-05 11:31       ` Ted Zlatanov
2014-11-05 11:51         ` Tassilo Horn
2014-11-05 12:49           ` Andreas Schwab
2014-11-05 13:05             ` Tassilo Horn
2014-11-05 11:52         ` Phillip Lord
2014-11-05 12:03           ` Ted Zlatanov
2014-11-05 12:30             ` Phillip Lord
2014-11-05 12:23         ` Lars Magne Ingebrigtsen
2014-11-05 12:52           ` Andreas Schwab
2014-11-05 17:06             ` Lars Magne Ingebrigtsen
2014-11-05 17:30               ` Eli Zaretskii
2014-11-05 17:35               ` Andreas Schwab
2014-11-05 19:56                 ` Lars Magne Ingebrigtsen
2014-11-05 20:17                   ` Eli Zaretskii
2014-11-05 12:55           ` Tassilo Horn
2014-11-05 13:00           ` Yoni Rabkin
2014-11-05 14:00           ` James Cloos
2014-11-05 18:13             ` Richard Stallman
2014-11-05 23:37               ` James Cloos
2014-11-06 10:05                 ` David Kastrup
2014-11-06 15:26                   ` Stefan Monnier
2014-11-06 16:03                     ` Alan Mackenzie
2014-11-06 16:53                       ` Stefan Monnier
2014-11-07  7:13                         ` Richard Stallman
2014-11-07 14:43                           ` Stefan Monnier
2014-11-08  6:44                             ` Richard Stallman
2014-11-08 15:26                               ` Stefan Monnier
2014-11-09 20:06                                 ` Richard Stallman
2014-11-07  7:12                     ` Richard Stallman
2014-11-05 15:02         ` Stefan Monnier
2014-11-06 20:13           ` N. Jackson
2014-11-06 21:42             ` Tim Cross [this message]
2014-11-06 23:14             ` Stefan Monnier
2014-11-07  0:10               ` Daniel Colascione
2014-11-07  4:13                 ` Stefan Monnier
2014-11-05 18:12       ` Richard Stallman
2014-11-05 11:05     ` Phillip Lord
2014-11-04 20:59 ` Nic Ferrier
     [not found]   ` <CAG-q9=a+nTM3KhYeBfzvSZOWKMjdDgaUyQw25_NkAkoad3QwOw@mail.gmail.com>
2014-11-05  1:09     ` Kelvin White
2014-11-05  2:10       ` Stephen J. Turnbull
2014-11-05  8:23         ` Harald Hanche-Olsen
2014-11-06 16:47 ` N. Jackson
2014-11-06 17:36   ` Eli Zaretskii
2014-11-06 19:55     ` N. Jackson
2014-11-06 18:00   ` Wolfgang Jenkner
2014-11-06 19:44     ` N. Jackson
2014-11-06 19:44   ` Tassilo Horn
2014-11-06 19:49     ` Eli Zaretskii
2014-11-07  6:36       ` Tassilo Horn
2014-11-07  7:06         ` Eli Zaretskii
2014-11-07  7:59           ` Tassilo Horn
2014-11-07  9:00             ` Eli Zaretskii
2014-11-06 21:55   ` Lars Magne Ingebrigtsen
2014-11-07  0:04   ` James Cloos
2014-11-07 13:57     ` Gregor Zattler
2014-11-07 14:02       ` Eli Zaretskii
2014-11-07 14:47         ` Gregor Zattler
2014-11-07 15:06           ` Eli Zaretskii
2014-11-07 15:27             ` Gregor Zattler
2014-11-07 16:59       ` James Cloos
2014-11-07 19:12         ` Mirek Kaim
2014-11-07 18:36       ` Andreas Schwab
2014-11-07  7:13   ` Richard Stallman
2014-11-07  8:43     ` Eli Zaretskii
2014-11-08  6:44       ` Richard Stallman
2014-11-08  8:15         ` Eli Zaretskii
2014-11-08 21:36           ` Richard Stallman
2014-11-08 22:18           ` James Cloos
2014-11-08 22:30             ` Lars Magne Ingebrigtsen
2014-11-08 22:51               ` James Cloos
2014-11-09  1:30                 ` Lars Magne Ingebrigtsen
2014-11-09  3:51                   ` Eli Zaretskii
2014-11-10 15:29                   ` Mirek Kaim
2014-11-10 16:21                     ` Eli Zaretskii
2014-11-10 18:37                       ` Mirek Kaim
2014-11-11  1:32                         ` Yuri Khan
2014-11-11 17:58                           ` Mirek Kaim
2014-11-09  3:45                 ` Eli Zaretskii
2014-11-09 14:57                   ` James Cloos
2014-11-09 16:26                     ` Eli Zaretskii
2014-11-09 20:07                   ` Richard Stallman
2014-11-09 20:13                     ` Eli Zaretskii
2014-11-10 19:07                       ` Richard Stallman
2014-11-10 19:57                         ` Eli Zaretskii
     [not found]     ` <<83r3xfs8mx.fsf@gnu.org>
2014-11-07 14:43       ` Drew Adams
2014-11-07 15:28         ` Stefan Monnier
2014-11-07 15:40           ` Eli Zaretskii
2014-11-07 16:08             ` Stefan Monnier
2014-11-08  6:44             ` Richard Stallman
2014-11-09  4:14 ` Paul W. Rankin
2014-11-09 20:08   ` Richard Stallman
2014-11-09 22:03   ` Stefan Monnier
2014-11-10  1:41     ` Paul Rankin

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='CAC=50j-h4MVtGpJ-1h1fMEGtdKM9hn3aCC8aFV3at8u9UEVhDw@mail.gmail.com' \
    --to=theophilusx@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=nljlistbox2@gmail.com \
    /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.