From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Mac - why no proxy badge for dired mode? Date: Tue, 07 Nov 2006 09:58:01 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <864pthppyo.fsf@blue.stonehenge.com> <86fyczocvd.fsf@blue.stonehenge.com> <86k62bl0ul.fsf@blue.stonehenge.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1162861102 25382 80.91.229.2 (7 Nov 2006 00:58:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2006 00:58:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 07 01:58:21 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GhFIC-0001X0-FI for ged-emacs-devel@m.gmane.org; Tue, 07 Nov 2006 01:58:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhFIC-0005mK-03 for ged-emacs-devel@m.gmane.org; Mon, 06 Nov 2006 19:58:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhFHx-0005ll-RM for emacs-devel@gnu.org; Mon, 06 Nov 2006 19:58:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhFHw-0005kW-5A for emacs-devel@gnu.org; Mon, 06 Nov 2006 19:58:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhFHw-0005kM-0w for emacs-devel@gnu.org; Mon, 06 Nov 2006 19:58:04 -0500 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GhFHv-0008Uq-Q1 for emacs-devel@gnu.org; Mon, 06 Nov 2006 19:58:04 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 6FE632CCD; Tue, 7 Nov 2006 09:58:01 +0900 (JST) Original-To: Kevin Rodgers In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.90 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) 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:61889 Archived-At: >>>>> On Mon, 06 Nov 2006 09:48:10 -0700, Kevin Rodgers said: > I suspect the case where dired-directory is a wildcard spec or a > list will cause problems. Would default-directory be a good > fallback for mac_update_proxy_icon to use, when buffer-file-name is > nil? I also thought of introducing a buffer-local variable that is 1) a flag to determine whether to fallback on default-directory (I don't think that "always fallback" is the right thing). But this can easily be generalized to 2) a symbol to fallback on, or 3) a hook to call when the file name for the proxy icon is needed. (Note that a single dired buffer can contain multiple directories.) Among them, 3) should be after-the-release issue definitely, and if 1) or 2) is implemented now, it will become obsolete. I'd rather keep the principle simple for now, i.e., * The proxy icon represents the value of buffer-file-name. * The dot in the close button and draggability of the proxy icon (they cannot be set differently) represents the buffer modification flag. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp