From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#6788: Documentation: `delete-region' should explicity mention its parameters. Date: Thu, 14 Jul 2011 15:41:20 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310652429 3417 80.91.229.12 (14 Jul 2011 14:07:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 14:07:09 +0000 (UTC) Cc: 6788@debbugs.gnu.org To: MON KEY Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 16:07:02 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhMZ9-0003OC-Cv for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 16:06:59 +0200 Original-Received: from localhost ([::1]:56603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhMZ8-00089s-Ad for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 10:06:58 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhMVW-000745-SE for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 10:03:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhMVP-0001PA-Ic for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 10:03:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhMVP-0001Oo-1S for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 10:03:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhMVO-00043n-LQ; Thu, 14 Jul 2011 10:03:06 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2011 14:03:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6788 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 6788-submit@debbugs.gnu.org id=B6788.131065217915566 (code B ref 6788); Thu, 14 Jul 2011 14:03:06 +0000 Original-Received: (at 6788) by debbugs.gnu.org; 14 Jul 2011 14:02:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhMVD-00042q-H0 for submit@debbugs.gnu.org; Thu, 14 Jul 2011 10:02:59 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhMUl-00040x-OV for 6788@debbugs.gnu.org; Thu, 14 Jul 2011 10:02:34 -0400 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=quimbies.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1QhMUW-00072E-Hu; Thu, 14 Jul 2011 16:02:12 +0200 In-Reply-To: (MON KEY's message of "Tue, 3 Aug 2010 15:10:55 -0400") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Depeche Mode's _Some Great Reward_: "Something To Do" X-Hashcash: 1:23:110714:monkey@sandpframing.com::TstbHKTUmkdyucaC:000000000000000000000000000000000000008CIu X-Hashcash: 1:23:110714:6788@debbugs.gnu.org::DjjT/qcVycIUUbss:00000000000000000000000000000000000000000deU6 X-MailScanner-ID: 1QhMUW-00072E-Hu MailScanner-NULL-Check: 1311256932.74403@2qU56ty7T8rkJWJBS3o5Eg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 10:03:06 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48996 Archived-At: MON KEY writes: > While it is reasonable that the docs indicate the _command_ will: > > "Delete the text between point and mark." > > The docstring should also explicitly mention the parameters elsewhere > as delete region can be called programmatically (and probably more > often so than from user input). The following portion: > > "When called from a program, expects two arguments, positions > (integers or markers) specifying the stretch to be deleted." I've now clarified the doc string in Emacs 24. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/