all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Butler <leo.butler@umanitoba.ca>
To: "Y. E." <yet@ego.team>
Cc: Luca Ferrari <fluca1978@gmail.com>,
	help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: emacs terminology
Date: Fri, 10 Sep 2021 06:02:53 -0500	[thread overview]
Message-ID: <87wnnon15u.fsf@t14.reltub.ca> (raw)
In-Reply-To: <m2fsudbogf.fsf@ego.team> (Y. E.'s message of "Thu, 09 Sep 2021 21:20:32 +0300")

"Y. E." <yet@ego.team> writes:

> Hi Luca,
>
>> this could sound like trolling
>
> To me personally this sounds as a fine question.
>
>> I'm really curious to understand
>> (if possibile) how did Emacs come up with terms like "kill" and
>> "yank".
>> Is there any resource that explains it?
>
> The only source I found investigating this question is this
> SE thread:
>
> https://emacs.stackexchange.com/questions/17056/what-is-the-origin-of-the-term-yank

See the first 3 paragraphs of section 12.1 of the Emacs manual:

#+begin_quote
File: emacs.info,  Node: Deletion and Killing,  Next: Yanking,  Up: Killing

12.1 Deletion and Killing
=========================

Most commands which erase text from the buffer save it in the kill ring
(*note Kill Ring::).  These are known as “kill” commands, and their
names normally contain the word ‘kill’ (e.g., ‘kill-line’).  The kill
ring stores several recent kills, not just the last one, so killing is a
very safe operation: you don’t have to worry much about losing text that
you previously killed.  The kill ring is shared by all buffers, so text
that is killed in one buffer can be yanked into another buffer.

   When you use ‘C-/’ (‘undo’) to undo a kill command (*note Undo::),
that brings the killed text back into the buffer, but does not remove it
from the kill ring.

   On graphical displays, killing text also copies it to the system
clipboard.  *Note Cut and Paste::.

   Commands that erase text but do not save it in the kill ring are
known as “delete” commands; their names usually contain the word
‘delete’.  These include ‘C-d’ (‘delete-char’) and <DEL>
(‘delete-backward-char’), which delete only one character at a time, and
those commands that delete only spaces or newlines.  Commands that can
erase significant amounts of nontrivial data generally do a kill
operation instead.
#+end_quote

Leo




      parent reply	other threads:[~2021-09-10 11:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-08  7:27 emacs terminology Luca Ferrari
2021-09-09 18:20 ` Y. E.
2021-09-10  6:29   ` Eli Zaretskii
2021-09-10 11:21     ` Y. E.
2021-09-10 19:12       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-09-10 11:02   ` Leo Butler [this message]

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=87wnnon15u.fsf@t14.reltub.ca \
    --to=leo.butler@umanitoba.ca \
    --cc=fluca1978@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=yet@ego.team \
    /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.