unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Dired permission warning and marking such files
Date: Sat, 15 Mar 2008 19:09:35 +0200	[thread overview]
Message-ID: <874pb73oc0.fsf@jurta.org> (raw)
In-Reply-To: <7dbe73ed0803150951v11f26359y10c7d2af5d862022@mail.gmail.com> (Mathias Dahl's message of "Sat, 15 Mar 2008 17:51:31 +0100")

> 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/




      reply	other threads:[~2008-03-15 17:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-15 16:51 Dired permission warning and marking such files Mathias Dahl
2008-03-15 17:09 ` Juri Linkov [this message]

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=874pb73oc0.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=mathias.dahl@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 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).