[darcs-users] Re: Can I disable \xx quoting in record --interactive?

Junio C Hamano junkio at cox.net
Mon Mar 21 21:16:01 UTC 2005


>>>>> "TP" == Tommy Pettersson <ptp at lysator.liu.se> writes:

TP> On Sun, Mar 20, 2005 at 10:45:51AM -0800, Junio C Hamano wrote:
>> Yes I knew that was what you meant when you said "evil patches";

TP> But still, it would be good if we could escape some control
TP> characters even in raw mode, such as back space and especially
TP> escape.

Not really.  ISO 2022 based encodings use \033 sequence for
switching character sets which you should not munge if you want
to keep them human readable.

I am inclined to say that darcs should not be reinventing $PAGER
anyway.  The simplest would be to just pipe the patch in the raw
form to $PAGER and have $PAGER worry about it.  Or at least make
such an option (keeping the current \xx quoting, with your
recent "\r\n" fix, as the default).  How does that sound?






More information about the darcs-users mailing list