1. 19 Jun, 2019 1 commit
    • Lars Ingebrigtsen's avatar
      Remove XEmacs compat code from ps-print · 8064f64e
      Lars Ingebrigtsen authored
      * lisp/ps-print.el:
      (ps-print-color-p, ps-postscript-code-directory, ps-setup):
      * lisp/ps-def.el:
      (ps-mark-active-p, ps-face-foreground-name)
      (ps-face-background-name, ps-color-device, ps-color-values)
      (ps-face-bold-p, ps-face-italic-p, ps-face-strikeout-p)
      (ps-face-overline-p, ps-face-box-p)
      (ps-generate-postscript-with-faces1): Remove XEmacs compat code
      and some outdated Emacs compat code.
      8064f64e
  2. 04 Jun, 2019 1 commit
    • Paul Eggert's avatar
      Remove retired maintainers from comments · ca7b6a44
      Paul Eggert authored
      * lisp/international/quail.el, lisp/language/ind-util.el:
      * lisp/language/indian.el, lisp/mail/smtpmail.el, lisp/mwheel.el:
      * lisp/obsolete/longlines.el, lisp/progmodes/idlw-complete-structtag.el:
      * lisp/progmodes/idlw-help.el, lisp/progmodes/idlw-shell.el:
      * lisp/progmodes/idlw-toolbar.el, lisp/progmodes/idlwave.el:
      * lisp/progmodes/simula.el, lisp/ps-print.el, lisp/ps-samp.el:
      Remove Maintainer: lines for maintainers who have retired.
      ca7b6a44
  3. 20 May, 2019 1 commit
  4. 17 May, 2019 3 commits
  5. 01 Jan, 2019 1 commit
  6. 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
  7. 27 Feb, 2018 1 commit
  8. 26 Feb, 2018 1 commit
  9. 01 Jan, 2018 1 commit
  10. 29 Oct, 2017 1 commit
  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 Jan, 2017 1 commit
  13. 01 Jan, 2017 1 commit
  14. 08 Oct, 2016 1 commit
    • Eli Zaretskii's avatar
      Deprecate 'wp' group and introduce a new group 'text' · 67d14c82
      Eli Zaretskii authored
      * lisp/textmodes/tildify.el (tildify):
      * lisp/textmodes/text-mode.el (text-mode-hook):
      * lisp/textmodes/table.el (table):
      * lisp/textmodes/rst.el (rst):
      * lisp/textmodes/refer.el (refer):
      * lisp/textmodes/refbib.el (refbib):
      * lisp/textmodes/picture.el (picture):
      * lisp/textmodes/nroff-mode.el (nroff):
      * lisp/textmodes/enriched.el (enriched):
      * lisp/textmodes/bib-mode.el (bib):
      * lisp/progmodes/ebnf2ps.el (ebnf2ps):
      * lisp/nxml/rng-valid.el (relax-ng):
      * lisp/view.el (view):
      * lisp/ps-print.el (ps-print):
      * lisp/printing.el (printing):
      * lisp/outline.el (outlines):
      * lisp/lpr.el (lpr):
      * lisp/delim-col.el (columns): Use 'text' group instead of 'wp'.
      * lisp/cus-edit.el (wp): Remove the "text" tag.
      (text): New defgroup, inherits from the deprecated 'wp'.
      (outlines): Remove, in favor of the definition in outline.el.
      (tex): Inherit from 'text'.
      Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#24549)
      67d14c82
  15. 28 Sep, 2016 1 commit
    • Mark Oteiza's avatar
      Turn on more lexical-binding · cbb2e845
      Mark Oteiza authored
      * lisp/dom.el:
      * lisp/faces.el:
      * lisp/htmlfontify.el: Turn on lexical-binding.
      (htmlfontify-string): Use pushnew instead of add-to-list.
      * lisp/info-xref.el:
      * lisp/isearch.el:
      * lisp/man.el:
      * lisp/ps-def.el:
      * lisp/ps-print.el:
      * lisp/replace.el: Turn on lexical-binding.  Require cl-lib at compile
      time.
      (multi-occur): Use cl-pushnew instead of add-to-list.
      (replace-match-string-symbols): Remove unused lexical variable.
      (replace-search, replace-highlight): Fix argument shadowing.
      * lisp/sort.el:
      * lisp/xml.el: Turn on lexical-binding.
      (xml--parse-buffer): Use push instead of add-to-list.
      * lisp/xt-mouse.el: Turn on lexical-binding.
      cbb2e845
  16. 07 Sep, 2016 1 commit
  17. 23 Feb, 2016 2 commits
  18. 01 Jan, 2016 2 commits
  19. 17 Dec, 2015 1 commit
  20. 17 Nov, 2015 1 commit
    • Paul Eggert's avatar
      Fix docstring quoting problems with ‘ '’ · ac16149b
      Paul Eggert authored
      Problem reported by Artur Malabarba in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
      Most of these fixes are to documentation; many involve fixing
      longstanding quoting glitches that are independent of the
      recent substitute-command-keys changes.  The changes to code are:
      * lisp/cedet/mode-local.el (mode-local-augment-function-help)
      (describe-mode-local-overload):
      Substitute docstrings before displaying them.
      * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
      Quote the generated docstring for later substitution.
      ac16149b
  21. 17 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Backslash cleanup in Elisp source files · 284c470e
      Paul Eggert authored
      This patch should not change behavior.  It typically omits backslashes
      where they are redundant (e.g., in the string literal "^\$").
      In a few places, insert backslashes where they make regular
      expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
      "^\\*", which has the same effect as a regular expression.
      Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
      and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
      RCS IDs, as that makes it clearer that the backslash is intended.
      284c470e
  22. 02 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Escape ` and ' in doc · 19532d14
      Paul Eggert authored
      Escape apostrophes and grave accents in docstrings if they are
      are supposed to stand for themselves and are not quotes.  Remove
      apostrophes from docstring examples like ‘'(calendar-nth-named-day
      -1 0 10 year)’ that confuse source code with data.  Do some other
      minor docstring fixups as well, e.g., insert a missing close
      quote.
      19532d14
  23. 26 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Top-level elisp files respect ‘text-quoting-style’ · 4786618f
      Paul Eggert authored
      In top-level elisp files, use format-message in diagnostic formats,
      so that they follow user preference as per ‘text-quoting-style’
      rather than being hard-coded to quote `like this'.
      * lisp/allout.el (allout-get-configvar-values):
      * lisp/apropos.el (apropos-symbols-internal):
      * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
      (dired-do-create-files-regexp, dired-create-files-non-directory):
      * lisp/dired-x.el (dired-do-run-mail):
      * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
      * lisp/disp-table.el (standard-display-european):
      * lisp/find-dired.el (find-dired):
      * lisp/forms.el (forms-mode):
      * lisp/ido.el (ido-buffer-internal):
      * lisp/info.el (Info-index-next):
      * lisp/outline.el (outline-invent-heading):
      * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
      * lisp/proced.el (proced-log):
      * lisp/ps-print.el (ps-print-preprint, ps-get-size):
      * lisp/recentf.el (recentf-open-files, recentf-save-list):
      * lisp/savehist.el (savehist-save):
      * lisp/server.el (server-ensure-safe-dir):
      * lisp/ses.el (ses-rename-cell):
      * lisp/simple.el (list-processes--refresh):
      * lisp/startup.el (command-line):
      * lisp/strokes.el (strokes-unset-last-stroke)
      (strokes-execute-stroke):
      Use format-message so that quotes are restyled.
      * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
      Don’t quote ‘raised’.
      * lisp/descr-text.el (describe-char):
      * lisp/dirtrack.el (dirtrack-debug-message):
      * lisp/hexl.el (hexl-insert-multibyte-char):
      Apply substitute-command-keys to help string.
      * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
      (wdired-do-perm-changes):
      Let dired-log do the formatting.
      4786618f
  24. 31 Jul, 2015 1 commit
    • Paul Eggert's avatar
      Don't overflow if computing approximate percentage · eb0f65b4
      Paul Eggert authored
      * lisp/align.el (align-region):
      * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
      * lisp/cedet/semantic/wisent.el (wisent-parse-region):
      * lisp/cus-edit.el (custom-buffer-create-internal):
      * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
      (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
      (checkdoc-next-message-error):
      * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
      * lisp/epa.el (epa-progress-callback-function):
      * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
      * lisp/ffap.el (ffap-menu-rescan):
      * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
      * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
      * lisp/gnus/nneething.el (nneething-retrieve-headers):
      * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
      * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
      * lisp/gnus/nnml.el (nnml-retrieve-headers):
      * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
      * lisp/gnus/nntp.el (nntp-retrieve-headers)
      (nntp-retrieve-articles):
      * lisp/imenu.el (imenu--relative-position):
      * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
      (skkdic-convert-okuri-nasi):
      * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
      * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
      * lisp/org/org-list.el (org-update-checkbox-count):
      * lisp/org/org.el (org-table-map-tables)
      (org-update-parent-todo-statistics):
      * lisp/play/decipher.el (decipher-insert-frequency-counts)
      (decipher-analyze-buffer):
      * lisp/profiler.el (profiler-format-percent):
      * lisp/progmodes/cc-cmds.el (c-progress-update):
      * lisp/progmodes/cpp.el (cpp-highlight-buffer):
      * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
      (idlwave-list-load-path-shadows):
      * lisp/progmodes/opascal.el (opascal-step-progress):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      (vhdl-scan-directory-contents):
      * lisp/textmodes/bibtex.el (bibtex-progress-message):
      * lisp/textmodes/flyspell.el (flyspell-small-region)
      (flyspell-external-point-words):
      * lisp/textmodes/table.el (table-recognize):
      Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
      progress-report percentages and the like.  This avoids problems
      if (* 100 NUMERATOR) would overflow.
      * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
      * lisp/gnus/registry.el (registry-reindex):
      Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
      * lisp/descr-text.el (describe-char):
      * lisp/org/org-colview.el (org-nofm-to-completion):
      * lisp/ps-print.el (ps-plot):
      * lisp/simple.el (what-cursor-position):
      Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
      more-complicated and less-accurate approximation.
      eb0f65b4
  25. 21 May, 2015 1 commit
  26. 02 Jan, 2015 2 commits
  27. 01 Jan, 2015 2 commits
  28. 01 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (alist-get): New accessor. · a57fa964
      Stefan Monnier authored
      * lisp/emacs-lisp/gv.el (alist-get): Provide expander.
      * lisp/winner.el (winner-remember):
      * lisp/tempo.el (tempo-use-tag-list):
      * lisp/progmodes/gud.el (minor-mode-map-alist):
      * lisp/international/mule-cmds.el (define-char-code-property):
      * lisp/frameset.el (frameset-filter-params):
      * lisp/files.el (dir-locals-set-class-variables):
      * lisp/register.el (get-register, set-register):
      * lisp/calc/calc-yank.el (calc-set-register): Use it.
      * lisp/ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
      * lisp/tooltip.el (tooltip-set-param): Mark as obsolete.
      (tooltip-show): Use alist-get instead.
      * lisp/ses.el (ses--alist-get): Remove.  Use alist-get instead.
      * admin/unidata/unidata-gen.el (unidata-gen-table-word-list): Use alist-get
      and cl-incf.
      a57fa964
  29. 10 May, 2014 1 commit
  30. 19 Mar, 2014 1 commit
  31. 16 Jan, 2014 1 commit
  32. 01 Jan, 2014 1 commit
  33. 12 Nov, 2013 1 commit
  34. 30 Oct, 2013 1 commit