From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: emacs-devel@gnu.org
Subject: Re: Mac - why no proxy badge for dired mode?
Date: Tue, 07 Nov 2006 09:58:01 +0900 [thread overview]
Message-ID: <wlirhsdqee.wl%mituharu@math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <einp1m$g27$1@sea.gmane.org>
>>>>> On Mon, 06 Nov 2006 09:48:10 -0700, Kevin Rodgers <ihs_4664@yahoo.com> 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
next prev parent reply other threads:[~2006-11-07 0:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-02 20:13 Mac - why no proxy badge for dired mode? Randal L. Schwartz
2006-11-04 3:19 ` YAMAMOTO Mitsuharu
2006-11-04 8:05 ` Randal L. Schwartz
2006-11-04 9:10 ` Andreas Schwab
2006-11-04 9:12 ` Randal L. Schwartz
2006-11-04 10:54 ` YAMAMOTO Mitsuharu
2006-11-04 11:02 ` Randal L. Schwartz
2006-11-04 12:09 ` YAMAMOTO Mitsuharu
2006-11-04 14:00 ` Randal L. Schwartz
2006-11-04 14:16 ` Benjamin Riefenstahl
2006-11-04 14:53 ` Randal L. Schwartz
2006-11-04 15:47 ` Sean O'Rourke
2006-11-06 16:48 ` Kevin Rodgers
2006-11-07 0:58 ` YAMAMOTO Mitsuharu [this message]
2006-11-05 4:00 ` YAMAMOTO Mitsuharu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wlirhsdqee.wl%mituharu@math.s.chiba-u.ac.jp \
--to=mituharu@math.s.chiba-u.ac.jp \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).