summaryrefslogtreecommitdiff
path: root/lisp/thingatpt.el
Commit message (Collapse)AuthorAgeFilesLines
* Doc fixes for thingatpt.el.Chong Yidong2011-07-071-13/+49
| | | | | | | | | * 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).
* (thing-at-point-short-url-regexp): Require that short URLs have at least one ↵Lars Magne Ingebrigtsen2011-06-301-1/+1
| | | | dot in them (bug #7614).
* * lisp/thingatpt.el (forward-whitespace): Typo.Stefan Monnier2011-06-011-1/+1
|
* Miscellaneous tweaks.Stefan Monnier2011-06-011-1/+1
| | | | | | | | | | | | | | | * 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.
* * lisp/thingatpt.el (bounds-of-thing-at-point): Return nil rather thanStefan Monnier2011-05-131-4/+5
| | | | | | bounds for the empty string. Fixes: debbugs:8667
* Add support for defun in thingatpt.elDrew Adams2011-03-251-0/+6
|
* Refill some long/short copyright headers.Glenn Morris2011-01-261-2/+1
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-1/+0
|
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * thingatpt.el (thing-at-point-bounds-of-list-at-point): NewChong Yidong2009-04-181-2/+20
| | | | function (Bug#3027).
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (end-of-sexp, beginning-of-sexp, forward-same-syntax): Omit defaultChong Yidong2008-10-251-4/+4
| | | | arguments to char-after and char-before.
* (sexp-at-point, symbol-at-point, number-at-point, list-at-point): AddChong Yidong2008-10-221-3/+10
| | | | docstrings.
* Fix for bug #572, removed () from url regexp.Joakim Verona2008-08-061-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-4/+8
|
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| |
* | Merge from emacs--rel--22Miles Bader2007-07-261-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | Patches applied: * emacs--rel--22 (patch 70-73) - Update from CVS 2007-07-25 Glenn Morris <rgm@gnu.org> * Relicense all FSF files to GPLv3 or later. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
| * Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
| |
* | * thingatpt.el (thing-at-point-email-regexp): Don't require two charsKarl Fogel2007-06-161-1/+1
| | | | | | | | before the "@" in an email address. Andreas Roehler noticed this problem.
* | * thingatpt.el: Add support for email addresses (`email').Karl Fogel2007-06-161-2/+29
|/ | | | | | | (thing-at-point, bounds-of-thing-at-point): Document `email' support. (thing-at-point-email-regexp): New variable. (`email'): Put `bounds-of-thing-at-point' and `thing-at-point' properties on this symbol, with lambda forms for values.
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update copyright years.Glenn Morris2006-12-051-2/+2
|
* (thing-at-point-url-at-point): Don't add a redundant scheme.Richard M. Stallman2006-11-211-3/+9
| | | | | (thing-at-point-uri-schemes): Added schemes that are new to the list at IANA. Also added irc, mms, mmsh.
* (thing-at-point-bounds-of-url-at-point): Delete spurious backquote.Richard M. Stallman2006-09-131-1/+1
|
* (symbol-at-point): Don't use `form-at-point' whichStefan Monnier2006-07-041-49/+46
| | | | | | fails if the symbol contains chars like ( or '. (bounds-of-thing-at-point): Remove unused vars `end' and `beg'. (thing-at-point-bounds-of-url-at-point): Remove unused vars `url' and `short'.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-2/+2
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-37/+37
|
* (thing-at-point-file-name-chars): IncludeDave Love2003-01-271-3/+9
| | | | non-ASCII again and re-write the filename ops.
* (thing-at-point-file-name-chars): Undo previous change.Richard M. Stallman2003-01-261-1/+1
|
* (thing-at-point-file-name-chars): Include non-ASCIIDave Love2003-01-151-2/+2
| | | | and use documented treatment of -.
* Comment change.Richard M. Stallman2002-10-141-1/+1
|
* (read-from-whole-string): Add call to `ignore'.Richard M. Stallman2002-10-141-1/+2
|
* (thing-at-point-url-path-regexp): Doc fix.Richard M. Stallman2002-10-071-1/+1
|
* (thing-at-point-uri-schemes): New variable.Markus Rost2002-10-061-3/+14
| | | | (thing-at-point-url-regexp): Use it.
* Some fixes to follow coding conventions in files maintained by FSF.Pavel Janík2001-07-151-2/+2
|
* (thing-at-point-url-regexp): Prepend `\<'.Dave Love2000-08-151-1/+1
|
* (toplevel symbol-properties): Don't quote lambda.Stefan Monnier2000-06-121-4/+4
|
* (forward-thing): Use functionp instead of fboundp.Gerd Moellmann2000-06-081-2/+4
| | | | Set maintainer to FSF since author isn't reachable.
* (sexp-at-point, symbol-at-point)Dave Love2000-02-021-0/+4
| | | | (number-at-point, list-at-point): Add autoload cookie.
* (thing-at-point-url-at-point): Don't use currentRichard M. Stallman1998-11-251-1/+1
| | | | syntax table to determine what is whitespace.
* (thing-at-point-url-at-point): Intuit ftp:// on `short' URLs.Dave Love1998-02-251-6/+14
|
* (url): Define end-op property again. Wrap end-opRichard M. Stallman1997-07-091-9/+11
| | | | and beginning-op lambdas with `function', not quote.
* (thing-at-point): Use `thing-at-point' property, if any.Richard M. Stallman1997-07-041-56/+155
| | | | | | | | | | | | | | | | | | (bounds-of-thing-at-point): Use `bounds-of-thing-at-point' property. (thing-at-point-bounds-of-url-at-point): New function. (thing-at-point-looking-at): New function, adapted from old browse-url-looking-at. (thing-at-point-url-at-point): New function, adapted from browse-url-url-at-point. (thing-at-point-url-chars): Variable deleted. (thing-at-point-url-path-regexp, thing-at-point-short-url-regexp, thing-at-point-url-regexp, thing-at-point-markedup-url-regexp): New variables. (url): `beginning-op' property function changed to use `thing-at-point-bounds-of-url-at-point'. `end-op' property no longer set -- functionality no longer supported for the more sophisticated treatment of URLs so `forward-thing' no longer works in this case.
* (buffer): Don't use beginning-of-buffer, end-of-buffer.Richard M. Stallman1997-06-251-2/+2
|
* (beginning-of-sexp): New function.Richard M. Stallman1997-06-241-1/+10
| | | | (bounds-of-thing-at-point): Fix typo in computing real-beg.