unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Semantic and pop-mark
@ 2011-02-08 13:49 Andrea Crotti
  2011-02-08 14:01 ` Andrea Crotti
  2011-02-08 21:07 ` Oleksandr Gavenko
  0 siblings, 2 replies; 4+ messages in thread
From: Andrea Crotti @ 2011-02-08 13:49 UTC (permalink / raw)
  To: help-gnu-emacs

I just helped a friend configuring semantic, and now he can jump to
structure definitions, next tag and so on.

But one thing doesn't work as before (when he was using only "normal"
find-tag).
With M-* (pop-tag-mark) it was possible to go back where the last
find-tag was invoked.

I tried to play around but I can't find anything to have the same
behaviour.

Any idea?

I use sometimes semantic-mrub-switch-tags but it's not exactly the same
thing...

Thanks,
Andrea




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Semantic and pop-mark
  2011-02-08 13:49 Semantic and pop-mark Andrea Crotti
@ 2011-02-08 14:01 ` Andrea Crotti
  2011-02-08 21:07 ` Oleksandr Gavenko
  1 sibling, 0 replies; 4+ messages in thread
From: Andrea Crotti @ 2011-02-08 14:01 UTC (permalink / raw)
  To: help-gnu-emacs

Andrea Crotti <andrea.crotti.0@gmail.com> writes:

> I just helped a friend configuring semantic, and now he can jump to
> structure definitions, next tag and so on.
>
> But one thing doesn't work as before (when he was using only "normal"
> find-tag).
> With M-* (pop-tag-mark) it was possible to go back where the last
> find-tag was invoked.
>
> I tried to play around but I can't find anything to have the same
> behaviour.
>
> Any idea?
>
> I use sometimes semantic-mrub-switch-tags but it's not exactly the same
> thing...
>
> Thanks,
> Andrea


I found this advising code:
http://permalink.gmane.org/gmane.emacs.cedet/4252
but I don't have push-tag-mark defined anywhere.
I tried substituting "push-mark" but apparently it's not the same and
it doesn't do the right thing yet...




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Semantic and pop-mark
  2011-02-08 13:49 Semantic and pop-mark Andrea Crotti
  2011-02-08 14:01 ` Andrea Crotti
@ 2011-02-08 21:07 ` Oleksandr Gavenko
  2011-02-09 11:33   ` Andrea Crotti
  1 sibling, 1 reply; 4+ messages in thread
From: Oleksandr Gavenko @ 2011-02-08 21:07 UTC (permalink / raw)
  To: help-gnu-emacs

On 2011-02-08 15:49, Andrea Crotti wrote:
> I just helped a friend configuring semantic, and now he can jump to
> structure definitions, next tag and so on.
>
> But one thing doesn't work as before (when he was using only "normal"
> find-tag).
> With M-* (pop-tag-mark) it was possible to go back where the last
> find-tag was invoked.
>
> I tried to play around but I can't find anything to have the same
> behaviour.
>
> Any idea?
>
> I use sometimes semantic-mrub-switch-tags but it's not exactly the same
> thing...
>
Hi! I also have same question (I post it on semantic list).

How back from 'semantic-ia-fast-jump' to original place?

Easy - using C-x C-SPACE ('pop-global-mark'). Each jump function
from semantic update 'global-mark-ring'.

You can read Emacs manual about 'global-mark-ring' - this is
built-in feature of Emacs for a log time....

-- 
Best regards!




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Semantic and pop-mark
  2011-02-08 21:07 ` Oleksandr Gavenko
@ 2011-02-09 11:33   ` Andrea Crotti
  0 siblings, 0 replies; 4+ messages in thread
From: Andrea Crotti @ 2011-02-09 11:33 UTC (permalink / raw)
  To: help-gnu-emacs

Oleksandr Gavenko <gavenkoa@gmail.com> writes:

>>
> Hi! I also have same question (I post it on semantic list).
>
> How back from 'semantic-ia-fast-jump' to original place?
>
> Easy - using C-x C-SPACE ('pop-global-mark'). Each jump function
> from semantic update 'global-mark-ring'.
>
> You can read Emacs manual about 'global-mark-ring' - this is
> built-in feature of Emacs for a log time....

Very nice thanks.
I even used this thing some time ago but I forgot in the meanwhile ;)
It works for me, apparently when you jump the mark is set so it's
already perfect.

For semantic to do the right thing, some function advising would be
enough as I understood...




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-09 11:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 13:49 Semantic and pop-mark Andrea Crotti
2011-02-08 14:01 ` Andrea Crotti
2011-02-08 21:07 ` Oleksandr Gavenko
2011-02-09 11:33   ` Andrea Crotti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).