all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* jumping thru sexp and if fi
@ 2009-01-20 17:00 Harry Putnam
  0 siblings, 0 replies; only message in thread
From: Harry Putnam @ 2009-01-20 17:00 UTC (permalink / raw)
  To: help-gnu-emacs

I'm pretty sure I should know this... but may have forgotten or never
knew.

I'm having trouble with a shell script, and need to jump thru various
parts of it.

forward-sexp follows the {...} notations and paren matching takes care
of (...) but what can I do to follow
the if... fi statements or even between double quotes "...".  The
syntax highlight is apparently fooled, since I don't see any problems
indicated there.

I'm getting an error (from the homeboy script) that indicates the
script does not expect a certain `}' on a specific line number.

Staring at the section and going through it.  I can't find the error.
Emacs syntax highlight apparently can't either, and using forward-sexp
just jumps to the suspect `}' from its beginning bracket.  So I'm
looking for ways to find the problem by making sure all notations like
 
   {,(,if," 
that require companions are complete.








^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-20 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20 17:00 jumping thru sexp and if fi Harry Putnam

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.