From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: towi Newsgroups: gmane.emacs.help Subject: linux/gcc, apostrophs display problem Date: Mon, 23 Feb 2009 05:45:39 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1235406995 29329 80.91.229.12 (23 Feb 2009 16:36:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2009 16:36:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 23 17:37:51 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LbdoL-0005PB-1p for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Feb 2009 17:37:41 +0100 Original-Received: from localhost ([127.0.0.1]:41762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lbdn0-0003Zw-88 for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Feb 2009 11:36:18 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!j35g2000yqh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 87.139.103.55 Original-X-Trace: posting.google.com 1235396739 1511 127.0.0.1 (23 Feb 2009 13:45:39 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 23 Feb 2009 13:45:39 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j35g2000yqh.googlegroups.com; posting-host=87.139.103.55; posting-account=mZpoRwoAAADqM84zOJt_lYWyD-MWn01f User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:166979 X-Mailman-Approved-At: Mon, 23 Feb 2009 11:35:59 -0500 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:62290 Archived-At: Hi, when gcc prints warnings or errors it puts identifiers in two strange single-quotes. When I do "M-x compile" with "gcc textm.c" the apostrophs are printed fine. But, when I have a more complex project with automake and libtool and everything, when I compile "M-x compile" and "make" the apostrophs get converted somehow so that emacs displays them as octal codes. For example: ../../../../trunk/src/mediator/Utils/PortingDBMap.cpp:18: warning: \342\200\230utils::PortingDBMap::entries\342\200\231 should be initialized in the member initialization list I realize that the above codes are UTF-8 apostrophs, and when I copy- pasted them here they even appeared as apostrophs. Therefor, I gather, the output is still ok in some sense. But why is it displayed fine this way and quoted the other way? Do I have to switch the encoding on the "*compilation*" buffer? And how would I do that? Or can I pass the output through a filter, just replacing the nasty UTF-8 chars with a simple '-tick? Can I configure emacs to do this? Thanks in advance. tschau, towi. PS: I am quite versed in Linux and programming in general, but not as secure in emacs-lisp -- more a copy-and-paste guy in that area... ;-)