1. 21 Jun, 2019 1 commit
    • 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
  2. 08 Mar, 2019 1 commit
    • Paul Eggert's avatar
      More regexp corrections and tweaks · db9c924d
      Paul Eggert authored
      From suggestions by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-03/msg00131.html
      * lisp/arc-mode.el (archive-rar-summarize):
      * lisp/gnus/gnus-art.el (gnus-button-valid-localpart-regexp):
      * lisp/language/ethio-util.el (ethio-fidel-to-tex-buffer):
      * lisp/nxml/rng-uri.el (rng-file-name-uri):
      * lisp/org/org-mobile.el (org-mobile-apply):
      * lisp/progmodes/cperl-mode.el (cperl-init-faces):
      * lisp/progmodes/fortran.el (fortran-fill):
      * lisp/progmodes/mantemp.el (mantemp-remove-comments)
      (mantemp-remove-memfuncs, mantemp-insert-cxx-syntax):
      * lisp/speedbar.el (speedbar-directory-buttons-follow):
      * lisp/vc/add-log.el (change-log-font-lock-keywords):
      Fix more regular expressions that seem to be typos or infelicities.
      db9c924d
  3. 05 Mar, 2019 2 commits
    • Basil L. Contovounesios's avatar
      Minor spelling and grammar fixes (bug#34756) · 099ef446
      Basil L. Contovounesios authored
      doc/misc/cc-mode.texi (Style Variables, Customizing Indentation):
      doc/misc/ede.texi (Extending EDE, ede-project-placeholder)
      (ede-target, ede-proj-target, ede-compilation-program, ede-compiler)
      (ede-linker): Remove apostrophe from possessive "it's".
      doc/lispintro/emacs-lisp-intro.texi (Find a File):
      doc/misc/gnus-faq.texi (FAQ 2-2): Write "an other" as a single word.
      doc/misc/gnus.texi (Article Buttons):
      lisp/gnus/gnus-art.el (gnus-button-mid-or-mail-heuristic-alist)
      (gnus-button-mid-or-mail-heuristic): Write singular number of
      Message-IDs, rather than plural.
      lisp/gnus/message.el (message-user-fqdn): Capitalize initialism.
      099ef446
    • Paul Eggert's avatar
      Fix regular-expression glitches and typos · 3c94c7bc
      Paul Eggert authored
      Problems reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-03/msg00085.html
      * admin/admin.el (set-version):
      * lisp/allout.el (allout-latexify-one-item):
      * lisp/arc-mode.el (archive-arc-rename-entry)
      (archive-rar-summarize):
      * lisp/calc/calc-graph.el (calc-graph-set-styles)
      (calc-graph-hide):
      * lisp/calc/calc-help.el (calc-describe-key):
      * lisp/calc/calc-lang.el (math-compose-tex-func, eqn):
      * lisp/calc/calc.el (calcDigit-key):
      * lisp/cedet/ede/makefile-edit.el (makefile-macro-file-list):
      * lisp/cedet/ede/speedbar.el (ede-tag-expand):
      * lisp/cedet/semantic/sb.el (semantic-sb-show-extra)
      (semantic-sb-expand-group):
      * lisp/comint.el (comint-substitute-in-file-name):
      * lisp/dired.el (dired-actual-switches):
      * lisp/emacs-lisp/chart.el (chart-rmail-from):
      * lisp/emacs-lisp/eieio-opt.el (eieio-sb-expand):
      * lisp/emacs-lisp/eieio-speedbar.el (eieio-speedbar-object-expand):
      * lisp/emacs-lisp/rx.el (rx-not, rx-atomic-p):
      * lisp/emulation/viper-ex.el (viper-get-ex-token)
      (viper-get-ex-pat, ex-set-read-variable):
      * lisp/epg.el (epg--status-SIG_CREATED):
      * lisp/erc/erc-speedbar.el (erc-speedbar-expand-user):
      (erc-speedbar-expand-channel, erc-speedbar-expand-server)
      * lisp/erc/erc.el (erc-is-message-ctcp-and-not-action-p)
      (erc-banlist-update):
      * lisp/eshell/em-dirs.el (eshell-parse-drive-letter, eshell/pwd):
      * lisp/find-dired.el (find-dired):
      * lisp/frame.el (frame-set-background-mode):
      * lisp/generic-x.el (apache-log-generic-mode):
      * lisp/gnus/gnus-art.el (gnus-button-valid-localpart-regexp):
      * lisp/gnus/gnus.el (gnus-short-group-name):
      * lisp/gnus/message.el (message-mailer-swallows-blank-line):
      * lisp/ibuffer.el (ibuffer-fontification-alist):
      * lisp/ido.el (ido-set-matches-1):
      * lisp/info-xref.el (info-xref-lock-file-p):
      * lisp/info.el (Info-dir-remove-duplicates)
      (Info-unescape-quotes, Info-split-parameter-string)
      (Info-speedbar-expand-node):
      * lisp/international/mule.el (sgml-html-meta-auto-coding-function):
      * lisp/isearch.el (isearch-pre-command-hook):
      * lisp/language/ethio-util.el (ethio-fidel-to-tex-buffer):
      * lisp/mail/rmail.el (rmail-collect-deleted):
      * lisp/mh-e/mh-alias.el (mh-alias-suggest-alias):
      * lisp/mh-e/mh-comp.el (mh-forward):
      * lisp/mh-e/mh-search.el (mh-index-next-folder)
      (mh-index-create-imenu-index):
      * lisp/mh-e/mh-xface.el (mh-picon-get-image):
      * lisp/minibuffer.el (completion--embedded-envvar-re):
      * lisp/net/ange-ftp.el (ange-ftp-ls-parser):
      * lisp/net/goto-addr.el (goto-address-mail-regexp)
      (goto-address-find-address-at-point):
      * lisp/net/pop3.el (pop3-read-response, pop3-user)
      (pop3-pass, pop3-apop):
      * lisp/net/tramp.el (tramp-ipv6-regexp)
      (tramp-replace-environment-variables):
      * lisp/nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
      * lisp/nxml/rng-uri.el (rng-uri-escape-multibyte):
      * lisp/nxml/rng-xsd.el (rng-xsd-convert-any-uri):
      * lisp/obsolete/pgg.el (pgg-fetch-key):
      * lisp/obsolete/vip.el (vip-get-ex-token):
      * lisp/org/ob-core.el (org-babel-string-read):
      * lisp/org/org-agenda.el:
      (org-agenda-add-entry-to-org-agenda-diary-file):
      * lisp/org/org-element.el (org-element-keyword-parser):
      * lisp/org/org-list.el (org-list-indent-item-generic):
      * lisp/org/org-mhe.el (org-mhe-get-message-folder-from-index):
      * lisp/org/org-mobile.el (org-mobile-apply):
      * lisp/org/org-mouse.el (org-mouse-context-menu):
      * lisp/org/org-plot.el (org-plot/gnuplot):
      * lisp/org/org-protocol.el (org-protocol-flatten-greedy):
      * lisp/org/org-table.el (org-table-copy-down)
      (org-table-formula-make-cmp-string)
      (org-table-get-stored-formulas, org-table-recalculate)
      (org-table-edit-formulas):
      * lisp/org/org.el (org-translate-link-from-planner)
      (org-fill-line-break-nobreak-p):
      * lisp/org/ox-ascii.el (org-ascii-item):
      * lisp/org/ox-latex.el (org-latex-clean-invalid-line-breaks):
      * lisp/org/ox.el (org-export-expand-include-keyword):
      * lisp/progmodes/ada-xref.el (ada-treat-cmd-string):
      * lisp/progmodes/cfengine.el (cfengine2-font-lock-keywords):
      * lisp/progmodes/cperl-mode.el (cperl-to-comment-or-eol)
      (cperl-find-pods-heres, cperl-fix-line-spacing)
      (cperl-have-help-regexp, cperl-word-at-point-hard)
      (cperl-make-regexp-x):
      * lisp/progmodes/dcl-mode.el (dcl-option-value-offset):
      * lisp/progmodes/etags.el (tag-implicit-name-match-p):
      * lisp/progmodes/fortran.el (fortran-fill):
      * lisp/progmodes/gdb-mi.el (gdb-speedbar-expand-node)
      (gdb-locals-handler-custom):
      * lisp/progmodes/grep.el (grep-mode-font-lock-keywords):
      * lisp/progmodes/gud.el (gud-jdb-find-source-using-classpath):
      * lisp/progmodes/js.el (js--continued-expression-p):
      * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
      * lisp/progmodes/meta-mode.el (meta-indent-level-count):
      * lisp/progmodes/mixal-mode.el (mixal-font-lock-keywords):
      * lisp/progmodes/opascal.el (opascal-find-unit-in-directory):
      * lisp/progmodes/pascal.el (pascal-progbeg-re):
      * lisp/progmodes/ruby-mode.el (ruby-expression-expansion-re)
      (ruby-expr-beg, ruby-parse-partial)
      (ruby-toggle-string-quotes, ruby-font-lock-keywords):
      * lisp/progmodes/sql.el (sql--make-help-docstring):
      * lisp/progmodes/verilog-mode.el (verilog-coverpoint-re)
      (verilog-skip-forward-comment-p)
      (verilog-read-sub-decls-gate)
      (verilog-read-auto-template-middle):
      * lisp/progmodes/vhdl-mode.el (vhdl-resolve-env-variable)
      (vhdl-speedbar-expand-project, vhdl-speedbar-expand-entity)
      (vhdl-speedbar-expand-architecture)
      (vhdl-speedbar-expand-config, vhdl-speedbar-expand-package)
      (vhdl-speedbar-dired):
      * lisp/speedbar.el (speedbar-dired, speedbar-tag-file)
      (speedbar-tag-expand):
      * lisp/textmodes/dns-mode.el (dns-mode-font-lock-keywords):
      * lisp/textmodes/flyspell.el (flyspell-debug-signal-word-checked):
      * lisp/textmodes/ispell.el (ispell-process-line):
      * lisp/textmodes/reftex-cite.el (reftex-end-of-bib-entry):
      * lisp/textmodes/reftex-ref.el (reftex-replace-prefix-escapes):
      * lisp/url/url-parse.el (url-generic-parse-url):
      * lisp/url/url-util.el (url-truncate-url-for-viewing):
      * lisp/vc/diff-mode.el (diff-unified->context):
      * lisp/vc/vc-bzr.el (vc-bzr-error-regexp-alist):
      * lisp/vc/vc-cvs.el (vc-cvs-parse-status):
      * lisp/woman.el (woman0-el, woman-if-ignore)
      (woman-change-fonts):
      * lisp/xdg.el (xdg--substitute-home-env):
      Fix regular-expression infelicities and typos.
      
      Fix regular expression typos
      Fix typos reported by Mattias Engdegård in:
      that occurred in preloaded modules.
      * lisp/frame.el (frame-set-background-mode):
      * lisp/international/mule.el (sgml-html-meta-auto-coding-function):
      * lisp/isearch.el (isearch-pre-command-hook):
      * lisp/minibuffer.el (completion--embedded-envvar-re):
      3c94c7bc
  4. 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
  5. 22 Feb, 2019 1 commit
    • Paul Eggert's avatar
      Remove some timestamp format assumptions · eba66c1e
      Paul Eggert authored
      Don’t assume that current-time and plain encode-time return
      timestamps in (HI LO US PS) format.
      * lisp/gnus/gnus-art.el (article-make-date-line)
      (article-lapsed-string):
      * lisp/gnus/gnus-demon.el (gnus-demon-time-to-step):
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      * lisp/gnus/nnmaildir.el (nnmaildir-request-expire-articles):
      * lisp/net/pop3.el (pop3-uidl-dele):
      * lisp/org/ox-publish.el (org-publish-sitemap):
      * lisp/vc/vc-hg.el (vc-hg-state-fast):
      Simplify and remove assumptions about timestamp format.
      * lisp/gnus/gnus-art.el (article-lapsed-string):
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      Do not worry about time-subtract returning nil; that's not possible.
      * lisp/gnus/gnus-diary.el (gnus-user-format-function-d):
      Avoid race due to duplicate current-time calls.
      * lisp/vc/vc-hg.el (vc-hg--time-to-integer): Remove; no longer used.
      eba66c1e
  6. 11 Feb, 2019 1 commit
    • Paul Eggert's avatar
      Simplify use of encode-time · 988e37fa
      Paul Eggert authored
      Most uses of (apply #'encode-time foo) can now be replaced
      with (encode-time foo).  Make similar simplifications.
      * lisp/calendar/time-date.el (date-to-time):
      * lisp/calendar/timeclock.el (timeclock-when-to-leave)
      (timeclock-day-base, timeclock-generate-report):
      * lisp/emacs-lisp/timer.el (timer-set-idle-time):
      * lisp/eshell/esh-util.el (eshell-parse-ange-ls):
      * lisp/gnus/gnus-art.el (article-make-date-line):
      * lisp/gnus/gnus-delay.el (gnus-delay-article)
      (gnus-delay-send-queue):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--decode-datefield):
      * lisp/gnus/gnus-logic.el (gnus-advanced-date):
      * lisp/gnus/message.el (message-make-expires-date):
      * lisp/gnus/nndiary.el (nndiary-compute-reminders):
      * lisp/mail/ietf-drums.el (ietf-drums-parse-date):
      * lisp/net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
      * lisp/org/org-agenda.el (org-agenda-get-timestamps)
      (org-agenda-get-progress, org-agenda-show-clocking-issues):
      * lisp/org/org-capture.el (org-capture-set-target-location):
      * lisp/org/org-clock.el (org-clock-get-sum-start, org-clock-sum)
      (org-clocktable-steps):
      * lisp/org/org-colview.el (org-colview-construct-allowed-dates)
      * lisp/org/org-macro.el (org-macro--vc-modified-time):
      * lisp/org/org-table.el (org-table-eval-formula):
      * lisp/org/org.el (org-current-time, org-store-link)
      (org-time-today, org-read-date, org-read-date-display)
      (org-display-custom-time, org-time-string-to-time)
      (org-timestamp-change, org-timestamp--to-internal-time):
      * lisp/url/url-dav.el (url-dav-process-date-property):
      * lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time)
      (vc-cvs-parse-entry):
      Simplify use of encode-time.
      * lisp/org/org-clock.el (org-clock-get-clocked-time):
      (org-clock-resolve, org-resolve-clocks, org_clock_out)
      (org-clock-update-time-maybe):
      Avoid some rounding problems with encode-time and float-time.
      * lisp/org/org-clock.el (org-clock-in, org-clock-update-time-maybe):
      * lisp/org/org-colview.el (org-columns--age-to-minutes):
      * lisp/org/org.el (org-get-scheduled-time, org-get-deadline-time)
      (org-add-planning-info, org-2ft, org-time-string-to-absolute)
      (org-closest-date):
      Use org-time-string-to-time instead of doing it by hand with
      encode-time.
      * lisp/org/org.el (org-current-time): Simplify rounding.
      (org-read-date): Avoid extra trip through encode-time.
      988e37fa
  7. 01 Jan, 2019 1 commit
  8. 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
  9. 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
  10. 20 Oct, 2018 1 commit
  11. 22 Jul, 2018 1 commit
  12. 20 May, 2018 1 commit
  13. 18 May, 2018 2 commits
  14. 17 Apr, 2018 1 commit
  15. 14 Apr, 2018 2 commits
    • Lars Ingebrigtsen's avatar
      Fix a `string-to-multibyte' in Gnus · 679a4337
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-art.el (gnus-request-article-this-buffer): The
      original article buffer is multibyte, and we're inserting into the
      article buffer, which is also multibyte, so the `string-to-multibyte'
      here should be unnecessary?
      679a4337
    • Lars Ingebrigtsen's avatar
      Fix a string-as-unibyte in Gnus · 9f767b3e
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus-art.el (gnus-article-browse-html-parts): Get rid
      of a string-as-unibyte.
      9f767b3e
  16. 13 Apr, 2018 1 commit
  17. 12 Apr, 2018 4 commits
  18. 23 Mar, 2018 1 commit
    • 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
  19. 10 Jan, 2018 1 commit
  20. 01 Jan, 2018 1 commit
  21. 14 Dec, 2017 1 commit
  22. 13 Dec, 2017 1 commit
    • Glenn Morris's avatar
      Fixes for defcustoms, prompted by cus-test-opts · ce31e726
      Glenn Morris authored
      * lisp/files.el (save-some-buffers-default-predicate):
      * lisp/time.el (display-time-world-list):
      * lisp/gnus/gnus-art.el (gnus-article-show-cursor):
      * lisp/progmodes/cc-vars.el (c-noise-macro-with-parens-names):
      * lisp/progmodes/verilog-mode.el (verilog-auto-wire-type):
      * lisp/textmodes/less-css-mode.el (less-css-output-directory)
      (less-css-output-file-name, less-css-input-file-name):
      * lisp/vc/emerge.el (emerge-metachars):
      * lisp/vc/vc-hg.el (vc-hg-symbolic-revision-styles):
      Fix :types.
      * lisp/net/newst-backend.el (newsticker-url-list-defaults): Fix url.
      ce31e726
  23. 10 Dec, 2017 1 commit
    • Eric Abrahamsen's avatar
      Obsolete gnus-remove-if and gnus-remove-if-not · 78690723
      Eric Abrahamsen authored
      Use seq-remove and seq-filter, respectively, instead.
      
      * lisp/gnus/gnus-util.el: Remove functions and replace with
        define-obsolete-function-alias calls.
      * lisp/gnus/gnus.el: Require seq here.
      * lisp/gnus/gnus-art.el (gnus-mime-view-part-as-type):
      * lisp/gnus/gnus-icalendar.el (gnus-icalendar-event--get-attendee-names):
      * lisp/gnus/gnus-score.el (gnus-summary-score-effect):
      * lisp/gnus/gnus-sum.el (gnus-read-move-group-name):
      * lisp/gnus/gnus-topic.el (gnus-group-prepare-topics):
      * lisp/gnus/gnus-win.el (gnus-get-buffer-window):
      * lisp/gnus/nnmail.el (nnmail-purge-split-history):
      * lisp/gnus/nnmaildir.el (nnmaildir-request-scan):
      * lisp/gnus/nnrss.el (nnrss-make-hash-index): Replace calls in all
        these locations.
      78690723
  24. 21 Oct, 2017 1 commit
    • 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
  25. 13 Sep, 2017 2 commits
    • 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
    • Katsumi Yamaoka's avatar
      Protect against malformed MIME messages that cause inf-loop (bugfix) · 61b8f9c4
      Katsumi Yamaoka authored
      * lisp/gnus/gnus-art.el (gnus-article-mime-handles):
      Protect against malformed MIME messages that cause inf-loop.
      61b8f9c4
  26. 01 Sep, 2017 1 commit
  27. 30 Sep, 2017 1 commit
  28. 08 Aug, 2017 1 commit
  29. 21 Jun, 2017 1 commit
    • Katsumi Yamaoka's avatar
      Make gnus-article-date-user work · 1de9e298
      Katsumi Yamaoka authored
      * lisp/gnus/gnus-art.el (article-date-ut):
      Work for unfolded multi-line Date header.
      (article-transform-date):
      Refactor; add header name if it is missing in user-defined date line.
      (article-date-user): Fix name of date type.
      1de9e298
  30. 20 Jun, 2017 1 commit
  31. 14 Jun, 2017 1 commit
  32. 25 Apr, 2017 1 commit
  33. 01 Feb, 2017 1 commit