diff options
| author | Ivan Andrus | 2014-12-11 22:18:20 -0700 |
|---|---|---|
| committer | Ivan Andrus | 2015-07-18 09:02:04 -0600 |
| commit | ea1a30223e14ff13e19d15ab8ac17d7aef5242f1 (patch) | |
| tree | f0e25a67bd78651e2e4e4e4083687bb1685bff22 | |
| parent | a65e00b9f9b486debdbd9ec2fc584ce1967dba44 (diff) | |
| download | emacs-ea1a30223e14ff13e19d15ab8ac17d7aef5242f1.tar.gz emacs-ea1a30223e14ff13e19d15ab8ac17d7aef5242f1.zip | |
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.
| -rw-r--r-- | nextstep/templates/Info.plist.in | 88 |
1 files changed, 88 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. | |||
| 452 | <string>tex</string> | 452 | <string>tex</string> |
| 453 | <string>ltx</string> | 453 | <string>ltx</string> |
| 454 | <string>ctx</string> | 454 | <string>ctx</string> |
| 455 | <string>dtx</string> | ||
| 456 | <string>sty</string> | ||
| 455 | <string>latex</string> | 457 | <string>latex</string> |
| 456 | <string>texi</string> | 458 | <string>texi</string> |
| 457 | </array> | 459 | </array> |
| @@ -465,6 +467,30 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 465 | <dict> | 467 | <dict> |
| 466 | <key>CFBundleTypeExtensions</key> | 468 | <key>CFBundleTypeExtensions</key> |
| 467 | <array> | 469 | <array> |
| 470 | <string>org</string> | ||
| 471 | </array> | ||
| 472 | <key>CFBundleTypeIconFile</key> | ||
| 473 | <string>document.icns</string> | ||
| 474 | <key>CFBundleTypeName</key> | ||
| 475 | <string>Org document</string> | ||
| 476 | <key>CFBundleTypeRole</key> | ||
| 477 | <string>Editor</string> | ||
| 478 | </dict> | ||
| 479 | <dict> | ||
| 480 | <key>CFBundleTypeExtensions</key> | ||
| 481 | <array> | ||
| 482 | <string>json</string> | ||
| 483 | </array> | ||
| 484 | <key>CFBundleTypeIconFile</key> | ||
| 485 | <string>document.icns</string> | ||
| 486 | <key>CFBundleTypeName</key> | ||
| 487 | <string>JSON document</string> | ||
| 488 | <key>CFBundleTypeRole</key> | ||
| 489 | <string>Editor</string> | ||
| 490 | </dict> | ||
| 491 | <dict> | ||
| 492 | <key>CFBundleTypeExtensions</key> | ||
| 493 | <array> | ||
| 468 | <string>*</string> | 494 | <string>*</string> |
| 469 | </array> | 495 | </array> |
| 470 | <key>CFBundleTypeName</key> | 496 | <key>CFBundleTypeName</key> |
| @@ -478,6 +504,68 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 478 | </dict> | 504 | </dict> |
| 479 | </array> | 505 | </array> |
| 480 | 506 | ||
| 507 | <!-- Export definitions so that OS X understands about the file types --> | ||
| 508 | <key>UTExportedTypeDeclarations</key> | ||
| 509 | <array> | ||
| 510 | <dict> | ||
| 511 | <key>UTTypeConformsTo</key> | ||
| 512 | <array> | ||
| 513 | <string>public.source-code</string> | ||
| 514 | </array> | ||
| 515 | <key>UTTypeDescription</key> | ||
| 516 | <string>Emacs Lisp Source File</string> | ||
| 517 | <key>UTTypeIdentifier</key> | ||
| 518 | <string>org.gnu.emacs-lisp</string> | ||
| 519 | <key>UTTypeReferenceURL</key> | ||
| 520 | <string>https://www.gnu.org/software/emacs/manual/html_node/elisp/</string> | ||
| 521 | <key>UTTypeTagSpecification</key> | ||
| 522 | <dict> | ||
| 523 | <key>public.filename-extension</key> | ||
| 524 | <array> | ||
| 525 | <string>el</string> | ||
| 526 | </array> | ||
| 527 | </dict> | ||
| 528 | </dict> | ||
| 529 | <dict> | ||
| 530 | <key>UTTypeConformsTo</key> | ||
| 531 | <array> | ||
| 532 | <string>public.content</string> | ||
| 533 | </array> | ||
| 534 | <key>UTTypeDescription</key> | ||
| 535 | <string>Emacs Lisp Object File</string> | ||
| 536 | <key>UTTypeIdentifier</key> | ||
| 537 | <string>org.gnu.emacs-lisp-object</string> | ||
| 538 | <key>UTTypeReferenceURL</key> | ||
| 539 | <string>https://www.gnu.org/software/emacs/manual/html_node/elisp/</string> | ||
| 540 | <key>UTTypeTagSpecification</key> | ||
| 541 | <dict> | ||
| 542 | <key>public.filename-extension</key> | ||
| 543 | <array> | ||
| 544 | <string>elc</string> | ||
| 545 | </array> | ||
| 546 | </dict> | ||
| 547 | </dict> | ||
| 548 | <dict> | ||
| 549 | <key>UTTypeConformsTo</key> | ||
| 550 | <array> | ||
| 551 | <string>public.plain-text</string> | ||
| 552 | </array> | ||
| 553 | <key>UTTypeDescription</key> | ||
| 554 | <string>Org document</string> | ||
| 555 | <key>UTTypeIdentifier</key> | ||
| 556 | <string>org.orgmode.org</string> | ||
| 557 | <key>UTTypeReferenceURL</key> | ||
| 558 | <string>http://orgmode.org</string> | ||
| 559 | <key>UTTypeTagSpecification</key> | ||
| 560 | <dict> | ||
| 561 | <key>public.filename-extension</key> | ||
| 562 | <array> | ||
| 563 | <string>org</string> | ||
| 564 | </array> | ||
| 565 | </dict> | ||
| 566 | </dict> | ||
| 567 | </array> | ||
| 568 | |||
| 481 | <key>NSServices</key> | 569 | <key>NSServices</key> |
| 482 | <array> | 570 | <array> |
| 483 | <dict> | 571 | <dict> |