From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) by hurricane.the-brannons.com (Postfix) with ESMTPS id A39667AD49 for ; Mon, 13 Apr 2015 23:50:41 -0700 (PDT) Received: by widjs5 with SMTP id js5so80855215wid.1 for ; Mon, 13 Apr 2015 23:49:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=J3B/eG/D6FPsL5R0VMJwAs39UietqrTQSAaqQtLy3EM=; b=vKYDTZXC0Dst7iWzCD6BXy/3Qrhf8UpXswUU2l/JYYcfTnDzAWjLQvsLcXl6km1Awy KN/oIXCM7ObE1gudf8PM6tjcbDqX38ADp/FBI7dcXZrt+Tv+l1hemh+IfnswL82xCqea dSygyKG57Bb09WBCO5e2JJN5v+2UGI9eaejrnZyma0clnBlnzMGYkArXBslQlWy/YlQr xRoaV8RuA30kREVi/P/8BROMj7VNBtuEPU1CrvgFJD7zZAYqrUNwGSSubYVR7v4woq0f A9gFYBlP7N+NkXZw/B7AzvDf0uWScrriw5KmcWs1OPboQsTe/tIjVVZAg5PcExksJs+o Rpfw== X-Received: by 10.194.121.68 with SMTP id li4mr33321101wjb.84.1428994181341; Mon, 13 Apr 2015 23:49:41 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id h5sm112899wjn.20.2015.04.13.23.49.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Apr 2015 23:49:40 -0700 (PDT) Date: Tue, 14 Apr 2015 07:49:38 +0100 From: Adam Thompson To: Karl Dahlke Message-ID: <20150414064938.GJ9150@toaster.adamthompson.me.uk> References: <20150312120047.eklhad@comcast.net> <20150413201636.GI9150@toaster.adamthompson.me.uk> <20150313163357.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cN0A5YokcrYPGsSB" Content-Disposition: inline In-Reply-To: <20150313163357.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] mailx, plugin commands, mime, new sourcefile X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 06:50:42 -0000 --cN0A5YokcrYPGsSB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 13, 2015 at 04:33:57PM -0400, Karl Dahlke wrote: > > but I'd like it if the type attribute was optional >=20 > I was looking at this stuff and asked myself, "what the hell is type for?" > It is used nowhere, except one place, where the string > is copied into a mime object in the js world. > There is such an object for each mime entity in the config file. > That object wants a type attribute, I don't know what for. > We could probably do without it just fine, > or maybe just copy the description in there. I'd probably put the content type in there actually since that seems the mo= st logical thing to go into the type attribute of a mime object to me. If this is unspecified then just don't create a mime object for that plugin. > > I'd also probably rename this as plugin since it's now more than just m= ime type handlers. >=20 > I think that's a great idea, will probably do that > unless someone objects. > Not sure if I will retroactively change all the variables in the source c= ode, > but at least the config file syntax. Thanks, I think the variables can be altered either now or later depending = on how these plugins are used in a given context, e.g. in some situations the mime naming may make sense. > > Should this be plugin.c rather than mime.c? >=20 > Yes I think so, I'll do a git rename soon. > That's easy. Thanks. As well as altering the Makefiles etc. Cheers, Adam. --cN0A5YokcrYPGsSB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVLLiBAAoJELZ22lNQBzHOfIkIAK6WWeNVemsQxgRYmVHTFRkz DU2uj1P/aqpGGDPVF0ecVbwEUW4AuY473o1usec4e4OM+xn4qPhSPaEOHoTxXQF8 fnot3KX8Ptdlpgo+EqP8f0X8vY65IFcKRNjrRaLnfpWvpiPfXM4F/U/gBeuiYJcW tWNEje/WEUdbGCtE8E0SxqPxeinbiLDSHO+98jimxPmuIKlthYQDTqohlgfxEKrP yMBev10EAb3rwP0y4e5RfttmXMasn9R66IQ+4H+qh8CUK2oGM7Wd/9I7VQWMj/sn 5t/30kZ1TLnFRfRZdjP+dfgZiTuILYu0wSnndgCLgeIkx25q6SjRKtO6Z/OOA6A= =Aqab -----END PGP SIGNATURE----- --cN0A5YokcrYPGsSB--