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: Stefan Monnier
Subject: Re: reenabling icomplete operation during read-buffer
Date: Wed, 11 Feb 2009 21:21:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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.


        Stefan




reply via email to

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