all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@skimble.plus.com>
To: ken <gebser@mousecar.com>
Cc: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: Re: desktop-read usage and syntax ::error, strange character
Date: Fri, 21 Jul 2017 09:18:38 +0100	[thread overview]
Message-ID: <87mv7y8aox.fsf@skimble.plus.com> (raw)
In-Reply-To: <c6ec7dc8-003b-7d72-1ad4-d52f14f81288@mousecar.com> (ken's message of "Thu, 20 Jul 2017 16:51:07 -0400")

[-- Attachment #1: Type: text/plain, Size: 4281 bytes --]

ken <gebser@mousecar.com> 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 you 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 buffer open in two different
> frames, both visible at the same time. So do tabbar/tabbar-ruler allow that as well, say, by doing
> "C-x 5 b chosen-buf"...? or is it mandated that henceforth all buffers will 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.

--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"))
  
(global-set-key (kbd "C-c C-1") 'carve-up-soldier18-glos)
#+END_SRC
[2017-06-13 Tue 16:08]
--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.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk  
Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.9

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-07-21  8:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18 15:46 desktop-read usage and syntax ::error, strange character ken
2017-07-18 17:07 ` Sharon Kimble
2017-07-18 19:29   ` ken
2017-07-19 11:11     ` Sharon Kimble
2017-07-20 20:51       ` ken
2017-07-21  8:18         ` Sharon Kimble [this message]
2017-07-18 19:59 ` John Mastro
2017-07-18 21:10   ` desktop-read usage and syntax ::error, strange character :: half-SOLVED!!! ken
2017-07-19  6:46     ` Yuri Khan
2017-07-20 22:36       ` ken
2017-07-20 23:00         ` 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=87mv7y8aox.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.com \
    --cc=gebser@mousecar.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.