[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a choice of files to open?
From: |
Sharon Kimble |
Subject: |
Re: a choice of files to open? |
Date: |
Mon, 06 Feb 2017 14:02:27 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
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 -
--8<---------------cut here---------------start------------->8---
#+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]
--8<---------------cut here---------------end--------------->8---
But I want to be given the choice of -
--8<---------------cut here---------------start------------->8---
~/research/death/death.bib
~/research/heating/heating17.bib
And others
--8<---------------cut here---------------end--------------->8---
Hence my need for something like a popup menu to show me my choices for
whatever project I'm moving on to.
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.6, fluxbox 1.3.5-2, emacs 25.1.1.1
signature.asc
Description: PGP signature