GNU bug report logs -
#57102
29.0.50; Peculiar file-name-split edge case
Previous Next
Full log
Message #23 received at 57102 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Philip Kaludercic <philipk <at> posteo.net> writes:
>
>> Could one instead prefix the list with a symbol (either `absolute' or
>> `relative') to distinguish the two cases. Or do you think that would
>> just make it more complicated.
>
> I think that just makes it way more complicated to use.
Grepping through emacs.git to see where file-name-split is used, it
seems that all it would change in most cases you'd just require an
additional (cdr ...). At the same time, there is already an instance in
gnus-search.el that deals with the issue I brought up with the empty
strings.
As another alternative, how about file-name-split takes an optional
argument, and only does what I suggested in that case? From how I see
file-name-split being used up until now (which doesn't have to mean a
lot), that could be a good compromise.
This bug report was last modified 2 years and 355 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.