From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steven Degutis Newsgroups: gmane.emacs.help Subject: Re: Better vertical-ness in ido-mode? Date: Fri, 5 Apr 2013 01:26:26 -0500 Message-ID: References: <83a9pfiqxp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d9d7db732b304d9972a1a X-Trace: ger.gmane.org 1365143211 17681 80.91.229.3 (5 Apr 2013 06:26:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Apr 2013 06:26:51 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 05 08:27:19 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UO07I-0007FM-8o for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Apr 2013 08:27:16 +0200 Original-Received: from localhost ([::1]:47438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO06t-0004ZG-BP for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Apr 2013 02:26:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO06c-0004Yw-AM for help-gnu-emacs@gnu.org; Fri, 05 Apr 2013 02:26:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO06V-0003Or-PI for help-gnu-emacs@gnu.org; Fri, 05 Apr 2013 02:26:34 -0400 Original-Received: from mail-pb0-f46.google.com ([209.85.160.46]:40844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO06V-0003Ol-Im for help-gnu-emacs@gnu.org; Fri, 05 Apr 2013 02:26:27 -0400 Original-Received: by mail-pb0-f46.google.com with SMTP id rp8so1843576pbb.5 for ; Thu, 04 Apr 2013 23:26:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=NeK/1VfI2eDQZtzkWs+rFp3HwjIsBMpAfad2CKXulCA=; b=N1tSr/kVnKu4VMFBqPk3LW3S/L9Qft2oW7/4OknX+SaZ8lv39sMkT6BUv3w/YfIkUh c9JYsWTM8NBOETon+m6FnxGzB9eyEpjEZCCw5MW0pH2d8Bwkvt+IKnpHtmN9tQYgNeE4 yBoT/GvsNxP9winGoNMf5caarbPBDnI/aaWTwmz2pPHBxBtwnEYdg7jNZNdhB2wzwdRb AhvEYlfHRpbNkZx+L+AEx675RBlsTOF90y3UnsoiFeiSWztRFQPh+aOJLAT0RAbwyt9h OAccnUHyI39EVJGqFb0jNZhHECFpiRubZh5eGiozwVov2iojIRY7nkaDikqkf+uJ6P7A /87A== X-Received: by 10.68.251.98 with SMTP id zj2mr12688521pbc.95.1365143186749; Thu, 04 Apr 2013 23:26:26 -0700 (PDT) Original-Received: by 10.70.6.100 with HTTP; Thu, 4 Apr 2013 23:26:26 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.46 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90004 Archived-At: --047d7b5d9d7db732b304d9972a1a Content-Type: text/plain; charset=ISO-8859-1 Turns out that the patch was simple enough. Only 3 lines of code in ido.el needed to change. Now to figure out how to submit a patch :'( -Steven On Thu, Apr 4, 2013 at 11:00 AM, Stefan Monnier wrote: > >> >> it might be interesting to change icomplete.el such that it can > >> >> display the completions using a tooltip frame > [...] > > These ideas seem like overkill. > > I didn't mean it as "the solution to your local problem". > > I just think it's a good idea in itself, and your request reminded me of > it. Such a "completion list in a frame/box" is already implemented in > a few different ways for auto-complete/company-mode. > > > The current technique ido-mode uses is great, > > Agreed, it's very lightweight yet effective. And the trick you use to > display it "one per line" is neat and works surprisingly well (I was > afraid it would cause the text to jump around too much). I'd welcome > a patch that makes it work for icomplete-mode as well. > > > Stefan > > > --047d7b5d9d7db732b304d9972a1a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Turns out that the patch was simple enough. Only 3 lines o= f code in ido.el needed to change. Now to figure out how to submit a patch = :'(

-Steven

On Thu, Apr 4, 2013 at 11:00 AM, Stefan Monn= ier <monnier@iro.umontreal.ca> wrote:
>> >> it might be interesting to change icomp= lete.el such that it can
>> >> display the completions using a tooltip frame
[...]
> These ideas seem like overkill.

I didn't mean it as "the solution to your local problem"= ;.

I just think it's a good idea in itself, and your request reminded me o= f
it. =A0Such a "completion list in a frame/box" is already impleme= nted in
a few different ways for auto-complete/company-mode.

> The current technique ido-mode uses is great,

Agreed, it's very lightweight yet effective. =A0And the trick you= use to
display it "one per line" is neat and works surprisingly well (I = was
afraid it would cause the text to jump around too much). =A0I'd welcome=
a patch that makes it work for icomplete-mode as well.


=A0 =A0 =A0 =A0 Stefan



--047d7b5d9d7db732b304d9972a1a--