From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: GUI vs TTY when saving & restoring framesets Date: Mon, 23 Jan 2017 17:14:39 +0100 Message-ID: References: <834m0r5aiu.fsf@gnu.org> <83d1fe4fcq.fsf@gnu.org> <838tq14w07.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114781c8543a7b0546c54ee3 X-Trace: blaine.gmane.org 1485188167 24121 195.159.176.226 (23 Jan 2017 16:16:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2017 16:16:07 +0000 (UTC) Cc: Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 23 17:15:59 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVhHC-0003Zp-Qz for ged-emacs-devel@m.gmane.org; Mon, 23 Jan 2017 17:15:27 +0100 Original-Received: from localhost ([::1]:42945 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVhHH-0001QS-M3 for ged-emacs-devel@m.gmane.org; Mon, 23 Jan 2017 11:15:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVhHA-0001QC-HS for emacs-devel@gnu.org; Mon, 23 Jan 2017 11:15:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVhH9-0002l3-Da for emacs-devel@gnu.org; Mon, 23 Jan 2017 11:15:24 -0500 Original-Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:35561) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cVhH7-0002kS-Eg; Mon, 23 Jan 2017 11:15:21 -0500 Original-Received: by mail-wm0-x230.google.com with SMTP id r126so140524192wmr.0; Mon, 23 Jan 2017 08:15:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/QprjK+G9fyuHYonagbNrb1kFaFfN9yxhr8VwpbtqPc=; b=HI+pKd5a24lhwIvbFrQAvBjYBytPqG1jeKKPa9hFjf4jjFlVgweWJDC96xtnjyiix5 zKO1zNLmzvt1+a49UyEz4M+5dr+PodLtgCNX5MVwQ7UlCNQQ5kD2s1/4W5cuOj4qWR/v Lbe7/gHhKOUPHD/N7tNdhhRjkpS+liTKT16y3HomZ1SA6TPhjq29G1pjX3UlaWhuC6Cz 6bsEeRrMcZL1+UsZZ37vp4pUyxKSLn2tZ63NK7BJsDEmKqc2Ey7ypFlXR8W1bHBSnvfk 8kDq8ucGfxG57ajkLoOaLy0vWoLkGJIvehO2qJsbWqRgdt8mYPTdRQJpxwR1wk1NBlEf WrGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/QprjK+G9fyuHYonagbNrb1kFaFfN9yxhr8VwpbtqPc=; b=Ce+nfHbg2O7Vc0dRIWeulZCxuZ/4O/ewCBnxzLtSQw3gW7qaHsvEf4y1MXW5SMQ+sW jlBRSNwuV0h/kLXf7eezSJ8TMqU82c1nsWt01B24KKS8M5tcumy19J6i6doVJjUEASkX AQSMobz/H5DXit8owysabCPEADfg2m9hvaa/XxDTvYVxtgG+snqooD9ywWrTMQNLmqG2 3S9WE7kYI98nNwNEYbr32zwgVTm1WvR1iLKPP7QjE2fQOggdPUux/+HvV9FfFvShzVIp WejdYmkFewaEdkHQTayfva00N8hr4BR9REtxkwfz+hTXhDNwrzzSxUpiXH5WRaPyXXn5 3NUQ== X-Gm-Message-State: AIkVDXIij21mZyiipCQyii4yWIIGEwsouHX7LUexWw6OLb6HuVa7iZbFbDPihnwEGBdlzSyauOR2+iY05+M9yA== X-Received: by 10.223.152.210 with SMTP id w76mr27358068wrb.72.1485188120195; Mon, 23 Jan 2017 08:15:20 -0800 (PST) Original-Received: by 10.194.172.129 with HTTP; Mon, 23 Jan 2017 08:14:39 -0800 (PST) In-Reply-To: <838tq14w07.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:211578 Archived-At: --001a114781c8543a7b0546c54ee3 Content-Type: text/plain; charset=UTF-8 On Mon, Jan 23, 2017 at 4:49 PM, Eli Zaretskii wrote: > A I've said earlier, if we think different users might want different > behavior in this respect, we should have a customizable option. Agreed. > In any case, the simplest case should work as expected: when the > desktop file records only one frame, it shall be restored as a single > text-mode frame when Emacs is started with -nw, I think. Yes. I'm surprised this failed. This is basic stuff. > I'm not sure this is desirable. It is IMO more natural to have the > same frameset for all sessions. But that's me. Full disclosure: I > never restore my sessions into Emacs started with -nw, except for > testing these issues. Same here. I never work with -nw except for testing purposes. > Frame restoration is a relatively recent feature, so I think we should > first make sure it works correctly in the simple scenarios, before we > start extending it to support more exotic ones. As one data point, I > don't think anyone has yet requested the features you describe above. Depending where we want to go, these features aren't more exotic, just a generalization of sorts. But I agree with you. Don't want to waste my time with something that people doesn't need. > I didn't write the above to assign blame. I know. But that you don't blame me doesn't mean I don't feel a little guilty. I've disliked when someone started some big (or user-visible) change in Emacs and then disappeared (not a very common occurrence, but not unheard of). And I did the same. Hi pot, meet kettle. --001a114781c8543a7b0546c54ee3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Jan 23, 2017 at 4:49 PM, Eli Zaretskii <eliz@gnu.org> wrote:
<= br>
> A I've said earlier, if we think different users might wan= t different
> behavior in this respect, we should have a customizable= option.

Agreed.

> In any cas= e, the simplest case should work as expected: when the
> desktop file= records only one frame, it shall be restored as a single
> text-mode= frame when Emacs is started with -nw, I think.

Yes. I= 9;m surprised this failed. This is basic stuff.

&g= t; I'm not sure this is desirable.=C2=A0 It is IMO more natural to have= the
> same frameset for all sessions.=C2=A0 But that's me.=C2=A0= Full disclosure: I
> never restore my sessions into Emacs started wi= th -nw, except for
> testing these issues.

Same her= e. I never work with -nw except for testing purposes.

<= div>> Frame restoration is a relatively recent feature, so I think we sh= ould
> first make sure it works correctly in the simple scenarios, be= fore we
> start extending it to support more exotic ones.=C2=A0 As on= e data point, I
> don't think anyone has yet requested the featur= es you describe above.

Depending where we want to go, the= se features aren't more exotic, just a generalization of sorts. But I a= gree with you. Don't want to waste my time with something that people d= oesn't need.

> I didn't write the above= to assign blame.

I know. But that you don't b= lame me doesn't mean I don't feel a little guilty. I've dislike= d when someone started some big (or user-visible) change in Emacs and then = disappeared (not a very common occurrence, but not unheard of). And I did t= he same. Hi pot, meet kettle.

--001a114781c8543a7b0546c54ee3--