diff options
| -rw-r--r-- | guides/emacs/development.org | 5 | ||||
| -rw-r--r-- | itches/emacs/tracker.org | 22 |
2 files changed, 27 insertions, 0 deletions
diff --git a/guides/emacs/development.org b/guides/emacs/development.org index 9d05160..92e2909 100644 --- a/guides/emacs/development.org +++ b/guides/emacs/development.org @@ -1,3 +1,8 @@ +* Build +** bootstrapping +Libraries that are part of the "bootstrap set" cannot rely on +autoloading. Example: =files.el= must ~(eval-when-compile (require +'pcase))~, even though it only uses autoloaded macros. * Tests ** Running Somehow I can never remember how to ask =make= how to run a specific diff --git a/itches/emacs/tracker.org b/itches/emacs/tracker.org index 8d00967..1a4bee1 100644 --- a/itches/emacs/tracker.org +++ b/itches/emacs/tracker.org @@ -247,6 +247,28 @@ Use-cases: :Role: author :Kudos: StefanM,fixing :END: +*** files +**** DONE [[bug:66902]] Recognize env =-S= / =--split-string= in shebangs +:PROPERTIES: +:Role: author +:PatchApplied: t +:TestAdded: t +:END: +[[info:coreutils#env invocation][coreutils#env invocation]] advertises this syntax to allow passing +arguments to interpreters: + +#+begin_src awk +#!/usr/bin/env -S awk -v OFS=" xyz " -f +#+end_src + +Emacs was confused by that =-S=; no longer. Found this while working +on my toy website generator which relies on a "Makefile app" with this +shebang line: + +#+begin_src makefile +#!/usr/bin/env -S make -f +#+end_src + *** font-lock **** DONE [[bug:35476]] font-lock-{append,prepend}-text-property and anonymous faces :PROPERTIES: |
