From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; on Mac OS X permissions of group-writable files are displayed with red w Date: Mon, 26 May 2008 23:00:31 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1211832066 18136 80.91.229.12 (26 May 2008 20:01:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 May 2008 20:01:06 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Peter Dyballa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 26 22:01:46 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K0isx-00067d-CF for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 22:01:35 +0200 Original-Received: from localhost ([127.0.0.1]:57836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0isC-0001Ow-GM for ged-emacs-devel@m.gmane.org; Mon, 26 May 2008 16:00:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0is6-0001Og-LX for emacs-devel@gnu.org; Mon, 26 May 2008 16:00:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0is3-0001OT-V1 for emacs-devel@gnu.org; Mon, 26 May 2008 16:00:41 -0400 Original-Received: from [199.232.76.173] (port=39044 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0is3-0001OO-Mp for emacs-devel@gnu.org; Mon, 26 May 2008 16:00:39 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:53848) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0is3-0005PX-G2 for emacs-devel@gnu.org; Mon, 26 May 2008 16:00:39 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:51375 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1K0iqT-0000zI-9k for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 15:59:01 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1K0irz-0005Oq-2d for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 16:00:39 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:50777) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0iry-0005Ob-KH for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 16:00:34 -0400 Original-Received: from HOME-C4E4A596F7 ([81.5.42.129]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K1H00HK9S9E0JF0@i_mtaout3.012.net.il> for emacs-pretest-bug@gnu.org; Mon, 26 May 2008 23:15:18 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97752 gmane.emacs.pretest.bugs:22446 Archived-At: > From: Peter Dyballa > Date: Mon, 26 May 2008 21:11:49 +0200 > Cc: > > GNU Emacs explains to me (after following hypertext links from *Help* > buffers) that dired-perm-write face comes out of dired.el, from these > lines: > > (defface dired-perm-write > '((((type w32 pc)) :inherit default) ;; These default to rw-rw-rw. > ;; Inherit from font-lock-comment-delimiter-face since with min- > colors 8 > ;; font-lock-comment-face is not colored any more. > (t (:inherit font-lock-comment-delimiter-face))) > "Face used to highlight permissions of group- and world-writable > files." > :group 'dired-faces > :version "22.2") > > I am pretty sure that I neither have some MS stuff on my lap nor a PC > in use ... so why do I see these red w in drwxrwxr-x or -rw-rw-r-- ? You see them precisely _because_ you never had any MS stuff on your lap. Look at the defface above: it says that on w32 and MSDOS (that's what `pc' means) dired-perm-write face is identical to the default face, whereas on all other systems it looks like font-lock-comment-delimiter-face. This feature is meant to make world-writable files to stand out on systems where it isn't the default, presumably to alert you to possible security holes.