From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-01v.sys.comcast.net (resqmta-ch2-01v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:33]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 6FEC97ACEA for ; Mon, 13 Apr 2015 13:34:56 -0700 (PDT) Received: from resomta-ch2-11v.sys.comcast.net ([69.252.207.107]) by resqmta-ch2-01v.sys.comcast.net with comcast id FYZ81q0032Ka2Q501YZxCv; Mon, 13 Apr 2015 20:33:57 +0000 Received: from eklhad ([IPv6:2601:4:5380:4ee:21e:4fff:fec2:a0f1]) by resomta-ch2-11v.sys.comcast.net with comcast id FYZx1q0045LMg2101YZx2r; Mon, 13 Apr 2015 20:33:57 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20150312120047.eklhad@comcast.net> <20150413201636.GI9150@toaster.adamthompson.me.uk> User-Agent: edbrowse/3.5.3+ Date: Mon, 13 Apr 2015 16:33:57 -0400 Message-ID: <20150313163357.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1428957237; bh=KgkgLj9VTssjOZ1lffKku3INlPDdXucVm425nr+kbHs=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=YeCq2NdsfkYLNTs2xx314xOBEJ8RrPSj1sW3MRUraVqriw6eRLwTUqDYi4yJVmEQI lL5/AQCTiIpxrGK5+WhN9f0U2O7n8NPq5/GdPVH2BVHRXe6sb4K3EgzSg8GNqHgax4 EJmkSFReUM0iabNSnq8yG3wwGxHXY5moZPCK1yXmGvM8HF6Mo9Sf/V0sxfqZPj0o0p daYwiR7R3AEPoBlqD6nIRcVV9TQXERv+PBIJKX+glJy/9RrtwJfFtvZ1X8S9OdxaP0 D73dLBE2czkxnugGKHVq1clPciLiiOrODV31m887BIcWr3lnVSAFFp9eQ1xc7VaMB7 1ApX3bxR5MrDw== Subject: [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: Mon, 13 Apr 2015 20:34:56 -0000 > but I'd like it if the type attribute was optional 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 also probably rename this as plugin since it's now more than just mime type handlers. 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 code, but at least the config file syntax. > Should this be plugin.c rather than mime.c? Yes I think so, I'll do a git rename soon. That's easy. Thanks. Karl Dahlke