Comments (4)
Hi lbsx,
I think this is a good idea. Could you see if ggtags-find-tag-resume partially help with this history navigation? I'll see what best to do here.
Leo
from ggtags.
I think ggtags-find-tag-resume and history navigation are different things. History navigation needs a different data structure other than a stack to store the jump history.
For example, I press M-. on foo1, then on foo2, then on foo3, and history navigation provides the ability to jump back to foo2 and foo1, then from foo1, jump forward again to foo2 and then foo3.
Here is the document of Source Insight on "Go Back" and "Go Forward". They are almost the same as a web browser provides.
http://www.sourceinsight.com/docs35/af915700.htm
from ggtags.
I think the history back/forward can share the same data structure with the push/pop tag stack. The stack is implemented as a ring anyway. I'll find a way to do this.
from ggtags.
Sorry for taking so long to get to this bug. I think I have something roughly implemented. By default, C-c n
and C-c p
does history navigation without destroying markers. Could you test it and post comments here? Thank you. -- Leo
from ggtags.
Related Issues (20)
- Should 'ggtags-include-pattern' be a buffer local variable? HOT 4
- Is there an option to override project root? HOT 2
- file path is shortened in the output buffer HOT 2
- Tag navigation and compilation mode HOT 1
- How to use this gtags-cscope feature from ggtags.el
- CPU is pinned to 100%, with excessive gtags processes spawned HOT 6
- ‘global’ non-zero exit: sh: global: command not found HOT 2
- POSIX realpath required
- wrong-type-argument error on compilation-auto-jump timer
- ggtags causes company-capf to fail when GTAGS doesn't exist
- ggtags-fontify-code conflicts with hl-line-mode HOT 1
- ggtags doesn't work with xref in Emacs 27.2 since latest update HOT 3
- GTAGSLIBPATH not searched HOT 1
- `ggtags-fontify-code` should be called optionally HOT 2
- With tramp: Error running timer ‘compilation-auto-jump’: (wrong-type-argument stringp nil) HOT 5
- 'xref-find-definitions' problem in symbolic link directory HOT 6
- xref-pop-marker-stack doesn't return to previous location HOT 1
- Use default gtags backend unless GTAGSLABEL is set
- Enhancement: Use Emacs' sqlite API (built-in or via module)
- Make integration with xref and capf user configurable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggtags.