From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: How to switch off autobackup for files loaded from tramp? Date: Mon, 29 Jan 2024 19:52:14 +0100 Message-ID: <87o7d4dlb5.fsf@ledu-giraud.fr> References: Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34544"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Steinar Bang Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 29 19:52:55 2024 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 1rUWkY-0008o3-IQ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Jan 2024 19:52:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUWk4-0003HI-Gq; Mon, 29 Jan 2024 13:52:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUWk2-0003H8-Dh for help-gnu-emacs@gnu.org; Mon, 29 Jan 2024 13:52:22 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rUWk0-0005rn-CD for help-gnu-emacs@gnu.org; Mon, 29 Jan 2024 13:52:22 -0500 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=iOfQwPK3 2NUGPwv1UpK/mJvdnhLGFqU96JTsYKRKqfI=; h=date:references:in-reply-to: subject:cc:to:from; d=ledu-giraud.fr; b=XPLL370wYrXYrKjWvfYDI3L9N3aoAb NDMzhzimOO+oQkmPeNfaT6HfO6JHV24OD72jYhd+41FBo20Cv2VnBPAw== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=iOfQwPK32NUGPwv1 UpK/mJvdnhLGFqU96JTsYKRKqfI=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=At6XdppNSaW7VOqY5AAP4PWsswa8RBfzUCceL5 DcvK20ho4A7a0cuIcBhfir/dO9QNdJi5SNlAukZ0k0hcfSUaBI3ZgAfz7m6iWrr8xKN6kg QpXLxaJeEk6XbTwwioXOj3vLkiknIHdew8aEV/+eQiyWBkLDjMnvRcJRxhPkwRWBGn6GqN UcC60dQUAG/0JMqZvpwvrc4Tpd+F7zQiVJTuwDA4j8x7ICivhMsEY875wouzWHbpRhJb+N PvxX4/keW4J+WQvSO4IPgC6z9SNB02cVxQf38XpEhP5LJtEKH5o4MtdUeXus7zirw16Bal yd/SvddFw1zBTU3JZi7MPSnw== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id b2e45ced (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 29 Jan 2024 19:52:16 +0100 (CET) In-Reply-To: (Steinar Bang's message of "Mon, 29 Jan 2024 12:13:45 +0100") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145818 Archived-At: Steinar Bang writes: [...] > Anyway: does someone have a current, working, config that will disable > autobackup on files loaded from tramp? Hi, I have this in my init file: --8<---------------cut here---------------start------------->8--- (setq backup-enable-predicate (lambda (name) (and (normal-backup-enable-predicate name) (not (file-remote-p name))))) --8<---------------cut here---------------end--------------->8--- -- Manuel Giraud