summaryrefslogtreecommitdiff
path: root/lisp/ls-lisp.el
Commit message (Collapse)AuthorAgeFilesLines
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (ls-lisp-insert-directory): Use `string-width' instead of `length'Eli Zaretskii2008-05-031-2/+4
| | | | for comparing length of user and group names.
* (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt, ls-lisp-gid-d-fmt)Eli Zaretskii2008-04-251-12/+73
| | | | | | | | | | | | (ls-lisp-gid-s-fmt, ls-lisp-filesize-d-fmt, ls-lisp-filesize-f-fmt): New defvars. (ls-lisp-insert-directory): Dynamically compute format specifiers for displaying UID, GID, and file size, and store them in the above variables. (ls-lisp-format): Use ls-lisp-filesize-f-fmt, ls-lisp-uid-s-fmt, ls-lisp-uid-d-fmt, ls-lisp-gid-s-fmt, and ls-lisp-gid-d-fmt instead of constant format strings. (ls-lisp-format-file-size): Use ls-lisp-filesize-f-fmt and ls-lisp-filesize-d-fmt instead of constant format strings.
* (ls-lisp-format): Fix last change.Eli Zaretskii2008-04-251-6/+19
|
* Fix up comment convention on the arch-tag lines.Stefan Monnier2008-04-101-1/+1
|
* (ls-lisp-format): Support inodes that are 2- or 3-member cons cells.Eli Zaretskii2008-04-051-1/+11
|
* (ls-lisp-insert-directory): If -n switch is used, invokeEli Zaretskii2008-01-261-2/+5
| | | | | | | directory-files-and-attributes with last argument `integer' instead of `string'. (insert-directory): Add -n to the list of supported switches mentioned in the doc string.
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | * configure.in: Remove references to unsupported systems.Dan Nicolaescu2008-01-061-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * notes/copyright: * MAINTAINERS: Remove references to files that have been removed. * os.texi (System Environment): Remove references to OSes that are not supported anymore. * PROBLEMS: * MACHINES: Remove references to systems not supported anymore. * makefile.w32-in: * Makefile.in: Remove references to Xenix. * gnus.el (gnus-use-long-file-name): Remove reference to xenix. * obsolete/x-apollo.el: Remove file for unsupported system. * term/x-win.el (vendor-specific-keysyms): Remove reference to Apollo. * progmodes/gud.el (gud-dgux-p): Remove. (dbx): Remove reference to dgux. * progmodes/ps-mode.el (ps-mode-print-function): * ps-print.el (ps-lp-system): * paths.el (rmail-spool-directory): * ls-lisp.el (ls-lisp-emulation): * lpr.el (lpr-lp-system): * dired.el (dired-chown-program): Remove references to dgux. * m/7300.h: * m/acorn.h: * m/alliant-2800.h: * m/alliant.h: * m/alliant1.h: * m/alliant4.h: * m/altos.h: * m/amdahl.h: * m/apollo.h: * m/att3b.h: * m/aviion-intel.h: * m/aviion.h: * m/celerity.h: * m/clipper.h: * m/cnvrgnt.h: * m/convex.h: * m/cydra5.h: * m/delta88k.h: * m/dpx2.h: * m/dual.h: * m/elxsi.h: * m/f301.h: * m/gould-np1.h: * m/gould.h: * m/i860.h: * m/ibmps2-aix.h: * m/ibmrt-aix.h: * m/ibmrt.h: * m/irist.h: * m/is386.h: * m/isi-ov.h: * m/mega68.h: * m/mg1.h: * m/news-r6.h: * m/news-risc.h: * m/news.h: * m/nh3000.h: * m/nh4000.h: * m/ns16000.h: * m/ns32000.h: * m/nu.h: * m/orion.h: * m/orion105.h: * m/paragon.h: * m/pfa50.h: * m/plexus.h: * m/pyramid.h: * m/pyrmips.h: * m/sh3el.h: * m/sps7.h: * m/sr2k.h: * m/stride.h: * m/sun1.h: * m/sun2.h: * m/sun3-68881.h: * m/sun3-fpa.h: * m/sun3-soft.h: * m/sun3.h: * m/sun386.h: * m/symmetry.h: * m/tad68k.h: * m/tahoe.h: * m/targon31.h: * m/tek4300.h: * m/tekxd88.h: * m/tower32.h: * m/tower32v3.h: * m/ustation.h: * m/wicat.h: * m/xps100.h: * s/cxux.h: * s/cxux7.h: * s/dgux.h: * s/dgux4.h: * s/dgux5-4-3.h: * s/dgux5-4r2.h: * s/esix.h: * s/esix5r4.h: * s/hiuxmpp.h: * s/hiuxwe2.h: * s/iris3-5.h: * s/iris3-6.h: * s/isc2-2.h: * s/isc3-0.h: * s/isc4-0.h: * s/isc4-1.h: * s/newsos5.h: * s/newsos6.h: * s/osf1.h: * s/osf5-0.h: * s/riscix1-1.h: * s/riscix12.h: * s/sco4.h: * s/sco5.h: * s/sunos4-0.h: * s/sunos4-1.h: * s/sunos413.h: * s/sunos4shr.h: * s/umax.h: * s/unipl5-2.h: * s/xenix.h: * cxux-crt0.s: * unexapollo.c: * unexconvex.c: * unexenix.c: * unexsni.c: Remove files for systems no longer supported. * m/intel386.h: Remove references to unsupported systems. * w32.c (get_emacs_configuration): Remove reference to i860. * sysdep.c: Remove dead code.
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* (insert-directory): If an invalid regexp error is thrown, try using FILEEli Zaretskii2007-06-231-5/+18
| | | | | as a literal file name, not a wildcard. Check for FILE as an existing file, not just a directory.
* (insert-directory): Don't treat FILE as a wildcard if FILE exists asEli Zaretskii2007-06-231-1/+4
| | | | a directory.
* (ls-lisp-verbosity): Doc fix.Juanma Barranquero2007-05-161-1/+1
|
* (ls-lisp-use-localized-time-format): New defcustom.Eli Zaretskii2007-01-271-3/+19
| | | | | | (ls-lisp-format-time-list): Doc fix. Mention ls-lisp-use-localized-time-format. (ls-lisp-format-time): Use ls-lisp-format-time-list if ls-lisp-use-localized-time-format is non-nil, even if a valid locale is defined.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update copyright years.Glenn Morris2006-12-051-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (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 <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