]> code.delx.au - gnu-emacs/blobdiff - nextstep/templates/Info.plist.in
Update copyright year to 2016
[gnu-emacs] / nextstep / templates / Info.plist.in
index 45ad4efd3049e9d28bacb0f3ba9e8f8e2e8de74c..dcd2fe341679ffbeca7a8ad3b787076d78cb123f 100644 (file)
@@ -1,5 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
-Copyright (C) 2008-2013 Free Software Foundation, Inc.
+Copyright (C) 2008-2016 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -17,7 +18,6 @@ You should have received a copy of the GNU General Public License
 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 -->
 
-<?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
@@ -452,6 +452,8 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
                                <string>tex</string>
                                <string>ltx</string>
                                <string>ctx</string>
+                               <string>dtx</string>
+                               <string>sty</string>
                                <string>latex</string>
                                <string>texi</string>
                        </array>
@@ -462,6 +464,30 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
                        <key>CFBundleTypeRole</key>
                        <string>Editor</string>
                </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>org</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>document.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>Org document</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Editor</string>
+               </dict>
+               <dict>
+                       <key>CFBundleTypeExtensions</key>
+                       <array>
+                               <string>json</string>
+                       </array>
+                       <key>CFBundleTypeIconFile</key>
+                       <string>document.icns</string>
+                       <key>CFBundleTypeName</key>
+                       <string>JSON document</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Editor</string>
+               </dict>
                <dict>
                        <key>CFBundleTypeExtensions</key>
                        <array>
@@ -478,6 +504,68 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
                </dict>
        </array>
 
+       <!-- Export definitions so that OS X understands about the file types -->
+       <key>UTExportedTypeDeclarations</key>
+       <array>
+               <dict>
+                       <key>UTTypeConformsTo</key>
+                       <array>
+                               <string>public.source-code</string>
+                       </array>
+                       <key>UTTypeDescription</key>
+                       <string>Emacs Lisp Source File</string>
+                       <key>UTTypeIdentifier</key>
+                       <string>org.gnu.emacs-lisp</string>
+                       <key>UTTypeReferenceURL</key>
+                       <string>https://www.gnu.org/software/emacs/manual/html_node/elisp/</string>
+                       <key>UTTypeTagSpecification</key>
+                       <dict>
+                               <key>public.filename-extension</key>
+                               <array>
+                                       <string>el</string>
+                               </array>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>UTTypeConformsTo</key>
+                       <array>
+                               <string>public.content</string>
+                       </array>
+                       <key>UTTypeDescription</key>
+                       <string>Emacs Lisp Object File</string>
+                       <key>UTTypeIdentifier</key>
+                       <string>org.gnu.emacs-lisp-object</string>
+                       <key>UTTypeReferenceURL</key>
+                       <string>https://www.gnu.org/software/emacs/manual/html_node/elisp/</string>
+                       <key>UTTypeTagSpecification</key>
+                       <dict>
+                               <key>public.filename-extension</key>
+                               <array>
+                                       <string>elc</string>
+                               </array>
+                       </dict>
+               </dict>
+               <dict>
+                       <key>UTTypeConformsTo</key>
+                       <array>
+                               <string>public.plain-text</string>
+                       </array>
+                       <key>UTTypeDescription</key>
+                       <string>Org document</string>
+                       <key>UTTypeIdentifier</key>
+                       <string>org.orgmode.org</string>
+                       <key>UTTypeReferenceURL</key>
+                       <string>http://orgmode.org</string>
+                       <key>UTTypeTagSpecification</key>
+                       <dict>
+                               <key>public.filename-extension</key>
+                               <array>
+                                       <string>org</string>
+                               </array>
+                       </dict>
+               </dict>
+       </array>
+
        <key>NSServices</key>
        <array>
                <dict>
@@ -585,5 +673,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
                        </array>
                </dict>
        </array>
+       <key>NSAppleScriptEnabled</key>
+       <string>YES</string>
 </dict>
 </plist>