[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a choice of files to open?
From: |
Nick Dokos |
Subject: |
Re: a choice of files to open? |
Date: |
Mon, 06 Feb 2017 10:37:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
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