From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: emacs <--> file-browser as coroutines Date: Mon, 27 Jun 2016 16:09:01 +0600 Message-ID: References: <7997232e-00f4-43f4-a1fc-54eb000470ff@googlegroups.com> 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 1467022201 11763 80.91.229.3 (27 Jun 2016 10:10:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2016 10:10:01 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Rusi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 27 12:10:01 2016 Return-path: Envelope-to: geh-help-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 1bHTUO-0003ZD-Qz for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2016 12:10:00 +0200 Original-Received: from localhost ([::1]:57685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHTUO-0002bL-3b for geh-help-gnu-emacs@m.gmane.org; Mon, 27 Jun 2016 06:10:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHTTo-0002a6-4t for help-gnu-emacs@gnu.org; Mon, 27 Jun 2016 06:09:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHTTm-0003Vr-2z for help-gnu-emacs@gnu.org; Mon, 27 Jun 2016 06:09:23 -0400 Original-Received: from mail-lf0-x231.google.com ([2a00:1450:4010:c07::231]:33309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHTTl-0003Vn-RW for help-gnu-emacs@gnu.org; Mon, 27 Jun 2016 06:09:22 -0400 Original-Received: by mail-lf0-x231.google.com with SMTP id f6so152550426lfg.0 for ; Mon, 27 Jun 2016 03:09:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=n/4DWWQaAY7mZc6XC+fv5OsUoapsxjwFOkKRb45ez1U=; b=E4QPjhXDn/xDPZR2rW+pefukE8n42DvEnkwUkG2VT0TdCipZdS1KhFhawHQpkf8kbZ 6KOJJ5jzF6V1BFAhZwzRBQ69Z+8jQJ01Q9hP0MaWOECM+bj/ozjs0Osg5Q/3tPnCcDof D/QX/6Kkea0rMj4QNnL13HxsG3GZs2euqAfCBlFbK5N0ttX6dPxdlh39Cvn0ftVo/7bC tY5d9XiaaKLhTU8pyHaqQUsF0ANvmD7MLRXsk9RLBpnjnxEjMPSCHRTBRgt6XbHzmsOh GjThZ84WOq3Pk9P2fKqpoA3Ws8vA4a8TdfL6YIgQBjtoJnkOUl6igaa9MB7HuwdEGPR/ fi1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=n/4DWWQaAY7mZc6XC+fv5OsUoapsxjwFOkKRb45ez1U=; b=AlU4AcnfWINQLRvJNobVQs6wxhsxszL9z/IfJ7r2TzhLRQX0BpSwH9SBg8+zwT90WJ ikjX89Pn8Lmx+Ppe/StO/ahiKpNWe44w1SxvOEJz3dMUuSH7Ak5aA76HgmjnzSvl2kgx dSyyO8zqggridiz58yGO68YQdIBgeeLP0P49PWjF78i5eRlNkyUJWWwDTTdDfjTEnm92 CrlU1F1PriVa+XiUHzJBYayUV1lpbxfQV+mS9oCQ0q6Eb36AIavaVuHaqnuNi7Iv0Ma3 Nt3DciTHU7LMEqIzCQX1ptF4dR/ljbj6vSHke0w0BBg1PsfjUvB4nRBATnFP4oT8VM/B ppmA== X-Gm-Message-State: ALyK8tKNb183TGEwmTAwKSbkL2T7WAuA9W0Ej706IBcCkGQ2iKdl7hR3c9HLOJu6jJk7ClLzzp5hV+uUnzdSow== X-Received: by 10.25.139.68 with SMTP id n65mr4495152lfd.203.1467022161176; Mon, 27 Jun 2016 03:09:21 -0700 (PDT) Original-Received: by 10.114.182.164 with HTTP; Mon, 27 Jun 2016 03:09:01 -0700 (PDT) In-Reply-To: <7997232e-00f4-43f4-a1fc-54eb000470ff@googlegroups.com> X-Google-Sender-Auth: rRLoGQ3RornTt36XpI4d2uOkBXQ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:110609 Archived-At: On Mon, Jun 27, 2016 at 3:14 PM, Rusi wrote: >> The file manager as such is usually not an appropriate method of >> asking for a file name in response to an Open File command; that calls >> for a modal dialog. > > The question (at least the 2nd part) could well be: > Why are we stuck on Open File being modal? No particular reason, just that most other editors already work that way. > Just strengthens the alternative model I was suggesting: > - Keep both emacs and file browser open > - Navigate to files one desires to view/edit in the browser > - Drag-n-drop into emacs as required > > The one thing I miss is an option to ensure that only one browser window = opens > There seems to have been one such in the past but now cant find it That=E2=80=99s very dependent on the platform and the actual file manager i= n use. In practice, it is ensured by not starting the file manager from the editor. If you arrange for no more than one instance of file manager opened on startup, and for Emacs to run as a daemon, and for Emacsclient to be started from the file manager, that will be sufficient. The user can then opt to start more instances of the file manager, or open more Emacs frames, or both, as demanded by his/her workflow. Also, it might be a good idea to start Emacs with a Dired open at the user=E2=80=99s home or Documents directory. That=E2=80=99s one more workflo= w for opening files in Emacs; one that I personally use the most.