>>> yary <not.com@...> seems to think that:
>Hello-
>
>I'm using the CVS version of cedet. With senator's sticky func mode
>on, clicking on the header lines gives a menu allowing one to copy the
>tag and a few other things.
>
>The first option, senator-copy-tag, seemed to be broken, then I
>realized it copies the tag to a tag ring, not the kill ring. This
>seems not so useful, since when I copy something I usually want to
>yank it soon after, regardless of how I copied/killed it. On the other
>hand I assume there's a reason for the existence of a tag ring that's
>distinct from a kill ring.
>
>So, what's the reasoning and usage of the tag ring? How can it help me?
[ ... ]
The tag ring is useful for inserting those tags back into code
elsewhere. You can copy a tag from one place, and if you insert the
tag with senator's insert tag function, it will stick in, say, a
function call to that tag, or a prototype of the tag. If you paste
the tag into a buffer of a different mode, such as texinfo, it will
insert it as documentation.
If you "kill" a tag, it will stick it in the tag ring, and put the
text into the regular kill ring for pasting later.
If you want to copy the text of a tag into the kill ring, you can use
the regular `mark-defun' (C-M-h) and `kill-ring-save' (M-w) and
Senator uses advice to make it work correctly.
If there is some combo feature like this you think would be useful to
add to the menu, or some other interface, let me know, or better yet,
provide a patch.
Thanks
Eric
--
Eric Ludlam: eric@...
Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net
|