From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: dired-details: show/hide file details in Dired Date: Thu, 05 Jul 2007 16:34:05 -0400 Message-ID: References: <0C1BEEF1-DDB5-4734-A8A8-96D1C0D38C6A@giardina.us> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1183667669 2847 80.91.229.12 (5 Jul 2007 20:34:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2007 20:34:29 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org To: Rob Giardina Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 05 22:34:27 2007 connect(): Connection refused 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.50) id 1I6Y1w-0001Oh-C9 for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2007 22:34:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6Y1v-0001Xv-47 for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2007 16:34:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6Y1i-0001Rk-H1 for emacs-devel@gnu.org; Thu, 05 Jul 2007 16:34:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6Y1g-0001Qh-Ob for emacs-devel@gnu.org; Thu, 05 Jul 2007 16:34:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6Y1g-0001Qa-Ey for emacs-devel@gnu.org; Thu, 05 Jul 2007 16:34:08 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6Y1f-0004fN-Nm for emacs-devel@gnu.org; Thu, 05 Jul 2007 16:34:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I6Y1d-0005wp-II; Thu, 05 Jul 2007 16:34:05 -0400 In-reply-to: <0C1BEEF1-DDB5-4734-A8A8-96D1C0D38C6A@giardina.us> (message from Rob Giardina on Wed, 4 Jul 2007 23:22:50 -0400) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:74356 Archived-At: That said, my mood doesn't usually change, I just set the default to terse mode and peek at the details when I need to know. That is what I expect most people will want. When reviewing the code, I discovered that the `dired-details-toggle' function (submitted by Klaus Berndl) has a clever feature I never used. The 2nd param is a flag to update the `dired-details-initially- hide' variable to the new state set by the toggle call thus the next buffer will open in that state. This supports the usage by the multi- mood user (with an appropriate key-binding) without adding another variable to track global state. That is nice.