Re: [irsg] how to upload minutes in markdown format?

Jay Daley <jay@ietf.org> Mon, 02 August 2021 21:49 UTC

Return-Path: <jay@ietf.org>
X-Original-To: wgchairs@ietfa.amsl.com
Delivered-To: wgchairs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D02063A1DE6 for <wgchairs@ietfa.amsl.com>; Mon, 2 Aug 2021 14:49:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1vLQ2flfwvOE; Mon, 2 Aug 2021 14:49:08 -0700 (PDT)
Received: from smtpclient.apple (unknown [158.140.230.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPSA id CE74E3A1DDF; Mon, 2 Aug 2021 14:48:57 -0700 (PDT)
From: Jay Daley <jay@ietf.org>
Message-Id: <05A8D1C3-0B62-44E7-B932-A5B00D8A459D@ietf.org>
Content-Type: multipart/alternative; boundary="Apple-Mail=_B4002822-8E04-4693-9743-4906D45725AB"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
Subject: Re: [irsg] how to upload minutes in markdown format?
Date: Tue, 03 Aug 2021 09:48:54 +1200
In-Reply-To: <3280902e-c8f7-87a2-29d6-6369dab0a812@alum.mit.edu>
Cc: Robert Sparks <rjsparks@nostrum.com>, Working Group Chairs <wgchairs@ietf.org>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
References: <8129fb38-9dd4-426b-679e-40eaf0afaa67@alum.mit.edu> <91951106-6433-4BE0-A952-6FF673090B3E@tzi.org> <9645fdb7-2e4f-7593-12d0-71ed85764903@nostrum.com> <FFC28F29-C63F-4FEC-9F1E-15CD98325817@tzi.org> <9e53eb9a-8284-87a8-b7fa-bb7cd8dd3be5@nostrum.com> <C4AF4982-78CC-457F-8420-FF335BBE0EF0@tzi.org> <dafc084c-759b-379d-aa5a-1d9427297a76@alum.mit.edu> <0F236848-B848-483F-9405-8D75BDF6E95E@tzi.org> <39ca1a6e-dcb6-f7d2-f136-30ba2efbcfee@alum.mit.edu> <84f4f73a-fcd5-5efd-8d69-10992e56260b@nostrum.com> <0BDF970A-CF3A-4D00-87C9-ACB782951C32@ietf.org> <3280902e-c8f7-87a2-29d6-6369dab0a812@alum.mit.edu>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
Archived-At: <https://mailarchive.ietf.org/arch/msg/wgchairs/2xZqr_Ffb93Wj_QZNzjL9o0cGTU>
X-BeenThere: wgchairs@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Working Group Chairs <wgchairs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/wgchairs>, <mailto:wgchairs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/wgchairs/>
List-Post: <mailto:wgchairs@ietf.org>
List-Help: <mailto:wgchairs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/wgchairs>, <mailto:wgchairs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 21:49:14 -0000


> On 3/08/2021, at 9:33 AM, Paul Kyzivat <pkyzivat@alum.mit.edu> wrote:
> 
> On 8/2/21 4:53 PM, Jay Daley wrote:
> 
>>> Do you have XCode installed? If so, does what finder shows you change away from simply Type: Document to Type: Markdown (mumble) if you tell it to open all files of that type with XCode?
>> Just tested this.  If XCode is set at the default for .md files then MacOS reports them as "Kind: Markdown Document".  If I set SublimeText, Atom or Bear as the default then it is "Kind: Markdown Text".

I just tested what happens if I switch it back to XCode and it stays as "Kind: Markdown Text" so it sounds like there is a one-off mess created during an XCode upgrade/install.

My UTI for .md is now unchanging as

	mdls -name kMDItemContentTypeTree Features.md

always gives

	kMDItemContentTypeTree = (
	    "net.daringfireball.markdown",
	    "public.plain-text",
	    "public.text",
	    "public.data",
	    "public.item",
	    "public.content"
	)

> 
> Hmm. So it sounds like if you change the file type of a file, then it looks up the default application for that extension and then looks for UTIs declared by that app. Does that sound right?

Yes.

And when you change the default app for a specific file type then it uses that apps UTI for that file type, which may differ from other apps UTIs.  This makes sense when you consider that file types such as .dat can vary wildly between apps.

> 
> So to get things working I need to have an app that understands markdown associated with .md.

Yes. SublimeText or Atom are both free and useful.

But if you could run the mdls command above first so that we can see what the old UTI is, that would be helpful.

> 
> So much for markdown being so simple that you don't need a markdown editor.

This seems to be an Apple mistake not a Markdown system crash.

Jay

> 
> 	Thanks,
> 	Paul
> 

-- 
Jay Daley
IETF Executive Director
jay@ietf.org