all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: a choice of files to open?
Date: Mon, 06 Feb 2017 10:37:16 -0500	[thread overview]
Message-ID: <871svb49g3.fsf@gmail.com> (raw)
In-Reply-To: 8760kna03w.fsf@skimble.plus.com

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> Ernest Adrogué <nfdisco@gmail.com> 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




      reply	other threads:[~2017-02-06 15:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-05 12:56 a choice of files to open? Sharon Kimble
2017-02-05 13:48 ` Ernest Adrogué
2017-02-06 14:02   ` Sharon Kimble
2017-02-06 15:37     ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871svb49g3.fsf@gmail.com \
    --to=ndokos@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.