9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Friedrich Psiorz <f.psiorz@gmx.de>
To: 9fans@9fans.net
Subject: Re: [9fans] acme autocompletion
Date: Tue, 11 Feb 2014 13:37:22 +0100	[thread overview]
Message-ID: <52FA1982.7000903@gmx.de> (raw)
In-Reply-To: <c5abfe7ba3d977a58d5facc26a0b1920@gmail.com>

Hi!

I haven't had time to try out your completion system yet, but one thing
I could imagine would be a single completion window for a whole acme
session. While you type in any other window, it gives you suggestions
for completions/insertions. You insert simply by right clicking in
the completion window. Or the system could even watch for a specific
control character to be typed and replace it by the current top
suggestion or the shortest common prefix of all suggestions. For the
people who don't like using the mouse but still like acme (I don't know
if they exist, but maybe).
A good fallback for non-Go files could be to simply list words in the
current window that match the current prefix. Or words that are likely
to follow the preceding word. Or something like that.

~Fritz

Am 11.02.2014 12:33, schrieb uvelichitel@gmail.com:
> 	Hi,
> 	It's mostly proof of concept and for personal needs. To say, it do its work. As noticed any suggestion how to organize UI in more meaningful way very appreciated and can be implemented.
> 	Best regards.
>
>> I don't think anyone objects to it as an external command.
>>
>> 2014-02-10 21:46 GMT+01:00, Uvelichitel <uvelichitel@gmail.com>:
>>> 	Hi. I know acme authors mean autocompletion destructive (excluding
>>> ctl-F for filepath). Anyway an attempt.
>>> 	http://mandrillapp.com/track/click.php?u=30146375&id=637c617246ba4c3fb9eb418beabdb76f&url=https%3A%2F%2Fbitbucket.org%2Fuvelichitel%2Fcompl&url_id=1c283bd86851c7a519a5f2b172f46b33bb44a65b
>>> It implemented as external command 'compl' executing in tag. It written
>>> in Go lang and specifically for Go lang. It based on proven engine. It
>>> tested on p9p. Feel free to try. It was not two difficult to make
>>> things working, but I can not clear imagine how autocompletions should
>>> _looks_like_ in acme without hotkeys and floating windows. Suggestion
>>> appreciated and can be implemented.
>>> 	Best regards.
>>>
>>>
>




      reply	other threads:[~2014-02-11 12:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-10 20:46 Uvelichitel
2014-02-11  7:06 ` Bence Fábián
2014-02-11 11:33   ` uvelichitel
2014-02-11 12:37     ` Friedrich Psiorz [this message]

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=52FA1982.7000903@gmx.de \
    --to=f.psiorz@gmx.de \
    --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).