From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.bugs Subject: bug#1045: #1045 - 23.0.60; (Cocoa Emacs) - Emacs bug report logs Date: Tue, 21 Oct 2008 08:44:58 -0400 Message-ID: <67496AE5-86B3-46EB-85A3-99C6715C5964@gmail.com> References: <3DDDC34A-95E8-4E48-A643-A05A998C54CE@gmail.com> <18684.15097.723543.412079@kahikatea.snap.net.nz> Reply-To: Adrian Robert , 1045@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224594707 20736 80.91.229.12 (21 Oct 2008 13:11:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2008 13:11:47 +0000 (UTC) Cc: 1045@emacsbugs.donarmstrong.com To: Nick Roberts Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 21 15:12:46 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-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 1KsH1o-0004oY-7q for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Oct 2008 15:12:04 +0200 Original-Received: from localhost ([127.0.0.1]:41646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsH0i-0000wj-OX for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Oct 2008 09:10:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsH0f-0000wS-E8 for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2008 09:10:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsH0d-0000wG-NZ for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2008 09:10:52 -0400 Original-Received: from [199.232.76.173] (port=38172 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsH0d-0000wD-KS for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2008 09:10:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58488) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsH0d-0005Hn-0e for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2008 09:10:51 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LDA1NZ017116; Tue, 21 Oct 2008 06:10:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9LCt3Y9012793; Tue, 21 Oct 2008 05:55:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Adrian Robert Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Tue, 21 Oct 2008 12:55:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1045 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Original-Received: via spool by 1045-submit@emacsbugs.donarmstrong.com id=B1045.122459312111172 (code B ref 1045); Tue, 21 Oct 2008 12:55:03 +0000 Original-Received: (at 1045) by emacsbugs.donarmstrong.com; 21 Oct 2008 12:45:21 +0000 Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.227]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9LCjHBC011116 for <1045@emacsbugs.donarmstrong.com>; Tue, 21 Oct 2008 05:45:19 -0700 Original-Received: by wx-out-0506.google.com with SMTP id h29so1084289wxd.13 for <1045@emacsbugs.donarmstrong.com>; Tue, 21 Oct 2008 05:45:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=H5poAtIhQiS4rTn4H6OAvrTv9xtwo27PRxNXd5wrse4=; b=gG78sFLV46tBmbfGshtMAZOvfUqO6e/1xQdKb0NL/7U11YYAYcxJwrHxWy7t4YcY4Y cvGr++b7PTf1ezZqTtsF1SVT39k8H03SOs3OmYl+eJu67/tHmbxMtRJpXbU49BY5kt3c 64VYB0L3LJhcMuxZJLiX3+ID3Hm9FFTx9Yf3I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=KaIJz04kSq5i7oIZGuRySPFPp1gBTmK3WbnJxAO4Pq0sqnEtGjONAwGNObIuwQrZJe dS1hJDOXsdLIneZFX4SyVYE9H4JjeML+ZN59kbaskKYEIr+dqJWdD88pPsISm+fDP/54 3fcWwjfjQut05kex/uA3CiW9NWJHuUjwgyVUE= Original-Received: by 10.70.48.13 with SMTP id v13mr10196284wxv.62.1224593117113; Tue, 21 Oct 2008 05:45:17 -0700 (PDT) Original-Received: from ?10.0.1.198? ([72.169.150.82]) by mx.google.com with ESMTPS id b45sm7904999hsa.14.2008.10.21.05.45.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Oct 2008 05:45:15 -0700 (PDT) In-Reply-To: <18684.15097.723543.412079@kahikatea.snap.net.nz> X-Mailer: Apple Mail (2.929.2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 21 Oct 2008 09:10:52 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21745 Archived-At: On Oct 20, 2008, at 4:02 AM, Nick Roberts wrote: > Adrian Robert writes: >>> Using "configure --with-ns" on Leopard: Using M-x gdb with gdb-many- >>> values set to t, the associated buffers, e.g., stack locals etc. >>> have an extra ^M at the end of each line >> >> If you get a chance, could you see if this happens with an X11 emacs >> on OS X? I'm not aware of any code in the Cocoa port that would set >> things relating to line endings (or anything else non-graphical -- it >> just renders glyphs and faces given to it by xdisp.c), but perhaps >> it's some kind of weird interaction with the system-detected line >> ending format? > > I've done that now and can confirm that GDB related buffers have an > extra ^M at > the end of each line with an X11 emacs too. OK, useful to know. What happens if you hit in a gdb buffer -- do you get a ctrl-M then, or only when gdb itself (or gud?) outputs something? If the former, it must be some setting for the buffer itself, and we could track that down. If the latter, do you know which function gud is using to write to the buffer? Also, is gdb run through a shell, and if so, which one? I tried to replicate this myself, but cannot. I did the following: M-x gdb The gdb buffer that results has no ctrl-m's, even if I run the program. Could you provide a more precise recipe to induce the bug? (Or, I'm wondering if it depends on the shell...) thanks, Adrian