From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rob Giardina Newsgroups: gmane.emacs.devel Subject: Re: dired-details: show/hide file details in Dired Date: Wed, 4 Jul 2007 23:22:50 -0400 Message-ID: <0C1BEEF1-DDB5-4734-A8A8-96D1C0D38C6A@giardina.us> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183623332 3741 80.91.229.12 (5 Jul 2007 08:15:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2007 08:15:32 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 05 10:15:29 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 1I6MUp-0006R6-QG for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2007 10:15:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6MUo-0001tL-5X for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2007 04:15:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6HwV-0007ye-NG for emacs-devel@gnu.org; Wed, 04 Jul 2007 23:23:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6HwT-0007yS-8J for emacs-devel@gnu.org; Wed, 04 Jul 2007 23:23:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6HwT-0007yP-37 for emacs-devel@gnu.org; Wed, 04 Jul 2007 23:23:41 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.237]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6HwS-0005cM-Qv for emacs-devel@gnu.org; Wed, 04 Jul 2007 23:23:40 -0400 Original-Received: by wx-out-0506.google.com with SMTP id s7so1966639wxc for ; Wed, 04 Jul 2007 20:23:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=qq+8KXoBWPyx8dtCEi8MDH2DTRgwfQilmKLncvOJ2TNt4Qsxu0s1w+GYx6Yh47UqMD8VeUDYmY9RUu/UMlP6UGbiV9UYP+hN1JOa3exuPfbAVgiUfD8s1XxHPl2sW1g/9z5KPVQlbXJrLKy/tGZ0K4JQAmpSxzA97tEzoOUXM/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=dicAxbLt0Q5xnIot/qDoORKv8FG6ptkUt/1qPkGACAtQO5hqV01qEM4awdeV4kGkda5/kMbCHnJBxvrdQOs7PTm2iuT958ImfYYS4KEdAbdwEceAveRi8VFyGL73pMYtVbTXEueb9FfXYL28tVFvh41bfT2P53D2x/xSlpTaG6s= Original-Received: by 10.90.50.1 with SMTP id x1mr7417605agx.1183605820335; Wed, 04 Jul 2007 20:23:40 -0700 (PDT) Original-Received: from ?192.168.1.12? ( [71.163.252.18]) by mx.google.com with ESMTP id 38sm18690397agd.2007.07.04.20.23.39 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Jul 2007 20:23:39 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.752.2) X-detected-kernel: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 05 Jul 2007 04:15:22 -0400 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:74336 Archived-At: On Jul 4, 2007, at 9:30 PM, Richard Stallman wrote: >> 2. Provide a user option, `dired-details-propagate-flag' >> which, if non-nil, propagates the last hide/show state >> you chose to the next Dired buffer you open. >> >> I would rather not install that. > > In that case, then that should be the only behavior, > > I don't agree. I've thought about Drew's propagate behavior and I like it. If you sometimes like seeing 'ls -l' details and sometimes like a terse display, having your mood perpetuate when you browse through 5 or 10 directories in a row is a good thing. 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. 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. -rob