From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Enila Nero Newsgroups: gmane.emacs.help Subject: Re: hide/show in dired Date: Tue, 22 Jun 2004 23:50:37 GMT Organization: Home Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: geortal@yahoo.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088537645 23929 80.91.224.253 (29 Jun 2004 19:34:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:34:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:33:56 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfOMe-0007IW-00 for ; Tue, 29 Jun 2004 21:33:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfOOJ-0003ql-Lw for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:35:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.news.ucla.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!nwrddc01.gnilink.net.POSTED!372e6f02!not-for-mail Original-Newsgroups: gnu.emacs.help Cancel-Lock: sha1:Mkl70Oynir9j0aFgjsxu47VRdGw= Original-Lines: 34 Original-NNTP-Posting-Host: 4.43.183.182 Original-X-Complaints-To: abuse@verizon.net Original-X-Trace: nwrddc01.gnilink.net 1087948237 4.43.183.182 (Tue, 22 Jun 2004 19:50:37 EDT) Original-NNTP-Posting-Date: Tue, 22 Jun 2004 19:50:37 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:123893 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19257 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19257 Mathias Dahl writes: > Enila Nero writes: > >> I have looked around for hide/show functionality in dired, but >> couldn't find anything. What I mean, is to be able to give a regexp >> and dired would limit the display to matching files only. Then, to be >> able to redisplay all the files. >> >> This behavior would analogous to gnus-summary-limit-to-* and >> gnus-summary-pop-limit in gnus, where articles are hidden and then >> popped. >> >> The closest functionality I found is the dired-omit-extensions in >> dired-x.el and dired-wipe.el, but don't quite have the above >> behavior. > > You might find the following links useful: > > * http://www.gnu.org/software/emacs/manual/html_node/Dired-and-Find.html#Dired%20and%20Find > * http://www.gnu.org/software/emacs/manual/html_node/Dired-Updating.html#Dired%20Updating > > /Mathias Thank you for the useful links. Certainly there is a lot of related functionality there. To do exactly what I asked: % m regexp (to mark all files matching a regular expression) kill-all-unmarked-file-lines (couldn't find such functionality) g (to redisplay the directory) Enila