summaryrefslogtreecommitdiff
path: root/lisp/ls-lisp.el
Commit message (Collapse)AuthorAgeFilesLines
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-151-4/+4
|
* (ls-lisp-format): Leave a blank before "root".Eli Zaretskii2001-04-121-1/+1
|
* (ls-lisp) <defgroup>: Add :version.Dave Love2001-01-021-0/+1
|
* From Francis J. Wright <F.J.Wright@maths.qmw.ac.uk>:Eli Zaretskii2000-12-271-216/+443
| | | | | | | | | | | | | | | | | | | | | Better support for the Mac and MS-Windows. (ls-lisp): New defgroup. (ls-lisp-emulation, ls-lisp-ignore-case, ls-lisp-dirs-first) (ls-lisp-verbosity, ls-lisp-use-insert-directory-program) (ls-lisp-support-shell-wildcards): New defcustoms. (ls-lisp-parse-symlink): New function. (insert-directory): Code to convert switches to a list and set up the wildcard argument copied from ls-lisp-insert-directory. (ls-lisp-insert-directory): New argument TIME-INDEX. Add support for -C and -R switches. (ls-lisp-column-format): New function. (ls-lisp-delete-matching, ls-lisp-handle-switches) (ls-lisp-format-time): Add doc strings. (ls-lisp-handle-switches): Handle -U, -S, -X, and -F switches. Support ls-lisp-dirs-first. (ls-lisp-classify, ls-lisp-extension): New functions. (ls-lisp-format): Optionally support emulation of symlinks. Support -i, -s, and -G switches.
* * ls-lisp.el (ls-lisp-insert-directory): Print an explicit messageEli Zaretskii1999-12-161-5/+11
| | | | | | | | | | if one of the files specified cannot be accessed by file-attributes. Do not strip any leading directories from the file names, to behave more like `ls' does. * dired.el (dired-get-filename): Handle absolute file names. (dired-readin-insert): If argument is a cons, don't print "wildcard" on the ``total'' line.
* (ls-lisp-delete-matching): List argument is now alistGeoff Voelker1999-08-061-17/+6
| | | | | | of filenames and attributes. (ls-lisp-insert-directory): Use directory-files-and-attributes for speed.
* (ls-lisp-format-time): If timestamp is invalid,Andrew Innes1999-06-161-1/+1
| | | | | return the string "Unk 0 0000" so at least it appears to be a valid timestamp to `dired-move-to-filename-regexp'.
* (ls-lisp-format-time): Trap errors fromAndrew Innes1999-05-021-9/+11
| | | | | format-time-string, and return a suitable string to indicate the timestamp was invalid.
* (ls-lisp-format): Under -s, print the size in blocks with %4.0f, in caseEli Zaretskii1999-03-041-1/+1
| | | | they have a *really* huge file.
* (ls-lisp-insert-directory): Protect the sum total ofEli Zaretskii1999-03-041-8/+21
| | | | | the file sizes from overflowing. (ls-lisp-format): If file size is a float, use %8.0f to print it.
* (ls-lisp-insert-directory): Call fceiling to roundEli Zaretskii1999-02-161-2/+2
| | | | | the size in blocks, since it can be a float. (ls-lisp-format): Likewise
* (ls-lisp-use-insert-directory-program): New variable.Geoff Voelker1998-10-141-2/+27
| | | | | (ls-lisp-insert-directory): Renamed from insert-directory. (insert-directory): New function.
* Update copyright notice.Richard M. Stallman1998-05-201-1/+1
|
* (ls-lisp-dired-ignore-case): New variable.Geoff Voelker1998-04-171-4/+12
| | | | (ls-lisp-handle-switches): Obey ls-lisp-dired-ignore-case.
* Comment change.Richard M. Stallman1997-05-271-0/+1
|
* (insert-directory): Use same value of `now' for all files.Richard M. Stallman1996-09-031-25/+23
| | | | | | (ls-lisp-format): New argument NOW. Arguments are no longer optional. (ls-lisp-format-time): New argument NOW. Use same method as `ls' to decide whether to show time-of-day or year.
* (ls-lisp-support-shell-wildcards): Add autoload cookie.Richard M. Stallman1996-01-181-0/+1
|
* Update FSF's address.Erik Naggum1996-01-141-7/+12
|
* (ls-lisp-support-shell-wildcards): New variable.Richard M. Stallman1995-12-281-10/+35
| | | | | | | | | | (insert-directory): Convert the filename wildcard to an equivalent Emacs regexp, when `ls-lisp-support-shell-wildcards' is non-nil. Handle file patterns like "/foo*/" as if it were "/foo*", like the shell would. Print zero total for files whose total size is exactly zero (in particular, for no files at all). Say "No match" when no files match the given wildcard. (ls-lisp-format): Make directory listing format more like POSIX ls.
* Update GPL to version 2.Karl Heuer1995-06-151-1/+1
|
* (insert-directory): Gracefully handle the caseRichard M. Stallman1994-08-011-5/+5
| | | | | where a file disappears between when it is listed in the directory and when the attributes are requested.
* Update copyright.Karl Heuer1994-05-031-1/+1
|
* Pass operation to find-file-name-handler.Karl Heuer1994-04-221-1/+1
|
* (ls-lisp-format): Bad format for uid and gid fixed.Richard M. Stallman1994-01-061-3/+3
|
* (insert-directory): Doc fix.Richard M. Stallman1993-06-291-4/+8
| | | | | (ls-lisp-format): Provide user name when known. On ms-dos, provide a name for the group, to be prettier.
* * ls-lisp.el (insert-directory): If no handler, convert SWITCHESJim Blandy1993-06-171-1/+3
| | | | from a string to a list of characters.
* Add standard library headers.Eric S. Raymond1993-03-171-2/+7
|
* The find-file-name-handler function in ../src/fileio.c is nowJim Blandy1992-12-121-8/+1
| | | | | | | | | | callable from lisp; use it instead of writing out its code. * dired-aux.el (dired-compress-file): Just that. * dired.el (dired-uncache): Just that. * files.el (file-local-copy, file-truename, file-name-sans-versions, make-directory, save-buffers-kill-emacs): Just that. * ls-lisp.el (insert-directory): Just that.
* Most functions renamed to start with ls-lisp.Richard M. Stallman1992-10-051-150/+99
| | | | (insert-directory): Renamed from dired-ls.
* (dired-lisp-ls): var `short' was erronously unbound.Sebastian Kremer1992-10-041-3/+4
|
* (dired-lisp-handle-switches): understands `-t' now.Sebastian Kremer1992-05-011-24/+46
|
* Doc fixes.Sebastian Kremer1992-04-301-10/+11
|
* (dired-lisp-format-time): in Emacs 19 we can format times.Sebastian Kremer1992-04-301-37/+115
|
* (dired-lisp-format): format can pad after all.Sebastian Kremer1991-09-271-35/+14
|
* (dired-lisp-ls): handles A a S r i s switches now.Sebastian Kremer1991-09-261-48/+123
| | | | | (dired-lisp-delete-matching): new (dired-lisp-handle-switches): new
* Removed dired-ls-function.Sebastian Kremer1991-02-031-18/+6
| | | | IT STILL CRASHES EMACS SOMETIMES!
* Added copyleft and warnings.Sebastian Kremer1991-02-021-2/+4
|
* Initial revisionSebastian Kremer1991-02-021-0/+142