1. 21 Jun, 2019 2 commits
    • Eric Abrahamsen's avatar
      Remove all remaining uses of gnus-group-decoded-name · 5563d1cd
      Eric Abrahamsen authored
      * lisp/gnus/gnus-art.el (gnus-article-setup-buffer):
      * lisp/gnus/nnrss.el (nnrss-retrieve-groups):
      * lisp/gnus/message.el (message-forward-subject-author-subject):
        (message-forward-subject-name-subject):
      * lisp/gnus/gnus-msg.el (gnus-inews-insert-gcc):
        (gnus-inews-make-draft):
      * lisp/gnus/gnus-group.el (gnus-group-compact-group):
        (gnus-group-list-active):
        (gnus-group-kill-group):
        (gnus-group-set-current-level):
        (gnus-group-expire-articles-1):
        (gnus-group-catchup-current):
        (gnus-group-edit-group):
        (gnus-group-rename-group):
        (gnus-group-delete-group):
        (gnus-group-name-at-point): Remove calls in all these places, group
        names are always decoded.
      * lisp/gnus/gnus-cache.el: Remove variables
        gnus-cache-unified-group-names and gnus-cache-decoded-group-names,
        and function gnus-cache-decoded-group-name.
        (gnus-cache-generate-active): Do not access
        gnus-cache-unified-group-names.
        (gnus-cache-file-name): Don't decode.
      5563d1cd
    • Eric Abrahamsen's avatar
      Fix encoding bug in gnus-group-rename-group · ed5ddc1a
      Eric Abrahamsen authored
      * lisp/gnus/gnus-group.el (gnus-group-rename-group): Should not be
        encoding or decoding here.
      ed5ddc1a
  2. 20 Jun, 2019 1 commit
  3. 17 Jun, 2019 1 commit
    • Eric Abrahamsen's avatar
      Replace octal regexp with [:ascii:] char class in Gnus · cf1afe68
      Eric Abrahamsen authored
      In the regexp used to match multibyte group names
      
      * lisp/gnus/gnus-group.el (gnus-group-completing-read):
      * lisp/gnus/gnus-registry.el (gnus-registry--munge-group-names):
      * lisp/gnus/gnus-start.el (gnus-make-hashtable-from-newsrc-alist):
        (gnus-active-to-gnus-format):
        (gnus-read-newsrc-el-file):
      * lisp/gnus/message.el (message-make-in-reply-to): Replace in these
        locations.
      cf1afe68
  4. 22 Apr, 2019 1 commit
  5. 19 Apr, 2019 1 commit
  6. 14 Apr, 2019 1 commit
    • Basil L. Contovounesios's avatar
      Fix gnus-group-describe-all-groups (bug#35233) · c49f5d57
      Basil L. Contovounesios authored
      This fixes oversights from
      2018-04-26T16:26:27-07:00!eric@ericabrahamsen.net and
      2016-02-13T18:45:11+11:00!larsi@gnus.org.
      * lisp/gnus/gnus-group.el (gnus-group-describe-all-groups): Insert
      group name and description instead of group name twice.  Do not pass
      a hash-table to intern.  Call sort with correct number of arguments.
      c49f5d57
  7. 12 Apr, 2019 1 commit
    • Basil L. Contovounesios's avatar
      Always set gnus-group property to a group name · 2b82c829
      Basil L. Contovounesios authored
      * lisp/gnus/gnus-group.el (gnus-group-prepare-flat-list-dead): Set
      gnus-group property to a group name, not active info. (bug#33653)
      Simplify surrounding logic.
      (gnus-group-prepare-flat, gnus-group-goto-group): Use accessor
      macros.
      (gnus-group-insert-group-line, gnus-group-new-mail)
      (gnus-group-mark-group): Write ?\s instead of ? .
      (gnus-group-group-name, gnus-group-list-active): Simplify.
      2b82c829
  8. 11 Apr, 2019 1 commit
  9. 09 Apr, 2019 2 commits
  10. 01 Apr, 2019 1 commit
  11. 28 Mar, 2019 1 commit
  12. 25 Mar, 2019 1 commit
  13. 22 Mar, 2019 1 commit
    • Eric Abrahamsen's avatar
      Change Gnus hash tables into real hash tables · c1b63af4
      Eric Abrahamsen authored
      Gnus has used obarrays as makeshift hash tables for groups: group
      names are coerced to unibyte and interned in custom obarrays, and
      their symbol-value set to whatever value needs to be stored. This
      patch replaces those obarrays with actual hash tables.
      
      * lisp/gnus/gnus-util.el (gnus-intern-safe, gnus-create-hash-size):
        Remove functions.
        (gnus-make-hashtable): Change to return a real hash table.
        (gnus-text-property-search): Utility similar to `text-property-any',
        but compares on `equal'. Needed because the 'gnus-group text
        property is now a string.
      * lisp/gnus/gnus.el (gnus-gethash, gnus-gethash-safe, gnus-sethash):
        Remove macros.
        (gnus-group-list): New variable holding all group names as an
        ordered list. Used because `gnus-newsrc-hashtb' used to preserve
        `gnus-newsrc-alist' ordering, but now doesn't.
      * lisp/gnus/nnmaildir.el (nnmaildir--servers): Change from obarray to
        alist.
        (nnmaildir--up2-1): Remove function.
      * lisp/thingatpt.el (thing-at-point-newsgroup-p): This was making use
        of Gnus obarrays, replace with a cond that can handle many different
        possibilities.
      * lisp/gnus/gnus-bcklg.el (gnus-backlog-articles): Remove
        gnus-backlog-hashtb, which wasn't doing anything. Just keep a list
        of ident strings in gnus-backlog-articles.
        (gnus-backlog-setup): Delete unnecessary function.
        (gnus-backlog-enter-article, gnus-backlog-remove-oldest-article,
        gnus-backlog-remove-article, gnus-backlog-request-article): Alter
        calls accordingly.
      * lisp/gnus/gnus-dup.el (gnus-duplicate-list-max-length): Rename from
        `gnus-duplicate-list-length', for accuracy.
      * lisp/gnus/gnus-start.el (gnus-active-to-gnus-format,
        gnus-groups-to-gnus-format, gnus-newsrc-to-gnus-format): Read group
        names as strings.
        (gnus-gnus-to-quick-newsrc-format): Write `gnus-newsrc-alist' using
        the ordering in `gnus-group-list'.
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/gnus-async.el:
      * lisp/gnus/gnus-cache.el:
      * lisp/gnus/gnus-group.el:
      * lisp/gnus/gnus-score.el:
      * lisp/gnus/gnus-sum.el:
      * lisp/gnus/gnus-topic.el:
      * lisp/gnus/message.el:
      * lisp/gnus/mml.el:
      * lisp/gnus/nnagent.el:
      * lisp/gnus/nnbabyl.el:
      * lisp/gnus/nnvirtual.el:
      * lisp/gnus/nnweb.el: In all files, change obarrays to hash-tables,
        and swap `gnus-sethash' for `puthash', `gnus-gethash' for `gethash',
        `mapatoms' for `maphash', etc.
      * test/lisp/gnus/gnus-test-headers.el (gnus-headers-make-dependency-table,
        gnus-headers-loop-dependencies): New tests to make sure we're
        building `gnus-newsgroup-dependencies' correctly.
      c1b63af4
  14. 23 Feb, 2019 1 commit
    • Paul Eggert's avatar
      Avoid some double-rounding of Lisp timestamps · 476066e8
      Paul Eggert authored
      Also, simplify some time-related Lisp timestamp code
      while we’re in the neighborhood.
      * lisp/battery.el (battery-linux-proc-acpi)
      (battery-linux-sysfs, battery-upower, battery-bsd-apm):
      * lisp/calendar/timeclock.el (timeclock-seconds-to-string)
      (timeclock-log, timeclock-last-period)
      (timeclock-entry-length, timeclock-entry-list-span)
      (timeclock-find-discrep, timeclock-generate-report):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/completion.el (cmpl-hours-since-origin):
      * lisp/ecomplete.el (ecomplete-decay-1):
      * lisp/emacs-lisp/ert.el (ert--results-update-stats-display)
      (ert--results-update-stats-display-maybe):
      * lisp/emacs-lisp/timer-list.el (list-timers):
      * lisp/emacs-lisp/timer.el (timer-until)
      (timer-event-handler):
      * lisp/erc/erc-backend.el (erc-server-send-ping)
      (erc-server-send-queue, erc-handle-parsed-server-response)
      (erc-handle-unknown-server-response):
      * lisp/erc/erc-track.el (erc-buffer-visible):
      * lisp/erc/erc.el (erc-lurker-cleanup, erc-lurker-p)
      (erc-cmd-PING, erc-send-current-line):
      * lisp/eshell/em-pred.el (eshell-pred-file-time):
      * lisp/eshell/em-unix.el (eshell-show-elapsed-time):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event:org-timestamp):
      * lisp/gnus/gnus-int.el (gnus-backend-trace):
      * lisp/gnus/gnus-sum.el (gnus-user-date):
      * lisp/gnus/mail-source.el (mail-source-delete-crash-box):
      * lisp/gnus/nnmaildir.el (nnmaildir--scan):
      * lisp/ibuf-ext.el (ibuffer-mark-old-buffers):
      * lisp/gnus/nnmaildir.el (nnmaildir--scan):
      * lisp/mouse.el (mouse--down-1-maybe-follows-link)
      (mouse--click-1-maybe-follows-link):
      * lisp/mpc.el (mpc--faster-toggle):
      * lisp/net/rcirc.el (rcirc-handler-ctcp-KEEPALIVE)
      (rcirc-sentinel):
      * lisp/net/tramp-cache.el (tramp-get-file-property):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-newer-than-file-p)
      (tramp-maybe-open-connection):
      * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
      * lisp/org/org-clock.el (org-clock-resolve):
      (org-resolve-clocks, org-clock-in, org-clock-out, org-clock-sum):
      * lisp/org/org-timer.el (org-timer-start)
      (org-timer-pause-or-continue, org-timer-seconds):
      * lisp/org/org.el (org-evaluate-time-range):
      * lisp/org/ox-publish.el (org-publish-cache-ctime-of-src):
      * lisp/pixel-scroll.el (pixel-scroll-in-rush-p):
      * lisp/play/hanoi.el (hanoi-move-ring):
      * lisp/proced.el (proced-format-time):
      * lisp/progmodes/cpp.el (cpp-progress-message):
      * lisp/progmodes/flymake.el (flymake--handle-report):
      * lisp/progmodes/js.el (js--wait-for-matching-output):
      * lisp/subr.el (progress-reporter-do-update):
      * lisp/term/xterm.el (xterm--read-event-for-query):
      * lisp/time.el (display-time-update, emacs-uptime):
      * lisp/tooltip.el (tooltip-delay):
      * lisp/url/url-cookie.el (url-cookie-parse-file-netscape):
      * lisp/url/url-queue.el (url-queue-prune-old-entries):
      * lisp/url/url.el (url-retrieve-synchronously):
      * lisp/xt-mouse.el (xterm-mouse-event):
      Avoid double-rounding of time-related values.  Simplify.
      * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
      When hoping for the best (unlikely), use a better decoded time.
      (icalendar--convert-sexp-to-ical): Avoid unnecessary encode-time.
      * lisp/calendar/timeclock.el (timeclock-when-to-leave):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/desktop.el (desktop-create-buffer):
      * lisp/emacs-lisp/benchmark.el (benchmark-elapse):
      * lisp/gnus/gnus-art.el (article-lapsed-string):
      * lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
      * lisp/gnus/nnmail.el (nnmail-expired-article-p):
      * lisp/gnus/nnmaildir.el (nnmaildir-request-expire-articles):
      * lisp/nxml/rng-maint.el (rng-time-function):
      * lisp/org/org-clock.el (org-clock-get-clocked-time)
      (org-clock-resolve, org-resolve-clocks, org-resolve-clocks-if-idle):
      * lisp/org/org-habit.el (org-habit-insert-consistency-graphs):
      * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
      (vhdl-fix-case-region-1):
      Use time-since instead of open-coding most of it.
      * lisp/erc/erc-dcc.el (erc-dcc-get-sentinel):
      * lisp/erc/erc.el (erc-string-to-emacs-time, erc-time-gt):
      Now obsolete.  All uses changed.
      (erc-time-diff): Accept all Lisp time values.
      All uses changed.
      * lisp/gnus/gnus-demon.el (gnus-demon-idle-since):
      * lisp/gnus/gnus-score.el (gnus-score-headers):
      * lisp/gnus/nneething.el (nneething-make-head):
      * lisp/gnus/nnheader.el (nnheader-message-maybe):
      * lisp/gnus/nnimap.el (nnimap-keepalive):
      * lisp/image.el (image-animate-timeout):
      * lisp/mail/feedmail.el (feedmail-rfc822-date):
      * lisp/net/imap.el (imap-wait-for-tag):
      * lisp/net/newst-backend.el (newsticker--image-get):
      * lisp/net/rcirc.el (rcirc-handler-317, rcirc-handler-333):
      * lisp/obsolete/xesam.el (xesam-refresh-entry):
      * lisp/org/org-agenda.el (org-agenda-show-clocking-issues)
      (org-agenda-check-clock-gap, org-agenda-to-appt):
      * lisp/org/org-capture.el (org-capture-set-target-location):
      * lisp/org/org-clock.el (org-clock-resolve-clock)
      (org-clocktable-steps):
      * lisp/org/org-colview.el (org-columns-edit-value)
      (org-columns, org-agenda-columns):
      * lisp/org/org-duration.el (org-duration-from-minutes):
      * lisp/org/org-element.el (org-element-cache-sync-duration)
      (org-element-cache-sync-break)
      (org-element--cache-interrupt-p, org-element--cache-sync):
      * lisp/org/org-habit.el (org-habit-get-faces)
      * lisp/org/org-indent.el (org-indent-add-properties):
      * lisp/org/org-table.el (org-table-sum):
      * lisp/org/org-timer.el (org-timer-show-remaining-time)
      (org-timer-set-timer):
      * lisp/org/org.el (org-babel-load-file, org-today)
      (org-auto-repeat-maybe, org-2ft, org-time-stamp)
      (org-read-date-analyze, org-time-stamp-to-now)
      (org-small-year-to-year, org-goto-calendar):
      * lisp/org/ox.el (org-export-insert-default-template):
      * lisp/ses.el (ses--time-check):
      * lisp/type-break.el (type-break-time-warning)
      (type-break-statistics, type-break-demo-boring):
      * lisp/url/url-cache.el (url-cache-expired)
      (url-cache-prune-cache):
      * lisp/vc/vc-git.el (vc-git-stash-snapshot):
      * lisp/erc/erc-match.el (erc-log-matches-come-back):
      Simplify.
      476066e8
  15. 11 Feb, 2019 1 commit
    • Paul Eggert's avatar
      Don’t assume CURRENT_TIME_LIST · 93241242
      Paul Eggert authored
      Use timestamp accessors instead of delving into a timestamp
      format that is planned to change in a future version.
      * lisp/find-lisp.el (find-lisp-format-time):
      * lisp/gnus/gnus-group.el (gnus-group-set-timestamp):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-show-org-agenda):
      Use encode-time instead of delving into timestamp format.
      * lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
      Use float-time instead of delving into timestamp format.
      * lisp/gnus/nnmaildir.el (nnmaildir-request-accept-article):
      Use format-time-string instead of delving into timestamp format.
      * lisp/gnus/nnmaildir.el (nnmaildir-request-expire-articles):
      Use time-less-p instead of delving into timestamp format.
      * lisp/ido.el (ido-wash-history, ido-file-name-all-completions):
      Use time-equal-p instead of delving into timestamp format.
      * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-times):
      Use format-time-string to generate POSIX ‘test -t’ format instead
      of timestamp-format-dependent code along with shell arithmetic
      that can’t possibly do the right thing on a POSIX platform.
      93241242
  16. 01 Jan, 2019 1 commit
  17. 25 Nov, 2018 1 commit
    • Michael Heerdegen's avatar
      Replace insignificant backquotes · 1808d254
      Michael Heerdegen authored
      Replace most insignificant occurrences of '`' with a straight quote,
      sharp quote or nothing.  This includes backquotes in 'pcase' patterns.
      
      * admin/admin.el:
      * lisp/apropos.el:
      * lisp/arc-mode.el:
      * lisp/auth-source.el:
      * lisp/avoid.el:
      * lisp/bindings.el:
      * lisp/bs.el:
      * lisp/calculator.el:
      * lisp/calendar/todo-mode.el:
      * lisp/cedet/semantic.el:
      * lisp/cedet/semantic/analyze/debug.el:
      * lisp/cedet/semantic/bovine.el:
      * lisp/cedet/semantic/dep.el:
      * lisp/cedet/semantic/grammar.el:
      * lisp/cedet/semantic/wisent/comp.el:
      * lisp/cedet/semantic/wisent/grammar.el:
      * lisp/cedet/srecode/mode.el:
      * lisp/cus-edit.el:
      * lisp/doc-view.el:
      * lisp/elec-pair.el:
      * lisp/electric.el:
      * lisp/emacs-lisp/autoload.el:
      * lisp/emacs-lisp/benchmark.el:
      * lisp/emacs-lisp/byte-opt.el:
      * lisp/emacs-lisp/bytecomp.el:
      * lisp/emacs-lisp/cconv.el:
      * lisp/emacs-lisp/cl-extra.el:
      * lisp/emacs-lisp/cl-generic.el:
      * lisp/emacs-lisp/cl-macs.el:
      * lisp/emacs-lisp/copyright.el:
      * lisp/emacs-lisp/debug.el:
      * lisp/emacs-lisp/eieio-compat.el:
      * lisp/emacs-lisp/ert.el:
      * lisp/emacs-lisp/generator.el:
      * lisp/emacs-lisp/inline.el:
      * lisp/emacs-lisp/macroexp.el:
      * lisp/emacs-lisp/map.el:
      * lisp/emacs-lisp/package-x.el:
      * lisp/emacs-lisp/package.el:
      * lisp/emacs-lisp/radix-tree.el:
      * lisp/emacs-lisp/smie.el:
      * lisp/epa.el:
      * lisp/erc/erc-dcc.el:
      * lisp/erc/erc-track.el:
      * lisp/erc/erc.el:
      * lisp/eshell/em-ls.el:
      * lisp/eshell/esh-cmd.el:
      * lisp/files.el:
      * lisp/filesets.el:
      * lisp/font-lock.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/gnus-art.el:
      * lisp/gnus/gnus-cite.el:
      * lisp/gnus/gnus-group.el:
      * lisp/gnus/gnus-msg.el:
      * lisp/gnus/gnus-salt.el:
      * lisp/gnus/gnus-srvr.el:
      * lisp/gnus/gnus-sum.el:
      * lisp/gnus/gnus-topic.el:
      * lisp/gnus/gnus-util.el:
      * lisp/gnus/gnus.el:
      * lisp/gnus/message.el:
      * lisp/gnus/mm-util.el:
      * lisp/gnus/mml.el:
      * lisp/gnus/nnheader.el:
      * lisp/gnus/nnimap.el:
      * lisp/gnus/nnmairix.el:
      * lisp/gnus/spam.el:
      * lisp/hexl.el:
      * lisp/hi-lock.el:
      * lisp/ibuf-ext.el:
      * lisp/ibuffer.el:
      * lisp/ido.el:
      * lisp/info.el:
      * lisp/international/mule-cmds.el:
      * lisp/international/mule-util.el:
      * lisp/json.el:
      * lisp/jsonrpc.el:
      * lisp/language/cyrillic.el:
      * lisp/language/european.el:
      * lisp/language/georgian.el:
      * lisp/language/tibetan.el:
      * lisp/language/utf-8-lang.el:
      * lisp/language/vietnamese.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mail-extr.el:
      * lisp/man.el:
      * lisp/menu-bar.el:
      * lisp/mh-e/mh-acros.el:
      * lisp/mh-e/mh-folder.el:
      * lisp/mh-e/mh-mime.el:
      * lisp/mh-e/mh-show.el:
      * lisp/mh-e/mh-speed.el:
      * lisp/minibuffer.el:
      * lisp/mpc.el:
      * lisp/net/ange-ftp.el:
      * lisp/net/hmac-def.el:
      * lisp/net/newst-backend.el:
      * lisp/net/quickurl.el:
      * lisp/net/tramp-archive.el:
      * lisp/net/tramp-compat.el:
      * lisp/notifications.el:
      * lisp/obsolete/pgg-parse.el:
      * lisp/obsolete/vc-arch.el:
      * lisp/obsolete/xesam.el:
      * lisp/org/ob-C.el:
      * lisp/org/ob-core.el:
      * lisp/org/ob-exp.el:
      * lisp/org/ob-groovy.el:
      * lisp/org/ob-haskell.el:
      * lisp/org/ob-io.el:
      * lisp/org/ob-lisp.el:
      * lisp/org/ob-lob.el:
      * lisp/org/ob-lua.el:
      * lisp/org/ob-octave.el:
      * lisp/org/ob-perl.el:
      * lisp/org/ob-python.el:
      * lisp/org/ob-ref.el:
      * lisp/org/ob-ruby.el:
      * lisp/org/ob-sql.el:
      * lisp/org/org-agenda.el:
      * lisp/org/org-capture.el:
      * lisp/org/org-clock.el:
      * lisp/org/org-colview.el:
      * lisp/org/org-duration.el:
      * lisp/org/org-element.el:
      * lisp/org/org-entities.el:
      * lisp/org/org-gnus.el:
      * lisp/org/org-indent.el:
      * lisp/org/org-info.el:
      * lisp/org/org-inlinetask.el:
      * lisp/org/org-lint.el:
      * lisp/org/org-list.el:
      * lisp/org/org-mouse.el:
      * lisp/org/org-plot.el:
      * lisp/org/org-src.el:
      * lisp/org/org-table.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-html.el:
      * lisp/org/ox-latex.el:
      * lisp/org/ox-man.el:
      * lisp/org/ox-md.el:
      * lisp/org/ox-org.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox-texinfo.el:
      * lisp/org/ox.el:
      * lisp/play/bubbles.el:
      * lisp/play/gamegrid.el:
      * lisp/progmodes/autoconf.el:
      * lisp/progmodes/cc-defs.el:
      * lisp/progmodes/cc-engine.el:
      * lisp/progmodes/cc-fonts.el:
      * lisp/progmodes/cc-langs.el:
      * lisp/progmodes/cperl-mode.el:
      * lisp/progmodes/ebrowse.el:
      * lisp/progmodes/elisp-mode.el:
      * lisp/progmodes/flymake-cc.el:
      * lisp/progmodes/flymake.el:
      * lisp/progmodes/fortran.el:
      * lisp/progmodes/grep.el:
      * lisp/progmodes/gud.el:
      * lisp/progmodes/idlwave.el:
      * lisp/progmodes/js.el:
      * lisp/progmodes/m4-mode.el:
      * lisp/progmodes/make-mode.el:
      * lisp/progmodes/mixal-mode.el:
      * lisp/progmodes/modula2.el:
      * lisp/progmodes/octave.el:
      * lisp/progmodes/opascal.el:
      * lisp/progmodes/prolog.el:
      * lisp/progmodes/ps-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/ruby-mode.el:
      * lisp/progmodes/sh-script.el:
      * lisp/progmodes/sql.el:
      * lisp/progmodes/verilog-mode.el:
      * lisp/ps-mule.el:
      * lisp/rtree.el:
      * lisp/ruler-mode.el:
      * lisp/ses.el:
      * lisp/simple.el:
      * lisp/startup.el:
      * lisp/subr.el:
      * lisp/term/ns-win.el:
      * lisp/textmodes/bibtex.el:
      * lisp/textmodes/conf-mode.el:
      * lisp/textmodes/css-mode.el:
      * lisp/textmodes/refill.el:
      * lisp/textmodes/sgml-mode.el:
      * lisp/textmodes/tex-mode.el:
      * lisp/tutorial.el:
      * lisp/url/url-dav.el:
      * lisp/url/url-gw.el:
      * lisp/url/url-http.el:
      * lisp/url/url-methods.el:
      * lisp/url/url-privacy.el:
      * lisp/vc/cvs-status.el:
      * lisp/vc/diff-mode.el:
      * lisp/vc/ediff-init.el:
      * lisp/vc/ediff-ptch.el:
      * lisp/vc/log-edit.el:
      * lisp/vc/log-view.el:
      * lisp/vc/pcvs-info.el:
      * lisp/vc/pcvs.el:
      * lisp/vc/smerge-mode.el:
      * lisp/vc/vc-git.el:
      * lisp/vc/vc-hg.el:
      * lisp/vc/vc-mtn.el:
      * lisp/vc/vc-rcs.el:
      * lisp/whitespace.el:
      * lisp/window.el:
      * test/lisp/electric-tests.el:
      * test/lisp/emacs-lisp/cl-lib-tests.el:
      * test/lisp/emacs-lisp/ert-tests.el:
      * test/lisp/epg-tests.el:
      * test/lisp/jsonrpc-tests.el:
      * test/src/data-tests.el:
      * test/src/json-tests.el: Replace most insignificant backquotes.
      1808d254
  18. 23 Nov, 2018 1 commit
    • Eric Abrahamsen's avatar
      Provide new gnus-mode, derive all gnus major modes from this · 4ef9bcd0
      Eric Abrahamsen authored
      * lisp/gnus/gnus.el (gnus-mode): New do-nothing major mode, derived
        from special mode.
      * lisp/gnus/gnus-sum.el (gnus-summary-mode): Change from a function to
        a major mode, derive from gnus-mode.
        (gnus-summary-setup-buffer): Change call a bit -- can no longer pass
        an argument to the mode function.
      * lisp/gnus/gnus-srvr.el (gnus-browse-mode): Derive from gnus-mode.
        (gnus-server-setup-buffer): Remove unnecessary function.
        (gnus-enter-server-buffer): Call gnus-server-mode here, and call it
        whether the server buffer already existed or not.
        (gnus-server-mode): Change from a function to a major mode.
        (gnus-server-mode-hook): Delete custom option, this is automatically
        created.
      * lisp/gnus/gnus-salt.el (gnus-tree-mode): Derive from gnus-mode.
        (gnus-tree-mode-hook): Delete custom option, this is automatically
        created.
      * lisp/gnus/gnus-kill.el (gnus-kill-file-mode-hook): Delete custom
        option.
      * lisp/gnus/gnus-group.el (gnus-group-mode):
      * lisp/gnus/gnus-art.el (gnus-article-mode):
      * lisp/gnus/gnus-agent.el (gnus-category-mode): Derive from gnus-mode.
        (gnus-category-mode-hook): Delete custom option.
      
      (Bug#33263)
      4ef9bcd0
  19. 17 Apr, 2018 2 commits
  20. 16 Apr, 2018 1 commit
  21. 15 Apr, 2018 2 commits
  22. 14 Apr, 2018 1 commit
    • Lars Ingebrigtsen's avatar
      Fix calculation in gnus-update-group-mark-positions · 46669341
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-group.el (gnus-update-group-mark-positions):
      Rewrite a call to string-to-multibyte that didn't even work.
      After the rewrite it gives the correct result and should allow
      people to customise Gnus group process mark positions (but that's
      a pretty obscure feature).
      46669341
  23. 11 Apr, 2018 1 commit
    • Łukasz Stelmach's avatar
      Rung new-news-hook from `M-g' in the Gnus summary buffer · 25803b28
      Łukasz Stelmach authored
      * lisp/gnus/gnus-group.el (gnus-group-get-new-news-this-group):
      Run `gnus-after-getting-new-news-hook' when doing `M-g' in the
      summary buffer, too (bug#25892).  This makes `M-g' in both group
      and summary buffers work more similar.
      
      Copyright-paperwork-exempt: yes
      25803b28
  24. 23 Mar, 2018 2 commits
    • Glenn Morris's avatar
      gnus: replace cl with cl-lib · 4a05f85f
      Glenn Morris authored
      * lisp/gnus/gnus-agent.el, lisp/gnus/gnus-art.el:
      * lisp/gnus/gnus-async.el, lisp/gnus/gnus-cache.el:
      * lisp/gnus/gnus-demon.el, lisp/gnus/gnus-group.el:
      * lisp/gnus/gnus-icalendar.el, lisp/gnus/gnus-logic.el:
      * lisp/gnus/gnus-msg.el, lisp/gnus/gnus-picon.el:
      * lisp/gnus/gnus-registry.el, lisp/gnus/gnus-salt.el:
      * lisp/gnus/gnus-score.el, lisp/gnus/gnus-spec.el:
      * lisp/gnus/gnus-srvr.el, lisp/gnus/gnus-start.el:
      * lisp/gnus/gnus-sum.el, lisp/gnus/gnus-topic.el:
      * lisp/gnus/gnus-util.el, lisp/gnus/gnus-uu.el, lisp/gnus/gnus-win.el:
      * lisp/gnus/mail-source.el, lisp/gnus/mm-decode.el:
      * lisp/gnus/mm-encode.el, lisp/gnus/mm-url.el, lisp/gnus/mm-view.el:
      * lisp/gnus/mml-smime.el, lisp/gnus/mml.el, lisp/gnus/mml2015.el:
      * lisp/gnus/nnbabyl.el, lisp/gnus/nndoc.el, lisp/gnus/nneething.el:
      * lisp/gnus/nnheader.el, lisp/gnus/nnimap.el, lisp/gnus/nnmail.el:
      * lisp/gnus/nnmaildir.el, lisp/gnus/nnoo.el, lisp/gnus/nnrss.el:
      * lisp/gnus/nnspool.el, lisp/gnus/nntp.el, lisp/gnus/nnvirtual.el:
      * lisp/gnus/nnweb.el, lisp/gnus/spam.el: Replace cl with cl-lib.
      * lisp/gnus/canlock.el, lisp/gnus/gnus-bcklg.el:
      * lisp/gnus/gnus-cite.el, lisp/gnus/gnus-cloud.el:
      * lisp/gnus/gnus-draft.el, lisp/gnus/gnus-dup.el:
      * lisp/gnus/gnus-fun.el, lisp/gnus/gnus-html.el:
      * lisp/gnus/gnus-int.el, lisp/gnus/gnus-kill.el, lisp/gnus/gnus-ml.el:
      * lisp/gnus/gnus-mlspl.el, lisp/gnus/gnus-range.el:
      * lisp/gnus/gnus-undo.el, lisp/gnus/gnus-vm.el:
      * lisp/gnus/mm-partial.el, lisp/gnus/mm-uu.el, lisp/gnus/mml1991.el:
      * lisp/gnus/nnagent.el, lisp/gnus/nndiary.el, lisp/gnus/nndir.el:
      * lisp/gnus/nndraft.el, lisp/gnus/nnfolder.el, lisp/gnus/nngateway.el:
      * lisp/gnus/nnmairix.el, lisp/gnus/nnmbox.el, lisp/gnus/nnmh.el:
      * lisp/gnus/nnml.el, lisp/gnus/score-mode.el, lisp/gnus/smiley.el:
      No need for cl.
      4a05f85f
    • Glenn Morris's avatar
      Quieten cl-lib related compiler warnings · dfea6d5a
      Glenn Morris authored
      * lisp/completion.el (cl-set-difference):
      * lisp/files.el (map-merge-with, map-merge):
      * lisp/emacs-lisp/radix-tree.el (map-apply): Declare.
      * lisp/emacs-lisp/thunk.el: Load cl-lib at run-time, not
      cl-macs at compile.
      * lisp/gnus/gnus-group.el: Load cl-lib at run-time, not cl at compile.
      * lisp/emacs-lisp/checkdoc.el, lisp/emacs-lisp/package.el
      * lisp/gnus/gnus-sum.el, lisp/gnus/message.el, lisp/net/shr.el:
      Load cl-lib at run-time.
      * lisp/gnus/mml-sec.el (mml-signencrypt-style)
      (mml-secure-cust-record-keys): Replace cl with cl-lib,
      and load it at run-time.
      * lisp/cedet/ede/linux.el, lisp/vc/vc-hg.el: Reorder requires.
      dfea6d5a
  25. 27 Feb, 2018 1 commit
    • Glenn Morris's avatar
      Quieten without-x gnus compilation · e554c0c0
      Glenn Morris authored
      * lisp/gnus/gnus-group.el (image-load-path-for-library):
      * lisp/gnus/gnus-sum.el (image-load-path-for-library):
      * lisp/gnus/message.el (image-load-path-for-library): Declare.
      * lisp/gnus/gnus-cloud.el (gnus-group-refresh-group):
      * lisp/gnus/mml.el (image-property): Autoload.
      e554c0c0
  26. 01 Jan, 2018 1 commit
  27. 05 Dec, 2017 1 commit
  28. 25 Nov, 2017 1 commit
    • Eric Abrahamsen's avatar
      Obsolete gnus-copy-sequence and gnus-last-element · e27004c5
      Eric Abrahamsen authored
      (Bug#28856, Bug#28867)
      
      * lisp/gnus/gnus-range.el: Leave gnus-last-element in place, but
        obsolete it and point to car of last. Remove gnus-copy-sequence and
        define as an obsolete alias for copy-tree.
        (gnus-remove-from-range):
      * lisp/gnus/gnus-cache.el (gnus-cache-generate-active):
      * lisp/gnus/gnus-sum.el (gnus-summary-insert-articles,
        gnus-select-newsgroup, gnus-summary-read-group-1,
        gnus-select-newsgroup, gnus-update-marks,
        gnus-summary-insert-articles, gnus-summary-insert-new-articles):
        Replace calls in these locations.
      * lisp/gnus/gnus-agent.el (gnus-agent-catchup,
        gnus-agent-summary-fetch-series, gnus-category-copy):
      * lisp/gnus/gnus-cus.el (gnus-group-customize):
      * lisp/gnus/gnus-group.el (gnus-group-edit-group-done,
        gnus-group-make-useful-group):
      * lisp/gnus/gnus-score.el (gnus-score-adaptive):
      * lisp/gnus/gnus-srvr.el (gnus-server-copy-server): Replace calls in
        these locations.
      e27004c5
  29. 22 Nov, 2017 1 commit
  30. 27 Oct, 2017 2 commits
  31. 21 Oct, 2017 2 commits
    • Noam Postavsky's avatar
      Handle https url for debbugs mbox (Bug#28831) · b060e091
      Noam Postavsky authored
      In 2017-09-13 "Prefer HTTPS to FTP and HTTP in documentation",
      gnus-bug-group-download-format-alist was updated to use https for the
      debbugs.gnu.org mbox links, but gnus-read-ephemeral-bug-group assumed
      http links.
      * lisp/gnus/gnus-group.el (gnus-read-ephemeral-bug-group): Use
      url-parse functions to get the host name, instead of ad-hoc regexps.
      b060e091
    • Paul Eggert's avatar
      Prefer nil to (current-time) when either works · c75f505d
      Paul Eggert authored
      * doc/misc/gnus.texi (Category Syntax):
      * lisp/allout-widgets.el (allout-widgets-post-command-business):
      * lisp/cedet/ede/detect.el (ede-detect-qtest):
      * lisp/cedet/pulse.el (pulse-momentary-highlight-overlay)
      (pulse-tick):
      * lisp/cedet/semantic.el (bovinate):
      * lisp/cedet/semantic/analyze.el:
      (semantic-analyze-current-symbol-default, semantic-adebug-analyze):
      * lisp/cedet/semantic/analyze/refs.el (semantic-analyze-current-tag):
      * lisp/cedet/semantic/lex.el (semantic-lex-test):
      * lisp/cedet/semantic/symref/filter.el:
      (semantic-symref-test-count-hits-in-tag):
      * lisp/cedet/srecode/dictionary.el (srecode-adebug-dictionary):
      * lisp/cedet/srecode/map.el (srecode-adebug-maps):
      * lisp/desktop.el (desktop-create-buffer):
      * lisp/emacs-lisp/benchmark.el (benchmark-elapse):
      * lisp/emacs-lisp/elp.el (elp--make-wrapper):
      * lisp/epa.el (epa--show-key):
      * lisp/erc/erc.el (erc-lurker-cleanup, erc-lurker-p):
      * lisp/gnus/gnus-agent.el (gnus-agent-fetch-articles)
      (gnus-agent-expire-group-1, gnus-agent-store-article):
      * lisp/gnus/gnus-art.el (article-lapsed-string):
      * lisp/gnus/gnus-cloud.el (gnus-cloud-update-newsrc-data)
      (gnus-cloud-collect-full-newsrc):
      * lisp/gnus/gnus-group.el (gnus-group-timestamp-delta):
      * lisp/gnus/gnus-html.el (gnus-html-cache-expired):
      * lisp/gnus/gnus-score.el (gnus-score-load-file)
      (gnus-decay-scores):
      * lisp/gnus/nndiary.el (nndiary-expired-article-p):
      * lisp/gnus/nnmail.el (nnmail-expired-article-p):
      * lisp/gnus/nnmaildir.el (nnmaildir--scan):
      * lisp/gnus/score-mode.el (gnus-score-edit-insert-date):
      * lisp/image/gravatar.el (gravatar-cache-expired):
      * lisp/net/newst-backend.el (newsticker--image-get)
      (newsticker--cache-mark-expired):
      * lisp/nxml/rng-maint.el (rng-time-function):
      * lisp/org/org-agenda.el (org-agenda-to-appt):
      * lisp/org/org-clock.el (org-clock-resolve-clock)
      (org-clock-resolve, org-resolve-clocks-if-idle):
      * lisp/org/org-colview.el (org-columns-edit-value, org-columns)
      (org-columns-compute-all, org-agenda-columns):
      * lisp/org/org-element.el (org-element--cache-interrupt-p)
      (org-element--cache-sync):
      * lisp/org/org-habit.el (org-habit-get-faces)
      (org-habit-insert-consistency-graphs):
      * lisp/org/org-indent.el (org-indent-add-properties):
      * lisp/org/org-timer.el (org-timer-start)
      (org-timer-pause-or-continue, org-timer-seconds)
      (org-timer-show-remaining-time, org-timer-set-timer):
      * lisp/org/org.el (org-babel-load-file, org-current-time)
      (org-today, org-auto-repeat-maybe, org-read-date-analyze)
      (org-small-year-to-year, org-goto-calendar):
      * lisp/org/ox.el (org-export-insert-default-template):
      * lisp/time.el (emacs-uptime):
      * lisp/type-break.el (type-break-mode, type-break)
      (type-break-time-warning-schedule, type-break-check):
      * lisp/url/url-cache.el (url-cache-expired):
      * lisp/url/url.el (url-retrieve-synchronously):
      * test/lisp/char-fold-tests.el (char-fold--speed-test):
      * test/manual/cedet/semantic-ia-utest.el:
      (semantic-symref-test-count-hits-in-tag):
      * test/manual/cedet/semantic-tests.el (semantic-idle-pnf-test)
      (semantic-lex-test-full-depth):
      Use nil instead of (current-time) where either will do, as nil is
      a bit more efficient and should have less timing error.
      c75f505d
  32. 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
  33. 02 Mar, 2017 1 commit