unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: 23.0.50; Middle w in of permissions in dired-mode is red and bold: dired-warning
Date: Mon, 15 Oct 2007 00:20:45 +0200	[thread overview]
Message-ID: <u8x65jq2q.fsf@gnu.org> (raw)
In-Reply-To: <87hckt9z1u.fsf_-_@jurta.org> (message from Juri Linkov on Mon, 15 Oct 2007 00:21:01 +0300)

> Cc: emacs-devel@gnu.org
> From: Juri Linkov <juri@jurta.org>
> Date: Mon, 15 Oct 2007 00:21:01 +0300
> 
> I don't understand the need of adding a new face `dired-warn-writable'?

To get me off the hook with people who use dired-warning-face.

I don't mind removing dired-warning-face, but its doc string is quite
general:

  "Face used to highlight a part of a buffer that needs user attention."

which to me means it could be used for something other than mode
bits.  "Perhaps someone customized dired-font-lock-keywords," says I,
in which case leaving that face alone won't do any particular harm.

> It adds another unnecessary face, and still doesn't fix a problem
> of the annoying bold red indication of group and world writable permissions.

It does fix that on platforms where group- and world-writable files
are the default.  On other platforms, you can customize it, or we can
make it inherit from `default' on _all_ platforms.  I didn't do it
because I was unsure how many users of Unix and GNU systems actually
want to pay attention to such files.

> If no one finds this indication useful

Obviously, someone did, as this face is with us since 2004.  And
Richard's comment there indicates that someone tried to highlight the
entire file name around 1997.

> Otherwise, we could revert the `dired-warning' face to less annoying
> colors

As long as the face's name is *-warning, I think making it inherit
from font-lock-warning-face is TRT: if we want to warn about
something, let that something stand out like any other warning.

That is why I renamed the face to something less general.  And if the
"warn" part isn't consistent enough with what I say above, it (the
"warn" part of the face's name) can go away.

> and maybe turn this face off by default on Windows (is this
> possible to do with a face condition?)

AFAIK, not really; you can only condition that on the value of
window-system.

  reply	other threads:[~2007-10-14 22:20 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-13 18:02 23.0.50; Middle ``w´´ in of permissions in dired-mode is red and bold: dired-warning Peter Dyballa
2007-10-13 18:22 ` 23.0.50; Middle ``wŽŽ " martin rudalics
2007-10-13 18:41   ` Peter Dyballa
2007-10-13 19:44     ` 23.0.50; Middle ``w▌▌ " Glenn Morris
2007-10-13 20:37     ` Re: 23.0.50; Middle ``wŽŽ " Eli Zaretskii
2007-10-13 21:30       ` Peter Dyballa
2007-10-13 23:24         ` Miles Bader
2007-10-14  4:10           ` Eli Zaretskii
2007-10-14  4:03         ` Eli Zaretskii
2007-10-14  5:40           ` Re: 23.0.50; Middle ``wZZ " Drew Adams
2007-10-14 20:24             ` Eli Zaretskii
2007-10-14 20:54               ` Drew Adams
2007-10-14 21:20                 ` Eli Zaretskii
2007-10-14 21:21               ` 23.0.50; Middle w " Juri Linkov
2007-10-14 22:20                 ` Eli Zaretskii [this message]
2008-03-13  2:19                   ` Juri Linkov
2008-03-13  4:21                     ` Eli Zaretskii
2008-03-13 10:37                       ` Juri Linkov
2008-03-13 20:16                         ` Eli Zaretskii
2008-03-14  1:07                           ` Juri Linkov
     [not found]                             ` <f7ccd24b0803140146m22e5305dy704d7415bc00f8cd@mail.gmail.com>
2008-03-14  8:48                               ` Juanma Barranquero
2008-03-14 21:30                                 ` Juri Linkov
2008-03-14 23:37                                   ` Juanma Barranquero
2008-03-15  0:17                                     ` Juri Linkov
2008-03-15  0:26                                       ` Juanma Barranquero
2008-03-14 12:12                             ` Eli Zaretskii
2008-03-14 22:45                     ` Chong Yidong
2008-03-15  0:16                       ` Juri Linkov
2008-03-15 14:27                         ` Eli Zaretskii
2008-03-15 16:20                           ` Juri Linkov
2008-03-15 18:30                             ` Eli Zaretskii
2008-03-15 14:10                       ` Eli Zaretskii
2008-03-15 16:20                         ` Juri Linkov
2008-03-15 20:44                           ` Stefan Monnier
2008-03-16 14:26                             ` martin rudalics
2008-03-16 16:29                             ` Juri Linkov
2007-10-15  0:49               ` 23.0.50; Middle ``wZZ " Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=u8x65jq2q.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).