1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Chong Yidong
965b9376cf * thingatpt.el (thing-at-point-bounds-of-list-at-point): New
function (Bug#3027).
2009-04-18 03:39:28 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Chong Yidong
ce8fb8aa95 (end-of-sexp, beginning-of-sexp, forward-same-syntax): Omit default
arguments to char-after and char-before.
2008-10-25 00:12:37 +00:00
Chong Yidong
de285f273d (sexp-at-point, symbol-at-point, number-at-point, list-at-point): Add
docstrings.
2008-10-22 20:51:23 +00:00
Joakim Verona
42986283a1 Fix for bug #572, removed () from url regexp. 2008-08-06 22:36:55 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
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
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Karl Fogel
8626551860 * thingatpt.el (thing-at-point-email-regexp): Don't require two chars
before the "@" in an email address.  Andreas Roehler noticed this problem.
2007-06-16 01:25:25 +00:00
Karl Fogel
baef4cbec3 * thingatpt.el: Add support for email addresses (`email').
(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.
2007-06-16 01:03:35 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Glenn Morris
c90f275771 Update copyright years. 2006-12-05 07:06:08 +00:00
Richard M. Stallman
4f5d46685d (thing-at-point-url-at-point): Don't add a redundant scheme.
(thing-at-point-uri-schemes): Added schemes that
are new to the list at IANA.  Also added irc, mms, mmsh.
2006-11-21 01:38:04 +00:00
Richard M. Stallman
883d1f4b73 (thing-at-point-bounds-of-url-at-point): Delete spurious backquote. 2006-09-13 17:46:25 +00:00
Stefan Monnier
2a59b30d16 (symbol-at-point): Don't use `form-at-point' which
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'.
2006-07-04 20:27:49 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
f1180544bb Trailing whitespace deleted. 2003-02-04 12:29:42 +00:00
Dave Love
839aacc98f (thing-at-point-file-name-chars): Include
non-ASCII again and re-write the filename ops.
2003-01-27 11:38:45 +00:00
Richard M. Stallman
e6726b7192 (thing-at-point-file-name-chars): Undo previous change. 2003-01-26 14:51:40 +00:00
Dave Love
4d61e7d513 (thing-at-point-file-name-chars): Include non-ASCII
and use documented treatment of -.
2003-01-15 19:44:58 +00:00
Richard M. Stallman
1b0d40de85 Comment change. 2002-10-14 01:27:19 +00:00
Richard M. Stallman
7f1422bc46 (read-from-whole-string): Add call to `ignore'. 2002-10-14 01:27:08 +00:00
Richard M. Stallman
0408f074b0 (thing-at-point-url-path-regexp): Doc fix. 2002-10-07 22:47:41 +00:00
Markus Rost
1c1766c7e3 (thing-at-point-uri-schemes): New variable.
(thing-at-point-url-regexp): Use it.
2002-10-06 17:54:15 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Dave Love
d18243f565 (thing-at-point-url-regexp): Prepend `\<'. 2000-08-15 14:22:21 +00:00
Stefan Monnier
206eef6cf4 (toplevel symbol-properties): Don't quote lambda. 2000-06-12 05:29:56 +00:00
Gerd Moellmann
6254fc9fb2 (forward-thing): Use functionp instead of fboundp.
Set maintainer to FSF since author isn't reachable.
2000-06-08 20:59:25 +00:00
Dave Love
be64abcf66 (sexp-at-point, symbol-at-point)
(number-at-point, list-at-point): Add autoload cookie.
2000-02-02 14:51:22 +00:00
Richard M. Stallman
84841dd1b5 (thing-at-point-url-at-point): Don't use current
syntax table to determine what is whitespace.
1998-11-25 21:26:50 +00:00
Dave Love
340483df0d (thing-at-point-url-at-point): Intuit ftp:// on `short' URLs. 1998-02-25 23:16:42 +00:00
Richard M. Stallman
a1c9b4d080 (url): Define end-op property again. Wrap end-op
and beginning-op lambdas with `function', not quote.
1997-07-09 00:04:00 +00:00
Richard M. Stallman
d9cc804bf8 (thing-at-point): Use `thing-at-point' property, if any.
(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.
1997-07-04 19:59:49 +00:00
Richard M. Stallman
e9c71056c1 (buffer): Don't use beginning-of-buffer, end-of-buffer. 1997-06-25 03:03:57 +00:00
Richard M. Stallman
6f0e09d4d0 (beginning-of-sexp): New function.
(bounds-of-thing-at-point): Fix typo in computing real-beg.
1997-06-24 05:25:09 +00:00
Richard M. Stallman
9e594a2e8c (forward-whitespace, forward-symbol):
Don't get error at end of buffer.
(bounds-of-thing-at-point): Don't get confused when a motion
function stops at end of buffer and there really isn't a thing.
Avoid redundant repeated scans.
1997-05-13 19:52:56 +00:00
Richard M. Stallman
02807c95d3 (bounds-of-thing-at-point): Allow the end
to be at the same place as ORIG.
Try harder to find a thing that ends at ORIG.

(url): Move forward over colons.
Move back over colons at the end.
(thing-at-point-file-name-chars): Include @.
1996-12-11 20:59:18 +00:00
Richard M. Stallman
bf6c5df1a1 (thing-at-point-url-chars): Allow comma, = and &.
(url): Move back over commas at the end.
1996-12-10 07:19:54 +00:00
Richard M. Stallman
c851323f3d (thing-at-point-url-chars): Allow period.
(url): Move back over periods at the end.

Downcase arguments as Lisp symbols.
Fix many doc strings.
(thing-at-point-file-name-chars): Renamed from file-name-chars.
Allow a colon.
(thing-at-point-url-chars): New variable.
(url): Define new kind of "thing".
1996-12-07 21:20:10 +00:00
Richard M. Stallman
7a8f27dbe6 Comment change. 1996-10-12 02:42:58 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
ac12c077d5 (read-from-whole-string): Doc fix. 1996-01-04 23:50:34 +00:00
Richard M. Stallman
fde7326e6d (forward-same-syntax): New function. 1995-07-18 21:37:32 +00:00
Richard M. Stallman
9f5c7ace45 (line): Add a beginning-op function. 1994-11-15 04:18:03 +00:00
Richard M. Stallman
69f9ba7efe Comment change. 1994-06-17 16:00:42 +00:00
Richard M. Stallman
2eca79d6ae (thing@pt-version): Removed variable. 1994-02-02 23:19:42 +00:00