font or face problem in emacs




Hello,

When I compile a program in emacs, I notice that I get some strange escape sequences in the compiler output window of emacs. For example, if my program is:
----------------------------------------------------------------
#include<iostream>
int main(){
int i,j;
std::cout << "Hellow Wrold!" << std::endl;
return 0;
}
----------------------------------------------------------------

and I compile it with:
g++ -Wall -ansi -o testprog testprog.cc

I get the following in my emacs compiler message window (notice the strange characters around the variables and function names):
----------------------------------------------------------------
g++ -Wall -ansi -o testprog testprog.cc
testprog.cc: In function ‘int main()’:
testprog.cc:6: warning: unused variable ‘i’
testprog.cc:6: warning: unused variable ‘j’

Compilation finished at Thu Jun 29 15:01:30
----------------------------------------------------------------

The strange characters around a variable are(I have typed the backslashes and numbers so that they are displayed properly here):
on left hand side: â\200\230
on right hand side: â\200\231


I guess this has something to do with the face of those strings in the compiler output in emacs. And that I may not have proper fonts installed. Am I on the right track? All inputs are welcome in solving this little problem.

BTW, this started happening only after I reintalled Debian Etch a few weeks ago.

I have:
> dpkg -l *emacs* | grep ^ii
ii emacs-goodies-el 26.6-1 Miscellaneous add-ons for Emacs
ii emacs21 21.4a-3 The GNU Emacs editor
ii emacs21-bin-common 21.4a-3 The GNU Emacs editor's shared, architecture
ii emacs21-common 21.4a-3 The GNU Emacs editor's shared, architecture
ii emacsen-common 1.4.17 Common facilities for all emacsen


thanks,
->HS




--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: which scheme language for me?
    ... "The compiler includes several powerful program transformations such ... In Emacs, you need to insert the file gambit.el to your .emacs file. ... Stalin has no interpreter, but you can use ... long int fib{ ...
    (comp.lang.scheme)
  • Re: gnat 2006 and windows vista
    ... I believe the latest Emacs snapshot works with Vista ... I have not heard any comments on whether the GNAT Ada compiler works ... Emacs and GPS are fully Free Software. ...
    (comp.lang.ada)
  • Re: OT; varied security sounds needed
    ... get started in Visual Studio. ... CygWin -- which puts a lot of unix tools into a Windows system, ... the GNU C compiler. ... Version of Emacs) -- a subset of emacs which does all that I need it to ...
    (rec.crafts.metalworking)
  • Re: font or face problem in emacs
    ... When I compile a program in emacs, I notice that I get some strange escape sequences in the compiler output window of emacs. ...
    (Debian-User)
  • Re: Microcontroller Project
    ... A C compiler will just mask the nonsense underneath. ... ...and watch the stack explode. ... No C program is ever truely platform independant, but you can go a long ... the 8051 is a strange beast. ...
    (sci.electronics.design)