From: Ruijie Yu via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
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 [thread overview]
Message-ID: <sdvmt6gcfh3.fsf@fw.net.yu> (raw)
In-Reply-To: <25543.50706.554658.6937@gargle.gargle.HOWL>
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 ‘.org’ extension use 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
next prev parent reply other threads:[~2023-01-18 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-18 10:12 .org.bak files are in Org mode -- intended? Alain.Cochard
2023-01-18 10:18 ` Ruijie Yu via General discussions about Org-mode. [this message]
2023-01-18 10:51 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sdvmt6gcfh3.fsf@fw.net.yu \
--to=emacs-orgmode@gnu.org \
--cc=alain.cochard@unistra.fr \
--cc=ruijie@netyu.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).