RE: Using xemacs's indent feature in batch mode
"Liang, James" <[email protected]>
| Newsgroups | gmane.emacs.xemacs.windows |
|---|---|
| Message-ID | <[email protected]> |
Um... I created a small C program called file.c that is improperly indented, and then tried xemacs -batch file.C -eval '(indent-region (point-min) (point-max))' -f save-buffers-kill-emacs and xemacs -batch file.C -eval '(indent-region (point-min) (point-max))' -eval '(save-buffers-kill-emacs t)' at the command line with no effect. I even tried "xemacs file.C -eval '(indent-region (point-min) (point-max))'" This opened the file, but performed no indentation instead it printed: End of file or stream: "internal input stream"