9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] programmable pathname completion in Acme?
Date: Mon,  9 Sep 2013 15:38:52 +0200	[thread overview]
Message-ID: <1469103.jPehuaMYEC@coil> (raw)

currently the ^F pathname completion is handled internally by Acme. is there a 
way to pass the argument of ^F to a script instead?


my use case: find an existing pathname by supplying /any/ substring of it and 
invoking completion, as opposed to current requirement of providing whole 
leading part. i have a script that takes part of pathname in $1 and returns 
all (hopefully exactly one) matching pathnames, and i want to plumb the ^F 
from Acme to it.


-- 
dexen deVries

[[[↓][→]]]




             reply	other threads:[~2013-09-09 13:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09 13:38 dexen deVries [this message]
2013-09-09 14:14 ` Lee Fallat
2013-09-09 14:20   ` Bence Fábián
2013-09-09 14:26     ` Lee Fallat
2013-09-09 14:36       ` Bence Fábián
2013-09-09 15:59         ` Matthew Veety

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1469103.jPehuaMYEC@coil \
    --to=dexen.devries@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).