Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-11 Thread Nicolas Pitre
On Mon, 10 Jul 2023, Dave Mielke wrote: > [quoted lines by Nicolas Pitre on 2023/07/10 at 17:37 -0400] > > >By definition, a rectangular copy is a block. It makes no sense for the > >beginning of that block to be merged with the last line of the existing > >clipboard content, otherwise it is no

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-10 Thread Brian Buhrow
hello. What about having the ability to have multiple clip boards? Then, if you want to paste multiple blocks into a text area, youjust paste multiple clip boards into that area. For example, vi (vim) allows you to use up to 10 buffers or clip boards. -thanks -Brian ___

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-10 Thread Dave Mielke
[quoted lines by Nicolas Pitre on 2023/07/10 at 17:37 -0400] >By definition, a rectangular copy is a block. It makes no sense for the >beginning of that block to be merged with the last line of the existing >clipboard content, otherwise it is no longer a block. What about if a rectangular copy

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-10 Thread Nicolas Pitre
On Mon, 10 Jul 2023, Sébastien Hinderer wrote: > Hello Nicolas and many thanks for your proposed implementation, I think > it's indeed a very good idea! > > I'm just unsure about the separator that shoudl be used when > concatenating. I do understand that '\n' suits your use-case well, but, > af

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-10 Thread Sébastien Hinderer
Hello Nicolas and many thanks for your proposed implementation, I think it's indeed a very good idea! I'm just unsure about the separator that shoudl be used when concatenating. I do understand that '\n' suits your use-case well, but, after, all, why would ' ' (space) not be considered another le

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-10 Thread Nicolas Pitre
On Sun, 9 Jul 2023, Sébastien Hinderer wrote: > I still think it could be handy to be able to choose filenames from > within a list, the output of ls, say, as as a sighted user can select > files and folders in a folderview to then perform an operation on them. Same idea: I often do "ls -1 ", do

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-08 Thread Sébastien Hinderer
Hi Nicolas, I will experiment more with rectangular copy and perhaps it will actually be enough, you are right. Same with "git stat --diff". I still think it could be handy to be able to choose filenames from within a list, the output of ls, say, as as a sighted user can select files and folders

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-08 Thread Nicolas Pitre
On Sun, 9 Jul 2023, Sébastien Hinderer wrote: > I fear things are not always that straightforward, here. Could you elaborate? I use git literally everyday (every work day at least). And I always found the rectangular copy to be pretty good enough. I use "git diff --stat" more than "git status"

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-08 Thread Nicolas Pitre
On Sat, 8 Jul 2023, Sébastien Hinderer wrote: > Hello, many thanks for this response! > > Nicolas Pitre (2023/07/03 11:03 -0400): > > Not sure if this fits your use case but I often have such list of > > filenames to be found in a vertical list. What I do in that case is to > > copy them using

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-08 Thread Sébastien Hinderer
Jason White (2023/07/08 17:52 -0400): > > On 8/7/23 12:47, Sébastien Hinderer wrote: > > But if you have modified 10 files and want to commit only 5 of them, > > git has no way to know which ones you want to commit and then I don't > > see how you can avoid having to pick up some names in a list.

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-08 Thread Jason White
On 8/7/23 12:47, Sébastien Hinderer wrote: But if you have modified 10 files and want to commit only 5 of them, git has no way to know which ones you want to commit and then I don't see how you can avoid having to pick up some names in a list. You can always use git add -i to choose the desire

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-08 Thread Sébastien Hinderer
Jason White (2023/07/08 12:40 -0400): > I can pipe the output perfectly well here. There are also plenty of options > given in the Git status manual page to control that output (e.g., selecting > which file names to show). But if you have modified 10 files and want to commit only 5 of them, git ha

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-08 Thread Jason White
On 8/7/23 11:34, Sébastien Hinderer wrote: Well the output of git status, for instance, can't be piped to a variable. Especially given that, most of the time, it's not the entire output that I want to re-use but just a selected subset of it. I can pipe the output perfectly well here. There are a

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-08 Thread Sébastien Hinderer
Hi, Jason White (2023/07/03 08:31 -0400): > Can't you use pipes or shell variables for that? Well the output of git status, for instance, can't be piped to a variable. Especially given that, most of the time, it's not the entire output that I want to re-use but just a selected subset of it. > Ha

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-08 Thread Sébastien Hinderer
Hello, many thanks for this response! Nicolas Pitre (2023/07/03 11:03 -0400): > Not sure if this fits your use case but I often have such list of > filenames to be found in a vertical list. What I do in that case is to > copy them using the rectangular copy function, and then: > > $ xargs git a

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-03 Thread Nicolas Pitre
On Mon, 3 Jul 2023, Sébastien Hinderer wrote: > Dear all, > > I assume that it is a current workflow to have a list of filenames > displayed on screen as output of ls or git status or find etc. and to > accumulate them in the clipboard to then paste them onto another > command-line. Not sure if

Re: [BRLTTY] Making easier to accumulate filenames in theclipboard

2023-07-03 Thread Jason White
On 2/7/23 18:17, Sébastien Hinderer wrote: I assume that it is a current workflow to have a list of filenames displayed on screen as output of ls or git status or find etc. and to accumulate them in the clipboard to then paste them onto another command-line. Can't you use pipes or shell variab