On 2008-10-15, Chet Ramey <[EMAIL PROTECTED]> wrote: > Andre Majorel wrote: >> One frequently needed function that readline does not seem to >> have is a way to move to the beginning of the next or previous >> path component. > > Readline doesn't have any built-in knowledge of Unix pathnames.
For my edification, is the relative lack of Unix/shell support due to 1. "can of worms", 2. "readline is supposed to be general", 3. "there is no need for it" ? > You might want to take a look at emacs-mode M-b, which moves backward > by strings of alphabetic characters, and M-f, which moves forward. > You might have to play around with a macro that moves forward additional > characters past the `/', but that should get you further. Thanks, but that would be even worse. Instead of just breaking down at the ends of pathnames, it will break every time a path component contains a non-letter, which is often for me. -- André Majorel <URL:http://www.teaser.fr/~amajorel/> You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists -- Abbie Hoffman.