How to make sure a clocked operation happens just once in Vhdl
Assuming you haven't(?)... I think you should draw your design before you type, you will get much more out of the experience and suffer less issues like you have been posting... nonetheless, you stated:


  I want write_enable(which enables writing to ram) to stay at 1 just for the operation(in a window which I call cursor) time then go back to 0 even if enable is 1


Not sure if it solves your overall issue, but based on this sentence, it translates to AND'ing cursor and enable.

combinatorial: write_enable = cursor and enable;

inside a clocked process: write_enable &lt;= cursor and enable;