[OS X Emacs] Issue with emacs on the command line

Marc Shapiro -- at work marc.shapiro at acm.org
Thu Mar 8 15:18:33 EST 2018


> From: Win Treese <treese at acm.org>
> Subject: Re: [OS X Emacs] Issue with emacs on the command line
> 
> Hi, Marc. The problem is that your main.bbl file isn?t the current buffer when the functions are run. If you think of Emacs processing the command line arguments in order, then you need to give the file earlier in the command line:
> 
> 	/usr/bin/emacs -batch -q main.bbl -l fixbbl.el -f fixbbl -f save-buffer
> 
> From experience with other programs, it?s not obvious that the command line would be processed this way, but for doing complex things it makes a certain amount of sense.

Thanks Win, that solved the problem!

				Marc




More information about the MacOSX-Emacs mailing list