From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julianne Newsgroups: gmane.emacs.help Subject: gcc errors in compiler output Date: Sat, 26 Dec 2009 18:05:18 -0600 Organization: Aioe.org NNTP Server Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1261874461 15694 80.91.229.12 (27 Dec 2009 00:41:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2009 00:41:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 27 01:40:54 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 1NOhBl-0001zX-QM for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Dec 2009 01:40:53 +0100 Original-Received: from localhost ([127.0.0.1]:33787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOhBm-0008Lr-1h for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Dec 2009 19:40:54 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news1.google.com!news.glorb.com!feeder.erje.net!news.mixmin.net!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 1uVT78Xv+9ABcIKAqhH5AQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.0 Cancel-Lock: sha1:kcU5e63r0pYRRNwMQXhepRxtshk= User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 Original-Xref: news.stanford.edu gnu.emacs.help:175808 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:70883 Archived-At: When using emacs 23.1 on Fedora 12, compiling a simple c file with an error yields the following output: gcc -o my_test my_test.c my_test.c: In function ‘main’: my_test.c:58: error: expected ‘;’ before ‘x’ If I run the compiler in an ordinary xterm (or Konsole), the output appears to be some colorization of the identifiers in the context of the error. The hex dump shows the missing charaters: 6d 79 5f 74 65 73 74 2e 63 3a 20 49 6e 20 66 75 |my_test.c: In fu| 6e 63 74 69 6f 6e 20 e2 80 98 6d 61 69 6e e2 80 |nction ...main..| 99 3a 0a 6d 79 5f 74 65 73 74 2e 63 3a 35 38 3a |.:.my_test.c:58:| 20 65 72 72 6f 72 3a 20 65 78 70 65 63 74 65 64 | error: expected| 20 e2 80 98 3b e2 80 99 20 62 65 66 6f 72 65 20 | ...;... before | e2 80 98 78 e2 80 99 0a |...x....| What is the solution to either a) get gcc to not output terminal color settings around identifiers or b) make emacs ignore the extraneous stuff around the identifiers? Julianne