From ba645143455d8977cb2853aa02c17fb815d2daac Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 20 Mar 2012 10:57:30 +0100 Subject: [PATCH] fix text/plain aliases so that temp files get proper suffixes --- src/sampleconf/mimeconf | 3 +++ src/sampleconf/mimemap | 3 +-- src/sampleconf/mimeview | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/sampleconf/mimeconf b/src/sampleconf/mimeconf index 4ca58b33..210039e4 100644 --- a/src/sampleconf/mimeconf +++ b/src/sampleconf/mimeconf @@ -107,6 +107,7 @@ text/x-fictionbook = exec rclfb2 text/x-gaim-log = exec rclgaim text/x-html-sidux-man = exec rclsiduxman text/x-html-aptosid-man = exec rclaptosidman +text/x-ini = internal text/plain text/x-mail = internal text/x-man = exec rclman text/x-perl = internal text/plain @@ -186,6 +187,7 @@ text/x-c+ = source text/x-fictionbook = document text/x-html-aptosid-man = aptosid-book text/x-html-sidux-man = sidux-book +text/x-ini = txt text/x-mail = message text/x-man = document application/x-chm = document @@ -234,6 +236,7 @@ text = \ text/x-fictionbook \ text/x-html-aptosid-man \ text/x-html-sidux-man \ + text/x-ini \ text/x-man \ text/x-perl \ text/x-python \ diff --git a/src/sampleconf/mimemap b/src/sampleconf/mimemap index 5b307fc4..7b532828 100644 --- a/src/sampleconf/mimemap +++ b/src/sampleconf/mimemap @@ -3,8 +3,7 @@ .txt = text/plain .text = text/plain -.d = text/plain -.ini = text/plain +.ini = text/x-ini # Source files. # Defining them with specific types allows using a specific ext viewer (in diff --git a/src/sampleconf/mimeview b/src/sampleconf/mimeview index 9bf561f3..fdff86b3 100644 --- a/src/sampleconf/mimeview +++ b/src/sampleconf/mimeview @@ -82,5 +82,6 @@ text/x-c+ = emacsclient %f text/x-c++ = emacsclient %f text/x-html-sidux-man = konqueror %f text/x-html-aptosid-man = iceweasel %f +text/x-ini = emacsclient %f text/x-man = xterm -u8 -e "groff -T ascii -man %f | more" text/x-python = idle %f