From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.help Subject: Re: opening a cpp file Date: Tue, 18 Jul 2006 16:18:38 +0200 Organization: disorganized Message-ID: <87d5c3gfnl.fsf@robotron.kosmorama> References: <877j2bc058.fsf@localhost.localdomain> <1153200166.105932.196130@35g2000cwc.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1153232875 30910 80.91.229.2 (18 Jul 2006 14:27:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2006 14:27:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 18 16:27:53 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G2qW2-0007qI-0E for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jul 2006 16:25:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2qW1-00009t-8G for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jul 2006 10:25:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G2qVb-0008W2-TR for help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 10:25:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G2qVa-0008V8-ND for help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 10:25:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2qVa-0008Ux-AX for help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 10:25:10 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G2qYU-0007or-A0 for help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 10:28:10 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1G2qTw-0007KB-Cw for help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 16:23:28 +0200 Original-Received: from e178026204.adsl.alicedsl.de ([85.178.26.204]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Jul 2006 16:23:28 +0200 Original-Received: from david.hansen by e178026204.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Jul 2006 16:23:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-To: help-gnu-emacs@gnu.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178026204.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:YJfiWNlvsm3BVgWkh0wyEL0OLE8= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36046 Archived-At: On 17 Jul 2006 22:22:46 -0700 harry meyers wrote: > Gary Wessle schrieb: > >> Hi >> I am trying to open a .cpp file, it opens it with an external viewer >> >> MR Buffer Size Mode File >> -- ------ ---- ---- ---- >> .* *scratch* 0 Lisp Interaction >> * *Messages* 1721 Fundamental >> * *ESS* 182 Fundamental >> * *extview log* 489 Fundamental >> >> how can I open it normally with the cpp mode? > > I had the same problem especially with .tex files (but others, too). > Now I open them with emacsclient. I put the appropriate lines in my > .emacs prompting extview to open .tex files with emacsclient. Sounds most likely like some screwed configuration in your .emacs or site lisp file. Does it happen with emacs --no-site-file -q too? David