[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mac - why no proxy badge for dired mode?
From: |
Randal L. Schwartz |
Subject: |
Re: Mac - why no proxy badge for dired mode? |
Date: |
04 Nov 2006 00:05:42 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
>>>>> "YAMAMOTO" == YAMAMOTO Mitsuharu <address@hidden> writes:
>>>>> On 02 Nov 2006 12:13:03 -0800, address@hidden (Randal L. Schwartz) said:
>> However, there's no such "proxy icon" for a dired buffer. Just the
>> "address@hidden" in the title bar. I spent about 20 minutes poking
>> through the mac-specific code and the file-visiting code, but I
>> didn't see anything that hooks the two together. Can someone who
>> knows more about carbon apps than I do please look at this and help
>> me make it work?
YAMAMOTO> It's not under the control of Lisp. It is set by
YAMAMOTO> mac_update_proxy_icon in macfns.c according to the value of
YAMAMOTO> buffer-file-name of the buffer of the selected window.
Wow. In a dired buffer in Carbon Emacs, I just executed
the following:
(setq buffer-file-name ".")
And it did exactly the right expected useful thing: a badge was created that
represented the current directory, and I could command-click on the title bar
to see the filepath to the directory and select parent directories.
The question is, will this break anything else? Can we make this a global
change, or at least a change on carbon emacs?
I know that I could personally add a hook that does this. I'm just thinking
out loud for everyone.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<address@hidden> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
- Mac - why no proxy badge for dired mode?, Randal L. Schwartz, 2006/11/02
- Re: Mac - why no proxy badge for dired mode?, YAMAMOTO Mitsuharu, 2006/11/03
- Re: Mac - why no proxy badge for dired mode?,
Randal L. Schwartz <=
- Re: Mac - why no proxy badge for dired mode?, Andreas Schwab, 2006/11/04
- Re: Mac - why no proxy badge for dired mode?, Randal L. Schwartz, 2006/11/04
- Re: Mac - why no proxy badge for dired mode?, YAMAMOTO Mitsuharu, 2006/11/04
- Re: Mac - why no proxy badge for dired mode?, Randal L. Schwartz, 2006/11/04
- Re: Mac - why no proxy badge for dired mode?, YAMAMOTO Mitsuharu, 2006/11/04
- Re: Mac - why no proxy badge for dired mode?, Randal L. Schwartz, 2006/11/04
- Re: Mac - why no proxy badge for dired mode?, Benjamin Riefenstahl, 2006/11/04
- Re: Mac - why no proxy badge for dired mode?, Randal L. Schwartz, 2006/11/04
- Re: Mac - why no proxy badge for dired mode?, Sean O'Rourke, 2006/11/04
- Re: Mac - why no proxy badge for dired mode?, Kevin Rodgers, 2006/11/06