From mboxrd@z Thu Jan 1 00:00:00 1970 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 (Mac OS X Mail 8.2 \(2102\)) From: Brian Zwahr In-reply-to: Date: Thu, 16 Jul 2015 12:45:23 -0500 Content-transfer-encoding: quoted-printable Message-id: References: <2967C352-8607-44E6-87FA-DB94B18688DC@icloud.com> <93DBE19C-1428-448C-BA38-CAB8DBA8D573@icloud.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] Acme 2-1 chord arguments Topicbox-Message-UUID: 611fc4d8-ead9-11e9-9d60-3106f5b1d025 Sorry, let me be more clear. The issue when I need to send multiple = arguments. For instance using 2-1 to add =E2=80=9Cpull=E2=80=9D or = =E2=80=9Ccheckout=E2=80=9D to =E2=80=9Cgit=E2=80=9D works. However, = using 2-1 to add =E2=80=9Cpull --prune=E2=80=9D or =E2=80=9Ccheckout = .=E2=80=9D does not work. At least, not in +Errors. It does work in win, = though, apparently. > On Jul 16, 2015, at 12:39 PM, Alexander Kapshuk = wrote: >=20 > I just tried typing 'git' into my '/project/root/dir/+Errors' with > 'log' selected in a different Acme window. Executing chord 2-1 on > 'git' did work for me. The 'log' argument has to be selected in its > entirety, but not the trailing new line, which would generate an > 'invalid key error' message, if passed to 'git'. Alternatively, you > may just click with button 1 on the argument being passed, and then > do the 2-1 chord on 'git'. This worked for me as well. Hope this > helps. >=20 > Do you get any output when you try doing the 2-1 mouse chord on git? >=20 > On Thu, Jul 16, 2015 at 8:15 PM, Brian Zwahr = wrote: >> I guess I should clarify that I=E2=80=99m not using win. I normally = do everything in a +Errors window. So, for git, I run all the commands = in /project/root/dir/+Errors. >>=20 >> I just tried in a win window, and it does work. I=E2=80=99m assuming = this is because win parses what=E2=80=99s passed in differently. >>=20 >>> On Jul 16, 2015, at 11:54 AM, Alexander Kapshuk = wrote: >>>=20 >>> On Wed, Jul 15, 2015 at 5:06 PM, Brian Zwahr = wrote: >>>> According to the man page, using the 2-1 chord sends selected text = as a *distinct* argument to the executed command. This is all well and = good for Edit, Look, etc. However, it keeps me from being able to, for = instance, select =E2=80=9Ccheckout .=E2=80=9D or =E2=80=9Cpull = =E2=80=94prune=E2=80=9D and then 2-1 on =E2=80=9Cgit=E2=80=9D. So, two = questions: >>>>=20 >>>> 1.) Is there a way to do what I=E2=80=99m trying to do? >>>>=20 >>>> 2.) What was the reasoning behind 2-1 chording sending distinct = arguments? >>>>=20 >>>>=20 >>>=20 >>> Have you tried typing git into the win tag and typing and selecting >>> the subsequent arguments in another window, passing them to git via >>> the 2-1 chord? >>>=20 >>> I've just tried doing that with 'git pull', and 'ls -ld .', both >>> commands working as expected for me. >>>=20 >>> Is this what you've been trying to do, or am I thinking wrong here? >>>=20 >>=20 >>=20 >=20