From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: unable to create/find a .cpp file (ed.2)
Date: Thu, 03 Aug 2006 20:19:16 -0600 [thread overview]
Message-ID: <eauase$j23$1@sea.gmane.org> (raw)
In-Reply-To: <87ac6lhfr3.fsf@localhost.localdomain>
Gary Wessle wrote:
> Kevin Rodgers <ihs_4664@yahoo.com> writes:
>> Gary Wessle wrote:
>>> C-h f mailcap-parse-mimetypes output did not give any file names
>>> either.
>> Sorry, I meant the files listed in its source code (including
>> $MIMETYPES, e.g.):
>>
>> (cond
>> (path nil)
>> ((getenv "MIMETYPES") (setq path (getenv "MIMETYPES")))
>> ((memq system-type mailcap-poor-system-types)
>> (setq path '("~/mime.typ" "~/etc/mime.typ")))
>> (t (setq path
>> ;; mime.types seems to be the normal name, definitely so
>> ;; on current GNUish systems. The search order follows
>> ;; that for mailcap.
>> '("~/.mime.types"
>> "/etc/mime.types"
>> "/usr/etc/mime.types"
>> "/usr/local/etc/mime.types"
>> "/usr/local/www/conf/mime.types"
>> "~/.mime-types"
>> "/etc/mime-types"
>> "/usr/etc/mime-types"
>> "/usr/local/etc/mime-types"
>> "/usr/local/www/conf/mime-types"))))
>
> what command do I use to get the list of the above files on my system?
Sorry, there is no command. I browsed extview.el, whose find-file
advice led me to mailcap.el, whose mailcap-parse-mimetypes function
contains that code.
> looking for any "cpp" in the above files, I found
>
> in **************** "/etc/mime.types"
> text/x-c++src c++ cpp cxx cc
I guess somewhere else "text/x-c++src" is mapped to "more '%s'". Can
you see anything suspicious in the output from `C-h v mailcap-mime-data'
? My guess is there's a default entry for the "text" major type.
> I don't have most of the files you listed above.
> I also don't have any $MIMETYPES in my $env output.
>
>
> $ locate mime*.src
> noting
That's normal.
--
Kevin
next prev parent reply other threads:[~2006-08-04 2:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-28 20:08 unable to create/find a .cpp file (ed.2) Gary Wessle
2006-08-01 15:18 ` Kevin Rodgers
[not found] ` <mailman.4735.1154445579.9609.help-gnu-emacs@gnu.org>
2006-08-02 16:13 ` Gary Wessle
2006-08-02 16:29 ` Gary Wessle
2006-08-02 17:48 ` Kevin Rodgers
[not found] ` <mailman.4765.1154541341.9609.help-gnu-emacs@gnu.org>
2006-08-02 23:52 ` Gary Wessle
2006-08-03 13:31 ` Kevin Rodgers
2006-08-02 17:46 ` Kevin Rodgers
[not found] ` <mailman.4764.1154540943.9609.help-gnu-emacs@gnu.org>
2006-08-03 17:48 ` Gary Wessle
2006-08-04 2:19 ` Kevin Rodgers [this message]
[not found] ` <mailman.4831.1154658014.9609.help-gnu-emacs@gnu.org>
2006-08-04 6:35 ` Gary Wessle
2006-08-04 13:55 ` Kevin Rodgers
[not found] ` <mailman.4850.1154699821.9609.help-gnu-emacs@gnu.org>
2006-08-05 0:22 ` Gary Wessle
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='eauase$j23$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/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.