From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: multi-tty branch created Date: Wed, 16 May 2007 19:39:15 +0200 Message-ID: <85ps503by4.fsf@lola.goethe.zz> References: <87sla0rgs4.fsf@catnip.gol.com> <85abw8pyk7.fsf@lola.goethe.zz> <85646wpuqn.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1179337168 9487 80.91.229.12 (16 May 2007 17:39:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 May 2007 17:39:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?K=C3=A1roly_L=C5=91rentey?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 16 19:39:27 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HoNTC-0006g1-5R for ged-emacs-devel@m.gmane.org; Wed, 16 May 2007 19:39:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoNbC-0001jj-9K for ged-emacs-devel@m.gmane.org; Wed, 16 May 2007 13:47:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HoNb7-0001jd-Jr for emacs-devel@gnu.org; Wed, 16 May 2007 13:47:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HoNb5-0001jR-7e for emacs-devel@gnu.org; Wed, 16 May 2007 13:47:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoNb5-0001jO-0N for emacs-devel@gnu.org; Wed, 16 May 2007 13:47:35 -0400 Original-Received: from mail-in-04.arcor-online.net ([151.189.21.44]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HoNT3-0003dq-R7 for emacs-devel@gnu.org; Wed, 16 May 2007 13:39:18 -0400 Original-Received: from mail-in-01-z2.arcor-online.net (mail-in-07-z2.arcor-online.net [151.189.8.19]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id 7FE0717F97B; Wed, 16 May 2007 19:39:16 +0200 (CEST) Original-Received: from mail-in-11.arcor-online.net (mail-in-11.arcor-online.net [151.189.21.51]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id 705002C6C72; Wed, 16 May 2007 19:39:16 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-094-223.pools.arcor-ip.net [84.61.94.223]) by mail-in-11.arcor-online.net (Postfix) with ESMTP id 4CFED1200F; Wed, 16 May 2007 19:39:13 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 86FE41CCEC99; Wed, 16 May 2007 19:39:16 +0200 (CEST) In-Reply-To: (=?iso-8859-1?Q?=22K=E1roly?= Lo"'s message of "Wed\, 16 May 2007 15\:24\:45 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71187 Archived-At: "K=C3=A1roly L=C5=91rentey" writes: > David Kastrup wrote: > >> One thing that is mentioned that calling emacsclient from a >> different user will not work. I think that this is really a >> non-issue since file accessibility from a different user would also >> be different and there is no really useful strategy short of using >> tramp for getting this to work. > > I agree with your reasoning but the item is about something slightly > different: > > Login: fred > Password: > fred$ emacs > M-x server-start > > Meanwhile, in another session: > > Login: barney > Password: > barney$ su fred > Password: > fred$ emacsclient -t > (Fails due to Emacs not being able to open the tty device.) > > The use case: fred sits down before barney's console to show him > something under his own account. Still a non-issue in my book: the same won't work with X frames, either, unless the X11 authentication is seriously insecure. The way to do this kind of thing is an ssh session, and those will work with either text or X11. >> emacsclient operation in multitty is different as compared to >> previously. So people can't avoid multitty completely, meaning >> that we can't bluntly state "situation can't be worse than >> previously, no regression" but need to evaluate multitty somewhat >> more closely before finding it suited for trunk, even if the >> compilation problems on DOS/Windows/Mac have been tackled. > > Hold your horses. You would not want me to: my concerns are likely similar to those of others, so you want to get them discussed and refuted. > There is always "emacsclient --current-frame" to prevent emacsclient > from creating a new terminal. This retains much of the > functionality of the original emacsclient, including, I believe, > things like C-#, and does not use multi-tty features. Still, environments do no longer work the same even if you don't use multi-tty features. > I hope most people would agree that the new emacsclient features are > a definite improvement. We are not talking about the features when wanting to avoid regressions. >> The precondition for trunk in my opinion would be that it does not >> impede workability for those people who are working on different >> parts of Emacs. > > Keep in mind that improving emacsclient behaviour is one of the > primary results of the multi-tty branch. But we don't want secondary results interfering with the work of those who don't make use of the primary results. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum