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: Gary Wessle
Subject: Re: unable to create/find a .cpp file (ed.2)
Date: 03 Aug 2006 02:29:23 +1000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Gary Wessle <phddas@yahoo.com> writes:

> Kevin Rodgers <ihs_4664@yahoo.com> writes:
> 
> > 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.
> 
> sorry, but I don't get it, "function's doc string"
> C-h f mailcap-parse-mimetypes output did not give any file names
> either.
> 
> > 
> > But I think you could override the mailcap/mimetypes association like
> > this:
> > 
> > (setq extview-application-associations
> >        (cons '("\\.cpp\\'" . nil) extview-application-associations))
> > 
> 
> yes, that fixed it, thank you.

sorry, that fix just above will let me open an existing .cpp file but
will not let me create a new one. as well as it will fail find/create
.h files


reply via email to

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