compile - Start a compilation process
n compile "compile-command"
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. If an argument is given to compile then it is passed on to this command, so if an argument of 0 is given, all buffers are automatically saved.
By default the output lines in the window wrap, wrapping may be disabled during compilations by redefining the wrap mode as follows. Create the file myipipe.emf to redefine the behavior and add the following lines:-
; Macro to redefine the wrapping behavior of the *compile* buffer 0 define-macro my-fhook-ipipe !if &seq $buffer-bname "*compile*" -1 buffer-mode "wrap" !endif !emacro
compile is a macro defined in tools.emf.
(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12