# Prevent jump when there's a syntax error

**URL:** <https://talk.observablehq.com/t/prevent-jump-when-theres-a-syntax-error/4521>\
**Category:** Help\
**Created:** [January 25, 2021, 5:35pm UTC](https://talk.observablehq.com/t/prevent-jump-when-theres-a-syntax-error/4521 "2021-01-25T17:35:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nachocab](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/nachocab/32/2426_2.png) [@nachocab](https://talk.observablehq.com/u/nachocab)\
**Post date:** [January 25, 2021, 5:35pm UTC](https://talk.observablehq.com/t/prevent-jump-when-theres-a-syntax-error/4521/1 "2021-01-25T17:35:12Z")

</div>

I don’t know if this is possible or not, but I find it very confusing when I’m writing in a cell and that causes a syntax error in another cell further down. The notebook automatically jumps to that error and it’s not always clear if it went up or down. I know I can type `command + z` to go back to the original cell, but I find it distracting.

Is there a way to turn off this automatic behavior?

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [January 25, 2021, 6:29pm UTC](https://talk.observablehq.com/t/prevent-jump-when-theres-a-syntax-error/4521/2 "2021-01-25T18:29:49Z")

</div>

Observable will only rerun dependent cells when a cell’s editor content is saved. The content is saved when you:

- press the play button,
- or press Shift+Enter,
- or blur a cell that has changes.

I guess the desirable behavior here would be to not save on blur?

---

<div class="post-metadata">

**Author:** ![nachocab](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/nachocab/32/2426_2.png) [@nachocab](https://talk.observablehq.com/u/nachocab)\
**Post date:** [January 25, 2021, 6:58pm UTC](https://talk.observablehq.com/t/prevent-jump-when-theres-a-syntax-error/4521/3 "2021-01-25T18:58:24Z")

</div>

> [@mootari](#):
>
> I guess the desirable behavior here would be to not save on blur?

Or at least provide a way to toggle “saving on blur”.

Am I the only one that gets confused by this? I’m working on a streamgraph and I’m playing around with multiple datasets/scales/legends/etc. Every time I change the data variable, half my notebook goes red 😅

---

<div class="post-metadata">

**Author:** ![mootari](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.observablehq.com/mootari/32/581_2.png) [@mootari](https://talk.observablehq.com/u/mootari)\
**Post date:** [January 25, 2021, 7:11pm UTC](https://talk.observablehq.com/t/prevent-jump-when-theres-a-syntax-error/4521/4 "2021-01-25T19:11:10Z")

</div>

For what it’s worth, you can edit your notebook in safe mode while simultaneously viewing it in a second tab or window.
