Looking for a way to have a fault-tolerant navigation. I.e. in case of broken syntax, uncomplete forms etc. --when check-paren fails--, it should try some heuristics.

Unfortunatly can't use check-parens resp. scan-lists for branching, as these return an error, which breaks further execution. Consider nil as return value in case of fail and some-value in case of correctnes.

  • ignore-errors? – npostavs Nov 5 '18 at 23:50
  • @npostavs Must distingish the result. Nil is already returned in case of success. A workaround will check if point moved by syntactic-sensitiv navigation. – Andreas Röhler Nov 6 '18 at 6:57
  • condition-case+progn then. I guess the diificulty is in the "heuristics" though. – npostavs Nov 6 '18 at 12:18

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.