[PATCH] Re: FEATURE REQ: Add BZREDITOR
Jari Aalto
jari.aalto at cante.net
Fri Sep 16 23:54:30 BST 2005
Rob Browning <rlb at defaultvalue.org> writes:
| Jari Aalto <jari.aalto at cante.net> writes:
|
| > But I do need Emacs power to edit my long and lengthy bug reports,
| > that attach files and examine environment variables when I report
| > Linux distribution bugs (that use EDITOR to write the bug report).
|
| Do you alternate often enough from the same prompt that it wouldn't be
| sufficient to just set EDITOR in a given terminal and not export it,
| or perhaps just use
|
| $ EDITOR=foo command
|
| whenever you want an editor that's not the default?
|
| Another approach might be to create your own ~/bin/bzr with the
| appropriate override:
|
| #!/bin/bash
| EDITOR=foo
| exec bzr "$@"
|
| or
|
| #!/bin/bash
| EDITOR=${BZREDITOR:-emacs}
| exec bzr "$@"
These are all possibilities, but much more inconvenient that setting a
simple variable BZREDITOR that solves it all. I think it is more clean
and easy to manage from shell startup files.
Jari
More information about the bazaar
mailing list