aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/ls-lisp.el
Commit message (Collapse)AuthorAgeFilesLines
* (ls-lisp-parse-symlink): Delete.Lars Hansen2005-11-221-22/+9
| | | | | | (ls-lisp-classify, ls-lisp-format): Delete call to ls-lisp-parse-symlink. (ls-lisp-handle-switches): Handle symlinks to directories as directories when ls-lisp-dirs-first in non-nil.
* (ls-lisp-format-file-size): Format file size with 9 digits, not 8, to avoidEli Zaretskii2005-11-191-2/+2
| | | | misalignment for files larger than 100MB.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (ls-lisp-classify): Fix spelling in docstrings.Juanma Barranquero2005-06-161-1/+1
|
* (ls-lisp-format): Mark file names with poperty dired-filename.Lars Hansen2004-09-251-1/+1
|
* (ls-lisp-insert-directory): Add parameter 'string inLars Hansen2003-12-271-15/+6
| | | | | | calls to directory-files-and-attributes and file-attributes. (ls-lisp-format): Remove system dependent handling of user and group id's.
* (ls-lisp-insert-directory): Arg is now wildcard-regexp.Richard M. Stallman2003-10-201-18/+19
| | | | | | Don't check for foo*/ wildcard form here. (insert-directory): Recognize foo*/ as a wildcard. Separate wildcard-regexp variable from the arg, wildcard.
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (insert-directory): Remove --dired switch whenJohn Paul Wallington2003-05-141-0/+3
| | | | `ls-lisp-use-insert-directory-program' is nil.
* (ls-lisp-format-file-size): New function to implement "-h" switch.Juanma Barranquero2003-05-011-1/+12
| | | | (ls-lisp-format): Use it.
* (ls-lisp-use-insert-directory-program): Make defaultMarkus Rost2003-01-201-1/+4
| | | | | value system dependent. (ls-lisp-support-shell-wildcards): Add autoload cookie.
* (original-insert-directory): Make this a variable,Richard M. Stallman2002-12-211-2/+6
| | | | | don't set its function definition. (insert-directory): Use funcall to call that function.
* Fix URL.Pavel Janík2002-12-111-1/+1
|
* (defgroup ls-lisp): Remove autoload cookie.Markus Rost2002-11-121-1/+0
|
* (ls-lisp-format-time-list): Fix type and provide :tag's.Markus Rost2002-09-171-1/+2
|
* (ls-lisp-format-time-list): New variable.Richard M. Stallman2002-09-091-2/+20
| | | | (ls-lisp-format-time): Use it.
* (insert-directory): Modify the "total" line wording, in accordance withEli Zaretskii2001-12-301-2/+2
| | | | files.el's insert-directory.
* (insert-directory): Insert the amount of free diskEli Zaretskii2001-12-211-1/+12
| | | | space, like files.el's insert-directory does.
* Doc fix.Pavel Janík2001-12-201-1/+1
|
* (ls-lisp-time-to-seconds): New function.Paul Eggert2001-11-061-13/+27
| | | | | | (ls-lisp-format-time): Emulate GNU fileutils 4.1.1 ls, whose time stamps always line up by default. Also, it uses a slightly different window to determine whether files are "recent".
* 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 <[email protected]>: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.