Re: [PATCH] avoid loading major modes when exporting to file

2021-05-03 Thread Bastien
Hi Timothy, Timothy writes: > I haven't responded to this concern, because I haven't been able to > conceive of a single situation where loading the normal-mode for the > exported file could be desirable. Well, I could not come up with it either. Applied in master with commit ec6d1df9b,

Re: [PATCH] avoid loading major modes when exporting to file

2021-05-01 Thread Timothy
Bastien writes: > This even be "auto-mode-alist" instead of "(auto-mode-alist nil)". Ah, it can indeed. > I'm still unsure the patch is correct: what if people *need* major > mode initialization before any contents is exported to a file? I haven't responded to this concern, because I

Re: [PATCH] avoid loading major modes when exporting to file

2021-05-01 Thread Bastien
Hi Timothy, Timothy writes: > Another little patch, this time a one-liner. This even be "auto-mode-alist" instead of "(auto-mode-alist nil)". I'm still unsure the patch is correct: what if people *need* major mode initialization before any contents is exported to a file? > I think the commit

[PATCH] avoid loading major modes when exporting to file

2021-03-31 Thread Timothy
Hello, Another little patch, this time a one-liner. I think the commit description is pretty thorough, so give that a look. TLDR; it makes `org-export-to-file' behave a bit more nicely. -- Timothy >From eb9d7c038dbb9e7a4b89edf61db83a31dda27170 Mon Sep 17 00:00:00 2001 From: TEC Date: Wed, 31