all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: 19755@debbugs.gnu.org
Cc: galli.87@gmail.com
Subject: bug#19755: Acknowledgement (python.el: native completion: more problems (and solutions))
Date: Tue, 3 Feb 2015 13:50:40 -0300	[thread overview]
Message-ID: <CAELgYhf+TpuNcXrX5p5LJW9mHYLzFHET4pyiSp5woM9dmCfh5Q@mail.gmail.com> (raw)
In-Reply-To: <handler.19755.B.142296725921901.ack@debbugs.gnu.org>

X-Debbugs-CC: galli.87@gmail.com

After investing some hours on the many border cases of native
completion I sadly came to realize that there is a simpler and not so
fragile approach: as we're already assuming readline is available, why
don't we just get the current readline completer and use it directly?
This is not so different from the legacy completion mechanism, except
that we don't create the completer but use the same one that readline
is using. I think the completion code (legacy and native) could be
unified around a completer function and a lot of cruft related to
process interaction trickery (timeouts, control char sequences, output
parsing, etc.) could be wiped out from the code for good. Am I missing
something? Despite having to throw away so many hours of unpleasant
work I would like to simplify the completion code and I'm offering to
do it myself if you want. Just let me know what do you think about
this idea... maybe I'm not seeing an obvious reason why we should go
through readline user interface instead of readline programmer
interface.

On Tue, Feb 3, 2015 at 9:41 AM, GNU bug Tracking System
<help-debbugs@gnu.org> wrote:
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> As you requested using X-Debbugs-CC, your message was also forwarded to
>   galli.87@gmail.com
> (after having been given a bug report number, if it did not have one).
>
> Your message has been sent to the package maintainer(s):
>  bug-gnu-emacs@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 19755@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
>
> --
> 19755: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19755
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems





  parent reply	other threads:[~2015-02-03 16:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03 12:40 bug#19755: python.el: native completion: more problems (and solutions) Carlos Pita
     [not found] ` <handler.19755.B.142296725921901.ack@debbugs.gnu.org>
2015-02-03 16:50   ` Carlos Pita [this message]
2015-02-05 14:25 ` Carlos Pita
2015-02-06  2:22 ` Carlos Pita
2015-04-09  3:55 ` Fabián Ezequiel Gallina

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=CAELgYhf+TpuNcXrX5p5LJW9mHYLzFHET4pyiSp5woM9dmCfh5Q@mail.gmail.com \
    --to=carlosjosepita@gmail.com \
    --cc=19755@debbugs.gnu.org \
    --cc=galli.87@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.