From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GC86KerHx2Mw7AAAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 11:20:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mIU2KerHx2OGCwAA9RJhRA (envelope-from ) for ; Wed, 18 Jan 2023 11:20:26 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 64E8AF151 for ; Wed, 18 Jan 2023 11:20:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pI5Xc-0005fJ-J1; Wed, 18 Jan 2023 05:19:36 -0500 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 1pI5Xb-0005fA-D9 for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 05:19:35 -0500 Received: from netyu.xyz ([152.44.41.246] helo=mail.netyu.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pI5XZ-0000kU-JR for emacs-orgmode@gnu.org; Wed, 18 Jan 2023 05:19:35 -0500 Received: from fw.net.yu.netyu.xyz ( [222.248.4.98]) by netyu.xyz (OpenSMTPD) with ESMTPSA id a0b937cf (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 18 Jan 2023 10:19:27 +0000 (UTC) References: <25543.50706.554658.6937@gargle.gargle.HOWL> User-agent: mu4e 1.8.13; emacs 29.0.60 To: alain.cochard@unistra.fr Cc: emacs-orgmode@gnu.org Subject: Re: .org.bak files are in Org mode -- intended? Date: Wed, 18 Jan 2023 18:18:16 +0800 In-reply-to: <25543.50706.554658.6937@gargle.gargle.HOWL> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=152.44.41.246; envelope-from=ruijie@netyu.xyz; helo=mail.netyu.xyz X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Ruijie Yu From: Ruijie Yu via "General discussions about Org-mode." Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674037226; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Ach+rDcZBQmKDxjQn583XZQ21hkUggOfonWa3fKxyEQ=; b=JTmv7vV2s4Guv5rfNjhSur27cCySnNyuYP0iZw078mISG47KTrxRRyNSC8jl7U5k6X90vj FlGkrtr9cyYL/KbiDpLYHcyfFUxjbNSkQCg9G8W+Nwaie9cF7mGcUKJJPdsM4bYHk+Plmi P7pWqLWghK23x98w7zL/D9pLMHCFIj/bNqxPZubzh8GGIxbN/a+k8ytB9DtSHW4Kj3u+av C31pSlsKHgZW5rlHanW6dPzXsQwvAiOL+LCPbfCTEsh2DeOMY8t2TPd26eP0lW8REqLBor niYbAn2xtNfyJNgnqVA1RPwfTtkdWMerLWdERKT7cNjpkZuIzsMqfG0R/sJVJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674037226; a=rsa-sha256; cv=none; b=JFH42Mpa3i/CqKPVRQBAio/t+pmt09H+hxFn+LEK9VLE8m6RXTtipX/ezd6v6tKSht1Gak dBWJnvsARm8kgVPsePZ8mQ6a0V8Vlb8/ZGO0BBQNS3+Jymlb206+AvqXCwyGOLGG+HWtBb L5JqWdPzhhXr/86jtHYX7koyZyTLUAB5XwMTneOi8o0QMf7xUbACDbSMHgfGFS42H3IlT5 SCwiWUJ+TVwHXRFsmGsB6FMDWJhhAvPSIONGE2eBr6E77iLIjGSQw7DIIZOO+dQZUrfFDQ IizM4NzKO6mgz4B8+mV7LHVH3YJez6QLfC9FyPB6tcy8WEZG2l8SKbRQjp8BBA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.93 X-Spam-Score: -0.93 X-Migadu-Queue-Id: 64E8AF151 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: czdctcM4ly2I Alain.Cochard@unistra.fr writes: > I have noticed by chance that files with the .org.bak extension are in > Org mode by default. > > If one does not pay attention, it can lead to mistakes. > > If it is really intended, why not mention it in the manual? (In 1.3, > where it is said that "Files with the =E2=80=98.org=E2=80=99 extension us= e Org mode by > default.") > > Are there other similar cases? > > Also, the names of files generated upon export, although making sense, > cannot be anticipated: while 'foo.org' is latex exported as 'foo.tex' > (as said in the manual), 'foo.org.bak' becomes 'foo.org.tex'. I believe this is not org-specific. Opening "1.txt.bak" makes the buffer use `text-mode'. Best, RY