Hi Masatake! > Stefan, > > I've found you added tla--archive-mirrorp. > I wrote rather similar functions in xtla-core.el. > > (defun tla--archive-type (archive) > "Return the type of archive." > (cond > ((string-match "SOURCE$" archive) 'source) > ((string-match "MIRROR$" archive) 'mirror) > (t 'normal))) > > Please look at.
Thanks for that hint. I removed tla--archive-mirrorp in my patch98. Now I use tla--archive-type. > Symbol names for mirror releated functions are not sophisticated. > We may need more strong naming rule. It is difficult to know whether > what I want is already in xtla or not. It is worth to split xtla.el > into some smaller files. e.g. xtla-mirror.el. It is difficult to split the functionality in smaller files, because most functions could go to different files. That makes it even harder to find place for a function. I think it is best to discuss such cases on the mailing list. Stefan.
