1. 25 May, 2019 1 commit
    • Paul Eggert's avatar
      Go back to "Maintainer: emacs-devel@gnu.org" · f744797a
      Paul Eggert authored
      Restore lines saying "Maintainer: emacs-devel@gnu.org" when there is
      no special maintainer for a file.  Although this wasn't documented
      it was common practice and removing the lines didn't have consensus.
      f744797a
  2. 20 May, 2019 1 commit
  3. 27 Mar, 2019 1 commit
    • Paul Eggert's avatar
      2019-03-26 regex cleanup · 5d6a3144
      Paul Eggert authored
      Problems reported by Mattias Engdegård in:
      https://lists.gnu.org/r/emacs-devel/2019-03/msg01028.html
      * lisp/align.el (align-rules-list):
      * lisp/speedbar.el (speedbar-check-read-only, speedbar-check-vc):
      * lisp/vc/diff-mode.el (diff-add-change-log-entries-other-window):
      * lisp/woman.el (woman-parse-numeric-arg):
      Put "-" at end of character alternatives, since a range was not intended.
      * lisp/erc/erc.el (font-lock):
      * lisp/mail/footnote.el (cl-seq):
      Avoid duplicate character alternatives by using cl-seq API.
      * lisp/mail/footnote.el (footnote--current-regexp):
      * lisp/textmodes/css-mode.el (css--font-lock-keywords):
      Avoid repetition of repetition.
      * lisp/net/webjump.el (webjump-url-encode):
      Add ~ to character alternatives, and rewrite confusing range.
      * lisp/progmodes/verilog-mode.el (verilog-compiler-directives)
      (verilog-assignment-operator-re):
      Remove duplicate.
      * lisp/progmodes/verilog-mode.el (verilog-preprocessor-re):
      * lisp/textmodes/css-mode.el (css--font-lock-keywords):
      Don’t escape a char that doesn’t need it.
      * lisp/textmodes/picture.el (picture-tab-chars): In docstring,
      do not say regexp characters will be quoted; merely say in
      another way that the syntax is that of character alternatives.
      (picture-set-tab-stops, picture-tab-search): Don’t attempt
      to regexp-quote picture-tab-chars.
      (picture-tab-search): Quote \ in picture-tab-chars for
      skip-chars-backwards, which treats \ differently than
      regexp character alternatives do.
      5d6a3144
  4. 05 Mar, 2019 1 commit
    • 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
  5. 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
  6. 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
  7. 01 Jan, 2019 2 commits
  8. 26 Apr, 2018 1 commit
    • Ivan Shmakov's avatar
      Ensure woman2-roff-buffer restores functions on error (Bug#30908) · 66dbb787
      Ivan Shmakov authored
      * lisp/woman.el (woman2-roff-buffer): Put the fallback paragraph
      processing inside the protected part of the unwind-protect form,
      rather than the cleanup forms.  Attempting to format paragraphs again
      after an error has been signaled is unlikely to be helpful.  The
      fallback processing should be triggered only in case the loop
      terminated normally, but did not reach the end of the buffer for some
      reason.
      66dbb787
  9. 30 Mar, 2018 1 commit
  10. 07 Mar, 2018 1 commit
    • Glenn Morris's avatar
      Replace some obsolete aliases in documentation · 6bcb48cf
      Glenn Morris authored
      * doc/misc/efaq-w32.texi (Incoming mail with Rmail):
      * doc/misc/speedbar.texi (Major Display Modes):
      * lisp/mh-e/mh-folder.el (mh-restore-desktop-buffer):
      Doc fixes re obsolete aliases.
      ; * lisp/autoinsert.el (auto-insert):
      ; * lisp/ffap.el (ffap-newfile-prompt):
      ; * lisp/woman.el (woman-insert-file-contents): Comment fixes.
      6bcb48cf
  11. 01 Jan, 2018 1 commit
  12. 11 Nov, 2017 1 commit
    • Basil L. Contovounesios's avatar
      Rename Man-build-section-alist (bug#28998) · 000e7290
      Basil L. Contovounesios authored
      The defsubst Man-build-section-alist builds and returns a list of
      strings, so rename it to Man-build-section-list and make it a defun.
      
      * lisp/man.el (Man-build-section-alist): Do it and reduce syntax.
      (Man-goto-page):
      * lisp/woman.el (woman-find-file): Use it.
      000e7290
  13. 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
  14. 17 Aug, 2017 1 commit
  15. 07 May, 2017 1 commit
  16. 18 Feb, 2017 1 commit
  17. 01 Jan, 2017 1 commit
  18. 13 Oct, 2016 1 commit
    • Mark Oteiza's avatar
      Derive Man and WoMan modes from special-mode · 506a97a5
      Mark Oteiza authored
      * lisp/man.el (Man-mode-map): Set parent to map composed from both
      button-buffer-map and special-mode-map.  Remove redundant bindings.
      Fix menu to refer to the quit-window command.
      (Man-mode): Derive from special-mode.  Fix docstring.  Remove redundant
      buffer-read-only binding.
      (Man-quit): Remove.
      * lisp/woman.el (woman-really-find-file): Use setq-local.
      (woman-mode-map): Refer to woman-mode in docstring.
      (woman-mode): Derive from special-mode.  Document woman-mode-map in
      docstring.  Use setq-local where possible; imenu-generic-expression is
      already buffer-local.
      (woman-negative-vertical-space): Replace unused binding with _.
      506a97a5
  19. 27 Sep, 2016 1 commit
    • Mark Oteiza's avatar
      ; Fix previous change · 329e0274
      Mark Oteiza authored
      * lisp/woman.el (woman-parse-man.conf, woman-manpath-add-locales)
      (woman-cached-data): Use :test #'equal for instances of cl-pushnew.
      329e0274
  20. 10 Aug, 2016 1 commit
    • Mark Oteiza's avatar
      Nudge WoMan toward lexical-binding · 4ffdcfc6
      Mark Oteiza authored
      * lisp/woman.el (woman-parse-man.conf, woman-manpath-add-locales):
      Use cl-pushnew instead of add-to-list.
      (woman-justify-list): Rename to woman-justify-styles.
      (woman-justify-styles): New array.
      (woman-justify, woman-decode-region, woman2-ad, woman2-na): Use it.
      (woman-cached-data): Use cl-pushnew instead of add-to-list.
      4ffdcfc6
  21. 09 Jul, 2016 1 commit
    • Mario Lang's avatar
      An efficient built-in mapcan · 466ee1b3
      Mario Lang authored
      A built-in version of `mapcan' avoids consing up (and GC'ing) the
      intermediate list.
      
      * src/fns.c (Fmapcan): New built-in.
      (syms_of_fns): Define.
      
      * lisp/emacs-lisp/cl.el (mapcan): Remove defalias.
      
      * lisp/emacs-lisp/cl-extra.el (cl-mapcan): Use built-in `mapcan'
      if only one sequence is provided.
      
      * lisp/progmodes/hideif.el (hif-delimit):
      * lisp/dired-aux.el (dired-do-find-regexp):
      * lisp/woman.el (woman-parse-colon-path): Use `mapcan' instead of
      `cl-mapcan'.
      
      * lisp/woman.el (eval-when-compile): Require 'cl-lib only when
      compiling.
      
      * lisp/mouse.el (mouse-buffer-menu-map):
      * lisp/net/pop3.el (pop3-uidl-dele):
      * lisp/progmodes/gud.el (gud-jdb-build-source-files-list):
      * lisp/cedet/semantic/db-find.el (semanticdb-fast-strip-find-results):
      * lisp/cedet/semantic/symref/grep.el (semantic-symref-derive-find-filepatterns):
      * lisp/gnus/nnmail.el (nnmail-split-it):
      * lisp/gnus/gnus-sum.el (gnus-articles-in-thread):
      * lisp/gnus/gnus-registry.el (gnus-registry-sort-addresses):
      * lisp/gnus/gnus-util.el (gnus-mapcar): Use `mapcan'.
      466ee1b3
  22. 23 Jun, 2016 1 commit
    • Mark Oteiza's avatar
      Remove some face aliases obsoleted in 22.1 · c430f7e2
      Mark Oteiza authored
      * lisp/faces.el (modeline-inactive, modeline-highlight, modeline-buffer-id):
      * lisp/hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
      * lisp/info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face,
      Info-title-4-face, info-menu-5):
      * lisp/obsolete/old-whitespace.el (whitespace-highlight-face):
      * lisp/paren.el (show-paren-match-face, show-paren-mismatch-face):
      * lisp/progmodes/make-mode.el (makefile-space-face):
      * lisp/textmodes/texinfo.el (texinfo-heading-face): Remove.
      (texinfo-font-lock-keywords): Use texinfo-heading face.
      * lisp/vc/add-log.el (change-log-date-face, change-log-name-face,
      change-log-email-face, change-log-file-face, change-log-list-face,
      change-log-conditionals-face, change-log-function-face,
      change-log-acknowledgement-face):
      * lisp/vc/diff-mode.el (diff-header-face, diff-file-header-face,
      diff-index-face, diff-hunk-header-face, diff-removed-face, diff-added-face,
      diff-changed-face, diff-function-face, diff-context-face,
      diff-nonexistent-face): Remove.
      (diff-use-changed-face, diff-font-lock-keywords): Use non-obsolete face
      symbols.
      (diff-hunk-file-names): Fix comment.
      (diff-refine-change): Remove.
      (diff-refine-removed, diff-refine-added, diff-refine-hunk): Use
      non-obsolete face.
      * lisp/vc/log-view.el (log-view-file-face, log-view-message-face): Remove.
      (log-view-font-lock-keywords): Use non-obsolete face names.
      * lisp/vc/pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face,
      cvs-handled-face, cvs-need-action-face, cvs-marked-face, cvs-msg-face):
      * lisp/wid-edit.el (widget-documentation-face, widget-button-face,
      widget-field-face, widget-single-line-field-face, widget-inactive-face,
      widget-button-pressed-face):
      * lisp/woman.el (woman-italic-face, woman-bold-face, woman-unknown-face,
      woman-addition-face): Remove.
      c430f7e2
  23. 20 Feb, 2016 1 commit
  24. 30 Jan, 2016 1 commit
    • Glenn Morris's avatar
      Improve the custom type of some user options. · 0fac75fe
      Glenn Morris authored
      * lisp/desktop.el (desktop-minor-mode-table):
      * lisp/man.el (Man-frame-parameters):
      * lisp/midnight.el (midnight-delay):
      * lisp/speedbar.el (speedbar-select-frame-method):
      * lisp/tooltip.el (tooltip-frame-parameters):
      * lisp/tree-widget.el (tree-widget-space-width):
      * lisp/type-break.el (type-break-keystroke-threshold):
      * lisp/woman.el (woman-imenu-generic-expression):
      * lisp/cedet/ede.el (ede-debug-program-function):
      * lisp/cedet/ede/project-am.el (project-am-debug-target-function):
      * lisp/emulation/viper-keym.el (viper-toggle-key):
      * lisp/erc/erc-networks.el (erc-server-alist):
      * lisp/gnus/message.el (message-deletable-headers, message-signature):
      * lisp/mail/mailalias.el (mail-directory-stream):
      * lisp/play/tetris.el (tetris-x-colors):
      * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
      0fac75fe
  25. 01 Jan, 2016 1 commit
  26. 21 Dec, 2015 1 commit
  27. 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
  28. 28 Sep, 2015 1 commit
  29. 17 Sep, 2015 2 commits
    • 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
    • Paul Eggert's avatar
      Fix several backslash typos in Elisp strings · 753fbfbe
      Paul Eggert authored
      * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
      (todo-find-filtered-items-file, todo-reset-nondiary-marker)
      (todo-reset-done-string, todo-reset-comment-string)
      (todo-reset-highlight-item):
      * lisp/erc/erc-networks.el (erc-networks-alist):
      * lisp/gnus/gnus-art.el (gnus-button-handle-library):
      * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
      * lisp/gnus/nntp.el (nntp-via-shell-prompt)
      (nntp-telnet-shell-prompt):
      * lisp/gnus/spam-report.el (spam-report-gmane-regex):
      * lisp/image-dired.el (image-dired-rotate-original):
      (image-dired-get-exif-file-name):
      * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
      * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
      * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
      * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
      * lisp/net/shr-color.el (shr-color->hexadecimal):
      * lisp/org/org-bibtex.el (org-bibtex-fields):
      * lisp/org/org-docview.el (org-docview-export):
      * lisp/org/org-entities.el (org-entities):
      * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
      * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
      * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
      (ebnf-style-database):
      * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
      * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
      * lisp/progmodes/sql.el (sql-product-alist):
      * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
      (verilog-error-font-lock-keywords)
      (verilog-assignment-operator-re):
      * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
      * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
      * lisp/vc/add-log.el (change-log-version-number-regexp-list):
      Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
      For example, to get the regular expression ‘\.’ use the string
      literal "\\.", not "\." (which is equivalent to ".").
      * lisp/emulation/viper-util.el (viper-glob-unix-files):
      Remove stray ‘\j’ from string.
      * lisp/gnus/nntp.el (nntp-via-shell-prompt)
      (nntp-telnet-shell-prompt):
      Treat > like $ when matching a shell prompt.
      * lisp/progmodes/make-mode.el (makefile-browse):
      Properly quote a diagnostic.
      753fbfbe
  30. 03 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Fix some more docstring etc. quoting problems · 26bd978d
      Paul Eggert authored
      Mostly these fixes prevent the transliteration of apostrophes
      that should stay apostrophes.  Also, prefer curved quotes in
      Bahá’í proper names, as that’s the preferred Bahá’í style and
      these names are chock-full of non-ASCII characters anyway.
      * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
      (eieio-defclass-internal):
      * lisp/emacs-lisp/eieio.el (defclass):
      * lisp/hi-lock.el (hi-lock-mode):
      Don’t transliterate Lisp apostrophes when generating a
      doc string or diagnostic.
      * lisp/international/mule-diag.el (list-coding-systems-1):
      * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
      * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
      * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
      * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
      Substitute quotes before putting them in the help buffer.
      26bd978d
  31. 29 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Fix minor text quoting problems in lisp top level · ff441d35
      Paul Eggert authored
      * lisp/apropos.el (apropos-describe-plist):
      * lisp/cus-theme.el (customize-themes):
      * lisp/dired.el (dired-log):
      * lisp/help-fns.el (describe-variable):
      * lisp/hexl.el (hexl-insert-multibyte-char):
      * lisp/info.el (Info-finder-find-node):
      * lisp/json.el (json-read-string):
      * lisp/novice.el (disabled-command-function)
      (disabled-command-function):
      * lisp/startup.el (normal-mouse-startup-screen):
      * lisp/woman.el (WoMan-log, WoMan-warn):
      Respect text quoting style in doc string or diagnostic.
      * lisp/replace.el (replace-character-fold):
      * src/syntax.c (Fmodify_syntax_entry):
      Escape an apostrophe in a docstring.
      * lisp/tempo.el (tempo-define-template):
      Remove confusing apostrophe from docstring.
      * lisp/whitespace.el (whitespace-mark-x):
      Use directed quotes in docstring.
      ff441d35
  32. 21 Aug, 2015 1 commit
  33. 21 May, 2015 1 commit
  34. 01 Jan, 2015 2 commits
  35. 05 Jun, 2014 1 commit
  36. 10 Feb, 2014 1 commit
  37. 25 Jan, 2014 1 commit
    • Rüdiger Sonderfeld's avatar
      Link to info manual in `defgroup'. · ed85dee6
      Rüdiger Sonderfeld authored
      * lisp/progmodes/ada-mode.el (ada):
      * lisp/woman.el (woman): Link to info manual and Commentary section.
      
      * lisp/url/url-vars.el (url):
      * lisp/erc/erc.el (erc):
      * lisp/progmodes/flymake.el (flymake):
      * lisp/nxml/nxml-mode.el (nxml):
      * lisp/net/eww.el (eww):
      * lisp/speedbar.el (speedbar, speedbar-faces, speedbar-vc):
      * lisp/htmlfontify.el (htmlfontify):
      * lisp/ses.el (ses):
      * lisp/epa.el (epa):
      * lisp/ido.el (ido): Link to info manual.
      ed85dee6