2008-09-07 08:16:54 |
Jari Aalto |
description |
Consider following line:
# ~/.bazaar/bazaar.conf
[DEFAULT]
editor = emacs --no-site-file -q -nw --eval "(setq backup-inhibited t)"
When editor in invoked with:
bzr ci
The Emacs editor command is not called correctly. Judging from Emacs
buffer *Messages*, the call was made using excessive quotes:
("emacs" "-q" "--no-site-file" "--eval" "\"(setq" "backup-inhibited" "t)\"" "bzr_log.DCPFDq")
command-line-1: End of file during parsing
It would appear, that bzr just quotes every word separated by space
when passing arguments to exec(), which in effect - is not the correct result. |
Consider following line:
# ~/.bazaar/bazaar.conf
[DEFAULT]
editor = emacs --no-site-file -q -nw --eval "(setq backup-inhibited t)"
When editor is invoked with:
bzr ci
The Emacs editor command is not called correctly. Judging from Emacs
buffer *Messages*, the call was made using excessive quotes:
("emacs" "-q" "--no-site-file" "--eval" "\"(setq" "backup-inhibited" "t)\"" "bzr_log.DCPFDq")
command-line-1: End of file during parsing
It would appear, that bzr just quotes every word separated by space
when passing arguments to exec(), which in effect - is not the correct result. |
|