1. 23 Jun, 2019 1 commit
  2. 25 May, 2019 1 commit
    • Paul Eggert's avatar
      Go back to "Maintainer: emacs-devel@gnu.org" · f744797a
      Paul Eggert authored
      Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is
      no special maintainer for a file.  Although this wasn't documented
      it was common practice and removing the lines didn't have consensus.
      f744797a
  3. 20 May, 2019 1 commit
  4. 15 Feb, 2019 1 commit
  5. 01 Jan, 2019 1 commit
  6. 24 Sep, 2018 1 commit
    • Paul Eggert's avatar
      file-attributes cleanup · 662bee7d
      Paul Eggert authored
      Mostly, this replaces magic-number calls like (nth 4 A) with
      more-informative calls like (file-attribute-access-time A).
      It also fixes some documentation and minor timestamp coding
      issues that I noticed while looking into this.
      * doc/lispref/files.texi (File Attributes):
      * lisp/files.el (file-attribute-size)
      (file-attribute-inode-number, file-attribute-device-number):
      * src/dired.c (Fdirectory_files_and_attributes)
      (Ffile_attributes):
      Mention which attributes must be integers, or nonnegative integers,
      as opposed to merely being numbers.  Remove no-longer-correct
      talk about representing large integers as conses of integers.
      * doc/lispref/files.texi (Magic File Names):
      * doc/misc/gnus.texi (Low-level interface to the spam-stat dictionary):
      * lisp/autorevert.el (auto-revert-find-file-function)
      (auto-revert-tail-mode, auto-revert-handler):
      * lisp/auth-source.el (auth-source-netrc-parse):
      * lisp/cedet/ede/files.el (ede--inode-for-dir):
      * lisp/cedet/semantic/db-file.el (object-write):
      * lisp/cedet/semantic/db-mode.el (semanticdb-kill-hook):
      * lisp/cedet/semantic/db.el (semanticdb-needs-refresh-p)
      (semanticdb-synchronize):
      * lisp/cedet/srecode/table.el (srecode-mode-table-new):
      * lisp/desktop.el (desktop-save, desktop-read):
      * lisp/dired-aux.el (dired-file-set-difference)
      (dired-do-chxxx, dired-do-chmod, dired-copy-file-recursive)
      (dired-create-files):
      * lisp/dired.el (dired-directory-changed-p, dired-readin):
      * lisp/dos-w32.el (w32-direct-print-region-helper):
      * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads)
      (autoload-find-destination, update-directory-autoloads):
      * lisp/emacs-lisp/shadow.el (load-path-shadows-same-file-or-nonexistent):
      * lisp/epg.el (epg--start, epg-wait-for-completion):
      * lisp/eshell/em-ls.el (eshell-ls-filetype-p)
      (eshell-ls-applicable, eshell-ls-size-string)
      (eshell-ls-file, eshell-ls-dir, eshell-ls-files)
      (eshell-ls-entries):
      * lisp/eshell/em-pred.el (eshell-predicate-alist)
      (eshell-pred-file-type, eshell-pred-file-links)
      (eshell-pred-file-size):
      * lisp/eshell/em-unix.el (eshell-shuffle-files, eshell/cat)
      (eshell-du-sum-directory, eshell/du):
      * lisp/eshell/esh-util.el (eshell-read-passwd)
      (eshell-read-hosts):
      * lisp/files.el (remote-file-name-inhibit-cache)
      (find-file-noselect, insert-file-1, dir-locals-find-file)
      (dir-locals-read-from-dir, backup-buffer)
      (file-ownership-preserved-p, copy-directory)
      (read-file-modes):
      * lisp/find-lisp.el (find-lisp-format):
      * lisp/gnus/gnus-agent.el (gnus-agent-unfetch-articles)
      (gnus-agent-read-agentview, gnus-agent-expire-group-1)
      (gnus-agent-request-article, gnus-agent-regenerate-group)
      (gnus-agent-update-files-total-fetched-for)
      (gnus-agent-update-view-total-fetched-for):
      * lisp/gnus/gnus-cache.el (gnus-cache-read-active)
      (gnus-cache-update-file-total-fetched-for)
      (gnus-cache-update-overview-total-fetched-for):
      * lisp/gnus/gnus-cloud.el (gnus-cloud-file-new-p):
      * lisp/gnus/gnus-score.el (gnus-score-score-files):
      * lisp/gnus/gnus-start.el (gnus-save-newsrc-file)
      (gnus-master-read-slave-newsrc):
      * lisp/gnus/gnus-sum.el (gnus-summary-import-article):
      * lisp/gnus/gnus-util.el (gnus-file-newer-than)
      (gnus-cache-file-contents):
      * lisp/gnus/mail-source.el (mail-source-delete-old-incoming)
      (mail-source-callback, mail-source-movemail):
      * lisp/gnus/nneething.el (nneething-create-mapping)
      (nneething-make-head):
      * lisp/gnus/nnfolder.el (nnfolder-read-folder):
      * lisp/gnus/nnheader.el (nnheader-file-size)
      (nnheader-insert-nov-file):
      * lisp/gnus/nnmail.el (nnmail-activate):
      * lisp/gnus/nnmaildir.el (nnmaildir--group-maxnum)
      (nnmaildir--new-number, nnmaildir--update-nov)
      (nnmaildir--scan, nnmaildir-request-scan)
      (nnmaildir-request-update-info)
      (nnmaildir-request-expire-articles):
      * lisp/gnus/nnmh.el (nnmh-request-list-1)
      (nnmh-request-expire-articles, nnmh-update-gnus-unreads):
      * lisp/gnus/nnml.el (nnml-request-expire-articles):
      * lisp/gnus/spam-stat.el (spam-stat-save, spam-stat-load)
      (spam-stat-process-directory, spam-stat-test-directory):
      * lisp/ido.el (ido-directory-too-big-p)
      (ido-file-name-all-completions):
      * lisp/image-dired.el (image-dired-get-thumbnail-image)
      (image-dired-create-thumb-1):
      * lisp/info.el (info-insert-file-contents):
      * lisp/ls-lisp.el (ls-lisp-insert-directory)
      (ls-lisp-handle-switches, ls-lisp-classify-file)
      (ls-lisp-format):
      * lisp/mail/blessmail.el:
      * lisp/mail/feedmail.el (feedmail-default-date-generator)
      (feedmail-default-message-id-generator):
      * lisp/mail/mailabbrev.el (mail-abbrevs-sync-aliases)
      (mail-abbrevs-setup):
      * lisp/mail/mspools.el (mspools-size-folder):
      * lisp/mail/rmail.el (rmail-insert-inbox-text):
      * lisp/mail/sendmail.el (sendmail-sync-aliases):
      * lisp/mh-e/mh-alias.el (mh-alias-tstamp):
      * lisp/net/ange-ftp.el (ange-ftp-parse-netrc)
      (ange-ftp-write-region, ange-ftp-file-newer-than-file-p)
      (ange-ftp-cf1):
      * lisp/net/eudcb-mab.el (eudc-mab-query-internal):
      * lisp/net/eww.el (eww-read-bookmarks):
      * lisp/net/netrc.el (netrc-parse):
      * lisp/net/newst-backend.el (newsticker--image-get):
      * lisp/nxml/rng-loc.el (rng-get-parsed-schema-locating-file):
      * lisp/obsolete/fast-lock.el (fast-lock-save-cache):
      * lisp/obsolete/vc-arch.el (vc-arch-state)
      (vc-arch-diff3-rej-p):
      * lisp/org/ob-eval.el (org-babel--shell-command-on-region):
      * lisp/org/org-attach.el (org-attach-commit):
      * lisp/org/org-macro.el (org-macro-initialize-templates):
      * lisp/org/org.el (org-babel-load-file)
      (org-file-newer-than-p):
      * lisp/org/ox-html.el (org-html-format-spec):
      * lisp/org/ox-publish.el (org-publish-find-date)
      (org-publish-cache-ctime-of-src):
      * lisp/pcmpl-gnu.el (pcomplete/tar):
      * lisp/pcmpl-rpm.el (pcmpl-rpm-packages):
      * lisp/play/cookie1.el (cookie-snarf):
      * lisp/progmodes/cmacexp.el (c-macro-expansion):
      * lisp/ps-bdf.el (bdf-file-mod-time):
      * lisp/server.el (server-ensure-safe-dir):
      * lisp/simple.el (shell-command-on-region):
      * lisp/speedbar.el (speedbar-item-info-file-helper)
      (speedbar-check-obj-this-line):
      * lisp/thumbs.el (thumbs-cleanup-thumbsdir):
      * lisp/time.el (display-time-mail-check-directory)
      (display-time-file-nonempty-p):
      * lisp/url/url-cache.el (url-is-cached):
      * lisp/url/url-file.el (url-file-asynch-callback):
      * lisp/vc/diff-mode.el (diff-delete-if-empty):
      * lisp/vc/pcvs-info.el (cvs-fileinfo-from-entries):
      * lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
      * lisp/vc/vc-cvs.el (vc-cvs-checkout-model)
      (vc-cvs-state-heuristic, vc-cvs-merge-news)
      (vc-cvs-retrieve-tag, vc-cvs-parse-status, vc-cvs-parse-entry):
      * lisp/vc/vc-hg.el (vc-hg--slurp-hgignore-1)
      (vc-hg--ignore-patterns-valid-p)
      (vc-hg--cached-dirstate-search, vc-hg-state-fast):
      * lisp/vc/vc-hooks.el (vc-after-save):
      * lisp/vc/vc-rcs.el (vc-rcs-workfile-is-newer):
      * lisp/vc/vc-svn.el (vc-svn-merge-news, vc-svn-parse-status):
      * lisp/vc/vc.el (vc-checkout, vc-checkin, vc-revert-file):
      * lisp/xdg.el (xdg-mime-apps):
      Prefer (file-attribute-size A) to (nth 7 A), and similarly
      for other file attributes accessors.
      * doc/lispref/files.texi (File Attributes):
      * doc/lispref/intro.texi (Version Info):
      * doc/lispref/os.texi (Idle Timers):
      * lisp/erc/erc.el (erc-string-to-emacs-time):
      * lisp/files.el (file-attribute-access-time)
      (file-attribute-modification-time)
      (file-attribute-status-change-time):
      * lisp/net/tramp-compat.el:
      (tramp-compat-file-attribute-modification-time)
      (tramp-compat-file-attribute-size):
      * src/buffer.c (syms_of_buffer):
      * src/editfns.c (Fget_internal_run_time):
      * src/fileio.c (Fvisited_file_modtime)
      (Fset_visited_file_modtime):
      * src/keyboard.c (Fcurrent_idle_time):
      * src/process.c (Fprocess_attributes):
      Defer implementation details about timestamp format to the
      section that talks about timestamp format, to make it easier
      to change the documentation later if timestamp formats are
      extended.
      * lisp/gnus/gnus-util.el (gnus-file-newer-than):
      * lisp/speedbar.el (speedbar-check-obj-this-line):
      * lisp/vc/vc-rcs.el (vc-rcs-workfile-is-newer):
      Prefer time-less-p to doing it by hand.
      * lisp/ls-lisp.el (ls-lisp-format): Inode numbers are no longer conses.
      * lisp/vc/vc-bzr.el (vc-bzr-state-heuristic):
      Use eql, not eq, to compare integers that might be bignums.
      * lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
      Prefer float-time to doing time arithmetic by hand.
      662bee7d
  7. 01 Jan, 2018 1 commit
  8. 25 Nov, 2017 2 commits
  9. 24 Oct, 2017 1 commit
    • Noam Postavsky's avatar
      Fix compile warning for non-w32 builds · e8a06a5f
      Noam Postavsky authored
      Since 2017-07-25 "ls-lisp: Add an unload function and enable lexical
      binding", the non-w32 builds would treat the undeclared
      w32-collate-ignore-punctuation variable as lexical.
      * lisp/ls-lisp.el (top-level): Declare it as a dynamic variable.
      e8a06a5f
  10. 22 Oct, 2017 1 commit
    • Paul Eggert's avatar
      Avoid unnecessary rounding errors in timestamps · 3aee7be6
      Paul Eggert authored
      Avoid the rounding errors of float-time when it’s easy.  E.g.,
      replace (< (float-time a) (float-time b)) with (time-less-p a b).
      * lisp/desktop.el (desktop-save):
      * lisp/ecomplete.el (ecomplete-add-item):
      * lisp/epg.el (epg-wait-for-completion):
      * lisp/files.el (dir-locals-find-file, dir-locals-read-from-dir):
      * lisp/image-dired.el (image-dired-get-thumbnail-image)
      (image-dired-create-thumb-1):
      * lisp/info.el (info-insert-file-contents):
      * lisp/ls-lisp.el (ls-lisp-format-time):
      * lisp/net/ange-ftp.el (ange-ftp-file-newer-than-file-p)
      (ange-ftp-verify-visited-file-modtime):
      * lisp/net/rcirc.el (rcirc-ctcp-sender-PING):
      * lisp/textmodes/remember.el (remember-store-in-mailbox):
      * lisp/url/url-cookie.el (url-cookie-expired-p):
      Bypass float-time to avoid rounding errors.
      
      * lisp/files.el (dir-locals-find-file):
      3aee7be6
  11. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  12. 04 Aug, 2017 1 commit
  13. 02 Aug, 2017 1 commit
  14. 30 Jul, 2017 2 commits
    • Tino Calancha's avatar
      ls-lisp: Do not require em-glob at top of the file · c8f44e4b
      Tino Calancha authored
      Require em-glob inside 'ls-lisp--dired'.  This is necessary to
      not break the Emacs build.
      See following thread for details:
      https://lists.gnu.org/archive/html/emacs-devel/2017-07/msg01083.html
      * lisp/ls-lisp.el (dired-goto-next-file)
      (dired-read-dir-and-switches, eshell-extended-glob):
      Add function declarations.
      * lisp/eshell/em-ls.el (dired-goto-next-file): Fix function declaration.
      c8f44e4b
    • Tino Calancha's avatar
      Dired: Handle posix wildcards in directory part · 6f6639d6
      Tino Calancha authored
      Allow Dired to handle calls like
      \(dired \"~/foo/*/*.el\"), that is, with wildcards within
      the directory part of the file argument (Bug#27631).
      * lisp/files.el (insert-directory-wildcard-in-dir-p): New predicate.
      (insert-directory-clean): New defun extracted from insert-directory.
      (insert-directory)
      * lisp/dired.el (dired-internal-noselect)
      (dired-insert-directory): Use the new predicate; when it's true,
      handle the directory wildcards with a shell call.
      * lisp/eshell/em-ls.el (eshell-ls-use-in-dired): Add/remove both advices.
      (eshell-ls-unload-hook): New defun.  Use it in
      eshell-ls-unload-hook instead of an anonymous function.
      (eshell-ls--dired)
      * lisp/ls-lisp.el (ls-lisp--dired):
      Advice dired to handle wildcards in the directory part with both
      eshell-ls and ls-lisp.
      * etc/NEWS: Announce it.
      * doc/emacs/dired.texi (Dired Enter): Update manual.
      * test/lisp/dired-tests.el (dired-test-bug27631): Add test.
      6f6639d6
  15. 25 Jul, 2017 1 commit
  16. 15 Jul, 2017 1 commit
    • Tino Calancha's avatar
      ls-lisp: Fix file size format · 66683f46
      Tino Calancha authored
      * lisp/ls-lisp.el (ls-lisp-filesize-d-fmt, ls-lisp-filesize-f-fmt)
      (ls-lisp-filesize-b-fmt): Add space in front (Bug#27693).
      * test/lisp/dired-tests.el (dired-test-bug27693): Add test.
      66683f46
  17. 01 Jan, 2017 1 commit
  18. 06 Nov, 2016 1 commit
    • Paul Eggert's avatar
      Modernize usage of 'macOS' in doc and comments · dc152c54
      Paul Eggert authored
      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.
      dc152c54
  19. 07 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Remove support for IRIX · 6bc8689c
      Paul Eggert authored
      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.
      6bc8689c
  20. 23 Feb, 2016 2 commits
  21. 01 Jan, 2016 1 commit
  22. 03 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Fix some more docstring etc. quoting problems · 26bd978d
      Paul Eggert authored
      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.
      26bd978d
  23. 30 Jun, 2015 1 commit
    • Paul Eggert's avatar
      In strings, prefer plain ` and ' to \` and \' · 3213d770
      Paul Eggert authored
      * 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.
      3213d770
  24. 06 Jun, 2015 1 commit
    • Eli Zaretskii's avatar
      Fix Dired display of an explicit list of files by ls-lisp.el · e5108ff1
      Eli Zaretskii authored
      * 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.
      e5108ff1
  25. 21 May, 2015 1 commit
  26. 01 Jan, 2015 2 commits
  27. 29 Sep, 2014 1 commit
  28. 11 Sep, 2014 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · 0f2ed592
      Paul Eggert authored
      * 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".
      0f2ed592
  29. 01 Sep, 2014 2 commits
    • Eli Zaretskii's avatar
      Implement the GNU ls -v switch in ls-lisp.el. · cd6f709c
      Eli Zaretskii authored
       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
      cd6f709c
    • Eli Zaretskii's avatar
      Use the new string-collate-lessp function in ls-lisp.el. · 0360ec58
      Eli Zaretskii authored
       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
      0360ec58
  30. 10 Feb, 2014 1 commit
  31. 01 Jan, 2014 1 commit
  32. 18 Dec, 2013 1 commit
    • Eli Zaretskii's avatar
      Fix bug #16179 with ls-lisp emulation of the ls -s switch. · 64e4c76e
      Eli Zaretskii authored
       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.
      64e4c76e
  33. 17 Sep, 2013 1 commit
  34. 13 Sep, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/ls-lisp.el: Use advice-add. · 7830899f
      Stefan Monnier authored
      (original-insert-directory): Remove.
      (ls-lisp--insert-directory): Rename from insert-directory; add
      `orig-fun' argument.
      (insert-directory): Advise.
      7830899f
  35. 05 May, 2013 1 commit