compile(3)compile - Start a compilation process recompile - Rerun compilation process
n compile ["auto-touch-file"] "compile-command"
recompile
compile gets and executes the compile command using a pipe execution (incremental pipe on UNIX platforms), loading the output into a buffer called "*compile*", with go to error parsing using the command get-next-line(2). The default compile execution is set by variable %compile-com(5), the error parsing is setup using the command add-next-line(2).
Before the compile command is executed save-some-buffers(2) is executed to allow the user to ensure that all relevant buffers are saved.
Compile uses command ipipe-shell-command(2) to launch the given system compile-command. By default the output lines in the window are wrapped at 2046 characters as a balance between reliably searching for errors and usability. See flag 0x02 below or help on ipipe-shell-command(2) for details on how to change this behaviour.
The argument n can be used to change the default behavior of compile described above, n is a bit based flag where:-
0x01
0x02
0x04
0x08
0x10
recompile reruns the previous compile process, it is implemented by executing compile with flags 0x04 and 0x08, the other flags of compile can also be passed to this command.
compile and recompile are macros defined in tools.emf.
(c) Copyright JASSPA 2025
Last Modified: 2022/06/12
Generated On: 2025/09/29