From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: How to disable undo recording within a defun? Date: Tue, 14 Sep 2021 20:11:57 +0200 Message-ID: <87v9333u36.fsf@telefonica.net> References: <1511127682.419039.1631642669435.ref@mail.yahoo.com> <1511127682.419039.1631642669435@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2951"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: S Boucher To: S Boucher via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 14 20:12:36 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mQCv3-0000W7-Js for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Sep 2021 20:12:33 +0200 Original-Received: from localhost ([::1]:60286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQCv1-0008S4-Ph for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Sep 2021 14:12:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53530) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQCuc-0008Rv-82 for help-gnu-emacs@gnu.org; Tue, 14 Sep 2021 14:12:06 -0400 Original-Received: from relayout02-redir.e.movistar.es ([86.109.101.202]:15063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQCuZ-0006JB-IF for help-gnu-emacs@gnu.org; Tue, 14 Sep 2021 14:12:05 -0400 Original-Received: from sky (234.red-88-17-68.dynamicip.rima-tde.net [88.17.68.234]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout02.e.movistar.es (Postfix) with ESMTPSA id 4H8BJG1Lf9zdddQ; Tue, 14 Sep 2021 20:11:58 +0200 (CEST) In-Reply-To: <1511127682.419039.1631642669435@mail.yahoo.com> (S. Boucher via Users list for the's message of "Tue, 14 Sep 2021 18:04:29 +0000 (UTC)") X-TnetOut-Country: IP: 88.17.68.234 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout02 X-TnetOut-MsgID: 4H8BJG1Lf9zdddQ.A046C X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1632247918.55836@snw/GuJVlk5LHkP+VjLMJg Received-SPF: softfail client-ip=86.109.101.202; envelope-from=ofv@wanadoo.es; helo=relayout02-redir.e.movistar.es X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133050 Archived-At: S Boucher via Users list for the GNU Emacs text editor writes: > I'm writting a defun, and would like to disable entirely the recording > of undo information while this function is executing. Is this > possible?=C2=A0 If so, what is the way to do this? Thanks, See function buffer-disable-undo and variable buffer-undo-list.