all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Travis Jeffery <eatsleepgolf@gmail.com>
To: emacs-devel@gnu.org
Subject: Markdown for Emacs-app
Date: Tue, 21 Apr 2009 14:42:51 -0400	[thread overview]
Message-ID: <197D35AA-4B36-4486-9331-F0250861E959@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 993 bytes --]

Hello,

Here is a patch to add better support for markdown files on the Mac  
for Emacs.app:

diff --git a/nextstep/Cocoa/Emacs.base/Contents/Info.plist b/nextstep/ 
Cocoa/Emacs.base/Contents/Info.plist
index d1f3ecd..73890d9 100644
--- a/nextstep/Cocoa/Emacs.base/Contents/Info.plist
+++ b/nextstep/Cocoa/Emacs.base/Contents/Info.plist
@@ -67,6 +67,22 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/ 
 >.
  		<dict>
  			<key>CFBundleTypeExtensions</key>
  			<array>
+				<string>mkd</string>
+				<string>md</string>
+				<string>mdown</string>
+				<string>markdown</string>
+				<string>markdn</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>document.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Markdown document</string>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
  				<string>css</string>
  			</array>
  			<key>CFBundleTypeIconFile</key>


[-- Attachment #2: emacs_markdown.diff --]
[-- Type: application/octet-stream, Size: 887 bytes --]

diff --git a/nextstep/Cocoa/Emacs.base/Contents/Info.plist b/nextstep/Cocoa/Emacs.base/Contents/Info.plist
index d1f3ecd..73890d9 100644
--- a/nextstep/Cocoa/Emacs.base/Contents/Info.plist
+++ b/nextstep/Cocoa/Emacs.base/Contents/Info.plist
@@ -67,6 +67,22 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 		<dict>
 			<key>CFBundleTypeExtensions</key>
 			<array>
+				<string>mkd</string>
+				<string>md</string>
+				<string>mdown</string>
+				<string>markdown</string>
+				<string>markdn</string>
+			</array>
+			<key>CFBundleTypeIconFile</key>
+			<string>document.icns</string>
+			<key>CFBundleTypeName</key>
+			<string>Markdown document</string>
+			<key>CFBundleTypeRole</key>
+			<string>Editor</string>
+		</dict>
+		<dict>
+			<key>CFBundleTypeExtensions</key>
+			<array>
 				<string>css</string>
 			</array>
 			<key>CFBundleTypeIconFile</key>

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



             reply	other threads:[~2009-04-21 18:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-21 18:42 Travis Jeffery [this message]
2009-04-21 19:43 ` Markdown for Emacs-app Edward O'Connor
2009-04-21 20:13   ` Travis Jeffery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=197D35AA-4B36-4486-9331-F0250861E959@gmail.com \
    --to=eatsleepgolf@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.