1. 01 Jan, 2020 1 commit
  2. 06 Aug, 2019 1 commit
    • Stefan Monnier's avatar
      * lisp/mh-e: Use cl-lib · 74b097b6
      Stefan Monnier authored
      Also, use underscore prefixes and defvar in preparation for lexical binding
      
      * lisp/mh-e/mh-acros.el: Require cl-lib instead of cl.
      Rename all cl.el uses by adding `cl-` prefix.
      (mh-require-cl): Remove.  Not needed any more.  Remove all calls.
      (mh-defstruct): Remove.  Replace all uses with cl-defstruct.
      (mh-dlet*): New macro.
      
      * lisp/mh-e/mh-comp.el (mh-user-agent-compose): Fold all ignored
      optional args into the &rest arg.
      
      * lisp/mh-e/mh-e.el: Require cl-lib instead of using mh-require-cl.
      (mh-variants): Don't add-to-list on a local var.
      
      * lisp/mh-e/mh-folder.el (mh-restore-desktop-buffer): Use shorter arg
      names that don't collide with global vars.
      
      * lisp/mh-e/mh-mime.el (mh-insert-mime-button):
      (mh-insert-mime-security-button): Use mh-dlet*.
      
      * lisp/mh-e/mh-search.el (mh-swish-next-result, mh-grep-next-result)
      (mh-namazu-next-result): Use `or`.
      
      * lisp/mh-e/mh-thread.el (mh-thread-generate)
      (mh-thread-prune-containers): Use underscore rather than declare+ignore.
      
      * lisp/mh-e/mh-tool-bar.el (mh-tool-bar-define): Use mh-dlet*.
      (mh-tool-bar-define): Prefer the more precise \`...\' regexp ops.
      Prefer Elisp's `eval-and-compile` over `cl-eval-when`.
      
      * lisp/mh-e/mh-xface.el (mh-picon-get-image): Don't use
      mh-funcall-if-exists for ietf-drums-parse-address.
      Avoid the use of `cl-return` and hence use plain `defun`.
      Replace some `cl-loop` with `dolist`.
      74b097b6
  3. 26 May, 2019 1 commit
    • Paul Eggert's avatar
      Remove Maintainer: when it duplicates Author: · 797ee587
      Paul Eggert authored
      The convention is that a file with Author: but not Maintainer:
      means the author is a maintainer, which makes it confusing
      when a file lists the same person as author and maintainer.
      Avoid the confusion by removing the duplicate Maintainer: line.
      797ee587
  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. 01 Jan, 2019 1 commit
  6. 01 Jan, 2018 1 commit
  7. 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
  8. 01 Jan, 2017 1 commit
  9. 01 Jan, 2016 1 commit
  10. 17 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Backslash cleanup in Elisp source files · 284c470e
      Paul Eggert authored
      This patch should not change behavior.  It typically omits backslashes
      where they are redundant (e.g., in the string literal "^\$").
      In a few places, insert backslashes where they make regular
      expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
      "^\\*", which has the same effect as a regular expression.
      Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
      and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
      RCS IDs, as that makes it clearer that the backslash is intended.
      284c470e
  11. 01 Jan, 2015 2 commits
  12. 01 Jan, 2014 1 commit
  13. 23 Jan, 2013 1 commit
  14. 01 Jan, 2013 1 commit
  15. 11 Jan, 2012 1 commit
  16. 05 Jan, 2012 1 commit
  17. 12 Jul, 2011 1 commit
  18. 09 Jul, 2011 1 commit
  19. 26 Jan, 2011 1 commit
  20. 25 Jan, 2011 1 commit
  21. 15 Jan, 2011 1 commit
  22. 02 Jan, 2011 1 commit
  23. 13 Jan, 2010 1 commit
  24. 13 Jun, 2009 1 commit
  25. 13 Mar, 2009 1 commit
  26. 25 Jan, 2009 1 commit
  27. 05 Jan, 2009 1 commit
  28. 01 Aug, 2008 1 commit
  29. 06 May, 2008 1 commit
  30. 12 Mar, 2008 1 commit
  31. 05 Feb, 2008 1 commit
  32. 07 Jan, 2008 1 commit
  33. 17 Nov, 2007 1 commit
    • Dan Nicolaescu's avatar
      * eshell/esh-util.el (eshell-under-xemacs-p): Remove. · a3269bc4
      Dan Nicolaescu authored
      * eshell/esh-mode.el (eshell-mode-syntax-table)
      (command-running-p):
      * eshell/esh-ext.el (eshell-external-command):
      * eshell/esh-cmd.el (require):
      * eshell/em-unix.el (eshell-plain-locate-behavior):
      * eshell/em-cmpl.el (eshell-cmpl-initialize): Replace
      eshell-under-xemacs-p with (featurep 'xemacs).
      * eshell/esh-mode.el (characterp,char-int): Remove unused
      conditional defaliases.
      
      * pcomplete.el (pcomplete-event-matches-key-specifier-p): Rename
      from event-matches-key-specifier-p, define unconditionally.
      (event-basic-type): Remove unused defalias.
      (pcomplete-show-completions):
      Use pcomplete-event-matches-key-specifier-p.
      
      * mh-e.el (mh-xemacs-flag): Remove.
      (mh-min-colors-defined-flag):
      * mh-xface.el (mh-show-xface-function):
      * mh-utils.el (mh-colors-available-p):
      * mh-show.el (mh-show-mode):
      * mh-gnus.el (mh-gnus-local-map-property):
      * mh-folder.el (mh-folder-mode-map)
      (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
      * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
      with (featurep 'xemacs).
      a3269bc4
  34. 25 Jul, 2007 1 commit
  35. 21 Jan, 2007 1 commit
  36. 14 Nov, 2006 1 commit
  37. 15 Apr, 2006 1 commit
    • Bill Wohler's avatar
      * mh-acros.el (struct, x, y): No need to wrap defvar with · 42f8c37f
      Bill Wohler authored
      eval-when-compile when shushing compiler, even when mh-do-in-xemacs or
      another construct is used.
      
      * mh-comp.el (sendmail-coding-system): Ditto.
      
      * mh-e.el (mark-active): Ditto.
      
      * mh-folder.el (desktop-save-buffer, font-lock-auto-fontify)
      (image-load-path, font-lock-defaults): Ditto.
      
      * mh-letter.el (image-load-path, font-lock-defaults): Ditto.
      
      * mh-mime.el (dots, type, ov)
      (mm-verify-function-alist, mm-decrypt-function-alist)
      (pressed-details): Ditto.
      
      * mh-search.el (pick-folder, mh-do-in-xemacs)
      (mh-mairix-folder, mh-flists-search-folders)
      (which-func-mode, mh-speed-flists-inhibit-flag): Ditto.
      
      * mh-seq.el (tool-bar-mode): Ditto.
      
      * mh-utils.el (completion-root-regexp)
      (minibuffer-completing-file-name): Ditto.
      
      * mh-xface.el (default-enable-multibyte-characters): Ditto.
      42f8c37f
  38. 31 Jan, 2006 1 commit
    • Bill Wohler's avatar
      * mh-acros.el (mh-defun-compat, mh-defmacro-compat): Add name argument · 06e7028b
      Bill Wohler authored
      since compatibility functions should have our package prefix (mh-) by
      Emacs convention and to avoid messing up checks for the same functions
      in other packages. Use explicit argument instead of forming name by
      adding mh-e prefix so that one can grep and find the definition.
      
      * mh-alias.el (mh-alias-local-users, mh-alias-reload)
      (mh-alias-expand, mh-alias-minibuffer-confirm-address): Use
      mh-assoc-string instead of assoc-string.
      
      * mh-compat.el (assoc-string): Rename to mh-assoc-string.
      (mh-mail-abbrev-make-syntax-table, mh-url-hexify-string): Move here
      from mh-utils.el.
      (mh-display-completion-list): Move here from mh-comp.el.
      (mh-face-foreground, mh-face-background): Move here from mh-xface.el.
      (mh-write-file-functions): Move here from mh-folder.el
      
      * mh-folder.el (mh-write-file-functions-compat): Move to mh-compat.el
      and rename to mh-write-file-functions.
      (mh-folder-mode): Use the new name.
      
      * mh-gnus.el (gnus-local-map-property): Rename to
      mh-gnus-local-map-property.
      (mm-merge-handles): Rename to mh-mm-merge-handles.
      (mm-set-handle-multipart-parameter): Rename to
      mh-mm-set-handle-multipart-parameter.
      (mm-inline-text-vcard): Rename to mh-mm-inline-text-vcard.
      (mm-possibly-verify-or-decrypt): Rename to
      mh-mm-possibly-verify-or-decrypt.
      (mm-handle-multipart-ctl-parameter): Rename to
      mh-mm-handle-multipart-ctl-parameter.
      (mm-readable-p): Rename to mh-mm-readable-p.
      (mm-long-lines-p): Rename to mh-mm-long-lines-p.
      (mm-keep-viewer-alive-p): Rename to mh-mm-keep-viewer-alive-p.
      (mm-destroy-parts): Rename to mh-mm-destroy-parts.
      (mm-uu-dissect-text-parts): Rename to mh-mm-uu-dissect-text-parts.
      (mml-minibuffer-read-disposition): Rename to
      mh-mml-minibuffer-read-disposition.
      
      * mh-identity.el (mh-identity-field-handler): Use mh-assoc-string
      instead of assoc-string.
      
      * mh-mime.el (mh-mm-inline-media-tests, mh-mm-inline-message)
      (mh-mime-display, mh-mime-display-security) (mh-insert-mime-button,
      mh-insert-mime-security-button) (mh-handle-set-external-undisplayer)
      (mh-mime-security-press-button, mh-mime-security-show-details)
      (mh-mml-attach-file, mh-mime-cleanup)
      (mh-destroy-postponed-handles): Use new mh-* names for compatibility
      functions.
      
      * mh-utils.el (mail-abbrev-make-syntax-table): Move to mh-compat.el
      and rename to mh-mail-abbrev-make-syntax-table.
      (mh-beginning-of-word): Use the new name.
      (mh-get-field): Delete ancient alias.
      
      * mh-xface.el (mh-face-foreground-compat): Move to mh-compat.el and
      rename to mh-face-foreground
      (mh-face-background-compat): Move to mh-compat.el and rename to
      mh-face-background.
      (mh-face-display-function): Use the new names.
      (mh-x-image-url-cache-canonicalize): Use mh-url-hexify-string instead
      of url-hexify-string.
      (url-unreserved-chars): Move to mh-compat.el and rename to
      mh-url-unreserved-chars.
      (url-hexify-string): Move to mh-compat.el and rename to
      mh-url-hexify-string.
      06e7028b
  39. 30 Jan, 2006 1 commit