Hi! My name is Eduardo Ochs, and this is
another very short video that I'm
recording for the workshop that is going
to happen in a few hours.
The title of this video is
"Copy from left to right",
and this is the title of this section
here from the exercises. Note that we are
in the "intro" with the exercises,
(find-eev-exercises-intro) is the intro
with the exercises that we're going
to use in the workshop...
and this video is very basic. I'm
probably going to ask people to start by
this video. So, in this video
I'm going to explain a
series of abbreviations and how to
interpret the diagrams.
These abbreviations between square
brackets are names of buffers in a very
abbreviated form...
[EX] means exercises, and here we have an
explanation of what this means... it's:
[EX] is the target of this hyperlink
here...
[J] is (find-eejumps), which is the target
this hyperlink here, or the target of
typing `M-j"...
[N] is "notes"... it's the target of
running this or running `M-1 M-j',
is our buffer with notes,
and [EK], that only appears here in the
second diagram, is the target of this
link here: it's the fake intro that is
not a real intro, it's just an index of
the basic keys of eev and Emacs.
These boxes here...
Note that this box here is a single
box and this one is divided in two...
these boxes represent Emacs frames...
and this one means that the frame
only has one window, this one too...
this one also means a single window, and
this one means that the frame is divided
in two windows, with one at the left
and one at the right...
and here the one at the left displays
the jumps buffer and the one at the
right displays the notes buffer.
These arrows here mean that we go from
this window configuration to this one by
typing these keys, and this
dotted double arrow here means copy and
paste...
no, sorry, it means that something
is being transported from the left side
to the right side...
and this `M21j' is a shorthand
for this thing here, `M-2 M-1 M-j'...
and the idea behind the shorthand is
that we hold the meta key,
then we type 2, 1, j, and then we lift
the meta key...
and this star here means
"as many as we need to"...
so this thing here means "type `M-K'
as many times as we need to"...
and "needs to" in this case means
"...to go to this window configuration
which the exercise buffer is shown".
So, let's copy this thing to our notes
to make things a bit easier...
here they are, and...
now we are going to try to follow these
instructions.
Treat this thing as a score sheet -
in the beginning we take hours to read
the score sheet because we have to count
the lines to discover which position
is which node, and
we have to think a lot to
remember the duration of the notes,
and such things...
so... the main intent of this exercise
is to make people familiar
with these notations, and to make
them spend, say, 5 or 10 minutes
deciphering the instructions here.
These are two different exercises, we
are going to do the first one first, and
the second one second...
and the first one says that we start
here in the buffer with exercises, then
we type `M-j' and we go to the buffer
with the jumps...
and then we type this thing here, and
when we type this we're going to see the
notes at the right...
and we've just cheated and copied these
things to the notes, so then we're going
to be able to follow the instructions
that we have just copied to our notes.
And then... then we'll discuss this later.
Some things are omitted here - I'm going
to show which ones...
Let me use a smaller font here and let
me show what i want people to do in this
exercise.
We are starting here, we are in the
buffer with exercises...
and then we type `M-j' to go to this
situation and `M-21j' to go to this
situation here. So: `M-j', and `M-21j'...
now we have our notes at the
right - we are in this window
configuration, with the notes at the
right... and then these instructions here
mean that we have to type `M-w',
which is "copy to the kill ring", and
then `C-y', which is yank, or copy from
the kill ring...
the diagram doesn't say, but what I want
to copy from the
left window to the right window is all
this header here...
so let me type `M-w' here...
now I'm going to go to the window at the
right and type `C-y' here.
So, that's it: I've copied all this
material to this buffer -
to this file with notes...
and then I have to type `C-x 1',
and `C-x 1' will put me back in a
setting with a single window...
and then as many `M-K's as we need
to go to this situation, in which
we only see the buffer with exercises.
So, let's see how many we need...
one, two... ha! Just two.
Ok, so we are in this situation and now
I'm going to to to explain what I expect
people to do in the second exercise.
The second is very similar,
but instead of going to the jumps buffer
we will type `M-2 M-j', to go to
somewhere else...
remember that when we type just `M-j'
we see some instructions here - some
hints here of some things that are very
important...
and one of them is this one, that says
that `M-2 M-j'
goes to this fake tutorial here...
this one - the list of the basic keys.
So, we are in this first situation,
with the buffer of exercises in the
only window...
we are going to type `M-2j' and
then `M-21j'. Let me do that...
so now we have here the buffer with
Emacs keys - the intro with the
Emacs keys, the [EK] here...
and then... uh, sorry -
we are in this situation, with
the buffer with the Emacs keys
at the left and the notes at the right,
and this notation here indicates that
something has to be...
something has to go from the left side
to the to the right side, and this is by
copying and pasting...
and what I want people to do in this
exercise is: I want them to copy
all this block here, from
"The beginner's way" to these
blank lines here...
and then copy that to the notes.
and that's it. Now the rest of the
instructions say that we need to
type `C-x 1' to
go back to a situation with just one
window,
and then `M-K' as many times as we
need to go back to the buffer with
exercises...
one time, two times... ha.
We're at the exercises now.
So, that's it.
Ok, end of this video.