Lines Matching refs:widths
681 (eshell-ls-find-column-widths display-files)))
682 (col-widths (car col-vals))
684 (columns (length col-widths))
701 (max 0 (- (aref col-widths
756 (defun eshell-ls-find-column-widths (files)
757 "Find the best fitting column widths for FILES.
763 (widths
772 col-widths)
775 (let ((w widths))
785 (w widths))
797 (setq col-widths colw
801 (cons (or col-widths (vector max-width)) files)))
810 (widths
817 col-widths
822 (let* ((rows (ceiling (/ (length widths)
824 (w widths)
830 (<= (/ (length widths) (float rows))
847 (setq col-widths colw))
848 (if (>= numcols (length widths))
852 (if (not col-widths)
854 (setq numcols (length col-widths))
855 (let* ((rows (ceiling (/ (length widths)
868 (cons col-widths newfiles)))))