From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Sharon Kimble Newsgroups: gmane.emacs.help Subject: Re: a choice of files to open? Date: Mon, 06 Feb 2017 14:02:27 +0000 Message-ID: <8760kna03w.fsf@skimble.plus.com> References: <87o9ygyexd.fsf@skimble.plus.com> <20170205134819.vjav77qd3aizhl57@doriath.local> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1486389814 897 195.159.176.226 (6 Feb 2017 14:03:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2017 14:03:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 15:03:24 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cajt5-0008BF-IN for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Feb 2017 15:03:23 +0100 Original-Received: from localhost ([::1]:47754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cajtB-0003ku-2s for geh-help-gnu-emacs@m.gmane.org; Mon, 06 Feb 2017 09:03:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cajsR-0003kI-R3 for help-gnu-emacs@gnu.org; Mon, 06 Feb 2017 09:02:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cajsM-0004R9-NU for help-gnu-emacs@gnu.org; Mon, 06 Feb 2017 09:02:43 -0500 Original-Received: from avasout05.plus.net ([84.93.230.250]:54353) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cajsM-0004NE-Fa for help-gnu-emacs@gnu.org; Mon, 06 Feb 2017 09:02:38 -0500 Original-Received: from london.london ([147.147.166.222]) by avasout05 with smtp id hS2a1u0054oDnR701S2bL3; Mon, 06 Feb 2017 14:02:36 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.2 cv=Hr8GIwbS c=1 sm=1 tr=0 a=C48rTg+m2wDIKFKuoJ7VJA==:117 a=C48rTg+m2wDIKFKuoJ7VJA==:17 a=pGLkceISAAAA:8 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=1sfP4HFOisD17JdktG4A:9 a=eMWc3KPot084Wkyv:21 a=bFuFHudwhqdLwlea:21 a=QEXdDO2ut3YA:10 a=iuyZulZPadtjglCCgxAA:9 a=ONNS8QRKHyMA:10 a=6kGIvZw6iX1k4Y-7sg4_:22 a=diwpeB1DDhFXqWA7J4Up:22 a=KxyM1Xthmv57RbWRIpnN:22 X-AUTH: skimble@:2500 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") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 84.93.230.250 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112258 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ernest Adrogu=C3=A9 writes: > 2017-02- 5, 12:56 (+0000); Sharon Kimble escriu: >>=20 >> 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 - =2D-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")) =20=20 (global-set-key (kbd "M-s-v") 'carve-up4) #+end_src [2017-02-05 Sun 12:32] =2D-8<---------------cut here---------------end--------------->8--- But I want to be given the choice of - =2D-8<---------------cut here---------------start------------->8--- ~/research/death/death.bib ~/research/heating/heating17.bib And others =2D-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. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.6, fluxbox 1.3.5-2, emacs 25.1.1.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYmIH0AAoJEDaBgBkK+INbVxYQAKfJfQezYE4617dIvljtQP6P 4KUdmO6kdjaXQlh7w9QZ2zUx4WBL/Kv1dm8ygxZ6u6Sy73NlW7dY6A2ZMls1AKpb +opvVKGLntlsmFOcbBBb/OZ/ZfuozDFv94fLZ5yI4BXT6SQTFNclxyV5V3Y8Xnb0 zUn8fGMgeSIXB6V8/AGjVPC6P8Kmz4zSDNMZnmUFpytiG6h9fdvgPitv5Envl9ay oVnpb4P5VUe0sBAobldMbuEfjcxF8BtjNrgNlqz9l3MOunMOFINRW1ToB6CJ9fTr j32Tfbq/RVANhvInrzQjm0TGJGH4Diix/rC7BNtJnS3cIYvdk3yew3aN03ZIgW++ dDM750/cOLddLlD9lZbQZnSIVObK4Tj0IzQ5CMHphGQY/TubQ6GVhmwM9I2NWlq3 OUunLfsJF7+7WbtnJZm9No8kvDsI6Jkg6IPTUojR0yEPXP6gPnuZpdY0uXGLWgDC n/X1KVKJuhha6wTxIEq4ykT4Y3iccUUILxcsTCKTz5uxi8Hgdk3pukc8Z+NipjJ1 8VrJlPP0uc9eoPPbcIo8y8YACuxnzviBDg4kKJWkTfJ7e/WpoLSZCi6tSkaniY5X 8C/wMVJ72EhJVxHo+pO5zF4IKSUbGotfXPMN9iJbWivjRxJryBvPOihJnozs3L6D w+S1SNYBBFPjNmXZVbF/ =ousi -----END PGP SIGNATURE----- --=-=-=--