From: Sharon Kimble <boudiccas@skimble.plus.com>
To: help-gnu-emacs@gnu.org
Subject: Re: a choice of files to open?
Date: Mon, 06 Feb 2017 14:02:27 +0000 [thread overview]
Message-ID: <8760kna03w.fsf@skimble.plus.com> (raw)
In-Reply-To: <20170205134819.vjav77qd3aizhl57@doriath.local> ("Ernest \=\?utf-8\?Q\?Adrogu\=C3\=A9\=22's\?\= message of "Sun, 5 Feb 2017 14:48:20 +0100")
[-- Attachment #1: Type: text/plain, Size: 1522 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
next prev parent reply other threads:[~2017-02-06 14:02 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 [this message]
2017-02-06 15:37 ` Nick Dokos
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=8760kna03w.fsf@skimble.plus.com \
--to=boudiccas@skimble.plus.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.