Changes between Initial Version and Version 3 of Ticket #4295


Ignore:
Timestamp:
10/09/21 10:13:42 (3 years ago)
Author:
ossi
Comment:

adjusted misleading wording - the expansion itself works just fine. also, replaced plain <TAB>, as this obviously can't work (at least in a default config).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4295 – Description

    initial v3  
    1 See subject: tilde + username expansion (ie. to expand to a certain user's `$HOME`) in copy/move dialogs does not work. If I enter a tilde character in the destination field followed by one or more characters (ie. `~apa`) and then hit <TAB>, nothing happens. If I complete the username myself, followed by a slash (ie. `~apache/`), then the rest of the <TAB> completion works as expected. 
     1Completion does not work for tilde + username expansion (i.e., to expand to a certain user's `$HOME`) in copy/move dialogs. If I enter a tilde character in the destination field followed by one or more characters (ie. `~apa`) and then hit <Alt+TAB>, nothing happens. If I complete the username myself, followed by a slash (ie. `~apache/`), then the rest of the <Alt+TAB> completion works as expected. 
    22 
    3 So it seems that MC actually ''does'' understand the `~username/` concept as such in the copy/move dialogs (ie. files ''do'' end up in the correct destination), but it can't complete the `~userna<TAB>` part by itself. I'm ''pretty'' sure that this did already work in some earlier version, but I'm not ''100%'' sure. :-) 
     3So it seems that MC actually ''does'' understand the `~username/` concept as such in the copy/move dialogs (i.e., files ''do'' end up in the correct destination), but it can't complete the `~userna<Alt+TAB>` part by itself. I'm ''pretty'' sure that this did already work in some earlier version, but I'm not ''100%'' sure. :-) 
    44 
    5 Fun fact: in MC's command line widget, this works just fine, ie. entering `~apa<TAB>` gets properly completed to `~apache/`. So the command line widget's completion code path is probably a different one than the copy/move dialog's one. 
     5Fun fact: in MC's command line widget, this works just fine, i.e., entering `~apa<Alt+TAB>` gets properly completed to `~apache/`. So the command line widget's completion code path is probably a different one than the copy/move dialog's one.