From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: non noisy dired Date: Sun, 7 Jun 2009 07:02:17 -0700 Message-ID: <9A9A000218384909BF879106872DA265@us.oracle.com> References: <1234C2D3E19446888CD84302A2D50063@us.oracle.com> <4A2B01C0.20906@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244383383 28189 80.91.229.12 (7 Jun 2009 14:03:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Jun 2009 14:03:03 +0000 (UTC) To: "'Suvayu Ali'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 07 16:02:58 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MDIxc-0005d2-5f for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jun 2009 16:02:56 +0200 Original-Received: from localhost ([127.0.0.1]:52953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDIxb-0007rR-Hj for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Jun 2009 10:02:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MDIxB-0007lr-2j for help-gnu-emacs@gnu.org; Sun, 07 Jun 2009 10:02:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MDIx6-0007Wv-84 for help-gnu-emacs@gnu.org; Sun, 07 Jun 2009 10:02:28 -0400 Original-Received: from [199.232.76.173] (port=54642 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDIx6-0007WT-2P for help-gnu-emacs@gnu.org; Sun, 07 Jun 2009 10:02:24 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:42413 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MDIx5-0000Fv-Fg for help-gnu-emacs@gnu.org; Sun, 07 Jun 2009 10:02:23 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n57E3B4N032749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 7 Jun 2009 14:03:12 GMT Original-Received: from abhmt001.oracle.com (abhmt001.oracle.com [141.146.116.10]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n57E3MQX027072; Sun, 7 Jun 2009 14:03:22 GMT Original-Received: from dradamslap1 (/24.5.184.4) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 07 Jun 2009 07:02:17 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Thread-Index: AcnnSVHu1Ip23ZwsSBewsK8JHyD97AALKUhg In-Reply-To: <4A2B01C0.20906@gmail.com> X-Source-IP: abhmt001.oracle.com [141.146.116.10] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4A2BC86A.0024:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:65008 Archived-At: > > http://www.emacswiki.org/emacs/DiredDetails > > > > You'll never have to see anything other than the file name, > > unless you want to, and you can do that by hitting a toggle key. > > This is probably OT, but still. When you mentioned this extension I > tried out dired-details+.el. It works perfectly as expected > when I load it using `M-x load-library dired-details+'. > > However if I put (require 'dired-details+) in my .emacs, I > get "Symbol's value as variable is void: dired-mode-map" > > What am I doing wrong here? I am very new to emacs, just a > few months. So its very likely I could be missing something trivial. No, you were not doing anything wrong. Here's the explanation (it was a bug): (require 'dired-details+) loads dired-details+, which in turn does (require 'dired-details), which loads dired-details. But neither explicitly loads dired, which is where variable `dired-mode-map' is defined. After it loads dired-details, dired-details+ tries to use that variable at load time --> error. Should be fixed now. The fix is to use the variable not at load time, but after dired is loaded. Thx - Drew P.S. Two years ago, the author of dired-details.el, Rob Giardina, integrated all of the dired-details.el and dired-details+.el features into Emacs - he submitted a comprehensive patch. The Emacs developers seemed to agree to this addition, but they never followed up, so it never happened. I've ping'ed them several times about it (the last time was 2008-11-12), with zero response. Too bad. Rob's integration was clean, avoiding the `defadvice' and other hoops that these two libraries jump through.