From ea1a30223e14ff13e19d15ab8ac17d7aef5242f1 Mon Sep 17 00:00:00 2001 From: Ivan Andrus Date: Thu, 11 Dec 2014 22:18:20 -0700 Subject: [PATCH] Expose more file types to OS X that Emacs understands. * Cocoa/Emacs.base/Contents/Info.plist: Add editor role for sty, dtx, json, and org files. Export UTIs for el, elc, and org files. --- nextstep/templates/Info.plist.in | 88 ++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/nextstep/templates/Info.plist.in b/nextstep/templates/Info.plist.in index 8c9dc213be7..09e953c4174 100644 --- a/nextstep/templates/Info.plist.in +++ b/nextstep/templates/Info.plist.in @@ -452,6 +452,8 @@ along with GNU Emacs. If not, see . tex ltx ctx + dtx + sty latex texi @@ -462,6 +464,30 @@ along with GNU Emacs. If not, see . CFBundleTypeRole Editor + + CFBundleTypeExtensions + + org + + CFBundleTypeIconFile + document.icns + CFBundleTypeName + Org document + CFBundleTypeRole + Editor + + + CFBundleTypeExtensions + + json + + CFBundleTypeIconFile + document.icns + CFBundleTypeName + JSON document + CFBundleTypeRole + Editor + CFBundleTypeExtensions @@ -478,6 +504,68 @@ along with GNU Emacs. If not, see . + + UTExportedTypeDeclarations + + + UTTypeConformsTo + + public.source-code + + UTTypeDescription + Emacs Lisp Source File + UTTypeIdentifier + org.gnu.emacs-lisp + UTTypeReferenceURL + https://www.gnu.org/software/emacs/manual/html_node/elisp/ + UTTypeTagSpecification + + public.filename-extension + + el + + + + + UTTypeConformsTo + + public.content + + UTTypeDescription + Emacs Lisp Object File + UTTypeIdentifier + org.gnu.emacs-lisp-object + UTTypeReferenceURL + https://www.gnu.org/software/emacs/manual/html_node/elisp/ + UTTypeTagSpecification + + public.filename-extension + + elc + + + + + UTTypeConformsTo + + public.plain-text + + UTTypeDescription + Org document + UTTypeIdentifier + org.orgmode.org + UTTypeReferenceURL + http://orgmode.org + UTTypeTagSpecification + + public.filename-extension + + org + + + + + NSServices -- 2.39.2