From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.help Subject: Re: Tag based dired? Date: Fri, 23 Jun 2006 16:48:12 -0700 Organization: Newt Software Message-ID: <87u06bigcj.fsf@olgas.newt.com> References: <87sllwvhft.fsf@photon.homelinux.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1151106539 25504 80.91.229.2 (23 Jun 2006 23:48:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jun 2006 23:48:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 24 01:48:58 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FtvOQ-0007d8-SA for geh-help-gnu-emacs@m.gmane.org; Sat, 24 Jun 2006 01:48:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtvOQ-0005IW-F5 for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Jun 2006 19:48:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FtvOD-0005IG-Og for help-gnu-emacs@gnu.org; Fri, 23 Jun 2006 19:48:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FtvOB-0005Hx-A0 for help-gnu-emacs@gnu.org; Fri, 23 Jun 2006 19:48:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FtvOB-0005Hu-4Q for help-gnu-emacs@gnu.org; Fri, 23 Jun 2006 19:48:39 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FtvZT-0006Jo-PY for help-gnu-emacs@gnu.org; Fri, 23 Jun 2006 20:00:19 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FtvNx-0007Zj-E2 for help-gnu-emacs@gnu.org; Sat, 24 Jun 2006 01:48:25 +0200 Original-Received: from c-67-161-47-42.hsd1.ca.comcast.net ([67.161.47.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 Jun 2006 01:48:25 +0200 Original-Received: from wohler by c-67-161-47-42.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 24 Jun 2006 01:48:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-161-47-42.hsd1.ca.comcast.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:y6wUusmj2z74pUuD7n+uF9vvATQ= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35627 Archived-At: Leon writes: > Could you give an example of using tag? I'll guess. Take mh-e.el for example. Right now, for me, it is in one specific place on my hard drive, namely, /usr/local/src/emacs/lisp/mh-e/mh-e.el. I could tag this file with "mail", "emacs", "lisp", "source", "MH-E". In addition, the lisp files already have a Keywords pseudo-header field which could be used to automatically tag the files as well. I could then find this file by specifying any of those tags. I could limit the number of files I see by specifying more tags. If you were to use a normal file system, you'd create a directory for each tag in the system, and create hard links between the directories for files that share tags. The major advantage of this system is that it would be easier to classify and find stuff since you wouldn't have to create--and remember--a possible arcane path to a file. The disadvantage with this implementation is that the directories would be huge and unwieldy. An Emacs interface to this would make it easy to enter tags and to limit the output to files tagged with those tags. In the meantime, you might look at locate and locate-with-filter. Why these functions don't put their output in a dired buffer is beyond me. -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD