* a choice of files to open?
@ 2017-02-05 12:56 Sharon Kimble
2017-02-05 13:48 ` Ernest Adrogué
0 siblings, 1 reply; 4+ messages in thread
From: Sharon Kimble @ 2017-02-05 12:56 UTC (permalink / raw)
To: help-emacs
[-- Attachment #1: Type: text/plain, Size: 357 bytes --]
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?
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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: a choice of files to open?
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
0 siblings, 1 reply; 4+ messages in thread
From: Ernest Adrogué @ 2017-02-05 13:48 UTC (permalink / raw)
To: help-gnu-emacs
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).
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: a choice of files to open?
2017-02-05 13:48 ` Ernest Adrogué
@ 2017-02-06 14:02 ` Sharon Kimble
2017-02-06 15:37 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: Sharon Kimble @ 2017-02-06 14:02 UTC (permalink / raw)
To: help-gnu-emacs
[-- 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 --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: a choice of files to open?
2017-02-06 14:02 ` Sharon Kimble
@ 2017-02-06 15:37 ` Nick Dokos
0 siblings, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2017-02-06 15:37 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-02-06 15:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).