`edit' completion

"Leslie P. Polzer" <[email protected]> Sat, 11 Apr 2009 18:27:35 +0200 (CEST)
Newsgroups gmane.network.lftp.devel
Message-ID <[email protected]>
Hi,

I've noticed that completion doesn't work for the `edit' command.

The author of lftp-vi[1], from where the `edit' command probably comes,
proposes this patch as remedy:

*** complete.cc.O	2006-11-04 18:04:15.000000000 +0100
--- complete.cc	2006-11-04 18:33:31.000000000 +0100
***************
*** 478,483 ****
--- 478,486 ----
        w=skip_word(w);
     }

+    if (!strcmp(buf, "edit"))
+ 	   return REMOTE_FILE;
+
     if(!strcmp(buf,"get")
     || !strcmp(buf,"pget")
     || !strcmp(buf,"get1"))

Is this patch still valid and acceptable for inclusion?

  Thanks,

    Leslie

-- 
LinkedIn Profile: http://www.linkedin.com/in/polzer
Xing Profile: https://www.xing.com/profile/LeslieP_Polzer
Blog: http://blog.viridian-project.de/