summaryrefslogtreecommitdiff
path: root/lisp/ls-lisp.el
Commit message (Collapse)AuthorAgeFilesLines
* Merge from origin/emacs-25Paul Eggert2016-11-191-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4af5981 Add a comment in generated refcards about the source ef880a5 ; * etc/refcards/calccard.tex: Remove obsolete comment. 4887e7c js-mode: Fix indent problem after a regexp e992ac0 Fix sluggish display of symbols in UTF-8 language environment 1fc101b Don't confuse how Texinfo outputs @var with the input 91aa5d1 * doc/lispref/display.texi (Scroll Bars): * doc/lispref/frame... f758fcd * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --da... 5b0cddd More fixes in copyright notices in etc/refcards/ f994c20 Update copyright text in refcards 9ad2ae7 Fix Outline command names 26c3554 Send text received by bracketed paste to process db0b58d Correct the statement about programming modes always running ... 78aece4 Improve documentation of 'occur' eb364fd Do call debugger on failed cl-assert 3ef4ee8 Avoid infloop in python 8da810f Don't refer to obsolete FEATURE-unload-hook 4f478ca Improve documentation of dabbrevs 7272e5d * lisp/chistory.el (list-command-history): Doc fix. (Bug#24890) 89b7482 * lisp/simple.el (set-mark-command): Doc fix. (Bug#24890) 3b199f7 Improve documentation of some Help commands 93d3a0e Fix documentation of yes-or-no prompts af04919 Fix documentation of partial completion style ed80184 Fix documentation of the mode line on emacsclient frames e6be855 Fix description of 'C-z' in User manual 16f7007 Improve and clarify documentation of Outline Mode 31d93aa Add Emacs version number to nt/README.W32 0b6b815 Fix python-mode hideshow regexp dc152c5 Modernize usage of 'macOS' in doc and comments 84c5343 Prefer comments /* like this */ in C code bb61e50 * doc/lispref/loading.texi (Autoload): Better link (Bug#24845). 3ef86fd Clarify documentation of face attribute functions de51d59 ; * nt/README.W32: Minor copyedits. db436e9 Don't call debug on failed cl-assert # Conflicts: # doc/emacs/cmdargs.texi # etc/NEWS # etc/PROBLEMS # lisp/auth-source.el # lisp/net/tramp-sh.el
| * Modernize usage of 'macOS' in doc and commentsPaul Eggert2016-11-061-1/+1
| | | | | | | | | | | | | | | | Apple changed the spelling of its operating system again, to "macOS", effective with macOS 10.12 Sierra (2016-09-20). Change Emacs documentation and comments to match this. Stick with older OS spellings ("OS X", "Mac OS X") when talking about older releases where the older names are more correct.
| * (ls-lisp-insert-directory): Make -B workDrew Adams2016-02-231-1/+3
| | | | | | | | | | | | | | | | | | * lisp/ls-lisp.el (ls-lisp-insert-directory): Make -B work (bug#20776). Backport: (cherry picked from commit ef52e66efd78aac4c4e5bd5e11870e5ba3b37a1e)
* | Remove support for IRIXPaul Eggert2016-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IRIX port wasn’t really working anyway, and the code was getting in the way of other changes (e.g., getaddrinfo fixes). IRIX’s supplier dropped support for IRIX in 2013. * admin/CPP-DEFINES: * configure.ac (opsys): * doc/lispref/os.texi (System Environment): * etc/MACHINES, etc/PROBLEMS: * lisp/find-dired.el (find-grep-options): * lisp/lpr.el (lpr-lp-system): * lisp/ls-lisp.el (ls-lisp-emulation): * lisp/mail/rmail.el (rmail-spool-directory): * lisp/net/net-utils.el (ping-program-options): * lisp/progmodes/gud.el (gud-irix-p, gud-dbx-use-stopformat-p): * lisp/progmodes/ps-mode.el (ps-mode-print-function): * src/conf_post.h [IRIX6_5]: * src/emacs.c (Vsystem_type): * src/filelock.c (get_boot_time_1): * src/process.c (process_send_signal): * src/unexelf.c (unexec): Omit IRIX-specific code and/or documentation. * configure.ac (NON_GCC_TEST_OPTIONS, IRIX6_5, PREFER_VSUSP): Remove. All uses removed. * etc/NEWS: Document the change.
* | (ls-lisp-insert-directory): Make -B workDrew Adams2016-02-231-1/+3
|/ | | | | * lisp/ls-lisp.el (ls-lisp-insert-directory): Make -B work (bug#20776).
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Fix some more docstring etc. quoting problemsPaul Eggert2015-09-031-1/+1
| | | | | | | | | | | | | | | | | | | Mostly these fixes prevent the transliteration of apostrophes that should stay apostrophes. Also, prefer curved quotes in Bahá’í proper names, as that’s the preferred Bahá’í style and these names are chock-full of non-ASCII characters anyway. * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload) (eieio-defclass-internal): * lisp/emacs-lisp/eieio.el (defclass): * lisp/hi-lock.el (hi-lock-mode): Don’t transliterate Lisp apostrophes when generating a doc string or diagnostic. * lisp/international/mule-diag.el (list-coding-systems-1): * lisp/international/ogonek.el (ogonek-jak, ogonek-how): * lisp/mail/sendmail.el (sendmail-query-user-about-smtp): * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer): * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map): Substitute quotes before putting them in the help buffer.
* In strings, prefer plain ` and ' to \` and \'Paul Eggert2015-06-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * lisp/allout.el (allout-insert-listified): * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): * lisp/ls-lisp.el (ls-lisp-UCA-like-collation) (ls-lisp-string-lessp): * lisp/menu-bar.el (menu-bar-open): * lisp/obsolete/otodo-mode.el (todo-top-priorities): * lisp/progmodes/compile.el (compile): * lisp/progmodes/etags.el (tags-loop-scan): * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation): * lisp/subr.el (posn-actual-col-row): * lisp/term/pc-win.el (x-list-fonts): * lisp/textmodes/texinfmt.el (texinfmt-version): * lisp/textmodes/texnfo-upd.el (texinfo-master-menu): * lisp/time.el (display-time-world-list): * lisp/tmm.el (tmm-menubar): * src/buffer.c (syms_of_buffer): * src/fileio.c (syms_of_fileio): Omit unnecessary and confusing backslash before quote. * lisp/erc/erc.el (erc-cmd-LASTLOG): * lisp/progmodes/flymake.el (flymake-fix-file-name): * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p): Fix string that was intended to escape a backslash and not a quote.
* Fix Dired display of an explicit list of files by ls-lisp.elEli Zaretskii2015-06-061-4/+4
| | | | | | | | * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt) (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be correct for when displaying individual files separately, not as part of listing a directory, in which case these values are not recomputed by 'ls-lisp-insert-directory', but used verbatim.
* Don't quote nil and t in doc stringsPaul Eggert2015-05-211-1/+1
| | | | | This is as per "Tips for Documentation Strings" in the elisp manual. For consistency, do the same in diagnostics and comments.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Rename 24.5 to 25.1Stefan Monnier2014-09-291-2/+2
| | | | Except where we expect to backport the corresponding change.
* Spelling fixes.Paul Eggert2014-09-111-1/+1
| | | | | | | * lisp/ses.el (ses-file-format-extend-parameter-list): Rename from ses-file-format-extend-paramter-list. All uses changed. * lisp/gnus-cloud.el (gnus-cloud-parse-version-1): Fix misspelling of ":delete".
* Implement the GNU ls -v switch in ls-lisp.el.Eli Zaretskii2014-09-011-1/+65
| | | | | | | | lisp/ls-lisp.el (ls-lisp-version-lessp): New function. (ls-lisp-handle-switches): Use it to implement the -v switch of GNU ls. (ls-lisp--insert-directory): Mention the -v switch in the doc string. Fixes: debbugs:18051
* Use the new string-collate-lessp function in ls-lisp.el.Eli Zaretskii2014-09-011-4/+54
| | | | | | | | | | | lisp/ls-lisp.el (ls-lisp-use-string-collate) (ls-lisp-UCA-like-collation): New defcustoms. (ls-lisp-string-lessp): Use them to control sorting by file names. etc/NEWS: Mention that ls-lisp uses string-collate-lessp. Fixes: debbugs:18051
* Replace "Maintainer: FSF" with the emacs-devel mailing addressGlenn Morris2014-02-091-1/+1
|
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Fix bug #16179 with ls-lisp emulation of the ls -s switch.Eli Zaretskii2013-12-181-13/+24
| | | | | | | | | src/ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f formats for displaying file sizes when the -s switch is given. Instead, compute a separate format for displaying the size in blocks, which is displayed in addition to the "regular" size. When -h is given in addition to -s, produce size in blocks in human-readable form as well.
* Commentary updateGlenn Morris2013-09-171-5/+3
|
* * lisp/ls-lisp.el: Use advice-add.Stefan Monnier2013-09-131-16/+7
| | | | | | | (original-insert-directory): Remove. (ls-lisp--insert-directory): Rename from insert-directory; add `orig-fun' argument. (insert-directory): Advise.
* Spelling fixes (or remove unnecessary and unusually-spelled words).Paul Eggert2013-05-041-2/+2
|
* Fix Dired when ls-lisp is used and the -a switch is not used.Ingo Lohmar2013-04-271-0/+7
| | | | | | | lisp/ls-lisp.el (ls-lisp-insert-directory): If no files are displayed, move point to after the totals line. See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html for the details.
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Fix bug #4673 with Dired when `stat' fails for ".." or other files.Eli Zaretskii2012-02-071-0/+17
| | | | | | lisp/ls-lisp.el (ls-lisp-sanitize): New function. (ls-lisp-insert-directory): Use it to fix or remove any elements in file-alist with missing attributes.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* lisp/*.el: Lexical-binding cleanup.Juanma Barranquero2011-04-191-1/+1
|
* Produce more accurate results from file-size-human-readable.Eli Zaretskii2011-04-091-1/+1
| | | | | | | lisp/files.el (file-size-human-readable): Produce one digit after decimal, like "ls -lh" does. lisp/ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in the file size representation.
* New function file-size-human-readable.Eli Zaretskii2011-04-081-9/+1
| | | | | | lisp/files.el (file-size-human-readable): New function. lisp/ls-lisp.el (ls-lisp-format-file-size): Use it, instead of computing the representation inline. Don't require `cl'.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Refill some copyright headers.Glenn Morris2011-01-151-2/+2
|
* Merge from emacs-23Stefan Monnier2011-01-141-2/+2
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Merge from emacs-23Stefan Monnier2010-11-171-3/+9
|\|
| * Fix some ls-lisp oddness.Glenn Morris2010-11-101-3/+9
| | | | | | | | * lisp/ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
* | ls-lisp: get rid of the dreaded "no effect until you restart Emacs".Glenn Morris2010-11-111-7/+23
| | | | | | | | | | * lisp/ls-lisp.el (ls-lisp-set-options): New function. (ls-lisp-emulation): Use ls-lisp-set-options for custom :set. Doc fix.
* | Minor ls-lisp changes.Glenn Morris2010-11-101-18/+19
| | | | | | | | | | | | | | | | * lisp/ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first) (ls-lisp-verbosity): Add custom :set-after property. (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes. (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument. (ls-lisp-insert-directory): Update caller.
* | Remove ls-lisp time-related functions that duplicate standard functions.Glenn Morris2010-11-091-21/+6
| | | | | | | | | | | | * lisp/ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove. (ls-lisp-handle-switches): Use time-less-p. (ls-lisp-format-time): Use float-time.
* | Merge from emacs-23Stefan Monnier2010-11-091-1/+2
|\|
| * Back-port from trunk the fix for bug #6294.Eli Zaretskii2010-11-061-22/+37
| | | | | | | | | | | | | | ls-lisp.el (ls-lisp-classify-file): New function. (ls-lisp-insert-directory): Call it if switches include -F. (ls-lisp-classify): Call ls-lisp-classify-file. (insert-directory): Remove blanks from switches.
| * Fix bug #7285.Eli Zaretskii2010-11-061-1/+2
| | | | | | | | ls-lisp.el (insert-directory): Doc fix.
* | Merge changes from emacs-23 branch.Juanma Barranquero2010-10-141-1/+1
|\|
| * Fix typos in docstrings, comments and ChangeLogs.Juanma Barranquero2010-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/tutorials/TUTORIAL.es: Fix typos. * lisp/cedet/semantic/symref/list.el (semantic-symref-list-rename-open-hits): Fix typo in message. (semantic-symref-list-map-open-hits): Fix typo in docstring. * lisp/erc/erc-xdcc.el (erc-xdcc-help-text): Fix typo in docstring. * lisp/gnus/nnmail.el (nnmail-fancy-expiry-targets): Fix typo in docstring. * lisp/international/mule.el (define-coding-system): * lisp/international/titdic-cnv.el (quail-cxterm-package-ext-info): * composite.el (compose-region): Fix typo in docstring. * lisp/org/org-agenda.el (org-prefix-category-length) (org-prefix-category-max-length): Fix typos in docstrings. * src/font.c (Ffont_variation_glyphs): * ccl.c (Fccl_execute_on_string): Fix typo in docstring.
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
| |
* | Fix bug #6294.Eli Zaretskii2010-05-291-22/+37
|/ | | | | | | lisp/ls-lisp.el (ls-lisp-classify-file): New function. (ls-lisp-insert-directory): Call it if switches include -F. (ls-lisp-classify): Call ls-lisp-classify-file. (insert-directory): Remove blanks from switches.
* * ls-lisp.el (ls-lisp-insert-directory): Wen WILDCARD-REGEXP andMichael Albinus2010-02-101-0/+1
| | | | | FULL-DIRECTORY-P are nil, and FILE is absolute, expand it. This prevents file names like "~/" been listed literally.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Remove code for defunct system-types emx, macos, mswindows,Glenn Morris2009-08-221-4/+3
| | | | unisoft-unix, vax-vms, win32, w32.
* (ls-lisp-insert-directory): Allow for a trailing '/' when looking for "."Eli Zaretskii2009-03-271-1/+4
| | | | and "..". (Bug#2801)
* (ls-lisp-classify): Propertize file name before concatenating the typeEli Zaretskii2009-01-281-4/+10
| | | | | indicating character. (ls-lisp-format): Don't propertize file-name if ls-lisp-classify already did.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|