[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Grab and yank
From: |
Drew Adams |
Subject: |
RE: Grab and yank |
Date: |
Sun, 24 Jan 2010 09:39:45 -0800 |
> >> thingatpt+ might be a good place for this?
> >> http://www.emacswiki.org/emacs/thingatpt+.el
> >
> > Why?
>
> It's an existing documented library of things that
> specialises in doing "things at point"...
I think Andrea wanted something that:
(a) goes and gets a function definition
(from a tags file or the function's source code)
(b) returns to the original location, and
(c) yanks the definition at point.
The thing-at-pt functions pick up stuff at or near point.
They don't (and shouldn't) do excursion stuff or yanking.
That said, these functions in `thingatpt+.el' might be of some use in this
context: `region-or-word-nearest-point', `region-or-word-at-point'. They pick up
the active region or (if inactive) the word nearest/at point.
- Grab and yank, andrea, 2010/01/23
- Re: Grab and yank, andrea, 2010/01/24
- Re: Grab and yank, Lennart Borgman, 2010/01/24
- Re: Grab and yank, Andrea Crotti, 2010/01/24
- Re: Grab and yank, Lennart Borgman, 2010/01/24
- Re: Grab and yank, Lennart Borgman, 2010/01/24
- Re: Grab and yank, Richard Riley, 2010/01/24
- Re: Grab and yank, Lennart Borgman, 2010/01/24
- Re: Grab and yank, Richard Riley, 2010/01/24
- RE: Grab and yank,
Drew Adams <=
- Re: Grab and yank, Richard Riley, 2010/01/24
Re: Grab and yank, Andreas Röhler, 2010/01/24
Message not available