From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Keeping replace-buffer-contents runtime in bounds Date: Mon, 25 Feb 2019 21:16:43 +0100 Message-ID: <87o96zsjx0.fsf@gnu.org> References: <87r2c7ze9n.fsf@gnu.org> <83imxil8h6.fsf@gnu.org> <87y365a42g.fsf@gnu.org> <87k1hoidq6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="17549"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , Emacs developers To: Philipp Stephani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 25 21:17:00 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyMgO-0004Rf-Gt for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2019 21:17:00 +0100 Original-Received: from localhost ([127.0.0.1]:43801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyMgN-0005Q4-E2 for ged-emacs-devel@m.gmane.org; Mon, 25 Feb 2019 15:16:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyMgH-0005Pn-GD for emacs-devel@gnu.org; Mon, 25 Feb 2019 15:16:54 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyMgE-0007MP-0j; Mon, 25 Feb 2019 15:16:51 -0500 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:58043) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1gyMgD-0008L2-RN; Mon, 25 Feb 2019 15:16:49 -0500 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id 08FFE22F1B; Mon, 25 Feb 2019 15:16:49 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 25 Feb 2019 15:16:49 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrudejgddufeeiucdltddurdegtdelrddttd dmucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfquhht necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufhffjgfkfgggtgesthdtredttdertdenucfhrhhomhepvfgrshhs ihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucfkphepleefrddvfeeird duvdelrdehvdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhp rghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsug hhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmhenucevlhhushhtvghrufhiiigv pedt X-ME-Proxy: Original-Received: from thinkpad-t440p (p5dec8134.dip0.t-ipconnect.de [93.236.129.52]) by mail.messagingengine.com (Postfix) with ESMTPA id D78F9E454E; Mon, 25 Feb 2019 15:16:47 -0500 (EST) In-Reply-To: <87k1hoidq6.fsf@gnu.org> (Tassilo Horn's message of "Mon, 25 Feb 2019 07:28:17 +0100") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233613 Archived-At: Tassilo Horn writes: Hi again, >> Thanks. However, the variable replace-buffer-contents-max-secs is >> still present, did you maybe keep it by mistake? > > Of course, yes. Feel free to delete it. Otherwise I'll do it when > I'm back home this evening. Ok, deleted. > And thank you both for fixing my typo in text.texi. However, now we > use "@deffn Command" for replace-region-contents but it is no command. I changed it to @defun because it's no command. I've seen that originally I started it with "@deffn Command" but ended it with @defun. So you've fixed the wrong end. ;-) > Maybe it should be one with interactive spec "a"? But how likely is > it that the replacement function is already an available named > function? Well, after reading the docs for `interactive' again, I guess replace-region-contents could be a command with "X" interactive spec (and a check that the user actually typed in a function). Any objections? Bye, Tassilo