Kai Tetzlaff <[email protected]> writes: Hi Kai,
> The documentation of `tramp-connection-properties` claims: > > List of static connection properties. > Every entry has the form (REGEXP PROPERTY VALUE). The regexp > matches remote file names. ... > > However, the actual implementation of `tramp-get-hash-table` uses the > following code for the lookup: > > (dolist (elt tramp-connection-properties) > (when (tramp-compat-string-search > (or (nth 0 elt) "") > (tramp-make-tramp-file-name key 'noloc 'nohop)) > > where (on current emacs) `tramp-compat-string-search` translates to a > simple `string-search` which uses REGEXP to do a simple string search > instead of a regexp search. > > IMO the docstring describes the desired functionality which means that > the implementation is incorrect. Thanks for the report! This is an obvious error, I will fix it. First I need to check whether similar errors happened when tramp-compat-string-search was added to Tramp last summer. I'll keep you informed. Best regards, Michael.
