* A clarification on the Emacs Tutorial
@ 2011-07-22 17:50 Sivaram Neelakantan
2011-07-22 18:16 ` Perry Smith
2011-07-22 18:53 ` Eli Zaretskii
0 siblings, 2 replies; 4+ messages in thread
From: Sivaram Neelakantan @ 2011-07-22 17:50 UTC (permalink / raw)
To: help-gnu-emacs
So, I had some free time and was going through the tutorial and came
to this part
Note that a single C-k kills the contents of the line, and a second
C-k kills the line itself, and makes all the other lines move up. C-k
treats a numeric argument specially: it kills that many lines AND
their contents. This is not mere repetition. C-u 2 C-k kills two
lines and their newlines; typing C-k twice would not do that.
Right, I *know* this,OK? I understand this perfectly but could you
tell me what's that sentence "This is not mere repetition" for? I
can't see what that sentence is trying to say in context. If I remove
that sentence it makes perfect sense but maddeningly I can't figure
what that sentence is trying to convey.
Anyone?
sivaram
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: A clarification on the Emacs Tutorial
2011-07-22 17:50 A clarification on the Emacs Tutorial Sivaram Neelakantan
@ 2011-07-22 18:16 ` Perry Smith
2011-07-22 18:56 ` Johnny
2011-07-22 18:53 ` Eli Zaretskii
1 sibling, 1 reply; 4+ messages in thread
From: Perry Smith @ 2011-07-22 18:16 UTC (permalink / raw)
To: Sivaram Neelakantan; +Cc: help-gnu-emacs
On Jul 22, 2011, at 12:50 PM, Sivaram Neelakantan wrote:
> So, I had some free time and was going through the tutorial and came
> to this part
>
> Note that a single C-k kills the contents of the line, and a second
> C-k kills the line itself, and makes all the other lines move up. C-k
> treats a numeric argument specially: it kills that many lines AND
> their contents. This is not mere repetition. C-u 2 C-k kills two
> lines and their newlines; typing C-k twice would not do that.
>
> Right, I *know* this,OK? I understand this perfectly but could you
> tell me what's that sentence "This is not mere repetition" for? I
> can't see what that sentence is trying to say in context. If I remove
> that sentence it makes perfect sense but maddeningly I can't figure
> what that sentence is trying to convey.
>
> Anyone?
I believe the author with that sentence is mostly trying to say "hey!
look!. this might not be what you are expecting". I think an English
prof (or teacher) would hammer that the "this" refers to something
outside of the sentence which is weak and in fact does not reference
anything concrete. But, a creative writing prof would counter that it
is a deliberate attempt to pause the reader.
The gist is summarized with the last compound sentence.
HTH
pedz
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: A clarification on the Emacs Tutorial
2011-07-22 18:16 ` Perry Smith
@ 2011-07-22 18:56 ` Johnny
0 siblings, 0 replies; 4+ messages in thread
From: Johnny @ 2011-07-22 18:56 UTC (permalink / raw)
To: Perry Smith; +Cc: Sivaram Neelakantan, help-gnu-emacs
Perry Smith <pedzsan@gmail.com> writes:
>> Note that a single C-k kills the contents of the line, and a second
>> C-k kills the line itself, and makes all the other lines move up. C-k
>> treats a numeric argument specially: it kills that many lines AND
>> their contents. This is not mere repetition. C-u 2 C-k kills two
>> lines and their newlines; typing C-k twice would not do that.
>>
>> Right, I *know* this,OK? I understand this perfectly but could you
>> tell me what's that sentence "This is not mere repetition" for? I
>> can't see what that sentence is trying to say in context. If I remove
>> that sentence it makes perfect sense but maddeningly I can't figure
>> what that sentence is trying to convey.
>>
>> Anyone?
>
> I believe the author with that sentence is mostly trying to say "hey!
> look!. this might not be what you are expecting". I think an English
> prof (or teacher) would hammer that the "this" refers to something
> outside of the sentence which is weak and in fact does not reference
> anything concrete. But, a creative writing prof would counter that it
> is a deliberate attempt to pause the reader.
>
> The gist is summarized with the last compound sentence.
I think the statement makes perfect sense.
By providing the universal argument to the command, you will "not
merely" repeat the command that number of times. In fact, providing
the universal argument 1 is not doing the same as just runnning the
command once; hence, it is not "merely repeating".
regards,
--
Johnny
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: A clarification on the Emacs Tutorial
2011-07-22 17:50 A clarification on the Emacs Tutorial Sivaram Neelakantan
2011-07-22 18:16 ` Perry Smith
@ 2011-07-22 18:53 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2011-07-22 18:53 UTC (permalink / raw)
To: help-gnu-emacs
> From: Sivaram Neelakantan <nsivaram.net@gmail.com>
> Date: Fri, 22 Jul 2011 23:20:30 +0530
>
> So, I had some free time and was going through the tutorial and came
> to this part
>
> Note that a single C-k kills the contents of the line, and a second
> C-k kills the line itself, and makes all the other lines move up. C-k
> treats a numeric argument specially: it kills that many lines AND
> their contents. This is not mere repetition. C-u 2 C-k kills two
> lines and their newlines; typing C-k twice would not do that.
>
> Right, I *know* this,OK? I understand this perfectly but could you
> tell me what's that sentence "This is not mere repetition" for? I
> can't see what that sentence is trying to say in context. If I remove
> that sentence it makes perfect sense but maddeningly I can't figure
> what that sentence is trying to convey.
That sentence is trying to convey that "C-u 2 C-k" is not the same as
"C-k C-k". The "normal" effect of "C-u 2" before a command is to
perform that command twice; the text is trying to explain that in this
case, "C-u 2" is not just repetition of "C-k" 2 times.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-22 18:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22 17:50 A clarification on the Emacs Tutorial Sivaram Neelakantan
2011-07-22 18:16 ` Perry Smith
2011-07-22 18:56 ` Johnny
2011-07-22 18:53 ` Eli Zaretskii
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.