From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25847 invoked from network); 10 Sep 2003 09:38:47 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 10 Sep 2003 09:38:47 -0000 Received: (qmail 13120 invoked by alias); 10 Sep 2003 09:38:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19057 Received: (qmail 13103 invoked from network); 10 Sep 2003 09:38:38 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 10 Sep 2003 09:38:38 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 10 Sep 2003 9:38:37 -0000 Received: from EXCHANGE02.csr.com (unverified) by MAILSWEEPER01.cambridgesiliconradio.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Wed, 10 Sep 2003 10:36:42 +0100 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Wed, 10 Sep 2003 10:39:48 +0100 To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: PATCH: MIME functions In-reply-to: "Oliver Kiddle"'s message of "Wed, 10 Sep 2003 10:58:00 +0200." <2623.1063184280@gmcs3.local> Date: Wed, 10 Sep 2003 10:37:40 +0100 Message-ID: <13790.1063186660@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 10 Sep 2003 09:39:48.0012 (UTC) FILETIME=[79899EC0:01C3777F] Oliver Kiddle wrote: > > +Repeated calls to tt(zsh-mime-setup) do not override the existing > > +mapping between suffixes and executable files unless option tt(-r) is > > +given. Note, however, that this does not override existing suffix > > Would -f perhaps be more conventional than -r (for force, as used by > cp, ln etc). You're right; the reason for -r was originally I was just going to make it reset, but I decided there was no point unless it reinitialized, so -f would make more sense. > The /etc/mailcap has a lot of crap in it here so it might be nice if > there was an option to specify that the system mailcap should not be > used or to specify an alternate list of mailcap files. Perhaps using > zstyle instead of an option. Could be quite a lot of scope for using > zstyle to override mailcap entires and other configuration. Yes, and I think there are plenty of places where utilities stick their own mailcap files which might or might not be useful. A style for the sets for mailcap and mime.types files (maybe the style should be mime-types for consistency) and possibly browsers would be useful as well as very easy. I'll make the styles begin with :mime: unless anyone has a better idea. > If you want to add konqueror to this, note that the equivalant to > -remote would be to use something like: > > dcop $(dcop|grep konqueror) konqueror default openBrowserWindow $url Yuk. I'll try this at home. > And, I hate to whinge but can we not be consistent on coding > style/indentation across scripts in zsh. Completion functions written > by Sven or me all use two spaces. Most of my recent functions seem to use two spaces, too. I will probably commit the files after another set of changes without posting them again when I get a chance to fiddle. -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************