From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#23604: desktop-restore-in-current-display should default to t Date: Tue, 24 May 2016 02:37:00 +0200 Message-ID: References: <278b113b-21aa-5c54-6550-79bf1e481530@cs.ucla.edu> <51d2f8d4-03a4-d585-fe6f-cd61a7d71238@cs.ucla.edu> <00be9358-ec48-46da-adc9-52038ddf3b2c@default> <872ede03-6767-481d-8f05-9351c81ffd6d@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113fa56eb2777d05338bc3b6 X-Trace: ger.gmane.org 1464050306 27787 80.91.229.3 (24 May 2016 00:38:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 May 2016 00:38:26 +0000 (UTC) Cc: 23604@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 24 02:38:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1b50MU-0001pg-5c for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 May 2016 02:38:18 +0200 Original-Received: from localhost ([::1]:50984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b50MT-0004w2-DC for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 May 2016 20:38:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b50MI-0004tU-Tn for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 20:38:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b50ME-000573-Na for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 20:38:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b50ME-00056z-KE for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 20:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b50ME-0006SF-Bu for bug-gnu-emacs@gnu.org; Mon, 23 May 2016 20:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 May 2016 00:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23604 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23604-submit@debbugs.gnu.org id=B23604.146405026824788 (code B ref 23604); Tue, 24 May 2016 00:38:02 +0000 Original-Received: (at 23604) by debbugs.gnu.org; 24 May 2016 00:37:48 +0000 Original-Received: from localhost ([127.0.0.1]:35338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b50M0-0006Rk-0r for submit@debbugs.gnu.org; Mon, 23 May 2016 20:37:48 -0400 Original-Received: from mail-lf0-f41.google.com ([209.85.215.41]:33889) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b50Ly-0006RX-Af for 23604@debbugs.gnu.org; Mon, 23 May 2016 20:37:46 -0400 Original-Received: by mail-lf0-f41.google.com with SMTP id k98so486908lfi.1 for <23604@debbugs.gnu.org>; Mon, 23 May 2016 17:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NL8uRG8rM+xJUKzA9EpK+lEhi+4XNPjJbxzUatg88so=; b=0x+E6KdmlPUejN9gyZVnoe1JcD3PPwk6vwnFboSui61lcy2zaKuYobJ82Q5RZL4WXi 9y7sI1HqaD5X2ao68MdacfY4oGoV70tB0BZv13H0MVeKPHZUE80ZZky5IIS71Zibc9kR D1aJ0z8fX4uvw8yWyA9R7ORQjs9VrwAQGyrzko8v6INCeDowsFhXdWmRgq/KHMjWrjZ/ jnLoMh1q+kTEvKUqGbldQaoxjUaIlVeZHbbw+XmYZ14i9zAyFLcAqSjhfQjvUvHtobhp CMeYtzvoeJ/aq39OOQeXNFrVG9duq/fTIWWVVyzCDjHP4XTBx4Di7lw9boKUMk9sPmZ6 1YlA== 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:from:date :message-id:subject:to:cc; bh=NL8uRG8rM+xJUKzA9EpK+lEhi+4XNPjJbxzUatg88so=; b=MblrIsnoP+OrUYQ6ykgQ7bJTy+hLnAti/9I7Zpdu7mt7f+DQ76D7FAfSB4s++ztOAS I/XtavqVpU1XIs1JJEn9wuYZUc/IjOzf8TKpzoQ9tAaPvic/F/GgjPmS6YLIulp+RABN 6WUcBt0AaAZUTpdruwqQNrhIzOqP5XrIGNPdLTAEVS/Q2aOyV3tN7kan+yZdsvG7THrx rsRK33iQ3r4ypiRGTqiIoVl8JbC6XLhSCKtXVZ7rfIkPtDspWaU5/GfsH5rrgqNghjnG KwAARajhCUwNHkG7glBVSY3E50EK4zWpvzSBdYo49Bf3rFEjYkudTrFioadYa4F2XcTe Hnyw== X-Gm-Message-State: AOPr4FVCj77kp6JRrWonB1GU5klzbDYRg3Hk3wm9VjyEEwGGfh/xDeOTpyap4z1ZbUvKMGThK3VIXpW0dKqn6A== X-Received: by 10.25.24.65 with SMTP id o62mr6371939lfi.23.1464050260275; Mon, 23 May 2016 17:37:40 -0700 (PDT) Original-Received: by 10.25.146.67 with HTTP; Mon, 23 May 2016 17:37:00 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118606 Archived-At: --001a113fa56eb2777d05338bc3b6 Content-Type: text/plain; charset=UTF-8 On Tue, May 24, 2016 at 2:23 AM, Paul Eggert wrote: > Anyway I hope Juanma has time to weigh in so that we don't need to guess. I'm alive, which is quite different from active. Regarding this issue, if memory serves I'd say desktop-restore-in-current-display defaults to nil because a) It made sense (to me anyway) that you would restore frames where they were created. "Bringing them" to the current display seems to me like a specialized use (a last resort), not the default one. If having it set to nil means that you open a frame "half a world away" is because you were working with a display half a world away in the first place... b) I could be wrong, but I think that was Stefan's preferred default. That said, I really have no strong preference. We should use the one which is likely to cause less trouble. OTOH, if it does cause trouble only for "Emacs users that run the tmux terminal multiplexer atop xterm", it could be solved at the social level (I mean, warning users), or there's perhaps a way to detect it (perhaps some frame parameters could give a clue?) and avoid the problem altogether. Am I making any sense? Juanma --001a113fa56eb2777d05338bc3b6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, May 24, 2016 at 2:23 AM, Paul Eggert <eggert@cs.ucla.edu> wrote:

> Anyway I hope Juanma has time to weigh in so that we don't need = to guess.

I'm alive, which is quite different from ac= tive.

Regarding this issue, if memory serves I'= ;d say=C2=A0desktop-restore-in-current-display defaults to nil because

a) It made sense (to me anyway) that you would restore= frames where they were created. "Bringing them" to the current d= isplay seems to me like a specialized use (a last resort), not the default = one. If having it set to nil means that you open a frame "half a world= away" is because you were working with a display half a world away in= the first place...

b) I could be wrong, but I thi= nk that was Stefan's preferred default.

That s= aid, I really have no strong preference. We should use the one which is lik= ely to cause less trouble. OTOH, if it does cause trouble only for=C2=A0&qu= ot;Emacs users that run the tmux terminal multiplexer atop xterm", it = could be solved at the social level (I mean, warning users), or there's= perhaps a way to detect it (perhaps some frame parameters could give a clu= e?) and avoid the problem altogether.

Am I making = any sense?

=C2=A0 =C2=A0 Juanma

--001a113fa56eb2777d05338bc3b6--