unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* show-enclosing-scopes
@ 2018-05-16  6:41 Jefferson Carpenter
  2018-05-16  8:03 ` show-enclosing-scopes Eli Zaretskii
  0 siblings, 1 reply; 24+ messages in thread
From: Jefferson Carpenter @ 2018-05-16  6:41 UTC (permalink / raw)
  To: emacs-devel

Just wrote a nifty little gadget that shows you the scopes you are 
inside of.  Eval this buffer:

https://raw.githubusercontent.com/jeffersoncarpenter/emacs.d/master/show-enclosing-scope.el

Then move point around.  A map of the scopes you're in appears at the 
top of the window.  Useful for knowing where you are when you're paging 
up and down the file, or searching-forward for a text string, esp. in 
code with long functions.

Main problem is that it's very flickery -- not 100% sure why, but I'm 
pretty sure the (redisplay) are part of the reason.  I had to add those 
in order for (scroll-up) and (scroll-down) to interoperate properly with 
(goto-char).



^ permalink raw reply	[flat|nested] 24+ messages in thread
* show-enclosing-scopes
@ 2018-05-16  6:40 Jefferson Carpenter
  0 siblings, 0 replies; 24+ messages in thread
From: Jefferson Carpenter @ 2018-05-16  6:40 UTC (permalink / raw)
  To: emacs-devel

Just wrote a nifty little gadget that shows you the scopes you are 
inside of.  Eval this buffer:

https://raw.githubusercontent.com/jeffersoncarpenter/emacs.d/master/show-enclosing-scope.el

Then move point around.  A map of the scopes you're in appears at the 
top of the window.  Useful for knowing where you are when you're paging 
up and down the file, or searching-forward for a text string, esp. in 
code with long functions.

Main problem is that it's very flickery -- not 100% sure why, but I'm 
pretty sure the (redisplay) are part of the reason.  I had to add those 
in order for (scroll-up) and (scroll-down) to interoperate properly with 
(goto-char).



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

end of thread, other threads:[~2018-06-03 18:35 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-16  6:41 show-enclosing-scopes Jefferson Carpenter
2018-05-16  8:03 ` show-enclosing-scopes Eli Zaretskii
2018-05-16 21:46   ` show-enclosing-scopes Jefferson Carpenter
2018-05-17 14:31     ` show-enclosing-scopes Stefan Monnier
2018-05-17 15:07       ` show-enclosing-scopes Eli Zaretskii
2018-05-17 17:41         ` show-enclosing-scopes Stefan Monnier
2018-05-17 19:16           ` show-enclosing-scopes Eli Zaretskii
2018-05-17 20:24             ` show-enclosing-scopes Stefan Monnier
2018-05-18  1:13               ` show-enclosing-scopes Jefferson Carpenter
2018-05-18  1:16                 ` show-enclosing-scopes Jefferson Carpenter
2018-05-18  6:15                   ` show-enclosing-scopes Eli Zaretskii
2018-05-18  2:22                 ` show-enclosing-scopes Stefan Monnier
2018-05-18  6:02                   ` show-enclosing-scopes Jefferson Carpenter
2018-05-18  6:18                     ` show-enclosing-scopes Jefferson Carpenter
2018-05-18  6:26                       ` show-enclosing-scopes Jefferson Carpenter
2018-05-18  7:01                       ` show-enclosing-scopes Eli Zaretskii
2018-05-18  8:46                     ` show-enclosing-scopes Eli Zaretskii
2018-05-19  4:17                       ` show-enclosing-scopes Jefferson Carpenter
2018-05-19  8:38                         ` show-enclosing-scopes Eli Zaretskii
2018-05-21  3:31                           ` show-enclosing-scopes Jefferson Carpenter
2018-05-25  7:07                             ` show-enclosing-scopes Jefferson Carpenter
2018-05-18  9:02                     ` show-enclosing-scopes Eli Zaretskii
2018-06-03 18:35                       ` show-enclosing-scopes Jefferson Carpenter
  -- strict thread matches above, loose matches on Subject: below --
2018-05-16  6:40 show-enclosing-scopes Jefferson Carpenter

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).