From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nick Dokos Newsgroups: gmane.emacs.help Subject: Re: a choice of files to open? Date: Mon, 06 Feb 2017 10:37:16 -0500 Message-ID: <871svb49g3.fsf@gmail.com> References: <87o9ygyexd.fsf@skimble.plus.com> <20170205134819.vjav77qd3aizhl57@doriath.local> <8760kna03w.fsf@skimble.plus.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1486397289 604 195.159.176.226 (6 Feb 2017 16:08:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2017 16:08:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 17:08:03 2017 Return-path: Envelope-to: geh-help-gnu-emacs@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 1calpi-0008K8-9F for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Feb 2017 17:08:02 +0100 Original-Received: from localhost ([::1]:49237 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1calpn-0001a2-PD for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Feb 2017 11:08:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1calMB-0002LB-Dd for help-gnu-emacs@gnu.org; Mon, 06 Feb 2017 10:37:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1calM8-0002Wu-A2 for help-gnu-emacs@gnu.org; Mon, 06 Feb 2017 10:37:31 -0500 Original-Received: from [195.159.176.226] (port=42275 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1calM8-0002WK-3l for help-gnu-emacs@gnu.org; Mon, 06 Feb 2017 10:37:28 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1calLy-0006Fc-Sa for help-gnu-emacs@gnu.org; Mon, 06 Feb 2017 16:37:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 46 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:c3gH+e41f94prSHWyzy/HCYIRUE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:112259 Archived-At: Sharon Kimble writes: > Ernest Adrogué writes: > >> 2017-02- 5, 12:56 (+0000); Sharon Kimble escriu: >>> >>> How can I issue a command (such as 'M-s-v') which will then give me a >>> choice of 5 or 6 specific files to open, and then open my chosen file in >>> a new buffer in the right half of my emacs screen, please? >> >> If the files are all in the same directory, you can visit the directory >> with dired (C-x d) and open the selected file in another window (C-o). >> >> Another option is to use bookmarks. List bookmarks (C-x r l) and open >> in another window (2). > > This is what I'm currently doing - > > #+begin_src emacs-lisp > (defun carve-up4 () > (interactive) > (delete-other-windows) > (split-window-right) > (other-window 1) > (find-file "~/research/drugs/drugs17.bib")) > > (global-set-key (kbd "M-s-v") 'carve-up4) > #+end_src > [2017-02-05 Sun 12:32] > > > But I want to be given the choice of - > > ~/research/death/death.bib > ~/research/heating/heating17.bib > > And others > > Hence my need for something like a popup menu to show me my choices for > whatever project I'm moving on to. > Check out Filesets: (info "(emacs) Filesets") -- Nick