From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: screen & emacs Date: Fri, 11 Feb 2011 00:10:14 -0700 Message-ID: References: <87k4hh4thk.fsf@sysu76.podval.org> <83tyglathl.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1297408239 11770 80.91.229.12 (11 Feb 2011 07:10:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 07:10:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 08:10:35 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pnn9H-00083L-0A for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2011 08:10:35 +0100 Original-Received: from localhost ([127.0.0.1]:56614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnn9G-00041P-CT for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2011 02:10:34 -0500 Original-Received: from [140.186.70.92] (port=36355 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pnn98-0003zF-Qn for emacs-devel@gnu.org; Fri, 11 Feb 2011 02:10:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pnn97-0004Bb-GM for emacs-devel@gnu.org; Fri, 11 Feb 2011 02:10:26 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:53143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pnn97-0004BR-8B for emacs-devel@gnu.org; Fri, 11 Feb 2011 02:10:25 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pnn96-0007xq-Cq for emacs-devel@gnu.org; Fri, 11 Feb 2011 08:10:24 +0100 Original-Received: from c-24-8-96-241.hsd1.co.comcast.net ([24.8.96.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Feb 2011 08:10:24 +0100 Original-Received: from kevin.d.rodgers by c-24-8-96-241.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Feb 2011 08:10:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-24-8-96-241.hsd1.co.comcast.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135872 Archived-At: On 2/3/11 12:14 PM, Sam Steingold wrote: >> * Eli Zaretskii [2011-02-03 20:00:22 +0200]: >> >>> From: Sam Steingold >>> Date: Thu, 03 Feb 2011 12:28:10 -0500 >>> Cc: emacs-devel@gnu.org >>> >>> 1. For many years I have been running emacs under gdb at all times. >>> It appears no longer to be an option with -daemon. >> >> What's wrong with "gdb -p PID" after starting "emacs -daemon"? Then >> type "continue" inside GDB, and you have the equivalent of what you >> are used to. > > thanks for the tip! And the emacs --daemon, gdb -p PID command sequence can be scripted, by using pgrep to get the emacs PID. It might be tricky if there happen to be multiple emacs instances running, though. -- Kevin Rodgers Denver, Colorado, USA