Hi,
>IMHO it should be a minor mode which can be enabled/disabled on buffer-basis!
>Just tested with ECB and e.g. ECB uses `goto-line' for its tree-buffers - so when you do a goto-line (with activated pulse-advice) in the source-buffer and this jumps to another function FFF, then ECB automatically updates its methods-buffer (i.e. calls goto-line to this line which displays the tag for FFF) and then the methods-buffer will pulse too - which is definitly a not wanted side-effect ;-)
I updated the pulse advice to only operate if the commands were called
interactively, and thus not as a utility function.
Thanks
Eric
>With other packages there could be side-effects too...................................
>
>Thoughts?
>
>Ciao,
>Klaus
>
>Eric M. Ludlam wrote:
>> Hello all.
>>
>> It's been a busy summer. A while back, I posted about a new
>> decoration feature that semantic was using to 'pulse' tags when you
>> jump to them. A fun diversion to be sure.
>>
>> I've extracted that code into a new package called just 'pulse',
>> which is now in the CEDET/CVS repository as cedet/common/pulse.el.
>> Semantic and speedbar both now use pulse to provide a brief highlight.
>>
>> If you update your copy of CEDET, you will get the added bonus of
>> getting to try the command:
>>
>> M-x pulse-enable-integration-advice
>>
>> turns pulsing on for things like compile-mode, find-tag, and goto-line
>> among others. Fun for all. ;)
>>
>> Also, if you customized the previous variables for semantic pulsing
>> from the last CVS update, you will need to update the new versions of
>> those variables.
>>
>> Enjoy
>> Eric
|