From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: suvayu ali Newsgroups: gmane.emacs.help Subject: Re: elisp: Text-based file-chooser Date: Wed, 5 Jan 2011 15:11:34 -0800 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1294269708 1509 80.91.229.12 (5 Jan 2011 23:21:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 5 Jan 2011 23:21:48 +0000 (UTC) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 06 00:21:43 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pacfn-0006hU-FZ for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Jan 2011 00:21:43 +0100 Original-Received: from localhost ([127.0.0.1]:57108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PacWp-0003Ip-FL for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Jan 2011 18:12:27 -0500 Original-Received: from [140.186.70.92] (port=50664 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PacWT-0003GQ-FV for help-gnu-emacs@gnu.org; Wed, 05 Jan 2011 18:12:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PacWK-0002Vq-3H for help-gnu-emacs@gnu.org; Wed, 05 Jan 2011 18:11:57 -0500 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:33123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PacWJ-0002VL-Te for help-gnu-emacs@gnu.org; Wed, 05 Jan 2011 18:11:56 -0500 Original-Received: by fxm12 with SMTP id 12so8992773fxm.0 for ; Wed, 05 Jan 2011 15:11:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=f2GzXuDRSRa0cnQQxYcFnKPAASHqftKRLCtcAmzmJiE=; b=pCeas9rA5N/TbBuSmsA4WqyhDWBTbT/usRHp/fdkn+GS+WCgrqslZkAce5JR9pd6U4 WYS/OBajZQE4XSNiNbf2NUmUqWyxB8Y9KM5m7IRBfKO6FK7AlDHf8HCfIEvrAmBlotp4 J6uUDjeAYYd0AELD2MsJpHv+itFFBQFwGjjDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=OEoc/V9xa9jijrBzO5Ujf2fqArpnc1jF2QLb6PRRmPQbYzyT+uABi9Hicj6o6yaSkO vQGebZYGC8ARE2JtYhpsE4dGBcPNL52rCBcck+4JtfEB852fZyoMn1PDVrYBvP9xIjBE F55s1N09S9CGDyEryhz9a361PXhtVmo4eARV8= Original-Received: by 10.223.89.139 with SMTP id e11mr649737fam.69.1294269114467; Wed, 05 Jan 2011 15:11:54 -0800 (PST) Original-Received: by 10.223.71.207 with HTTP; Wed, 5 Jan 2011 15:11:34 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: 9dLiKMCDU5MpPlaBDbppjC_d40o X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78240 Archived-At: Hi, On Wed, Jan 5, 2011 at 2:16 PM, Larry Kohlman wrote= : > On Wed, 05 Jan 2011 11:06:59 -0800, Drew Adams wrote: > >>> > So I guess you're saying that you do not want (necessarily) to visit >>> > the file, you just want to read a file name. >>> >>> Exactly. >>> >>> > But you do not want to use the >>> > "GUI file selector", by which I suppose you mean a file-selection >>> > dialog box. =A0Is that it? >>> >>> I want a file-browsing dialog box, but I want it to be text-mode so it >>> can be used on a raw terminal or inside an xterm. >> >> Dunno what such an animal is or how you get it. =A0By "dialog box" I mea= nt >> a graphic dialog box, not available from a terminal. > > Dialog boxes don't have to be graphical. In fact Linux has an old > utility called "dialog" that's used by scripts to put up different kinds > of dialog boxes on a purely text console. I haven't followed the discussion very closely, but looks like all you want is a way to browse a directory tree and select file names (or file paths) and use it later. If that is what you want why not give dired another look with `(put 'dired-find-alternate-file 'disabled nil)' to browse and to copy file names use `w', to copy the full path `0 w' (C-h f dired-copy-filename-as-kill RET)? --=20 Suvayu Open source is the future. It sets us free.