From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#19773: 23.2; kill-rectangle documentation Date: Sun, 03 Jul 2016 22:09:37 -0400 Message-ID: <87mvlyduhq.fsf@users.sourceforge.net> References: <20150204150929.6f439405@pcplat50.interne-mtd> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1467598286 27103 80.91.229.3 (4 Jul 2016 02:11:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2016 02:11:26 +0000 (UTC) Cc: 19773@debbugs.gnu.org To: vincent douzal Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 04 04:11:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bJtL2-0004Xe-A2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Jul 2016 04:10:20 +0200 Original-Received: from localhost ([::1]:44822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJtL1-0004Fu-F6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 22:10:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42951) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJtKp-00047i-JI for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 22:10:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJtKk-0007pe-ER for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 22:10:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJtKk-0007pa-9v for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 22:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bJtKk-0004gQ-2e for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 22:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Jul 2016 02:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19773 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19773-submit@debbugs.gnu.org id=B19773.146759819217981 (code B ref 19773); Mon, 04 Jul 2016 02:10:02 +0000 Original-Received: (at 19773) by debbugs.gnu.org; 4 Jul 2016 02:09:52 +0000 Original-Received: from localhost ([127.0.0.1]:36344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJtKV-0004fm-9D for submit@debbugs.gnu.org; Sun, 03 Jul 2016 22:09:52 -0400 Original-Received: from mail-io0-f181.google.com ([209.85.223.181]:35987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJtKK-0004fJ-4J; Sun, 03 Jul 2016 22:09:41 -0400 Original-Received: by mail-io0-f181.google.com with SMTP id s63so141834882ioi.3; Sun, 03 Jul 2016 19:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=8NSX83GyZoEAGiuN2OAxfKlKQOWEHNRm37fz4Y0bPQM=; b=UX0D+Gh9H6WLtVKWpniW09mARkx2SDtLB2JNltQej/HM1UZYkGaFjySiT2w7V1qL41 WeW5kMoGsJ0PYDBQ2280MEU42hDEBCQv6eHY24uFjc4cyuAPRBXq3h7naHJ1xo6z2ZVo 7GOkh/2IR5ORorQ6Yk7RaUxJTTo+W4/0MHR/OpJyFo3ljQVNvIQTigfWbZEX8abNQIp/ F22ih/YViz9OcQXEb08JLaPixIWpEmh0/nOTrp+U8vI2UrZOUprwxuwlCSDIZj5eGOKx a72mOQrsnqB+QsQfX0YGkyxukn4heJjvEF2hMqJSDHRRVABdX6U0RJBXZqTAz32qrzZe HOSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=8NSX83GyZoEAGiuN2OAxfKlKQOWEHNRm37fz4Y0bPQM=; b=ReU7WMPSSWuFsE+ASa5bUq1gjGuITapZmq11Ve3fRrMTdKMx4IoCH56FNrLaDtbDAN LDfRpkIJbOjGmANM87eoY18bXIC4K6P2tpk7FyPUDWjvL3GXofV0Q0wo48UImzNsGykq O7kV5mcHTm8+qH6AGYa23/TvcLehWXywcq0r4l91GWcVNtDhroTPPqWondQiuNA0lDd/ Ye8fTX/Qw+SN1mYW3Cwy226KK9SCVXTjnG2rcxK8T5NmYEJyQu3yiTdPjG0+3Ld4vaig mdmlzMnzngT7m5tmoWu+hkVq2rt/D8U0VvlfGVBQdbvTftIoMcUlaRL0OnkzPb/3OUGX PrfQ== X-Gm-Message-State: ALyK8tIsYRSMUP6nawSg5uNEy+fSpQucQhR0jAj80MtZAXhS0VowYXo1blD+ZQ+w34B+cw== X-Received: by 10.107.201.80 with SMTP id z77mr8289926iof.109.1467598170780; Sun, 03 Jul 2016 19:09:30 -0700 (PDT) Original-Received: from zony (206-188-64-44.cpe.distributel.net. [206.188.64.44]) by smtp.googlemail.com with ESMTPSA id k4sm383885iok.19.2016.07.03.19.09.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jul 2016 19:09:30 -0700 (PDT) In-Reply-To: <20150204150929.6f439405@pcplat50.interne-mtd> (vincent douzal's message of "Wed, 4 Feb 2015 15:09:29 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) 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:120378 Archived-At: --=-=-= Content-Type: text/plain tags 19773 patch quit vincent douzal writes: > Hello, > > The documentation string for kill-rectangle erroneously speaks about the > kill ring. Rectangles of text are not copied to the kill ring, but in > the variable kill-rectangle, which besides is not a ring. Hmm yeah, looks like copy-pasto. Should we mention the variable name directly in the docstring (as in patch below) or is it better to just say it's "saved"? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=v1-0001-kill-rectangle-should-mention-kill-rectangle.patch Content-Description: patch >From e2455dd16032f21884b39169a70386801a27392a Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sun, 3 Jul 2016 21:40:26 -0400 Subject: [PATCH v1] kill-rectangle should mention kill-rectangle * lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring and warning message, rather than kill ring (Bug#19773). --- lisp/rect.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/rect.el b/lisp/rect.el index 43621d9..8fedce2 100644 --- a/lisp/rect.el +++ b/lisp/rect.el @@ -284,7 +284,7 @@ kill-rectangle deleted. If the buffer is read-only, Emacs will beep and refrain from deleting -the rectangle, but put it in the kill ring anyway. This means that +the rectangle, but put it in `killed-rectangle' anyway. This means that you can use this command to copy text from a read-only buffer. \(If the variable `kill-read-only-ok' is non-nil, then this won't even beep.)" @@ -295,7 +295,7 @@ kill-rectangle (setq deactivate-mark t) (setq killed-rectangle (extract-rectangle start end)) (if kill-read-only-ok - (progn (message "Read only text copied to kill ring") nil) + (progn (message "Read only text copied to `killed-rectangle'") nil) (barf-if-buffer-read-only) (signal 'text-read-only (list (current-buffer))))))) -- 2.8.0 --=-=-=--