Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Shift-Insert overwrites ZLE CUTBUFFER
- X-seq: zsh-workers 39970
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Shift-Insert overwrites ZLE CUTBUFFER
- Date: Thu, 17 Nov 2016 19:16:41 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=gEjDVvSKKZP3m5o+ZMhbSnbLtCHesM8FM0vexDRmfkE=; b=JDd1JB/eBmbaN/YX/bA+b7QK4NwhKruY8yczWwMfV8mBjcVScP7AZRTzT4vlnR38yO 0b42YBrXCjfqbm3ODqWx2pYNcNfTe+464S6Omsb9mmeawOvELrWaNbPIXTtmNvwRUffm q+B0OPxH1cHi8mrMmY35E8+lEgB4U4jAzMkUyVTTYolMZ4EkNknBnqqGatjvch8oQ7YT vXkwaOrmkfzojJN41dQgNqeMq7WnofjV4dYzon7zQBrPP+dskkCohb2FkOf9yMCg/oHS Se39SXKS/VwbQULANxl+s5bkHaPjEaHye/fdpK9lxuEbJ3aJ10/GfZXzN4+pSCN//GDS euKg==
- In-reply-to: <92342.1479401635@hydra.kiddle.eu>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAMtVo_PG_fd62V1FZ4r7fRUragzzS6H4McN5sO1=hhY=6DR6Yg@mail.gmail.com> <161025091249.ZM7232@torch.brasslantern.com> <CAMtVo_N6qOQr++Amzn11+m3pkOxjc908mwFUerur77+OWd92uw@mail.gmail.com> <161026090133.ZM11120@torch.brasslantern.com> <CAMtVo_P09j6fyJytA21iu_qOom6bCTvJEWn-dXTBX97Bp00Sdg@mail.gmail.com> <161026165138.ZM12130@torch.brasslantern.com> <87h97x36sa.fsf@lwm.klanderman.net> <161027133523.ZM15655@torch.brasslantern.com> <43312.1477929414@hydra.kiddle.eu> <CGME20161031160350epcas3p4849616fbcc05783a9966320a28ed731c@epcas3p4.samsung.com> <20161031161605.23af1751@pwslap01u.europe.root.pri> <161109092745.ZM2477@torch.brasslantern.com> <4446.1478794906@hydra.kiddle.eu> <161110091736.ZM20932@torch.brasslantern.com> <22835.1479246117@hydra.kiddle.eu> <161115140723.ZM11274@torch.brasslantern.com> <92342.1479401635@hydra.kiddle.eu>
On Nov 17, 5:53pm, Oliver Kiddle wrote:
} Subject: Re: Shift-Insert overwrites ZLE CUTBUFFER
}
} On 10 Nov, Bart wrote:
} > emacs. So yes, emacs does have a whole suite of register operations,
} > none of which are present in zsh (which in fairness was based on a
}
} Would it be useful to add some of those operations given that it
} might share much of the existing code that's there for vi (given a
} few compromises)?
It'd probably suffice to create widget aliases giving the existing
vi widgets the corresponding emacs names, except special cases that
you have already noted.
} Coming back to the original point of this thread, would it make
} sense to instead put the bracketed-paste text in a register?
I don't have a strong opinion here. As noted, if this were a real
GUI-aware emacs, the act of *copying* the text would have set the
cutbuffer, so it makes sense to me to put it there on the paste
action (the first real chance we have to sync up with the global
clipboard state). It's more that people aren't used to having a
copy-paste affect their shell that way that is causing an issue,
than the logic of the operation (I think, someone will probably
contradict me).
I'm not going to respond in detail to your musings about emacs
register operations; my only thought is that we're supposed to be
maintaining a shell here, not re-implementing several editors.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author