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: desktop-read usage and syntax ::error, strange character Date: Fri, 21 Jul 2017 09:18:38 +0100 Message-ID: <87mv7y8aox.fsf@skimble.plus.com> References: <6b820ba4-770c-1d87-7b4c-a582f1830dbb@mousecar.com> <87r2xdishp.fsf@skimble.plus.com> <9bb76a5b-e28b-1c17-e51a-e6b6c925e8d5@mousecar.com> <87fudshea5.fsf@skimble.plus.com> 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 1500625190 29510 195.159.176.226 (21 Jul 2017 08:19:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Jul 2017 08:19:50 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: GNU Emacs List To: ken Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 21 10:19:44 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 1dYT9s-0006YS-07 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jul 2017 10:19:36 +0200 Original-Received: from localhost ([::1]:41643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYT9r-0000oI-00 for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jul 2017 04:19:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYT9C-0000nG-QV for help-gnu-emacs@gnu.org; Fri, 21 Jul 2017 04:18:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYT98-0005Zp-N5 for help-gnu-emacs@gnu.org; Fri, 21 Jul 2017 04:18:54 -0400 Original-Received: from avasout07.plus.net ([84.93.230.235]:45119) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dYT98-0005Y8-Ce for help-gnu-emacs@gnu.org; Fri, 21 Jul 2017 04:18:50 -0400 Original-Received: from London.london ([31.185.147.16]) by avasout07 with smtp id nLJm1v0050MTadK01LJnwm; Fri, 21 Jul 2017 09:18:47 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.2 cv=CrLPSjwD c=1 sm=1 tr=0 a=ljAp/NMcg50riqJ2O12TGw==:117 a=ljAp/NMcg50riqJ2O12TGw==:17 a=bcuNfS2tAAAA:8 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=bAHfVwKlAAAA:8 a=nvU28paH9iyVKvA2KVwA:9 a=VBYqMRYzYIK8gUR2:21 a=Ui6TB0Op2XSPeKwI:21 a=33a-MEzzaHKASfUBqIYA:9 a=ONNS8QRKHyMA:10 a=2iEpd6kxTB4J_4CIRm0H:22 a=diwpeB1DDhFXqWA7J4Up:22 a=KxyM1Xthmv57RbWRIpnN:22 a=fjrkRJ71zQ2jzMzczd-K:22 X-AUTH: skimble@:2500 In-Reply-To: (ken's message of "Thu, 20 Jul 2017 16:51:07 -0400") 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.235 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:113803 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable ken writes: > On 07/19/2017 07:11 AM, Sharon Kimble wrote: >>> Sharon, thanks for your reply. There's a lot there though which I'm not= understanding. For >>> instance, what do you meanfur that you 'restore them from memory'? And= what is tabbar...? and what >>> are tabs? >> I remember what files I had open before the 'emacs.desktop' corruption >> and I then use that memory to help me load them back into emacs. It just >> uses brain power and brain memory to tell me what buffers I had open, >> and which I therefore need to reload. > > :-D That was my second choice for interpretations. The first was that y= ou had an app to search > through RAM. Back in the DOS days there was such a thing. Haven't heard= of such a creature for > Linux (though it wouldn't be a huge job to code it). > >> Tabbar and tabbar-ruler [fn:1] help you by having each buffers title >> shown in tabs at the top of the emacs buffer. These tabs are similar to >> the tabs you can find in most internet browsers, think firefox, >> chromium, Vivaldi, etc. You can move very easily between them by using >> your mouse, or perhaps keyboard but I'm not sure of that. Anyway, every >> buffer is a tab, and tabs are grouped together dependant on their major >> mode. So all elisp buffers are grouped together, and ditto with >> org-mode, etc. Both programs are available from ELPA, and if you're >> still using your mouse then they're very worthwhile. > > Okay, thanks. That sounds cool. Yeah, I'm well aware of tabs in general= , but had never seen or > heard of them for emacs. Sounds like that would be handy in situations..= . though many times I need > to have two buffers visible at the same time, or also one and the same bu= ffer open in two different > frames, both visible at the same time. So do tabbar/tabbar-ruler allow th= at as well, say, by doing > "C-x 5 b chosen-buf"...? or is it mandated that henceforth all buffers wi= ll be tabbed and only so > (so long as tabbar/tabbar-ruler is invoked)? Yes you can have two buffers open at the same time, if your monitor is big enough to display them without the text being so miniscule that it hurts your eyes! :) I regularly have two buffers open, either side by side or one above the other when I'm writing an ebook in org-mode and I want to add a reference to the bibliography or a reference in the glossary. =2D-8<---------------cut here---------------start------------->8--- #+BEGIN_SRC emacs-lisp (defun carve-up-soldier18-bib () (interactive) (delete-other-windows) (split-window-right) (other-window 1) (find-file "~/research/soldier/soldier-1939-1945/soldier18.bib")) (global-set-key (kbd "C-c C-0") 'carve-up-soldier18-bib) #+end_src [2017-06-13 Tue 16:09] #+begin_src emacs-lisp (defun carve-up-soldier18-glos () (interactive) (delete-other-windows) (split-window-below) (other-window 1) (find-file "~/research/soldier/soldier-1939-1945/soldier18.glos")) =20=20 (global-set-key (kbd "C-c C-1") 'carve-up-soldier18-glos) #+END_SRC [2017-06-13 Tue 16:08] =2D-8<---------------cut here---------------end--------------->8--- That's the code for just one of my books to split the screen, and then just use 'Remove other windows' from the "File" menu to revert back to your main working buffer. Once you get the hang of it, you'll start moving just using the keyboard and your mouse usage decreases. And yes, you can have the same buffer opened in different views (side-by-side or one above the other) and showing different places in the same file. I find that in that situation its easiest to use org-mode so you can then easily get to the section that you want to work on. I also use 'multiple cursors' from ELPA to help in navigating round a big document to the various sections that you might be using all at the same time. Imenu also helps a lot too. It is possible to 'turn off' tabbar by toggling the tabs, and I've done it occasionally but I find them so useful that I don't generally bother. Hope this helps? Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk DrugFacts =3D https://www.drugfacts.org.uk=20=20 Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.9 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAllxuN4ACgkQNoGAGQr4 g1sUHA/9F1M2VqWxlA1b1eZcSOXlaA8GdyUNN4Zv1D3suAMkbWyMVIJKAisPaaj0 MHN4WcvQeq84BV2+Ca/SCgJCU3LZsYKEoCXrNdDJ2flFm07SOhn7acqnvgr9fe5J z4jZHEP64EBCp694dVNh6vyp9+8fUi6Pmqb6sJ4n4k16Wf4mYSyYDIne8r1xdDly JwDhQUwv8iBMnvkjlhKRfCocKoxTsiFiBL1PjvAvrBHvYiPWK4eKp8iYwDTrpBev WBVZ2cotUv0oIxS4g1D2flnlmATDSqYya7ty5kGkefW8XJq5fP56z0Rk32T8hDVx 0qLZlrbkboz7oq/KeV6ZGBqahCaIHs+qb5gTrNELn+6HD3HcMId44X5ixFnWkfQi Lt4ElpIVi97Jn6/LMzZX4L/NekgY6ibGoDbAsiF0eh3apnAshup+sS3NLnBFllIx gv1TJpUHdgrmE64/0Xxt4n7DuL9VegXIsdX6VkPQHBZQXEqbz08V7GLTHm58kkEM u1wxSVmE/OVyYCtSnjMSY/VQPrlrgqxo0gyS9fw1ppYjveDOKhPCKX+qA44mFMQf CQbWOAL+IzI4babMnBH+x5sYaUka91oT7c7zowQDcYjsATidawu7GX8XSNtyvifL oDIji22nApat58Np0EinSZwQuCxGKwoYG+Zeih4hoZ1Q3pBYEjA= =6RIZ -----END PGP SIGNATURE----- --=-=-=--