1. 01 Jan, 2020 1 commit
  2. 26 May, 2019 1 commit
    • Paul Eggert's avatar
      Remove Maintainer: when it duplicates Author: · 797ee587
      Paul Eggert authored
      The convention is that a file with Author: but not Maintainer:
      means the author is a maintainer, which makes it confusing
      when a file lists the same person as author and maintainer.
      Avoid the confusion by removing the duplicate Maintainer: line.
      797ee587
  3. 05 Jan, 2019 1 commit
  4. 01 Jan, 2019 1 commit
  5. 21 Aug, 2018 1 commit
    • Paul Eggert's avatar
      Audit use of lsh and fix glitches · f18af6cd
      Paul Eggert authored
      I audited use of lsh in the Lisp source code, and fixed the
      glitches that I found.  While I was at it, I replaced uses of lsh
      with ash when either will do.  Replacement is OK when either
      argument is known to be nonnegative, or when only the low-order
      bits of the result matter, and is a (minor) win since ash is a bit
      more solid than lsh nowadays, and is a bit faster.
      * lisp/calc/calc-ext.el (math-check-fixnum):
      Prefer most-positive-fixnum to (lsh -1 -1).
      * lisp/vc/vc-hg.el (vc-hg-state-fast): When testing fixnum width,
      prefer (zerop (ash most-positive-fixnum -32)) to (zerop (lsh -1
      32)) (Bug#32485#11).
      * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode):
      Tighten sanity-check for bytecode overflow, by checking that the
      result of (ash pc -8) is nonnegative.  Formerly this check was not
      needed since lsh was used and the number overflowed differently.
      * lisp/net/dns.el (dns-write): Fix some obvious sign typos in
      shift counts.  Evidently this part of the code has never been
      exercised.
      * lisp/progmodes/hideif.el (hif-shiftleft, hif-shiftright):
      * lisp/term/common-win.el (x-setup-function-keys):
      Simplify.
      * admin/unidata/unidata-gen.el, admin/unidata/uvs.el:
      * doc/lispref/keymaps.texi, doc/lispref/syntax.texi:
      * doc/misc/calc.texi, doc/misc/cl.texi, etc/NEWS.19:
      * lisp/arc-mode.el, lisp/calc/calc-bin.el, lisp/calc/calc-comb.el:
      * lisp/calc/calc-ext.el, lisp/calc/calc-math.el:
      * lisp/cedet/semantic/wisent/comp.el, lisp/composite.el:
      * lisp/disp-table.el, lisp/dos-fns.el, lisp/edmacro.el:
      * lisp/emacs-lisp/bindat.el, lisp/emacs-lisp/byte-opt.el:
      * lisp/emacs-lisp/bytecomp.el, lisp/emacs-lisp/cl-extra.el:
      * lisp/erc/erc-dcc.el, lisp/facemenu.el, lisp/gnus/message.el:
      * lisp/gnus/nndoc.el, lisp/gnus/nnmaildir.el, lisp/image.el:
      * lisp/international/ccl.el, lisp/international/fontset.el:
      * lisp/international/mule-cmds.el, lisp/international/mule.el:
      * lisp/json.el, lisp/mail/binhex.el, lisp/mail/rmail.el:
      * lisp/mail/uudecode.el, lisp/md4.el, lisp/net/dns.el:
      * lisp/net/ntlm.el, lisp/net/sasl.el, lisp/net/socks.el:
      * lisp/net/tramp.el, lisp/obsolete/levents.el:
      * lisp/obsolete/pgg-parse.el, lisp/org/org.el:
      * lisp/org/ox-publish.el, lisp/progmodes/cc-defs.el:
      * lisp/progmodes/ebnf2ps.el, lisp/progmodes/hideif.el:
      * lisp/ps-bdf.el, lisp/ps-print.el, lisp/simple.el:
      * lisp/tar-mode.el, lisp/term/common-win.el:
      * lisp/term/tty-colors.el, lisp/term/xterm.el, lisp/vc/vc-git.el:
      * lisp/vc/vc-hg.el, lisp/x-dnd.el, test/src/data-tests.el:
      Prefer ash to lsh when either will do.
      f18af6cd
  6. 01 Jan, 2018 1 commit
  7. 02 Dec, 2017 1 commit
  8. 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
  9. 01 Jan, 2017 1 commit
  10. 01 Jan, 2016 1 commit
  11. 21 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Avoid hard-coding "M-x command" in docstrings · c1cacb09
      Paul Eggert authored
      * lisp/calendar/todo-mode.el (todo-mode):
      * lisp/desktop.el (desktop-save-mode):
      * lisp/edmacro.el (edit-kbd-macro):
      * lisp/emacs-lisp/package.el (package-menu-execute):
      * lisp/emulation/viper-cmd.el (viper-ask-level):
      * lisp/emulation/viper-init.el (viper-expert-level):
      * lisp/filesets.el (filesets-add-buffer):
      * lisp/follow.el (follow-mode):
      * lisp/gnus/auth-source.el (auth-sources):
      * lisp/international/ogonek.el (ogonek-informacja)
      (ogonek-information):
      * lisp/net/tramp.el (tramp-process-actions):
      * lisp/org/org-gnus.el (org-gnus-no-new-news):
      * lisp/org/org.el (org-ellipsis):
      * lisp/progmodes/python.el (python-shell-get-process-or-error):
      * lisp/progmodes/vhdl-mode.el (vhdl-mode):
      * lisp/server.el (server-start):
      * lisp/type-break.el (type-break-noninteractive-query):
      * lisp/userlock.el (ask-user-about-supersession-help):
      * lisp/whitespace.el (whitespace-report-region):
      Prefer (substitute-command-keys "`\\[foo-command]'")
      to "`M-x foo-command'" in docstrings and the like.
      c1cacb09
  12. 10 Apr, 2015 1 commit
  13. 05 Apr, 2015 1 commit
    • Alan Mackenzie's avatar
      Rationalize use of c[ad]+r, expunging cl-c[ad]\{3,4\}r. · 2056db3f
      Alan Mackenzie authored
      Also expunge eudc-c[ad]+r.
      
      * subr.el (internal--compiler-macro-cXXr): "New" function, copied
      from cl--compiler-macro-cXXr.
      (caar, cadr, cdar, cddr): Change from defsubsts to defuns with
      the above compiler-macro.
      
      * net/eudc.el (eudc-cadr, eudc-cdar, eudc-caar, eudc-cdaar): Remove.
      
      * emacs-lisp/cl.el (Top level dolist doing defaliases): Remove
      caaar, etc., from list of new alias functions.
      
      * emacs-lisp/cl-lib.el (cl-caaar, etc): Rename to caaar, etc.
      (gen-cXXr--rawname, gen-cXXr-all-cl-aliases): New function/macro
      which generate obsolete cl- aliases for caaar, etc.  Invoke them.
      
      * desktop.el:
      * edmacro.el:
      * emacs-lisp/cl-macs.el:
      * frameset.el:
      * ibuffer.el:
      * mail/footnote.el:
      * net/dbus.el:
      * net/eudc-export.el:
      * net/eudc.el:
      * net/eudcb-ph.el:
      * net/rcirc.el:
      * net/secrets.el:
      * play/5x5.el:
      * play/decipher.el:
      * play/hanoi.el:
      * progmodes/hideif.el:
      * ses.el: Replace cl-caaar, eudc-cadr, etc. with caaar and cadr, etc.
      2056db3f
  14. 01 Jan, 2015 2 commits
  15. 01 Jan, 2014 1 commit
  16. 15 Jul, 2013 1 commit
  17. 12 Jul, 2013 1 commit
    • Glenn Morris's avatar
      Remove some more reimplementations of cl-lib functions · 539a920c
      Glenn Morris authored
      * lisp/doc-view.el: Require cl-lib at runtime too.
      (doc-view-remove-if): Remove.
      (doc-view-search-next-match, doc-view-search-previous-match):
      Use cl-remove-if.
      
      * lisp/edmacro.el: Require cl-lib at runtime too.
      (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
      (edmacro-mismatch, edmacro-subseq): Remove.
      
      * lisp/filesets.el: Comments.
      
      * lisp/shadowfile.el: Require cl-lib.
      (shadow-remove-if): Remove.
      (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
      Use cl-remove-if.
      
      * lisp/wid-edit.el: Require cl-lib.
      (widget-choose): Use cl-remove-if.
      (widget-remove-if): Remove.
      
      * lisp/progmodes/ebrowse.el: Require cl-lib at runtime too.
      (ebrowse-delete-if-not): Remove.
      (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
      (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
      Use cl-delete-if-not.
      539a920c
  18. 01 Jan, 2013 1 commit
  19. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * admin/bzrmerge.el: Use cl-lib.
      * leim/quail/hangul.el: Don't require CL.
      * leim/quail/ipa.el: Use cl-lib.
      * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
      * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
      * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
      * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
      * international/quail.el, info-xref.el, imenu.el, image-mode.el:
      * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
      * battery.el, avoid.el, abbrev.el: Use cl-lib.
      * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
      * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
      * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
      * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
      * calculator.el, autorevert.el, apropos.el: Don't require CL.
      * emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
      (byte-compile-unfold-bcf, byte-compile-check-variable):
      * emacs-byte-opt.el (byte-compile-trueconstp)
      (byte-compile-nilconstp):
      * emacs-autoload.el (make-autoload): Use pcase.
      * face-remap.el (text-scale-adjust): Simplify pcase patterns.
      f58e0fd5
  20. 11 Jun, 2012 1 commit
    • Stefan Monnier's avatar
      Use lexical-binding for all of CL, and clean up its namespace. · bb3faf5b
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-lib.el: Use lexical-binding.
      (cl-map-extents, cl-maclisp-member): Remove.
      (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
      (cl--set-substring, cl--block-wrapper, cl--block-throw)
      (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
      * lisp/emacs-lisp/cl-extra.el: Use lexical-binding.
      (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
      (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
      (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
      (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
      * lisp/emacs-lisp/cl-seq.el: Use lexical-binding.
      (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
      (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
      (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
      * lisp/emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
      * lisp/edmacro.el (edmacro-mismatch): Simplify to remove dependence on
      CL's internals.
      bb3faf5b
  21. 11 Jan, 2012 1 commit
  22. 05 Jan, 2012 1 commit
  23. 19 Apr, 2011 1 commit
  24. 20 Feb, 2011 1 commit
    • Glenn Morris's avatar
      edmacro.el trivia. · e17816e5
      Glenn Morris authored
      * lisp/edmacro.el: Remove old header comment.
      (edmacro-eight-bits): Make it a defcustom.  Don't autoload it.
      e17816e5
  25. 25 Jan, 2011 1 commit
  26. 15 Jan, 2011 1 commit
  27. 02 Jan, 2011 1 commit
  28. 10 Oct, 2010 1 commit
    • Dan Nicolaescu's avatar
      Declare and define in one step various mode maps. · a0310a6c
      Dan Nicolaescu authored
      * lisp/shell.el (shell-mode-map):
      * lisp/progmodes/modula2.el (m2-mode-map):
      * lisp/progmodes/inf-lisp.el (inferior-lisp-mode-map):
      * lisp/play/mpuz.el (mpuz-mode-map):
      * lisp/play/landmark.el (lm-mode-map):
      * lisp/play/decipher.el (decipher-mode-map):
      * lisp/play/5x5.el (5x5-mode-map):
      * lisp/net/telnet.el (telnet-mode-map):
      * lisp/net/quickurl.el (quickurl-list-mode-map):
      * lisp/net/mairix.el (mairix-searches-mode-map):
      * lisp/net/eudc-hotlist.el (eudc-hotlist-mode-map):
      * lisp/net/dig.el (dig-mode-map):
      * lisp/mail/mspools.el (mspools-mode-map):
      * lisp/hexl.el (hexl-mode-map):
      * lisp/emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
      (wordstar-C-o-map, wordstar-C-q-map):
      * lisp/emacs-lisp/edebug.el (edebug-eval-mode-map):
      * lisp/emacs-lisp/chart.el (chart-map):
      * lisp/edmacro.el (edmacro-mode-map):
      * lisp/array.el (array-mode-map): Declare and define in one step.
      
      * lisp/erc/erc-list.el (erc-list-menu-mode-map): Declare and define in one step.
      a0310a6c
  29. 13 Jan, 2010 1 commit
  30. 26 May, 2009 1 commit
  31. 05 Jan, 2009 1 commit
  32. 23 Oct, 2008 1 commit
  33. 11 Oct, 2008 1 commit
  34. 10 Sep, 2008 1 commit
  35. 19 Aug, 2008 1 commit
  36. 06 May, 2008 1 commit
  37. 10 Apr, 2008 1 commit
  38. 07 Jan, 2008 1 commit
  39. 25 Jul, 2007 1 commit