all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Markdown for Emacs-app
@ 2009-04-21 18:42 Travis Jeffery
  2009-04-21 19:43 ` Edward O'Connor
  0 siblings, 1 reply; 3+ messages in thread
From: Travis Jeffery @ 2009-04-21 18:42 UTC (permalink / raw)
  To: emacs-devel

[-- 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 --]



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: Markdown for Emacs-app
  2009-04-21 18:42 Markdown for Emacs-app Travis Jeffery
@ 2009-04-21 19:43 ` Edward O'Connor
  2009-04-21 20:13   ` Travis Jeffery
  0 siblings, 1 reply; 3+ messages in thread
From: Edward O'Connor @ 2009-04-21 19:43 UTC (permalink / raw)
  To: Travis Jeffery; +Cc: emacs-devel

> Here is a patch to add better support for markdown files on the Mac for
> Emacs.app:
[...]
> +                               <string>mkd</string>
> +                               <string>md</string>
> +                               <string>mdown</string>
> +                               <string>markdown</string>
> +                               <string>markdn</string>

I think .mdml is also commonly used as a markdown file extension.


Ted

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Markdown for Emacs-app
  2009-04-21 19:43 ` Edward O'Connor
@ 2009-04-21 20:13   ` Travis Jeffery
  0 siblings, 0 replies; 3+ messages in thread
From: Travis Jeffery @ 2009-04-21 20:13 UTC (permalink / raw)
  To: emacs-devel; +Cc: Edward O'Connor

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

Here you go:

diff --git a/nextstep/Cocoa/Emacs.base/Contents/Info.plist b/nextstep/ 
Cocoa/Emacs.base/Contents/Info.plist
index d1f3ecd..aca2c28 100644
--- a/nextstep/Cocoa/Emacs.base/Contents/Info.plist
+++ b/nextstep/Cocoa/Emacs.base/Contents/Info.plist
@@ -65,6 +65,23 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/ 
 >.
  			<string>Editor</string>
  		</dict>
  		<dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>mkd</string>
+                <string>md</string>
+                <string>mdown</string>
+                <string>markdown</string>
+                <string>markdn</string>
+                <string>mdml</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>


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

diff --git a/nextstep/Cocoa/Emacs.base/Contents/Info.plist b/nextstep/Cocoa/Emacs.base/Contents/Info.plist
index d1f3ecd..aca2c28 100644
--- a/nextstep/Cocoa/Emacs.base/Contents/Info.plist
+++ b/nextstep/Cocoa/Emacs.base/Contents/Info.plist
@@ -65,6 +65,23 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
 			<string>Editor</string>
 		</dict>
 		<dict>
+            <key>CFBundleTypeExtensions</key>
+            <array>
+                <string>mkd</string>
+                <string>md</string>
+                <string>mdown</string>
+                <string>markdown</string>
+                <string>markdn</string>
+                <string>mdml</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>

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




On 21-Apr-09, at 3:43 PM, Edward O'Connor wrote:

>> Here is a patch to add better support for markdown files on the Mac  
>> for
>> Emacs.app:
> [...]
>> +                               <string>mkd</string>
>> +                               <string>md</string>
>> +                               <string>mdown</string>
>> +                               <string>markdown</string>
>> +                               <string>markdn</string>
>
> I think .mdml is also commonly used as a markdown file extension.
>
>
> Ted


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-21 20:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21 18:42 Markdown for Emacs-app Travis Jeffery
2009-04-21 19:43 ` Edward O'Connor
2009-04-21 20:13   ` Travis Jeffery

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.