Re: [dev] [st] pasting to gvim sucks

From: <p37sitdu_AT_lavabit.com>
Date: Thu, 11 Apr 2013 21:18:58 +0400

On Thu, Apr 11, 2013 at 05:00:00PM +0100, Nick wrote:
> On Thu, Apr 11, 2013 at 05:25:46PM +0200, Martti Kühne wrote:
> > On Thu, Apr 11, 2013 at 5:22 PM, Carlos Torres <vlaadbrain_AT_gmail.com> wrote:
> > > this is a funny patch. it must have been about 1 to 2 months ago that
> > > there was another discussion about pasting to other apps and thats
> > > when that carrige return appeared. and now there is a patch to revert
> > > that back...lol this is great, i look forward to another patch that
> > > takes it back to \r :)
> >
> > I'd say this qualifies for a move to config.h.
> > I might be back later with a patch for that.
>
> Umm, no. "If you want to use st with x, y, z programs, set this to
> \r, if you want to use a, b, c programs, set \n" is a terrible idea.
>
> Best to figure out what is more correct, do that, and patch any
> applications that do things the wrong way.
>

Maybe pasting to st should be fixed too, so when newlines are pasted,
they are translated to ^M. But '\n' should be copied, otherwise pasting
to graphical programs is broken.
Received on Thu Apr 11 2013 - 19:18:58 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 11 2013 - 19:24:05 CEST