From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#32047: 26.1; Misleading/confusing text about `C-k' in TUTORIAL Date: Wed, 11 Jul 2018 16:45:29 -0400 Message-ID: <87efg94i3a.fsf@moondust.localdomain> References: <87o9fn2386.fsf@moondust.localdomain> <83h8l5g3ac.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531341906 18739 195.159.176.226 (11 Jul 2018 20:45:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 11 Jul 2018 20:45:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) Cc: 32047@debbugs.gnu.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 11 22:45:02 2018 Return-path: Envelope-to: geb-bug-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 1fdLyv-0004ih-Iu for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jul 2018 22:45:01 +0200 Original-Received: from localhost ([::1]:55425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdM12-0005jL-MQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 11 Jul 2018 16:47:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdLzz-0005Gt-6C for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2018 16:46:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdLzu-0008N2-4V for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2018 16:46:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48065) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdLzu-0008Mp-0j for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2018 16:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fdLzt-0001Y5-Le for bug-gnu-emacs@gnu.org; Wed, 11 Jul 2018 16:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Jul 2018 20:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32047-submit@debbugs.gnu.org id=B32047.15313419435927 (code B ref 32047); Wed, 11 Jul 2018 20:46:01 +0000 Original-Received: (at 32047) by debbugs.gnu.org; 11 Jul 2018 20:45:43 +0000 Original-Received: from localhost ([127.0.0.1]:55962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fdLzb-0001XX-5j for submit@debbugs.gnu.org; Wed, 11 Jul 2018 16:45:43 -0400 Original-Received: from mail-qk0-f176.google.com ([209.85.220.176]:46127) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fdLzZ-0001XJ-C0 for 32047@debbugs.gnu.org; Wed, 11 Jul 2018 16:45:41 -0400 Original-Received: by mail-qk0-f176.google.com with SMTP id o2-v6so14372086qkc.13 for <32047@debbugs.gnu.org>; Wed, 11 Jul 2018 13:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=hX6FycvVEzulVuolpdJqktT12/7TzM9ILyg34h2ZiFk=; b=Ly7ZHAj63JHBvNir/AnQRen/jwV/XkMYDIzefE4G1DJOXtL8+xYHFdx9mF6MRvpfUp WNUYJ5aLEy6/5UC7NtqMJrzI3/sVdc0iA5rSStBTGOTJwkFP99P9/LyvdVQgId8GMw0/ JKfMI8tVliJ6/uE+e+CafqAzejiyywJYbhkkFnMfxV0KxhG1vgPKTva6hkiZieYpua2E 3LB7dCOeHT6eXFgXwYYkzFZ8amLzpbIDD3PVYmQBH6b7ahkTxOEp/tJ3KahU9jzU0h7u jDwFsn0M9U2SY9uvflHfzEuRt+zYbDy2Xxrm44/nVzctE+1mcAf9Zfwniwm7SqUWtcyi LSXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=hX6FycvVEzulVuolpdJqktT12/7TzM9ILyg34h2ZiFk=; b=MlpYsvG5/8fJgeR3zh7v0ImFGllm7sObj1Xw5nyjEWoKhd1eYo275sJzOXG7Ug2c1U QGjC13ZTREmu6EkVmxQPeC+pQq2mItWPS+0cqQBQ86r4JijJSAPkBzo38Vuoq0JWFeqy C25GhEGYi/ZPkqmpkqiXDCBppssPL5mN1XfjUchdLpA+PlyNxjNwg3amkMtYipt6Rl3q K18StrrLVSC7EDys3NVEXKffOqlxs6j/GvK9OrEMbLu0SLJdLVGFOo1GX8vFS9hFg8pe j76N1JlGrzclgagnaEdxlQBORa6vbICktPrmLMLh3aF/ggiWtlIV4HHeUklFjzESOxpw laKw== X-Gm-Message-State: AOUpUlHIWnjueCxVoU3rFVRf4meIChDvygo/xX1i5uQAKRO+LiClfsEm UlHO77LHJ0hdGGz9KRp+QX6oBg== X-Google-Smtp-Source: AAOMgpfcoiwlx3GNkQZGEzFA3WpzMtl9lp1Fd1FLCmdaMgIXKA+PVcobyc4dgMD0I8YShVyQZJHoRw== X-Received: by 2002:a37:4792:: with SMTP id u140-v6mr184187qka.100.1531341935669; Wed, 11 Jul 2018 13:45:35 -0700 (PDT) Original-Received: from moondust.localdomain.nodomain.none (toroon12-3096782589.sdsl.bell.ca. [184.149.38.253]) by smtp.gmail.com with ESMTPSA id c93-v6sm22250475qkh.90.2018.07.11.13.45.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Jul 2018 13:45:35 -0700 (PDT) In-Reply-To: (Filipp Gunbin's message of "Wed, 11 Jul 2018 22:14:10 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148453 Archived-At: At 22:14 +0300 on Wednesday 2018-07-11, Filipp Gunbin wrote: > >>> 414 >> Move the cursor to the beginning of a line which is not empty. >>> 415 Then type C-k to kill the text on that line. >>> 416 >> Type C-k a second time. You'll see that it kills the Newline >>> 417 which follows that line. >>> 418 >>> 419 Note that a single C-k kills the contents of the line, and a second >>> 420 C-k kills the line itself, and makes all the other lines move up. C-k >>> 421 treats a numeric argument specially: it kills that many lines AND >>> 422 their contents. This is not mere repetition. C-u 2 C-k kills two >>> 423 lines and their Newlines; typing C-k twice would not do that. > I think the doc is clear This is not the documentation of C-k, it is the Emacs Tutorial. > and cannot see what's so special about the beginning of line.. Perhaps you did not read the OP [1]. There's nothing special about the beginning of the line when using C-k to kill the rest of the line, but when C-k is used to "kill the contents of the line" -- as it is in the example -- then point must be at the beginning of the line. The writer of the Tutorial makes an assumption that point is at the beginning of the line without telling the reader of that assumption. [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32047#5