GNU bug report logs - #4944
23.1.50; starting a server without forking a daemon

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Kenny Stuart <kstuart@HIDDEN>; Keywords: patch; merged with #2677; Done: Glenn Morris <rgm@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug archived. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.
bug closed, send any further explanations to 2677 <at> debbugs.gnu.org and Jameson Rollins <jrollins@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) patch. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 2677 4944. Request was from Chong Yidong <cyd@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 4944 <at> debbugs.gnu.org:


Received: (at 4944) by debbugs.gnu.org; 18 May 2011 16:11:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 18 12:11:32 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1QMjLP-0004Za-Pm
	for submit <at> debbugs.gnu.org; Wed, 18 May 2011 12:11:32 -0400
Received: from mail-ww0-f46.google.com ([74.125.82.46])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <harry666t@HIDDEN>) id 1QMhH2-0001GL-B6
	for 4944 <at> debbugs.gnu.org; Wed, 18 May 2011 09:58:53 -0400
Received: by wwb28 with SMTP id 28so1716453wwb.15
	for <4944 <at> debbugs.gnu.org>; Wed, 18 May 2011 06:58:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:date:from:to:subject:message-id:mime-version
	:content-type:content-disposition:user-agent;
	bh=kq9Is9nTgqhlJsoe3Z7RV6NpgTXIqYZm3pu4RFgyk4I=;
	b=rP39A+O3sbIaW1xNjI6h1cK8quOVbGAlKWDzAEZb9D542fAg0EcKG3dEDev9xEQaOS
	wHCeKq9ftzK6Zl8m/s9PnMxcrsEeqa9XvghFvln812cRQnaAi55S2xFf6Gu24RbWbU7V
	NBBa9XD8NN2vNSzdySETzgRkKL4damUkXccIU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=date:from:to:subject:message-id:mime-version:content-type
	:content-disposition:user-agent;
	b=F9/7IAs5cJ9czuuxb6/k/AJ5UXGI/93fxQG/PveGsM4VE/H6G7Z42tkmzJOTZs7jAc
	KwI0CLzY+GDm/FJtJ1LAySR3jSmkgOT8aIwe4IJ+8kc2uzywLS5BKRFn7rw8Cx7qSZd0
	05PXjzcfY0SMl3TlMYba66q6voley7EEGEOTs=
Received: by 10.227.37.12 with SMTP id v12mr1984753wbd.20.1305727126531;
	Wed, 18 May 2011 06:58:46 -0700 (PDT)
Received: from localhost (ppp-94-64-224-58.home.otenet.gr [94.64.224.58])
	by mx.google.com with ESMTPS id ed10sm992501wbb.32.2011.05.18.06.58.42
	(version=TLSv1/SSLv3 cipher=OTHER);
	Wed, 18 May 2011 06:58:43 -0700 (PDT)
Date: Wed, 18 May 2011 16:58:39 +0300
From: Kamil =?utf-8?Q?Cholewi=C5=84ski?= <harry666t@HIDDEN>
To: 4944 <at> debbugs.gnu.org
Subject: Re: bug#4944: 23.1.50; starting a server without forking a daemon
Message-ID: <20110518135839.GA1347@art>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: 4944
X-Mailman-Approved-At: Wed, 18 May 2011 12:11:29 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -1.6 (-)

Hi all,

This bug is very relevant to my interests. I'm trying to run Emacs in
daemon mode under supervision of daemontools[1], and the current
behaviour (forking into the background) makes this a PITA. daemontools
includes a small utility called "fghack" which tries to keep a forked
process in the foreground, however terminating the service still
doesn't work properly. The proper solution recommended[2] by the
designers of daemontools in the FAQ is to "fix" the misbehaving
program.

By the way, this bug seems to be a duplicate of #2677 [3].

[1] http://cr.yp.to/daemontools.html
[2] http://cr.yp.to/daemontools/faq/create.html#fghack
[3] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2677

Thanks,
Kamil




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#4944; Package emacs. Full text available.
Removed tag(s) moreinfo. Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.

Message received at 4944@HIDDEN:


Received: (at 4944) by emacsbugs.donarmstrong.com; 19 Nov 2009 21:39:49 +0000
From kstuart@HIDDEN Thu Nov 19 13:39:49 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-0.5 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER,
	MSGID_FROM_MTA_HEADER,MURPHY_DRUGS_REL8 autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from blu0-omc1-s18.blu0.hotmail.com (blu0-omc1-s18.blu0.hotmail.com [65.55.116.29])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAJLdleC016854
	for <4944@HIDDEN>; Thu, 19 Nov 2009 13:39:48 -0800
Received: from BLU0-SMTP51 ([65.55.116.9]) by blu0-omc1-s18.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);
	 Thu, 19 Nov 2009 13:39:42 -0800
X-Originating-IP: [81.158.78.195]
X-Originating-Email: [kstuart@HIDDEN]
Message-ID: <BLU0-SMTP51AA45043C843134762E70ECA20@HIDDEN>
Received: from maverick.home ([81.158.78.195]) by BLU0-SMTP51.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);
	 Thu, 19 Nov 2009 13:39:41 -0800
Subject: Re: bug#4944: 23.1.50; starting a server without forking a daemon
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset=windows-1252
From: Kenny Stuart <kstuart@HIDDEN>
In-Reply-To: <200911191622.nAJGMkkI021001@HIDDEN>
Date: Thu, 19 Nov 2009 21:39:35 +0000
Cc: 4944 <at> debbugs.gnu.org
Content-Transfer-Encoding: quoted-printable
References: <SNT120-W378E5C23C09208916400E3ECA40@HIDDEN> <200911181825.nAIIPSmQ009732@HIDDEN> <BLU0-SMTP851950D69B194ABCA7830FECA20@HIDDEN> <200911191622.nAJGMkkI021001@HIDDEN>
To: Dan Nicolaescu <dann@HIDDEN>
X-Mailer: Apple Mail (2.1077)
X-OriginalArrivalTime: 19 Nov 2009 21:39:41.0354 (UTC) FILETIME=[CD2D10A0:01CA6960]


On 19 Nov 2009, at 16:22, Dan Nicolaescu wrote:

> Kenny Stuart <kstuart@HIDDEN> writes:
>=20
>> On 18 Nov 2009, at 18:25, Dan Nicolaescu wrote:
>>=20
>>=20
>>    Kenny Stuart <kstuart@HIDDEN> writes:
>>=20
>>=20
>>        Please write in English if possible, because the Emacs =
maintainers
>>=20
>>        usually do not have translators to read other languages for =
them.
>>=20
>>=20
>>=20
>>        Your bug report will be posted to the =
emacs-pretest-bug@HIDDEN mailing
>>        list.
>>=20
>>=20
>>=20
>>        Please describe exactly what actions triggered the bug
>>=20
>>        and the precise symptoms of the bug.  If you can, give
>>=20
>>        a recipe starting from `emacs -Q':
>>=20
>>=20
>>=20
>>        This is a feature request to add the facility to start an =
emacs server
>>=20
>>        using a command-line option that runs as a foreground process =
instead
>>=20
>>        of forking a daemon and exiting.
>>=20
>>=20
>>=20
>>        Motivation:
>>=20
>>=20
>>=20
>>        Forking a daemon then exiting the main process is incompatible =
with
>>=20
>>        systems that manage processes as services, such as launchd on =
OS X,
>>=20
>>        therefore it is not possible to create an effective launchd =
service
>>=20
>>        using emacs in daemon mode.
>>=20
>>=20
>>=20
>>        Possible Solution:
>>=20
>>=20
>>=20
>>        For review I have included a patch that adds a --server =
command line
>>=20
>>        option that does what the --daemon option does, except it runs =
the
>>=20
>>        server in the foreground process rather than forking a daemon =
and
>>=20
>>        exiting.
>>=20
>>=20
>>    How is this different from:
>>=20
>>    emacs -f server-start
>>=20
>>    ?
>>=20
>>    Also note that you do not have to start the daemon explicitly, if =
you use
>>=20
>>    emacsclient -a ""
>>=20
>>    it will start an emacs daemon if one is not already running.
>>=20
>>=20
>=20
> Please keep 4944 <at> debbugs.gnu.org in Cc: so that these
> messages can be archived and seen by more people.
>=20
>> Neither of these appear compatible with launchd (and probably smf =
under
>> Solaris).
>=20
> Can you please explain what do you mean by that?
>=20
> It would also help if you would explain what are you trying to do, how
> are you trying to do it, and what exactly are the problems that you
> faced when trying to do that.
>=20
>=20
>> emacs -f server-start will initialize the display system, which is =
undesirable
>> when
>> starting emacs as a service, equally closing the last emacs window =
will
>> terminate the
>> server.
>>=20
>> emacsclient -ca "" produces the following output on my mac running OS =
X 10.6.2
>>=20
>> emacsclient: can't find socket; have you started the server?
>> To start the server in Emacs, type "M-x server-start".
>> emacsclient: connect: Connection refused
>> emacs daemon: exec failed: 2
>> Error: server did not start correctly
>> Error: Could not start the Emacs daemon
>>=20
>> So there may be an issue with the trunk builds in this regard, =
however even if
>> it did
>> work surely it is simply starting an instance of emacs in daemon =
mode, which
>> will
>> fork and exit and so would be no different than having manually =
started the
>> daemon
>> beforehand.

I'm trying to do the equivalent of using init or Upstart on Linux to
have the system start an emacs server, on OS X launchd provides that
facility, however emacs --daemon is not compatible with launchd.

** =46rom the launchd man page:

In Darwin, the canonical way to launch a daemon is through launchd
as opposed to more traditional mechanisms or mechanisms provided
in earlier versions of Mac OS X. These alternate methods should be
considered deprecated and not suitable for new projects.

In the launchd lexicon, a "daemon" is, by definition, a system-wide
service of which there is one instance for all clients. An "agent"
is a service that runs on a per-user basis. Daemons should not attempt
to display UI or interact directly with a user's login session. Any
and all work that involves interacting with a user should be done
through agents.

** =46rom the launchd.plist man page:

Daemons or agents managed by launchd are expected to behave certain
ways.

A daemon or agent launched by launchd MUST NOT do the following in the
process directly launched by launchd:

  =95   Call daemon(3).
  =95   Do the moral equivalent of daemon(3) by calling fork(2) and have
      the parent process exit(3) or _exit(2).

A daemon or agent launched by launchd SHOULD NOT do the following as a
part of their startup initialization:

  =95   Setup the user ID or group ID.
  =95   Setup the working directory.
  =95   chroot(2)
  =95   setsid(2)
  =95   Close "stray" file descriptors.
  =95   Change stdio(3) to /dev/null.
  =95   Setup resource limits with setrusage(2).
  =95   Setup priority with setpriority(2).
  =95   Ignore the SIGTERM signal.

**

I'm using a LaunchAgent to start an emacs server by placing a launchd
plist file in ~/Library/LaunchAgents, the agent is configured to start
an emacs server and respawn it should it fail, since emacs --daemon is
not launchd compatible a respawn loop starts until launchd gives up.




Acknowledgement sent to Kenny Stuart <kstuart@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4944; Package emacs. Full text available.

Message received at 4944@HIDDEN:


Received: (at 4944) by emacsbugs.donarmstrong.com; 19 Nov 2009 16:23:01 +0000
From dann@HIDDEN Thu Nov 19 08:23:01 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-4.8 required=4.0 tests=AWL,HAS_BUG_NUMBER,
	MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from colin-baker-v0.ics.uci.edu (colin-baker-v0.ics.uci.edu [128.195.1.153])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAJGN0ka016112
	for <4944@HIDDEN>; Thu, 19 Nov 2009 08:23:01 -0800
Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101])
	by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nAJGMkvu016169
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 19 Nov 2009 08:22:47 -0800
Received: (from dann@localhost)
	by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAJGMkkI021001;
	Thu, 19 Nov 2009 08:22:46 -0800 (PST)
Date: Thu, 19 Nov 2009 08:22:46 -0800 (PST)
Message-Id: <200911191622.nAJGMkkI021001@HIDDEN>
From: Dan Nicolaescu <dann@HIDDEN>
To: Kenny Stuart <kstuart@HIDDEN>
Cc: 4944 <at> debbugs.gnu.org
Subject: Re: bug#4944: 23.1.50; starting a server without forking a daemon
References: <SNT120-W378E5C23C09208916400E3ECA40@HIDDEN>
	<200911181825.nAIIPSmQ009732@HIDDEN>
	<BLU0-SMTP851950D69B194ABCA7830FECA20@HIDDEN>
In-Reply-To: <BLU0-SMTP851950D69B194ABCA7830FECA20@HIDDEN> (Kenny Stuart's
	message of "Thu, 19 Nov 2009 09:25:37 +0000")
Lines: 112
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-ICS-MailScanner-Information: Please send mail to helpdesk@HIDDEN or more information
X-ICS-MailScanner-ID: nAJGMkvu016169
X-ICS-MailScanner: Found to be clean
X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
	score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44,
	TW_SM 0.08)
X-ICS-MailScanner-From: dann@HIDDEN

Kenny Stuart <kstuart@HIDDEN> writes:

  > On 18 Nov 2009, at 18:25, Dan Nicolaescu wrote:
  > 
  > 
  >     Kenny Stuart <kstuart@HIDDEN> writes:
  > 
  > 
  >         Please write in English if possible, because the Emacs maintainers
  > 
  >         usually do not have translators to read other languages for them.
  > 
  > 
  > 
  >         Your bug report will be posted to the emacs-pretest-bug@HIDDEN mailing
  >         list.
  > 
  > 
  > 
  >         Please describe exactly what actions triggered the bug
  > 
  >         and the precise symptoms of the bug.  If you can, give
  > 
  >         a recipe starting from `emacs -Q':
  > 
  > 
  > 
  >         This is a feature request to add the facility to start an emacs server
  > 
  >         using a command-line option that runs as a foreground process instead
  > 
  >         of forking a daemon and exiting.
  > 
  > 
  > 
  >         Motivation:
  > 
  > 
  > 
  >         Forking a daemon then exiting the main process is incompatible with
  > 
  >         systems that manage processes as services, such as launchd on OS X,
  > 
  >         therefore it is not possible to create an effective launchd service
  > 
  >         using emacs in daemon mode.
  > 
  > 
  > 
  >         Possible Solution:
  > 
  > 
  > 
  >         For review I have included a patch that adds a --server command line
  > 
  >         option that does what the --daemon option does, except it runs the
  > 
  >         server in the foreground process rather than forking a daemon and
  > 
  >         exiting.
  > 
  > 
  >     How is this different from:
  > 
  >     emacs -f server-start
  > 
  >     ?
  > 
  >     Also note that you do not have to start the daemon explicitly, if you use
  > 
  >     emacsclient -a ""
  > 
  >     it will start an emacs daemon if one is not already running.
  > 
  > 

Please keep 4944 <at> debbugs.gnu.org in Cc: so that these
messages can be archived and seen by more people.

  > Neither of these appear compatible with launchd (and probably smf under
  > Solaris).

Can you please explain what do you mean by that?

It would also help if you would explain what are you trying to do, how
are you trying to do it, and what exactly are the problems that you
faced when trying to do that.


  > emacs -f server-start will initialize the display system, which is undesirable
  > when
  > starting emacs as a service, equally closing the last emacs window will
  > terminate the
  > server.
  > 
  > emacsclient -ca "" produces the following output on my mac running OS X 10.6.2
  > 
  > emacsclient: can't find socket; have you started the server?
  > To start the server in Emacs, type "M-x server-start".
  > emacsclient: connect: Connection refused
  > emacs daemon: exec failed: 2
  > Error: server did not start correctly
  > Error: Could not start the Emacs daemon
  > 
  > So there may be an issue with the trunk builds in this regard, however even if
  > it did
  > work surely it is simply starting an instance of emacs in daemon mode, which
  > will
  > fork and exit and so would be no different than having manually started the
  > daemon
  > beforehand.




Acknowledgement sent to Dan Nicolaescu <dann@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4944; Package emacs. Full text available.
Added tag(s) moreinfo. Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.

Message received at 4944@HIDDEN:


Received: (at 4944) by emacsbugs.donarmstrong.com; 18 Nov 2009 18:25:39 +0000
From dann@HIDDEN Wed Nov 18 10:25:39 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-6.3 required=4.0 tests=AWL,HAS_BUG_NUMBER,
	MURPHY_DRUGS_REL8,X_DEBBUGS_NO_ACK autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from colin-baker-v0.ics.uci.edu (colin-baker-v0.ics.uci.edu [128.195.1.153])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAIIPcRa013340
	for <4944@HIDDEN>; Wed, 18 Nov 2009 10:25:39 -0800
Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101])
	by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nAIIPSB6023800
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 18 Nov 2009 10:25:28 -0800
Received: (from dann@localhost)
	by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nAIIPSmQ009732;
	Wed, 18 Nov 2009 10:25:28 -0800 (PST)
Date: Wed, 18 Nov 2009 10:25:28 -0800 (PST)
Message-Id: <200911181825.nAIIPSmQ009732@HIDDEN>
From: Dan Nicolaescu <dann@HIDDEN>
To: Kenny Stuart <kstuart@HIDDEN>
Cc: 4944 <at> debbugs.gnu.org
Subject: Re: bug#4944: 23.1.50; starting a server without forking a daemon
References: <SNT120-W378E5C23C09208916400E3ECA40@HIDDEN>
X-Debbugs-No-Ack: yes
In-Reply-To: <SNT120-W378E5C23C09208916400E3ECA40@HIDDEN> (Kenny Stuart's
	message of "Tue, 17 Nov 2009 14:25:34 +0000")
Lines: 41
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-ICS-MailScanner-Information: Please send mail to helpdesk@HIDDEN or more information
X-ICS-MailScanner-ID: nAIIPSB6023800
X-ICS-MailScanner: Found to be clean
X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44,
	required 5, autolearn=disabled, ALL_TRUSTED -1.44)
X-ICS-MailScanner-From: dann@HIDDEN

Kenny Stuart <kstuart@HIDDEN> writes:

  > Please write in English if possible, because the Emacs maintainers
  > usually do not have translators to read other languages for them.
  > 
  > Your bug report will be posted to the emacs-pretest-bug@HIDDEN mailing list.
  > 
  > Please describe exactly what actions triggered the bug
  > and the precise symptoms of the bug.  If you can, give
  > a recipe starting from `emacs -Q':
  > 
  > This is a feature request to add the facility to start an emacs server
  > using a command-line option that runs as a foreground process instead
  > of forking a daemon and exiting.
  > 
  > Motivation:
  > 
  > Forking a daemon then exiting the main process is incompatible with
  > systems that manage processes as services, such as launchd on OS X,
  > therefore it is not possible to create an effective launchd service
  > using emacs in daemon mode.
  > 
  > Possible Solution:
  > 
  > For review I have included a patch that adds a --server command line
  > option that does what the --daemon option does, except it runs the
  > server in the foreground process rather than forking a daemon and
  > exiting.

How is this different from:

emacs -f server-start 

?

Also note that you do not have to start the daemon explicitly, if you use

emacsclient -a "" 

it will start an emacs daemon if one is not already running.




Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4944; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 17 Nov 2009 14:47:39 +0000
From kstuart@HIDDEN Tue Nov 17 06:47:39 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: *
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,MONOTONE_WORDS_5_8,
	MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAHElbXH012098
	for <submit@HIDDEN>; Tue, 17 Nov 2009 06:47:38 -0800
Received: from mx10.gnu.org ([199.232.76.166]:36954)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <kstuart@HIDDEN>)
	id 1NAPLE-0007Zl-Ga
	for emacs-pretest-bug@HIDDEN; Tue, 17 Nov 2009 09:47:36 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <kstuart@HIDDEN>)
	id 1NAPLB-0000qL-Kp
	for emacs-pretest-bug@HIDDEN; Tue, 17 Nov 2009 09:47:35 -0500
Received: from snt0-omc4-s17.snt0.hotmail.com ([65.55.90.220]:19087)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <kstuart@HIDDEN>)
	id 1NAOzz-0005XJ-EO
	for emacs-pretest-bug@HIDDEN; Tue, 17 Nov 2009 09:25:39 -0500
Received: from SNT120-W37 ([65.55.90.201]) by snt0-omc4-s17.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);
	 Tue, 17 Nov 2009 06:25:34 -0800
Message-ID: <SNT120-W378E5C23C09208916400E3ECA40@HIDDEN>
Content-Type: multipart/mixed;
	boundary="_8c1f20e1-371c-41f3-855c-85a58218db06_"
X-Originating-IP: [81.158.78.195]
From: Kenny Stuart <kstuart@HIDDEN>
To: <emacs-pretest-bug@HIDDEN>
Subject: 23.1.50; starting a server without forking a daemon
Date: Tue, 17 Nov 2009 14:25:34 +0000
Importance: Normal
MIME-Version: 1.0
X-OriginalArrivalTime: 17 Nov 2009 14:25:34.0776 (UTC) FILETIME=[D3612B80:01CA6791]
X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+

--_8c1f20e1-371c-41f3-855c-85a58218db06_
Content-Type: multipart/alternative;
	boundary="_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_"

--_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Please write in English if possible=2C because the Emacs maintainersusually=
 do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@HIDDEN mailing lis=
t.
Please describe exactly what actions triggered the bugand the precise sympt=
oms of the bug.  If you can=2C givea recipe starting from `emacs -Q':
This is a feature request to add the facility to start an emacs serverusing=
 a command-line option that runs as a foreground process insteadof forking =
a daemon and exiting.
Motivation:
Forking a daemon then exiting the main process is incompatible withsystems =
that manage processes as services=2C such as launchd on OS X=2Ctherefore it=
 is not possible to create an effective launchd serviceusing emacs in daemo=
n mode.
Possible Solution:
For review I have included a patch that adds a --server command lineoption =
that does what the --daemon option does=2C except it runs theserver in the =
foreground process rather than forking a daemon andexiting.
Please note that I am new to emacs and nix based operating systems andin th=
e short time I have had to spend on this was unable to add a SIGINThandler =
to gracefully shutdown the emacs server=2C not that it mattersto launchd si=
nce it should send SIGTERM=2C but a solution would be nice.
There appear to be issues on OS X with creating a new frame using the -c op=
tionto emacsclient as emacs crashes (so far during garbage collection) when=
doing this=2C however I am still learning the dev tools available to me on =
thisplatform and it will be a while before I could effectively report such =
bugs=2C sothis is just an FYI.=20
As I'm using a debug build so I can investigate further=2C can you confirmt=
hat the build configure options I've used are ok and not likely to becontri=
buting to the instability=2C are there any other options I should beusing?
Please also note that this is the first time I have engaged with an opensou=
rce project so if I'm not doing it right let me know.
If Emacs crashed=2C and you have the Emacs process in the gdb debugger=2Cpl=
ease include the output from the following gdb commands:    `bt full' and `=
xbacktrace'.For information about debugging Emacs=2C please read the file/A=
pplications/Emacs.app/Contents/Resources/etc/DEBUG.

In GNU Emacs 23.1.50.2 (x86_64-apple-darwin10.2.0=2C NS apple-appkit-1038.2=
5) of 2009-11-17 on maverick.homeWindowing system distributor `Apple'=2C ve=
rsion 10.3.1038configured using `configure  '--with-ns' '--enable-asserts' =
'CFLAGS=3D-O0 -gdwarf-2 -g3 -Wno-pointer-sign''
Important settings:  value of $LC_ALL: nil  value of $LC_COLLATE: nil  valu=
e of $LC_CTYPE: nil  value of $LC_MESSAGES: nil  value of $LC_MONETARY: nil=
  value of $LC_NUMERIC: nil  value of $LC_TIME: nil  value of $LANG: en_GB.=
UTF-8  value of $XMODIFIERS: nil  locale-coding-system: utf-8-unix  default=
 enable-multibyte-characters: t
Major mode: Text
Minor modes in effect:  tooltip-mode: t  mouse-wheel-mode: t  tool-bar-mode=
: t  menu-bar-mode: t  file-name-shadow-mode: t  global-font-lock-mode: t  =
font-lock-mode: t  global-auto-composition-mode: t  auto-composition-mode: =
t  auto-encryption-mode: t  auto-compression-mode: t  line-number-mode: t  =
transient-mark-mode: t
Recent input:<backspace> <backspace> L i b r a r y / L a u n c h A g e n t =
s / <help-echo> o r g . g n u . e n <backspace> m a c s - s e r v e r . p l=
 i s t <return> <help-echo> t e x t / x m l <return> ~ / L i b r a r y / L =
a u n c h A g e n t s SPC s c r i p t SPC o r <backspace> <backspace> f o r=
 SPC e m a c s SPC s e r v e r <left> <left> <left> <left> <left> <left> <l=
eft> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> =
<backspace> <backspace> <backspace> <backspace> <backspace> <backspace> p l=
 s i t <backspace> <backspace> <backspace> i s t <return> a t t a c h m e n=
 t <return> <backspace> <help-echo> <menu-bar> <file> <write-file> <help-ec=
ho> <backspace> <backspace> <backspace> <backspace> <backspace> <backspace>=
 <backspace> <backspace> <backspace> <backspace> <backspace> <backspace> <b=
ackspace> <backspace> <backspace> <backspace> <backspace> D o <tab> c <tab>=
 e m a c s - m a i l . t x t <return> <down-mouse-1> <mouse-1> <wheel-up> <=
double-wheel-up> <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <tri=
ple-wheel-up> <wheel-down> <double-wheel-down> <wheel-down> <double-wheel-d=
own> <wheel-down> <double-wheel-down> <triple-wheel-down> <triple-wheel-dow=
n> <triple-wheel-down> <wheel-down> <double-wheel-down> <triple-wheel-down>=
 <triple-wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple=
-wheel-up> <triple-wheel-up> <wheel-up> <double-wheel-up> <triple-wheel-up>=
 <triple-wheel-up> <triple-wheel-up> <triple-wheel-up> <wheel-up> <double-w=
heel-up> <wheel-down> <double-wheel-down> <triple-wheel-down> <triple-wheel=
-down> <wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up> <tr=
iple-wheel-up> <wheel-up> <wheel-up> <wheel-up> <down-mouse-1> <mouse-movem=
ent> <mouse-movement> <help-echo> <mouse-movement> <help-echo> <mouse-movem=
ent> <mouse-movement> <mouse-movement> <help-echo> <mouse-movement> <mouse-=
movement> <drag-mouse-1> <menu-bar> <edit> <copy> <down-mouse-1> <down-mous=
e-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mous=
e-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mous=
e-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mouse-1> <down-mous=
e-1> <down-mouse-1> M-x r e p o r t - e m a c s - b u g <return>
Recent messages:Auto-saving...doneUndo!Auto-saving...doneMaking completion =
list...Saving file /Users/kstuart/Documents/emacs-mail.txt...Wrote /Users/k=
stuart/Documents/emacs-mail.txtbyte-code: Beginning of buffer [2 times]byte=
-code: End of buffer [2 times]byte-code: Beginning of buffer [8 times]Saved=
 text from "Please write in English if possible=2C bec"
Load-path shadows:/Applications/Emacs.app/Contents/Resources/lisp/emacs-lis=
p/lucid hides /Applications/Emacs.app/Contents/Resources/lisp/obsolete/luci=
d/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp/levents hides /=
Applications/Emacs.app/Contents/Resources/lisp/obsolete/levents
Features:(ispell newcomment help-mode view shadow mail-extr message ecomple=
terfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcapma=
il-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheadergnus-util=
 netrc time-date mm-util mail-prsvr gmm-utils wid-editmailheader canlock sh=
a1 hex-util hashcash mail-utils emacsbug sendmailregexp-opt server tooltip =
ediff-hook vc-hooks lisp-float-type mwheelns-win easymenu tool-bar dnd font=
set image fringe lisp-mode registerpage menu-bar rfn-eshadow timer select s=
croll-bar mldrag mouse jit-lockfont-lock syntax facemenu font-core frame ch=
am georgian utf-8-langmisc-lang vietnamese tibetan thai tai-viet lao korean=
 japanese hebrewgreek romanian slovak czech european ethiopic indian cyrill=
ic chinesecase-table epa-hook jka-cmpr-hook help simple abbrev loaddefs but=
tonminibuffer faces cus-face text-properties overlay md5 base64 format envc=
ode-pages mule custom widget hashtable-print-readable backquotemake-network=
-process ns multi-tty emacs) 		 	   		 =20
_________________________________________________________________
Use Hotmail to send and receive mail from your different email accounts
http://clk.atdmt.com/UKM/go/186394592/direct/01/=

--_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Verdana
}
--></style>
</head>
<body class=3D'hmmessage'>
<div>Please write in English if possible=2C because the Emacs maintainers</=
div><div>usually do not have translators to read other languages for them.<=
/div><div><br></div><div>Your bug report will be posted to the emacs-pretes=
t-bug@HIDDEN mailing list.</div><div><br></div><div>Please describe exactl=
y what actions triggered the bug</div><div>and the precise symptoms of the =
bug. &nbsp=3BIf you can=2C give</div><div>a recipe starting from `emacs -Q'=
:</div><div><br></div><div>This is a feature request to add the facility to=
 start an emacs server</div><div>using a command-line option that runs as a=
 foreground process instead</div><div>of forking a daemon and exiting.</div=
><div><br></div><div>Motivation:</div><div><br></div><div>Forking a daemon =
then exiting the main process is incompatible with</div><div>systems that m=
anage processes as services=2C such as launchd on OS X=2C</div><div>therefo=
re it is not possible to create an effective launchd service</div><div>usin=
g emacs in daemon mode.</div><div><br></div><div>Possible Solution:</div><d=
iv><br></div><div>For review I have included a patch that adds a --server c=
ommand line</div><div>option that does what the --daemon option does=2C exc=
ept it runs the</div><div>server in the foreground process rather than fork=
ing a daemon and</div><div>exiting.</div><div><br></div><div>Please note th=
at I am new to emacs and nix based operating systems and</div><div>in the s=
hort time I have had to spend on this was unable to add a SIGINT</div><div>=
handler to gracefully shutdown the emacs server=2C not that it matters</div=
><div>to launchd since it should send SIGTERM=2C but a solution would be ni=
ce.</div><div><br></div><div>There appear to be issues on OS X with creatin=
g a new frame using the -c option</div><div>to emacsclient as emacs crashes=
 (so far during garbage collection) when</div><div>doing this=2C&nbsp=3Bhow=
ever I am still&nbsp=3Blearning the dev tools available to me on this</div>=
<div>platform and it will be a&nbsp=3Bwhile before I could effectively repo=
rt such bugs=2C so</div><div>this is just an FYI.&nbsp=3B</div><div><br></d=
iv><div>As I'm using a debug build so I can investigate further=2C can you =
confirm</div><div>that the build configure options I've used are ok and not=
 likely to be</div><div>contributing to the instability=2C are there any ot=
her options I should be</div><div>using?</div><div><br></div><div>Please al=
so note that this is the first time I have engaged with an open</div><div>s=
ource project so if I'm not doing it right let me know.</div><div><br></div=
><div>If Emacs crashed=2C and you have the Emacs process in the gdb debugge=
r=2C</div><div>please include the output from the following gdb commands:</=
div><div>&nbsp=3B&nbsp=3B &nbsp=3B`bt full' and `xbacktrace'.</div><div>For=
 information about debugging Emacs=2C please read the file</div><div>/Appli=
cations/Emacs.app/Contents/Resources/etc/DEBUG.</div><div><br></div><div><b=
r></div><div>In GNU Emacs 23.1.50.2 (x86_64-apple-darwin10.2.0=2C NS apple-=
appkit-1038.25)</div><div>&nbsp=3Bof 2009-11-17 on maverick.home</div><div>=
Windowing system distributor `Apple'=2C version 10.3.1038</div><div>configu=
red using `configure &nbsp=3B'--with-ns' '--enable-asserts' 'CFLAGS=3D-O0 -=
gdwarf-2 -g3 -Wno-pointer-sign''</div><div><br></div><div>Important setting=
s:</div><div>&nbsp=3B&nbsp=3Bvalue of $LC_ALL: nil</div><div>&nbsp=3B&nbsp=
=3Bvalue of $LC_COLLATE: nil</div><div>&nbsp=3B&nbsp=3Bvalue of $LC_CTYPE: =
nil</div><div>&nbsp=3B&nbsp=3Bvalue of $LC_MESSAGES: nil</div><div>&nbsp=3B=
&nbsp=3Bvalue of $LC_MONETARY: nil</div><div>&nbsp=3B&nbsp=3Bvalue of $LC_N=
UMERIC: nil</div><div>&nbsp=3B&nbsp=3Bvalue of $LC_TIME: nil</div><div>&nbs=
p=3B&nbsp=3Bvalue of $LANG: en_GB.UTF-8</div><div>&nbsp=3B&nbsp=3Bvalue of =
$XMODIFIERS: nil</div><div>&nbsp=3B&nbsp=3Blocale-coding-system: utf-8-unix=
</div><div>&nbsp=3B&nbsp=3Bdefault enable-multibyte-characters: t</div><div=
><br></div><div>Major mode: Text</div><div><br></div><div>Minor modes in ef=
fect:</div><div>&nbsp=3B&nbsp=3Btooltip-mode: t</div><div>&nbsp=3B&nbsp=3Bm=
ouse-wheel-mode: t</div><div>&nbsp=3B&nbsp=3Btool-bar-mode: t</div><div>&nb=
sp=3B&nbsp=3Bmenu-bar-mode: t</div><div>&nbsp=3B&nbsp=3Bfile-name-shadow-mo=
de: t</div><div>&nbsp=3B&nbsp=3Bglobal-font-lock-mode: t</div><div>&nbsp=3B=
&nbsp=3Bfont-lock-mode: t</div><div>&nbsp=3B&nbsp=3Bglobal-auto-composition=
-mode: t</div><div>&nbsp=3B&nbsp=3Bauto-composition-mode: t</div><div>&nbsp=
=3B&nbsp=3Bauto-encryption-mode: t</div><div>&nbsp=3B&nbsp=3Bauto-compressi=
on-mode: t</div><div>&nbsp=3B&nbsp=3Bline-number-mode: t</div><div>&nbsp=3B=
&nbsp=3Btransient-mark-mode: t</div><div><br></div><div>Recent input:</div>=
<div>&lt=3Bbackspace&gt=3B &lt=3Bbackspace&gt=3B L i b r a r y / L a u n c =
h&nbsp=3B</div><div>A g e n t s / &lt=3Bhelp-echo&gt=3B o r g . g n u . e n=
 &lt=3Bbackspace&gt=3B&nbsp=3B</div><div>m a c s - s e r v e r . p l i s t =
&lt=3Breturn&gt=3B &lt=3Bhelp-echo&gt=3B&nbsp=3B</div><div>t e x t / x m l =
&lt=3Breturn&gt=3B ~ / L i b r a r y / L a u&nbsp=3B</div><div>n c h A g e =
n t s SPC s c r i p t SPC o r &lt=3Bbackspace&gt=3B&nbsp=3B</div><div>&lt=
=3Bbackspace&gt=3B f o r SPC e m a c s SPC s e r v e r &lt=3Bleft&gt=3B&nbs=
p=3B</div><div>&lt=3Bleft&gt=3B &lt=3Bleft&gt=3B &lt=3Bleft&gt=3B &lt=3Blef=
t&gt=3B &lt=3Bleft&gt=3B &lt=3Bleft&gt=3B &lt=3Bleft&gt=3B &lt=3Bleft&gt=3B=
&nbsp=3B</div><div>&lt=3Bleft&gt=3B &lt=3Bleft&gt=3B &lt=3Bleft&gt=3B &lt=
=3Bleft&gt=3B &lt=3Bleft&gt=3B &lt=3Bleft&gt=3B &lt=3Bleft&gt=3B &lt=3Bleft=
&gt=3B&nbsp=3B</div><div>&lt=3Bbackspace&gt=3B &lt=3Bbackspace&gt=3B &lt=3B=
backspace&gt=3B &lt=3Bbackspace&gt=3B &lt=3Bbackspace&gt=3B&nbsp=3B</div><d=
iv>&lt=3Bbackspace&gt=3B p l s i t &lt=3Bbackspace&gt=3B &lt=3Bbackspace&gt=
=3B &lt=3Bbackspace&gt=3B&nbsp=3B</div><div>i s t &lt=3Breturn&gt=3B a t t =
a c h m e n t &lt=3Breturn&gt=3B &lt=3Bbackspace&gt=3B&nbsp=3B</div><div>&l=
t=3Bhelp-echo&gt=3B &lt=3Bmenu-bar&gt=3B &lt=3Bfile&gt=3B &lt=3Bwrite-file&=
gt=3B &lt=3Bhelp-echo&gt=3B&nbsp=3B</div><div>&lt=3Bbackspace&gt=3B &lt=3Bb=
ackspace&gt=3B &lt=3Bbackspace&gt=3B &lt=3Bbackspace&gt=3B &lt=3Bbackspace&=
gt=3B&nbsp=3B</div><div>&lt=3Bbackspace&gt=3B &lt=3Bbackspace&gt=3B &lt=3Bb=
ackspace&gt=3B &lt=3Bbackspace&gt=3B &lt=3Bbackspace&gt=3B&nbsp=3B</div><di=
v>&lt=3Bbackspace&gt=3B &lt=3Bbackspace&gt=3B &lt=3Bbackspace&gt=3B &lt=3Bb=
ackspace&gt=3B &lt=3Bbackspace&gt=3B&nbsp=3B</div><div>&lt=3Bbackspace&gt=
=3B &lt=3Bbackspace&gt=3B D o &lt=3Btab&gt=3B c &lt=3Btab&gt=3B e m a c s&n=
bsp=3B</div><div>- m a i l . t x t &lt=3Breturn&gt=3B &lt=3Bdown-mouse-1&gt=
=3B &lt=3Bmouse-1&gt=3B&nbsp=3B</div><div>&lt=3Bwheel-up&gt=3B &lt=3Bdouble=
-wheel-up&gt=3B &lt=3Btriple-wheel-up&gt=3B &lt=3Btriple-wheel-up&gt=3B&nbs=
p=3B</div><div>&lt=3Btriple-wheel-up&gt=3B &lt=3Btriple-wheel-up&gt=3B &lt=
=3Bwheel-down&gt=3B &lt=3Bdouble-wheel-down&gt=3B&nbsp=3B</div><div>&lt=3Bw=
heel-down&gt=3B &lt=3Bdouble-wheel-down&gt=3B &lt=3Bwheel-down&gt=3B &lt=3B=
double-wheel-down&gt=3B&nbsp=3B</div><div>&lt=3Btriple-wheel-down&gt=3B &lt=
=3Btriple-wheel-down&gt=3B &lt=3Btriple-wheel-down&gt=3B&nbsp=3B</div><div>=
&lt=3Bwheel-down&gt=3B &lt=3Bdouble-wheel-down&gt=3B &lt=3Btriple-wheel-dow=
n&gt=3B&nbsp=3B</div><div>&lt=3Btriple-wheel-down&gt=3B &lt=3Bwheel-up&gt=
=3B &lt=3Bdouble-wheel-up&gt=3B &lt=3Btriple-wheel-up&gt=3B&nbsp=3B</div><d=
iv>&lt=3Btriple-wheel-up&gt=3B &lt=3Btriple-wheel-up&gt=3B &lt=3Bwheel-up&g=
t=3B &lt=3Bdouble-wheel-up&gt=3B&nbsp=3B</div><div>&lt=3Btriple-wheel-up&gt=
=3B &lt=3Btriple-wheel-up&gt=3B &lt=3Btriple-wheel-up&gt=3B&nbsp=3B</div><d=
iv>&lt=3Btriple-wheel-up&gt=3B &lt=3Bwheel-up&gt=3B &lt=3Bdouble-wheel-up&g=
t=3B &lt=3Bwheel-down&gt=3B&nbsp=3B</div><div>&lt=3Bdouble-wheel-down&gt=3B=
 &lt=3Btriple-wheel-down&gt=3B &lt=3Btriple-wheel-down&gt=3B&nbsp=3B</div><=
div>&lt=3Bwheel-up&gt=3B &lt=3Bdouble-wheel-up&gt=3B &lt=3Btriple-wheel-up&=
gt=3B &lt=3Btriple-wheel-up&gt=3B&nbsp=3B</div><div>&lt=3Btriple-wheel-up&g=
t=3B &lt=3Bwheel-up&gt=3B &lt=3Bwheel-up&gt=3B &lt=3Bwheel-up&gt=3B&nbsp=3B=
</div><div>&lt=3Bdown-mouse-1&gt=3B &lt=3Bmouse-movement&gt=3B &lt=3Bmouse-=
movement&gt=3B &lt=3Bhelp-echo&gt=3B&nbsp=3B</div><div>&lt=3Bmouse-movement=
&gt=3B &lt=3Bhelp-echo&gt=3B &lt=3Bmouse-movement&gt=3B &lt=3Bmouse-movemen=
t&gt=3B&nbsp=3B</div><div>&lt=3Bmouse-movement&gt=3B &lt=3Bhelp-echo&gt=3B =
&lt=3Bmouse-movement&gt=3B &lt=3Bmouse-movement&gt=3B&nbsp=3B</div><div>&lt=
=3Bdrag-mouse-1&gt=3B &lt=3Bmenu-bar&gt=3B &lt=3Bedit&gt=3B &lt=3Bcopy&gt=
=3B &lt=3Bdown-mouse-1&gt=3B&nbsp=3B</div><div>&lt=3Bdown-mouse-1&gt=3B &lt=
=3Bdown-mouse-1&gt=3B &lt=3Bdown-mouse-1&gt=3B &lt=3Bdown-mouse-1&gt=3B&nbs=
p=3B</div><div>&lt=3Bdown-mouse-1&gt=3B &lt=3Bdown-mouse-1&gt=3B &lt=3Bdown=
-mouse-1&gt=3B &lt=3Bdown-mouse-1&gt=3B&nbsp=3B</div><div>&lt=3Bdown-mouse-=
1&gt=3B &lt=3Bdown-mouse-1&gt=3B &lt=3Bdown-mouse-1&gt=3B &lt=3Bdown-mouse-=
1&gt=3B&nbsp=3B</div><div>&lt=3Bdown-mouse-1&gt=3B &lt=3Bdown-mouse-1&gt=3B=
 &lt=3Bdown-mouse-1&gt=3B &lt=3Bdown-mouse-1&gt=3B&nbsp=3B</div><div>&lt=3B=
down-mouse-1&gt=3B M-x r e p o r t - e m a c s - b u g&nbsp=3B</div><div>&l=
t=3Breturn&gt=3B</div><div><br></div><div>Recent messages:</div><div>Auto-s=
aving...done</div><div>Undo!</div><div>Auto-saving...done</div><div>Making =
completion list...</div><div>Saving file /Users/kstuart/Documents/emacs-mai=
l.txt...</div><div>Wrote /Users/kstuart/Documents/emacs-mail.txt</div><div>=
byte-code: Beginning of buffer [2 times]</div><div>byte-code: End of buffer=
 [2 times]</div><div>byte-code: Beginning of buffer [8 times]</div><div>Sav=
ed text from "Please write in English if possible=2C bec"</div><div><br></d=
iv><div>Load-path shadows:</div><div>/Applications/Emacs.app/Contents/Resou=
rces/lisp/emacs-lisp/lucid hides /Applications/Emacs.app/Contents/Resources=
/lisp/obsolete/lucid</div><div>/Applications/Emacs.app/Contents/Resources/l=
isp/emacs-lisp/levents hides /Applications/Emacs.app/Contents/Resources/lis=
p/obsolete/levents</div><div><br></div><div>Features:</div><div>(ispell new=
comment help-mode view shadow mail-extr message ecomplete</div><div>rfc822 =
mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap</div><div>=
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader</div><=
div>gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit</div><d=
iv>mailheader canlock sha1 hex-util hashcash mail-utils emacsbug sendmail</=
div><div>regexp-opt server tooltip ediff-hook vc-hooks lisp-float-type mwhe=
el</div><div>ns-win easymenu tool-bar dnd fontset image fringe lisp-mode re=
gister</div><div>page menu-bar rfn-eshadow timer select scroll-bar mldrag m=
ouse jit-lock</div><div>font-lock syntax facemenu font-core frame cham geor=
gian utf-8-lang</div><div>misc-lang vietnamese tibetan thai tai-viet lao ko=
rean japanese hebrew</div><div>greek romanian slovak czech european ethiopi=
c indian cyrillic chinese</div><div>case-table epa-hook jka-cmpr-hook help =
simple abbrev loaddefs button</div><div>minibuffer faces cus-face text-prop=
erties overlay md5 base64 format env</div><div>code-pages mule custom widge=
t hashtable-print-readable backquote</div><div>make-network-process ns mult=
i-tty emacs)</div> 		 	   		  <br /><hr />Use Hotmail to send and receive m=
ail from your different email accounts. <a href=3D'http://clk.atdmt.com/UKM=
/go/186394592/direct/01/' target=3D'_new'>Find out how.</a></body>
</html>=

--_c157af35-2a4a-4cd8-8e3f-0aab6eb9cadf_--

--_8c1f20e1-371c-41f3-855c-85a58218db06_
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="emacs-foreground-server.patch"

ZGlmZiAtLWdpdCBhL3NyYy9lbWFjcy5jIGIvc3JjL2VtYWNzLmMKaW5kZXggZDk2YjNhMS4uOTU2
Y2JlZSAxMDA2NDQKLS0tIGEvc3JjL2VtYWNzLmMKKysrIGIvc3JjL2VtYWNzLmMKQEAgLTI3OSw2
ICsyNzksNyBAQCBJbml0aWFsaXphdGlvbiBvcHRpb25zOlxuXAogLS1uby13aW5kb3ctc3lzdGVt
LCAtbncgICAgIGRvIG5vdCBjb21tdW5pY2F0ZSB3aXRoIFgsIGlnbm9yaW5nICRESVNQTEFZXG5c
CiAtLXF1aWNrLCAtUSAgICAgICAgICAgICAgICAgZXF1aXZhbGVudCB0byAtcSAtLW5vLXNpdGUt
ZmlsZSAtLW5vLXNwbGFzaFxuXAogLS1zY3JpcHQgRklMRSAgICAgICAgICAgICAgIHJ1biBGSUxF
IGFzIGFuIEVtYWNzIExpc3Agc2NyaXB0XG5cCistLXNlcnZlciAgICAgICAgICAgICAgICAgICAg
c3RhcnQgYSBzZXJ2ZXIgaW4gdGhlIGZvcmVncm91bmRcblwKIC0tdGVybWluYWwsIC10IERFVklD
RSAgICAgICB1c2UgREVWSUNFIGZvciB0ZXJtaW5hbCBJL09cblwKIC0tdXNlciwgLXUgVVNFUiAg
ICAgICAgICAgICBsb2FkIH5VU0VSLy5lbWFjcyBpbnN0ZWFkIG9mIHlvdXIgb3duXG5cCiBcbiVz
IgpAQCAtMTA4MSw3ICsxMDgyLDIwIEBAIG1haW4gKGludCBhcmdjLCBjaGFyICoqYXJndikKICAg
ICAgIGV4aXQgKDApOwogICAgIH0KIAotICBpZiAoYXJnbWF0Y2ggKGFyZ3YsIGFyZ2MsICItZGFl
bW9uIiwgIi0tZGFlbW9uIiwgNSwgTlVMTCwgJnNraXBfYXJncykKKyAgLyogc2VydmVyIG1vZGUg
YW5kIGRhZW1vbiBtb2RlIGFyZSBtdXR1YWx5IGV4Y2x1c2l2ZSwgaWYgYm90aCBhcmUKKyAgICog
c3BlY2lmaWVkIG9uIHRoZSBjb21tYW5kIGxpbmUsIHNlcnZlciBtb2RlIHdpbGwgdGFrZSBwcmVj
ZWRlbmNlICovCisgIGlmIChhcmdtYXRjaCAoYXJndiwgYXJnYywgIi1zZXJ2ZXIiLCAiLS1zZXJ2
ZXIiLCA1LCBOVUxMLCAmc2tpcF9hcmdzKQorICAgICAgfHwgYXJnbWF0Y2ggKGFyZ3YsIGFyZ2Ms
ICJzZXJ2ZXIiLCAiLS1zZXJ2ZXIiLCA1LCAmZG5hbWVfYXJnLCAmc2tpcF9hcmdzKSkKKyAgICB7
CisgICAgICBpZiAoZG5hbWVfYXJnKQorICAgICAgICBkYWVtb25fbmFtZSA9IHhzdHJkdXAoZG5h
bWVfYXJnKTsKKworICAgICAgLyogcmVxdWVzdCB0byBydW4gYXMgZm9yZWdyb3VuZCBzZXJ2ZXIg
Ki8KKyAgICAgIGRhZW1vbl9waXBlWzFdID0gLTE7CisKKyAgICAgIC8qIEZJWE1FOiBuZWVkIHRv
IHNodXQgdGhlIGZvcmVncm91bmQgc2VydmVyIGRvd24gZ3JhY2VmdWxseSBvbiBTSUdJTlQgKi8K
KyAgICB9CisgIGVsc2UgaWYgKGFyZ21hdGNoIChhcmd2LCBhcmdjLCAiLWRhZW1vbiIsICItLWRh
ZW1vbiIsIDUsIE5VTEwsICZza2lwX2FyZ3MpCiAgICAgICB8fCBhcmdtYXRjaCAoYXJndiwgYXJn
YywgIi1kYWVtb24iLCAiLS1kYWVtb24iLCA1LCAmZG5hbWVfYXJnLCAmc2tpcF9hcmdzKSkKICAg
ICB7CiAjaWZuZGVmIERPU19OVApAQCAtMTg1NSw2ICsxODY5LDcgQEAgY29uc3Qgc3RydWN0IHN0
YW5kYXJkX2FyZ3Mgc3RhbmRhcmRfYXJnc1tdID0KICAgeyAiLWJhdGNoIiwgIi0tYmF0Y2giLCAx
MDAsIDAgfSwKICAgeyAiLXNjcmlwdCIsICItLXNjcmlwdCIsIDEwMCwgMSB9LAogICB7ICItZGFl
bW9uIiwgIi0tZGFlbW9uIiwgOTksIDAgfSwKKyAgeyAiLXNlcnZlciIsICItLXNlcnZlciIsIDk5
LCAwIH0sCiAgIHsgIi1oZWxwIiwgIi0taGVscCIsIDkwLCAwIH0sCiAgIHsgIi1uby11bmlieXRl
IiwgIi0tbm8tdW5pYnl0ZSIsIDgzLCAwIH0sCiAgIHsgIi1tdWx0aWJ5dGUiLCAiLS1tdWx0aWJ5
dGUiLCA4MiwgMCB9LApAQCAtMjUxMiw3ICsyNTI3LDcgQEAgZnJvbSB0aGUgcGFyZW50IHByb2Nl
c3MgYW5kIGl0cyB0dHkgZmlsZSBkZXNjcmlwdG9ycy4gICovKQogICBpZiAoIUlTX0RBRU1PTikK
ICAgICBlcnJvciAoIlRoaXMgZnVuY3Rpb24gY2FuIG9ubHkgYmUgY2FsbGVkIGlmIGVtYWNzIGlz
IHJ1biBhcyBhIGRhZW1vbiIpOwogCi0gIGlmIChkYWVtb25fcGlwZVsxXSA8IDApCisgIGlmIChk
YWVtb25fcGlwZVsxXSA8IC0xKQogICAgIGVycm9yICgiVGhlIGRhZW1vbiBoYXMgYWxyZWFkeSBi
ZWVuIGluaXRpYWxpemVkIik7CiAKICAgaWYgKE5JTFAgKFZhZnRlcl9pbml0X3RpbWUpKQpAQCAt
MjUzMiwxMCArMjU0NywxNiBAQCBmcm9tIHRoZSBwYXJlbnQgcHJvY2VzcyBhbmQgaXRzIHR0eSBm
aWxlIGRlc2NyaXB0b3JzLiAgKi8pCiAgICAgIEluc3RlYWQsIHdlIHNob3VsZCBwcm9iYWJseSBj
bG9zZSB0aGUgcGlwZSBpbiBzdGFydC1wcm9jZXNzIGFuZAogICAgICBjYWxsLXByb2Nlc3MgdG8g
bWFrZSBzdXJlIHRoZSBwaXBlIGlzIG5ldmVyIGluaGVyaXRlZCBieQogICAgICBzdWJwcm9jZXNz
ZXMuICAqLwotICB3cml0ZSAoZGFlbW9uX3BpcGVbMV0sICJcbiIsIDEpOwotICBjbG9zZSAoZGFl
bW9uX3BpcGVbMV0pOwotICAvKiBTZXQgaXQgdG8gYW4gaW52YWxpZCB2YWx1ZSBzbyB3ZSBrbm93
IHdlJ3ZlIGFscmVhZHkgcnVuIHRoaXMgZnVuY3Rpb24uICAqLwotICBkYWVtb25fcGlwZVsxXSA9
IC0xOworICBpZiAoZGFlbW9uX3BpcGVbMV0gPiAwKQorICAgIHsKKyAgICAgIHdyaXRlIChkYWVt
b25fcGlwZVsxXSwgIlxuIiwgMSk7CisgICAgICBjbG9zZSAoZGFlbW9uX3BpcGVbMV0pOworICAg
IH0KKworICAvKiBpbmRpY2F0ZSB0aGF0IHRoaXMgZnVuY3Rpb24gaGFzIGNvbXBsZXRlZCwgY2Fs
bGluZyBpdCBhZ2FpbiB3aWxsCisgICAqIHJlc3VsdCBpbiBhbiBlcnJvciAqLworICBkYWVtb25f
cGlwZVsxXSA9IC0yOworCiAgIHJldHVybiBRdDsKIH0KIAo=

--_8c1f20e1-371c-41f3-855c-85a58218db06_--



Acknowledgement sent to Kenny Stuart <kstuart@HIDDEN>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#4944; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.