Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acme.rc: winwriteevent drops chorded arguments #165

mkhl opened this issue Apr 10, 2018 · 0 comments

acme.rc: winwriteevent drops chorded arguments #165

mkhl opened this issue Apr 10, 2018 · 0 comments


Copy link

@mkhl mkhl commented Apr 10, 2018

  1. Write a script that reads acme events and passes them through to Acme:

    . $PLAN9/lib/acme.rc
    fn event {
    	winwriteevent $*
  2. Run that script in an Acme window.

  3. In that window, 2-1 chord some arguments to some command, say a path to ls.

  4. Notice that winwriteevent dropped the chorded arguments.

The same thing happens for Win.WriteEvent from the Go package.

The acmeevent(1) man page states:

Only the first four arguments are necessary: the rest are ignored.

but it doesn’t seem to be the case that only those are necessary, and this makes it impossible to use chording in Acme clients on commands that the clients don’t handle themselves.

Or maybe I’m misunderstanding, in which case maybe we could improve the docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.