Re: completing dir names for a certain path?

2008-08-25 Thread Matthew Woehlke
Chet Ramey wrote: Matthew Woehlke wrote: Because "for some reason, non-trivial completions never seem to want to work for me"? Sigh. Ok, after trying for entirely too long, this seems to be working: completeme() { local i=0 while read l; do COMPREPLY[$((++i))]="$l" done < <( cd

Re: [Bug-readline] Readline and GPLv2

2008-08-25 Thread Miroslav Lichvar
On Sat, Aug 23, 2008 at 12:20:31PM -0400, Chet Ramey wrote: > Anyone know of any projects licensed under GPLv2 (not GPLv2+) using > readline? Grepping Fedora repository metadata for packages linked with libreadline and GPLv2 license gives (no guarantees for correctness or completeness): callweave

Re: edit-and-execute-command (C-xC-e) doesn't use FCEDIT env variable

2008-08-25 Thread Francis Moreau
On Sun, Aug 24, 2008 at 8:46 AM, Pierre Gaston <[EMAIL PROTECTED]> wrote: > On Sat, 23 Aug 2008, Francis Moreau wrote: > >> I think I won't use VISUAL but start emacs in sh-mode if the file name >> argument matches "*bash-fc-*" pattern. It should be safe. >> > > adding the following in your .emacs