emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BABEL] Commands for navigation
@ 2010-09-04 13:04 Jambunathan K
  2010-09-08  6:24 ` Eric Schulte
  0 siblings, 1 reply; 2+ messages in thread
From: Jambunathan K @ 2010-09-04 13:04 UTC (permalink / raw)
  To: emacs-orgmode


I think the navigation commands should wrap around to beginning or end
of file as necessary possibly after throwing an error.  The error
messages down below need to be replaced with more user-friendly
messages. When I see anything such big or as cryptic I get apprehensive
that something is broken badly.

Is there a quick way to place the cursor at the beginning or end of the
babel block? I could think of two options - 

1. Augment C-c C-v p and C-c C-v n to jump to the beg/end of the current
block

2. Overload C-c C-u (within org-mode) to also mean jump to the enclosing
structural block.

Given a choice I would lean towards (2).

ps: Quick navigation to babel guard lines could be useful in conjunction
with speed keys (when supported)

org-babel-previous-src-block: Search failed: "^\\([ 	]*\\)#\\+begin_src[ 	]+\\([^ \f	
\v]+\\)[ 	]*\\([^\":
]*\"[^\"
*]*\"[^\":
]*\\|[^\":
]*\\)\\([^
]*\\)
\\([^]+?
\\)[ 	]*#\\+end_src"


org-babel-next-src-block: Search failed: "^\\([ 	]*\\)#\\+begin_src[ 	]+\\([^ \f	
\v]+\\)[ 	]*\\([^\":
]*\"[^\"
*]*\"[^\":
]*\\|[^\":
]*\\)\\([^
]*\\)
\\([^]+?
\\)[ 	]*#\\+end_src"


Jambunathan K.

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

end of thread, other threads:[~2010-09-08  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-04 13:04 [BABEL] Commands for navigation Jambunathan K
2010-09-08  6:24 ` Eric Schulte

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).