From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.devel Subject: Re: behavior of dired-hide-* Date: Tue, 02 Mar 2010 21:26:53 +0100 Organization: ThierryVolpiatto Message-ID: <87iq9etqpe.fsf@tux.homenetwork> References: <873a0mocve.fsf@tux.homenetwork> <38948.128.165.0.81.1267558857.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267561902 3926 80.91.229.12 (2 Mar 2010 20:31:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 2 Mar 2010 20:31:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 02 21:31:38 2010 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.69) (envelope-from ) id 1NmYkh-0004He-JG for ged-emacs-devel@m.gmane.org; Tue, 02 Mar 2010 21:31:35 +0100 Original-Received: from localhost ([127.0.0.1]:43326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmYkg-0001h7-Fk for ged-emacs-devel@m.gmane.org; Tue, 02 Mar 2010 15:31:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmYkb-0001gs-TA for emacs-devel@gnu.org; Tue, 02 Mar 2010 15:31:29 -0500 Original-Received: from [140.186.70.92] (port=51753 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmYka-0001gk-TT for emacs-devel@gnu.org; Tue, 02 Mar 2010 15:31:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmYkY-0005MC-MN for emacs-devel@gnu.org; Tue, 02 Mar 2010 15:31:28 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:37369) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmYkY-0005Le-C1 for emacs-devel@gnu.org; Tue, 02 Mar 2010 15:31:26 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NmYkW-00048R-8g for emacs-devel@gnu.org; Tue, 02 Mar 2010 21:31:24 +0100 Original-Received: from 4.211.85-79.rev.gaoland.net ([79.85.211.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Mar 2010 21:31:24 +0100 Original-Received: from thierry.volpiatto by 4.211.85-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Mar 2010 21:31:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 60 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 4.211.85-79.rev.gaoland.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHBARgJRFPS0WbMBTC TSG/uJs0yyVHAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABpUlE QVQ4y3VTQXKDMAyUnD7AwvQOhtxj5N4LFh9ow/+/UtlpM0BczWSS0Wola7UBeEb3+3kJ/5p9ZLz3 UI0n0J0Y4K/lh1nG24FhlJOR2LdSKtpV5gfi/Zd+NdaJBbB4D5N0JnfUIVp6obZURkJwS2a8b9uX AkgxA5gCEcknAH1s2z0DPooWmjGKcJR+HNZt+9bm0GtGRycRuZGs98Ffr02vABWGopIAhmXmxnQN BwBXZjgFLHRoqbfeYxCLWqsjLyKhbEHW+A5nEs699Q2O80ALrgHTmUTy6P0MnKyKQpKHpoNWokxs F0D5VegvWmEozyE6nuMiS98mWzlUQ9bW8qYfqOaFtzWlYCqGeIs6HEyl08jkrxUG9MF5ipXpOOpd ZMoXPPVSLWJiiwNNB+eRSyxJZmQKcacikgucnCRiHuJOLmyYJRDPwOqAvY4pA+Wy+VS8G26BAsdb Ph2Hw7ORy/H0IOG0TnaM8Cp0XrFYyU0v2z8AqkifPVbLZ0qo/gsRg60C7p+8Ov9jrUIxFde+jnAq X42hyp/c+ZcnVyUYBarrqZt3+R8450png3cWKgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAwOC0wNS0z MVQyMjoxNDoyMiswMjowMK3VBDcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMDctMTAtMjhUMTc6MDg6 NDgrMDE6MDDLdIcLAAAAEXRFWHRqcGVnOmNvbG9yc3BhY2UAMix1VZ8AAAAgdEVYdGpwZWc6c2Ft cGxpbmctZmFjdG9yADJ4MiwxeDEsMXgxSfqmtAAAAABJRU5ErkJggg== User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) Cancel-Lock: sha1:nYO780UGKATrDwJv1/vIltEQ6Ms= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:121575 Archived-At: Thanks for your answer, "Davis Herring" writes: >> It seem to me, according to manual that the first is to hide directory >> at point and the second is to hide all directories in current dired >> buffer. > > That's correct, but from what follows I suppose you misunderstand what the > documentation for those commands means by "a directory". A Dired buffer > can list the contents of multiple directories (not just list, one per > line, each of the subdirectories of a single directory). $ and M-$ > manipulate which of these listings is displayed, rather than affecting the > display of any one file (which might happen to be a directory file). Yes, i don't understand what is a directory according to the behavior of this command: What the $ dired command should do when i run it on the root (/) of my system and the cursor is on say /bin? Actually it hide all, and and M-$ does the same. So what these $ and M-$ are for? for me actually, they hide all files and subdirs in all case. >> It hide all for me (files and dirs) and leave only the first line of >> dired buffer (the directory header).(the two commands $ and M-$ do the >> same). > > When you only have one directory listed (which is the normal starting > case), they are the same. Sorry for my difficulty to understand that, but that still very unclear for me. Here a directory:(is it?) ,---- | /etc: | total used in directory 2120 available 8350832 | drwxr-xr-x 90 root root 12288 Mar 2 20:52 . | drwxr-xr-x 21 root root 4096 Mar 6 2009 .. | -rw------- 1 root root 0 Apr 20 2007 .pwd.lock | -rw-r--r-- 1 root root 65265 Oct 24 20:55 ANYTHING-TAG-FILE | drwxr-xr-x 4 root root 4096 Feb 16 2009 ConsoleKit | -rw-r--r-- 1 root root 4468 Oct 23 14:06 DIR_COLORS | drwxr-xr-x 2 root root 4096 Dec 20 14:45 RCS | drwxr-xr-x 6 root root 4096 Dec 11 09:47 X11 | drwxr-xr-x 2 root root 4096 Jan 29 16:11 abcde | drwxr-xr-x 4 root root 4096 Feb 24 11:19 acpi `---- What should show $ if my cursor is on say Consolekit (a subdirectory of /etc right?) ? What should show M-$ (cursor anywhere)? -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/