emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reenabling icomplete operation during read-buffer


From: ken manheimer
Subject: Re: reenabling icomplete operation during read-buffer
Date: Thu, 12 Feb 2009 18:28:06 -0500

On Wed, Feb 11, 2009 at 9:21 PM, Stefan Monnier
<address@hidden> wrote:

> > i'd love to simplify that to default icomplete-with-completion-tables
> > to t, but it misbehaves dramatically for special tramp file visits,
> > like /sudo:address@hidden:/etc/hosts or /ftp:...
>
> These need to be fixed.  At some point, they worked OK.
>
> > unfortunately, it looks like read-buffer-to-switch (files.el) was
> > changed to use a manufactured lambda as the completion table, which
> > means that icomplete can't statically match it to recognize being
> > within that completion context.  i can add a condition like:
>
> >            (and (boundp 'rbts-completion-table)
> >                 (equal minibuffer-completion-table rbts-completion-table))
>
> > to get the behavior i want, but that is much too brittle - it depends
> > on an internal detail of read-buffer-to-switch.
>
> I've installed a different fix.

thanks!

people wanting to use icomplete but turn it off for buffer name
reading (so they can use something like iswitchb or icycles) won't be
able to do so, but providing for that seems beyond the point of
diminishing returns, to me.

>        Stefan

--
ken
http://myriadicity.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]