From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xu Xin Newsgroups: gmane.emacs.devel Subject: Re: Emacs.app for OSX suggestions Date: Fri, 19 Feb 2016 10:17:55 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1455895105 29734 80.91.229.3 (19 Feb 2016 15:18:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Feb 2016 15:18:25 +0000 (UTC) Cc: Emacs developers To: Pavlos Vinieratos Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 19 16:18:25 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aWmp5-00062E-TS for ged-emacs-devel@m.gmane.org; Fri, 19 Feb 2016 16:18:24 +0100 Original-Received: from localhost ([::1]:53083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWmp0-0007fJ-2O for ged-emacs-devel@m.gmane.org; Fri, 19 Feb 2016 10:18:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWmok-0007cv-Pc for emacs-devel@gnu.org; Fri, 19 Feb 2016 10:18:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWmog-0004XQ-2s for emacs-devel@gnu.org; Fri, 19 Feb 2016 10:17:58 -0500 Original-Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:33431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWmof-0004VS-S0 for emacs-devel@gnu.org; Fri, 19 Feb 2016 10:17:58 -0500 Original-Received: by mail-wm0-x235.google.com with SMTP id g62so73112913wme.0 for ; Fri, 19 Feb 2016 07:17:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=WOxB9N2c34RLgIIPWnl6PaagU1fbVff/S8lSN86hWes=; b=Do3jO45ujM7SJP7v/0GLSMqTUDrhuXzUVTsJBMVnOS4E8LtssgZ1zF9zSWpNgAFoPN mZKL8NWi88y6teE1q8hJsPEmBqsIc+Eki4lfP01vZ+WLpHRDzapUipi4ZpWuSErtfvRp tU3/8dBhNpgiquWEIyioN9yfIjs5P6pUaDptFiFV50Zy1Goh+WthiJZxkwmpyALxx6S/ z5MEIQByk0Ddr0+tE3+H68Mb1wW7N/P3j+zLQYUucKgI2JbYSfyez217uKxUS08d2BD5 sBlqYK5sOFzO1iy0KwcbEIel1PuipDKy8rvQ2wjVMfWkTkTQ2SY297ZgRRbZ2Ekyv5Fn CvNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WOxB9N2c34RLgIIPWnl6PaagU1fbVff/S8lSN86hWes=; b=IMET2FhWPusbFLsQ1DTGlWrgAmuZaO1ylSGxXKG+bswc98nnYy0oy8Yl8zpxecTOQc OLFafa/frPrFKB9tOmy83PcdV7V2YiGi2iKiw4i0vjpGfw7TbpBzYmlrIvhAuf50GmK7 nknsL4kAr8hHRb4QtNLWwJhT+kXVekyJXabU4yRqwVnDIp139GBeP2BKFWkAUCEwBTCu 78mnw83y/wJ9nZwIoQV85moQuEcu/IbiFeJm3C150/vS4T9NQ0f/hY5Y1OW3L31yumoh IcaW/lwSeov/wMTo7QvaKf179eWKcnjAWopXwV6wmUh/zArB9iXoO31CZLYpWg94l84t /+wA== X-Gm-Message-State: AG10YOSfHw3d/TGbYBt54rhFuC60nmTWvPI8W6zZUoKd5g0X8ep/GoMCo0huBYbi1IEWpHv/cJYLZjBu3QYb9Q== X-Received: by 10.194.2.76 with SMTP id 12mr13995215wjs.28.1455895075404; Fri, 19 Feb 2016 07:17:55 -0800 (PST) Original-Received: by 10.28.88.73 with HTTP; Fri, 19 Feb 2016 07:17:55 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200217 Archived-At: On Fri, Feb 19, 2016 at 4:09 AM, Pavlos Vinieratos wrote= : > yes. i was wrong. > like you said, runing emacs from the terminal, initiates every time. > launching the app initiates once and connects every next time. > > so my real suggestion, is not to quit the app when i close the last windo= w. > would that make it so that when i click on the app again, it would open > without initializing again? if yes, then thats my suggested change. if it > would still initialize, then i would like that fixed. > > i might have to find how to test that myself, but is the initialization > happening when the app launches, or when the first window is opened? > by initialization i mean eval the init file. if it happens on app launch, > then it should br easy to just keep the app running so when i click the a= pp, > even if its the first window (after i had the previous windows closed) wo= uld > open quickly. but if the initialization happens on first window opening, > then it might be a bit harder. > > thoughts? > > -- > Pavlos Vinieratos > > On 18 February 2016 at 10:54:20, pavlos vinieratos (pvinis@gmail.com) wro= te: >> >> Hello. The way Emacs.app works right now, it that it always starts a new >> session of emacs, so its always slow to open if you have more than an em= pty >> init file, and it doesn=E2=80=99t work with the daemon. >> >> I would suggest to change the behaviour of that, and make it so that >> Emacs.app will start emacsclient, so if a daemon is running, it would >> connect to it. We could even make it so that it starts a new daemon like= `-a >> =E2=80=9C=E2=80=9D` would. >> >> I think that would benefit anyone using Emacs.app by doing what those sa= me >> people would do now, which is to run a command from their shell, that do= es >> the above. Why not implement it in the .app, so that when dragging some >> files onto Emacs.app, it starts quickly because of the daemon? >> >> >> >> -- >> Pavlos Vinieratos >> > Aquamacs has similar feature as you mentioned. - Xin