help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unable to create/find a .cpp file (ed.2)


From: Kevin Rodgers
Subject: Re: unable to create/find a .cpp file (ed.2)
Date: Tue, 01 Aug 2006 09:18:19 -0600
User-agent: Thunderbird 1.5.0.5 (Windows/20060719)

Gary Wessle wrote:
Hi

after my first post, I here provide more info in-order to find a fix.
thank you for giving me your time to fix my problems.


################ from old post ################
ctl-xf which does find/create a file then I type test.cpp then I get this in
the echo area
****************************************************************
File is opened with an external viewer. See buffer *extview log* for status 
messages.
****************************************************************

in *extview log* I have
****************************************************************
Opening file ~/test.cpp with handler: more '%s'
/home/fred/test.cpp: No such file or directory

Process extview-process finished
****************************************************************

################ more info ################
C-h v extview-application-associations'
(("\\.py$")
 ("\\.pdf$" . "xpdf %s"))

C-h f mailcap-parse-mimetypes function does not have any ".cpp" entry:

Yes, but did you check each of the files listed in that function's
doc string?  That is where the ".cpp" -> "more '%s'" association must
be coming from since it's not in extview-application-associations.

But I think you could override the mailcap/mimetypes association like
this:

(setq extview-application-associations
      (cons '("\\.cpp\\'" . nil) extview-application-associations))

$emacs -q --no-site-file (the problem goes away)
$emacs -q (the problem DOES NOT returns)

That means the source of the problem is either ~/.emacs or default.el,
but we already know it's just because you're loading the extview library
from ~/.emacs.

--
Kevin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]