zsh-workers
 help / color / mirror / code / Atom feed
* Could this function (zaccu-process-buffer) be added?
@ 2016-09-07 10:50 Sebastian Gniazdowski
  2016-09-08 12:17 ` Daniel Shahaf
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Gniazdowski @ 2016-09-07 10:50 UTC (permalink / raw)
  To: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

Hello,

https://github.com/psprint/accumulator/blob/master/zaccu-process-buffer

I use this function in multiple projects, e.g. here it allows to split
every line in displayed text and preserve spaces:

https://asciinema.org/a/8k8v5ni5lnnpoc3z5jzl6jgav

I think it provides with precious data. Allows to keep spaces, to address
words via indexes, carefully selects active word, and also splits it in
half. If one would want to use bare (z) flag to obtain some of this he
would have to write control-rich and careful-indexing-rich code, rather a
headache.

I would change namespace and send to ml. One thing – it doesn't deal with
following, but not a problem for current Zsh:

http://www.zsh.org/mla/workers/2015/msg02570.html

Best regards,
Sebastian Gniazdowski

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-08 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-07 10:50 Could this function (zaccu-process-buffer) be added? Sebastian Gniazdowski
2016-09-08 12:17 ` Daniel Shahaf
2016-09-08 15:27   ` Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).