From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Dired permission warning and marking such files Date: Sat, 15 Mar 2008 19:09:35 +0200 Organization: JURTA Message-ID: <874pb73oc0.fsf@jurta.org> References: <7dbe73ed0803150951v11f26359y10c7d2af5d862022@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205601200 29200 80.91.229.12 (15 Mar 2008 17:13:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Mar 2008 17:13:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Mathias Dahl" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 15 18:13:49 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 1JaZx5-0007o2-F4 for ged-emacs-devel@m.gmane.org; Sat, 15 Mar 2008 18:13:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaZwV-00076f-TG for ged-emacs-devel@m.gmane.org; Sat, 15 Mar 2008 13:13:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JaZvS-0006MN-Cl for emacs-devel@gnu.org; Sat, 15 Mar 2008 13:12:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JaZvQ-0006Ji-DQ for emacs-devel@gnu.org; Sat, 15 Mar 2008 13:12:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaZvQ-0006JO-68 for emacs-devel@gnu.org; Sat, 15 Mar 2008 13:12:04 -0400 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JaZvQ-0003cf-6a for emacs-devel@gnu.org; Sat, 15 Mar 2008 13:12:04 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JaZvL-000Dbu-T0; Sat, 15 Mar 2008 19:12:02 +0200 In-Reply-To: <7dbe73ed0803150951v11f26359y10c7d2af5d862022@mail.gmail.com> (Mathias Dahl's message of "Sat, 15 Mar 2008 17:51:31 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 367251710ae6d8069d2a2bb66b314d03 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 2421 [Mar 14 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 11 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) 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:92686 Archived-At: > I have been following the recent discussion about the warning that > Dired emits in the form of a font locked "w". I don't care much about > the face really but something that struck me was that there doesn't > seem to be any easy way to fix the "problem" that Dired warns about. I > had to record a keyboard macro, searching for the specific pattern and > marking those lines, and then I had to run this macro until all > "warned" lines was marked. Then I could use M-! and do a `chmod' to > fix the permissions. > > I would have expected to find some command to mark files with certain > permissions under the Mark menu. > > What do others think? You can load dired-x and type in dired: M-( (string-match "\\(w....\\|w.\\)$" mode) RET M go-w RET Alternatively, you can set `wdired-allow-to-change-permissions' to `advanced', and use `query-replace'. -- Juri Linkov http://www.jurta.org/emacs/