From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenny Stuart Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4944: 23.1.50; starting a server without forking a daemon Date: Tue, 17 Nov 2009 14:25:34 +0000 Message-ID: Reply-To: Kenny Stuart , 4944@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_8c1f20e1-371c-41f3-855c-85a58218db06_" X-Trace: ger.gmane.org 1258474795 537 80.91.229.12 (17 Nov 2009 16:19:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 16:19:55 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 17 17:19:48 2009 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 1NAQmP-0005z2-4n for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Nov 2009 17:19:47 +0100 Original-Received: from localhost ([127.0.0.1]:33529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAQmN-0003xz-Uc for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Nov 2009 11:19:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAPeU-0007dr-8O for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2009 10:07:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAPeO-0007cH-JG for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2009 10:07:28 -0500 Original-Received: from [199.232.76.173] (port=56113 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAPeO-0007c3-3w for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2009 10:07:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37767) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAPeN-0003j6-3R for bug-gnu-emacs@gnu.org; Tue, 17 Nov 2009 10:07:23 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAHF7KlV014439; Tue, 17 Nov 2009 07:07:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAHEt5Rt012590; Tue, 17 Nov 2009 06:55:05 -0800 Resent-Date: Tue, 17 Nov 2009 06:55:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenny Stuart Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 17 Nov 2009 14:55:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4944 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125846925912101 (code B ref -1); Tue, 17 Nov 2009 14:55:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 17 Nov 2009 14:47:39 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 ; Tue, 17 Nov 2009 06:47:38 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:36954) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NAPLE-0007Zl-Ga for emacs-pretest-bug@gnu.org; Tue, 17 Nov 2009 09:47:36 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NAPLB-0000qL-Kp for emacs-pretest-bug@gnu.org; Tue, 17 Nov 2009 09:47:35 -0500 Original-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 ) id 1NAOzz-0005XJ-EO for emacs-pretest-bug@gnu.org; Tue, 17 Nov 2009 09:25:39 -0500 Original-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 X-Originating-IP: [81.158.78.195] Importance: Normal 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+ X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 17 Nov 2009 10:07:28 -0500 X-Mailman-Approved-At: Tue, 17 Nov 2009 11:19:38 -0500 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:32668 gmane.emacs.pretest.bugs:25197 Archived-At: --_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@gnu.org 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: L i b r a r y / L a u n c h A g e n t = s / o r g . g n u . e n m a c s - s e r v e r . p l= i s t t e x t / x m l ~ / 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 f o r= SPC e m a c s SPC s e r v e r = p l= s i t i s t a t t a c h m e n= t = D o c = e m a c s - m a i l . t x t <= double-wheel-up> = = M-x r e p o r t - e m a c s - b u g 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
Please write in English if possible=2C because the Emacs maintainers
usually do not have translators to read other languages for them.<= /div>

Your bug report will be posted to the emacs-pretes= t-bug@gnu.org mailing list.

Please describe exactl= y what actions triggered the bug
and the precise symptoms of the = bug.  =3BIf you can=2C 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 m= anage processes as services=2C such as launchd on OS X=2C
therefo= re it is not possible to create an effective launchd service
usin= g emacs in daemon mode.

Possible Solution:

For review I have included a patch that adds a --server c= ommand line
option that does what the --daemon option does=2C exc= ept it runs the
server in the foreground process rather than fork= ing a daemon and
exiting.

Please note th= at I am new to emacs and nix based operating systems and
in the s= hort time I have had to spend on this was unable to add a SIGINT
= handler to gracefully shutdown the emacs server=2C not that it matters
to launchd since it should send SIGTERM=2C but a solution would be ni= ce.

There appear to be issues on OS X with creatin= g a new frame using the -c option
to emacsclient as emacs crashes= (so far during garbage collection) when
doing this=2C =3Bhow= ever I am still =3Blearning the dev tools available to me on this
=
platform and it will be a =3Bwhile before I could effectively repo= rt such bugs=2C so
this is just an FYI. =3B

As I'm using a debug build so I can investigate further=2C can you = confirm
that the build configure options I've used are ok and not= likely to be
contributing to the instability=2C are there any ot= her options I should be
using?

Please al= so note that this is the first time I have engaged with an open
s= ource 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 debugge= r=2C
please include the output from the following gdb commands:
 =3B =3B  =3B`bt full' and `xbacktrace'.
For= information about debugging Emacs=2C please read the file
/Appli= cations/Emacs.app/Contents/Resources/etc/DEBUG.

In GNU Emacs 23.1.50.2 (x86_64-apple-darwin10.2.0=2C NS apple-= appkit-1038.25)
 =3Bof 2009-11-17 on maverick.home
= Windowing system distributor `Apple'=2C version 10.3.1038
configu= red using `configure  =3B'--with-ns' '--enable-asserts' 'CFLAGS=3D-O0 -= gdwarf-2 -g3 -Wno-pointer-sign''

Important setting= s:
 =3B =3Bvalue of $LC_ALL: nil
 =3B = =3Bvalue of $LC_COLLATE: nil
 =3B =3Bvalue of $LC_CTYPE: = nil
 =3B =3Bvalue of $LC_MESSAGES: nil
 =3B=  =3Bvalue of $LC_MONETARY: nil
 =3B =3Bvalue of $LC_N= UMERIC: nil
 =3B =3Bvalue of $LC_TIME: nil
&nbs= p=3B =3Bvalue of $LANG: en_GB.UTF-8
 =3B =3Bvalue of = $XMODIFIERS: nil
 =3B =3Blocale-coding-system: utf-8-unix=
 =3B =3Bdefault enable-multibyte-characters: t

Major mode: Text

Minor modes in ef= fect:
 =3B =3Btooltip-mode: t
 =3B =3Bm= ouse-wheel-mode: t
 =3B =3Btool-bar-mode: t
&nb= sp=3B =3Bmenu-bar-mode: t
 =3B =3Bfile-name-shadow-mo= de: t
 =3B =3Bglobal-font-lock-mode: t
 =3B=  =3Bfont-lock-mode: t
 =3B =3Bglobal-auto-composition= -mode: t
 =3B =3Bauto-composition-mode: t
 = =3B =3Bauto-encryption-mode: t
 =3B =3Bauto-compressi= on-mode: t
 =3B =3Bline-number-mode: t
 =3B=  =3Btransient-mark-mode: t

Recent input:
=
<=3Bbackspace>=3B <=3Bbackspace>=3B L i b r a r y / L a u n c = h =3B
A g e n t s / <=3Bhelp-echo>=3B o r g . g n u . e n= <=3Bbackspace>=3B =3B
m a c s - s e r v e r . p l i s t = <=3Breturn>=3B <=3Bhelp-echo>=3B =3B
t e x t / x m l = <=3Breturn>=3B ~ / L i b r a r y / L a u =3B
n c h A g e = n t s SPC s c r i p t SPC o r <=3Bbackspace>=3B =3B
<= =3Bbackspace>=3B f o r SPC e m a c s SPC s e r v e r <=3Bleft>=3B&nbs= p=3B
<=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Blef= t>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B=  =3B
<=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <= =3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft>=3B <=3Bleft= >=3B =3B
<=3Bbackspace>=3B <=3Bbackspace>=3B <=3B= backspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B =3B
<=3Bbackspace>=3B p l s i t <=3Bbackspace>=3B <=3Bbackspace>= =3B <=3Bbackspace>=3B =3B
i s t <=3Breturn>=3B a t t = a c h m e n t <=3Breturn>=3B <=3Bbackspace>=3B =3B
&l= t=3Bhelp-echo>=3B <=3Bmenu-bar>=3B <=3Bfile>=3B <=3Bwrite-file&= gt=3B <=3Bhelp-echo>=3B =3B
<=3Bbackspace>=3B <=3Bb= ackspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bbackspace&= gt=3B =3B
<=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bb= ackspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B =3B
<=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bbackspace>=3B <=3Bb= ackspace>=3B <=3Bbackspace>=3B =3B
<=3Bbackspace>= =3B <=3Bbackspace>=3B D o <=3Btab>=3B c <=3Btab>=3B e m a c s&n= bsp=3B
- m a i l . t x t <=3Breturn>=3B <=3Bdown-mouse-1>= =3B <=3Bmouse-1>=3B =3B
<=3Bwheel-up>=3B <=3Bdouble= -wheel-up>=3B <=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B&nbs= p=3B
<=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B <= =3Bwheel-down>=3B <=3Bdouble-wheel-down>=3B =3B
<=3Bw= heel-down>=3B <=3Bdouble-wheel-down>=3B <=3Bwheel-down>=3B <=3B= double-wheel-down>=3B =3B
<=3Btriple-wheel-down>=3B <= =3Btriple-wheel-down>=3B <=3Btriple-wheel-down>=3B =3B
= <=3Bwheel-down>=3B <=3Bdouble-wheel-down>=3B <=3Btriple-wheel-dow= n>=3B =3B
<=3Btriple-wheel-down>=3B <=3Bwheel-up>= =3B <=3Bdouble-wheel-up>=3B <=3Btriple-wheel-up>=3B =3B
<=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B <=3Bwheel-up&g= t=3B <=3Bdouble-wheel-up>=3B =3B
<=3Btriple-wheel-up>= =3B <=3Btriple-wheel-up>=3B <=3Btriple-wheel-up>=3B =3B
<=3Btriple-wheel-up>=3B <=3Bwheel-up>=3B <=3Bdouble-wheel-up&g= t=3B <=3Bwheel-down>=3B =3B
<=3Bdouble-wheel-down>=3B= <=3Btriple-wheel-down>=3B <=3Btriple-wheel-down>=3B =3B
<= div><=3Bwheel-up>=3B <=3Bdouble-wheel-up>=3B <=3Btriple-wheel-up&= gt=3B <=3Btriple-wheel-up>=3B =3B
<=3Btriple-wheel-up&g= t=3B <=3Bwheel-up>=3B <=3Bwheel-up>=3B <=3Bwheel-up>=3B =3B=
<=3Bdown-mouse-1>=3B <=3Bmouse-movement>=3B <=3Bmouse-= movement>=3B <=3Bhelp-echo>=3B =3B
<=3Bmouse-movement= >=3B <=3Bhelp-echo>=3B <=3Bmouse-movement>=3B <=3Bmouse-movemen= t>=3B =3B
<=3Bmouse-movement>=3B <=3Bhelp-echo>=3B = <=3Bmouse-movement>=3B <=3Bmouse-movement>=3B =3B
<= =3Bdrag-mouse-1>=3B <=3Bmenu-bar>=3B <=3Bedit>=3B <=3Bcopy>= =3B <=3Bdown-mouse-1>=3B =3B
<=3Bdown-mouse-1>=3B <= =3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B&nbs= p=3B
<=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B <=3Bdown= -mouse-1>=3B <=3Bdown-mouse-1>=3B =3B
<=3Bdown-mouse-= 1>=3B <=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B <=3Bdown-mouse-= 1>=3B =3B
<=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B= <=3Bdown-mouse-1>=3B <=3Bdown-mouse-1>=3B =3B
<=3B= down-mouse-1>=3B M-x r e p o r t - e m a c s - b u g =3B
&l= t=3Breturn>=3B

Recent messages:
Auto-s= aving...done
Undo!
Auto-saving...done
Making = completion list...
Saving file /Users/kstuart/Documents/emacs-mai= l.txt...
Wrote /Users/kstuart/Documents/emacs-mail.txt
= byte-code: Beginning of buffer [2 times]
byte-code: End of buffer= [2 times]
byte-code: Beginning of buffer [8 times]
Sav= ed text from "Please write in English if possible=2C bec"

Load-path shadows:
/Applications/Emacs.app/Contents/Resou= rces/lisp/emacs-lisp/lucid hides /Applications/Emacs.app/Contents/Resources= /lisp/obsolete/lucid
/Applications/Emacs.app/Contents/Resources/l= isp/emacs-lisp/levents hides /Applications/Emacs.app/Contents/Resources/lis= p/obsolete/levents

Features:
(ispell new= comment help-mode view shadow mail-extr message ecomplete
rfc822 = mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
= mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
<= div>gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug sendmail
regexp-opt server tooltip ediff-hook vc-hooks lisp-float-type mwhe= el
ns-win easymenu tool-bar dnd fontset image fringe lisp-mode re= gister
page menu-bar rfn-eshadow timer select scroll-bar mldrag m= ouse jit-lock
font-lock syntax facemenu font-core frame cham geor= gian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao ko= rean japanese hebrew
greek romanian slovak czech european ethiopi= c indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help = simple abbrev loaddefs button
minibuffer faces cus-face text-prop= erties overlay md5 base64 format env
code-pages mule custom widge= t hashtable-print-readable backquote
make-network-process ns mult= i-tty emacs)


Use Hotmail to send and receive m= ail from your different email accounts. Find out how. = --_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 ICAgIGV4aXQgKDApOwogICAgIH0KIAotICBpZiAoYXJnbWF0Y2ggKGFyZ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