1. 06 Jun, 2015 1 commit
  2. 01 Jan, 2015 2 commits
  3. 10 Feb, 2014 1 commit
  4. 01 Jan, 2014 1 commit
  5. 06 Nov, 2013 1 commit
  6. 10 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/*.el: Remove lexical-binding warnings; additional small cleanups. · 45fdb482
      Juanma Barranquero authored
      * calculator.el (calculator): Mark unused argument.
        (calculator-paste, calculator-quit, calculator-integer-p):
        Use ignore-errors.
        (calculator-string-to-number, calculator-decimal, calculator-exp)
        (calculator-op-or-exp): Use string-match-p.
      
      * dired-aux.el (dired-compress): Use ignore-errors.
        (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
        (dired-do-async-shell-command, dired-do-shell-command)
        (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
        (dired-insert-subdir-validate): Use string-match-p.
        (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
        (dired-add-entry): Use string-match-p, looking-at-p.
        (dired-insert-subdir-newpos): Remove unused local variable.
      
      * dired.el (dired-buffer-more-recently-used-p): Declare.
        (dired-insert-set-properties, dired-insert-old-subdirs):
        Use ignore-errors.
      
      * filenotify.el (file-notify-callback): Remove unused local variable.
      
      * filesets.el (filesets-error): Mark unused argument.
        (filesets-which-command-p, filesets-filter-dir-names)
        (filesets-directory-files, filesets-get-external-viewer)
        (filesets-ingroup-get-data): Use string-match-p.
      
      * find-file.el (ff-other-file-name, ff-other-file-name)
        (ff-find-the-other-file, ff-cc-hh-converter):
        Remove unused local variables.
        (ff-get-file-name): Use string-match-p.
        (ff-all-dirs-under): Use ignore-errors.
      
      * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
        (follow-select-if-visible): Remove unused local variable.
      
      * forms.el (read-file-filter): Move declaration.
        (forms--make-format, forms--make-parser, forms-insert-record):
        Quote function with #'.
        (forms--update): Use string-match-p.  Quote function with #'.
      
      * help-mode.el (help-dir-local-var-def): Mark unused argument.
        (help-make-xrefs): Use looking-at-p.
        (help-xref-on-pp): Use looking-at-p, ignore-errors.
      
      * ibuffer.el (ibuffer-ext-visible-p): Declare.
        (ibuffer-confirm-operation-on): Use string-match-p.
      
      * msb.el (msb-item-handler, msb-dired-item-handler):
        Mark unused arguments.
      
      * ses.el (ses-decode-cell-symbol)
        (ses-kill-override): Remove unused local variable.
        (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
        (ses-load): Use ignore-errors, looking-at-p.
        (ses-jump-safe): Use ignore-errors.
        (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
      
      * tabify.el (untabify, tabify): Mark unused arguments.
      
        * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
        Mark unused argument.
        (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
        (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
      45fdb482
  7. 08 May, 2013 1 commit
    • Sam Steingold's avatar
      * lisp/thingatpt.el (thing-at-point): Accept optional second argument · 72d3cfca
      Sam Steingold authored
      NO-PROPERTIES to strip the text properties from the return value.
      * lisp/net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
      to `thing-at-point' instead of stripping the properties ourselves.
      Also, when `thing-at-point' fails to find a url, prepend "http://"
      to the filename at point on the assumption that the user is
      pointing at something like gnu.org/gnu.
      72d3cfca
  8. 30 Mar, 2013 1 commit
  9. 14 Mar, 2013 2 commits
  10. 04 Feb, 2013 1 commit
    • Chong Yidong's avatar
      Merge FFAP's URI-detection code into thingatpt.el. · 6e5c1569
      Chong Yidong authored
      * lisp/ffap.el: Require thingatpt.
      (ffap-url-at-point): Delegate URI detection to thing-at-point.
      All URI-valid characters are now recognized.
      (ffap-string-at-point): Use use-region-p.
      (ffap-url-regexp): Extra character is handled by thing-at-point.
      (ffap-string-at-point-mode-alist): Allow parentheses.
      (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
      Convert to aliases; code moved to thingatpt.el.
      (ffap-gnus-hook): Use setq-local.
      
      * lisp/thingatpt.el: Rewrite the URL detection routines, absorbing some
      code from ffap.el.
      (thing-at-point-beginning-of-url-regexp): New var.
      (thing-at-point-uri-schemes): Update list of URI schemes.
      (thing-at-point-url-regexp): Variable deleted.
      (thing-at-point-markedup-url-regexp): Disallow newlines.
      (thing-at-point-newsgroup-regexp)
      (thing-at-point-newsgroup-heads)
      (thing-at-point-default-mail-uri-scheme): New variables.
      (thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
      method to find the possible bounds of the URI at point.  New
      optional argument to find ill-formed URIs.
      (thing-at-point-url-at-point): Rewrite.  New arguments for finding
      ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
      the scheme-adding heuristics from ffap-url-at-point.
      (thing-at-point--bounds-of-well-formed-url): New function.  Do
      parens matching to decide whether to include parens in the URI
      
      * test/automated/thingatpt.el: New file.
      
      Fixes: debbugs:5673
      6e5c1569
  11. 01 Jan, 2013 1 commit
  12. 29 Oct, 2012 2 commits
  13. 26 May, 2012 1 commit
  14. 11 Jan, 2012 1 commit
  15. 05 Jan, 2012 1 commit
  16. 07 Jul, 2011 1 commit
    • Chong Yidong's avatar
      Doc fixes for thingatpt.el. · f5bd0689
      Chong Yidong authored
      * lisp/thingatpt.el (forward-thing, bounds-of-thing-at-point)
      (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
      (end-of-sexp, beginning-of-sexp)
      (thing-at-point-bounds-of-list-at-point, forward-whitespace)
      (forward-symbol, forward-same-syntax, word-at-point)
      (sentence-at-point): Doc fix (Bug#1144).
      f5bd0689
  17. 30 Jun, 2011 1 commit
  18. 01 Jun, 2011 2 commits
    • Stefan Monnier's avatar
      ec8bd86f
    • Stefan Monnier's avatar
      Miscellaneous tweaks. · 2462470b
      Stefan Monnier authored
      * lisp/emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
      lexical scoping as in subr.el's dolist and dotimes.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
      Silence compiler warning.
      * lisp/thingatpt.el (forward-whitespace): Trivial coding style fix.
      * lisp/subr.el (with-output-to-temp-buffer): Provide an edebug spec.
      * lisp/international/ccl.el (ccl-compile): Trivial simplification.
      * lisp/help-fns.el (help-do-arg-highlight): Silence compiler warning.
      * lisp/emacs-lisp/testcover.el (testcover-end): Remove spurious
      `printflag' argument.
      * lisp/emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
      Purecopy the whole obsolescence data.
      2462470b
  19. 13 May, 2011 1 commit
  20. 24 Mar, 2011 1 commit
  21. 26 Jan, 2011 1 commit
  22. 25 Jan, 2011 1 commit
  23. 15 Jan, 2011 1 commit
  24. 02 Jan, 2011 1 commit
  25. 13 Jan, 2010 1 commit
  26. 18 Apr, 2009 1 commit
  27. 05 Jan, 2009 1 commit
  28. 25 Oct, 2008 1 commit
  29. 22 Oct, 2008 1 commit
  30. 06 Aug, 2008 1 commit
  31. 06 May, 2008 1 commit
  32. 07 Jan, 2008 1 commit
  33. 25 Jul, 2007 1 commit
  34. 16 Jun, 2007 2 commits
  35. 21 Jan, 2007 1 commit