1
From the documentation of query-replace
:
[...] In Transient Mark mode, if the mark is active, operate on the contents of the region. Otherwise, operate from point to the end of the buffer.
What is the way to do it backwards? That is, if nothing is marked, from point to the beginning of the buffer? Have in mind the behavior of isearch-forward
vs. isearch-backward
. It might be that this kind of functionality is not available out of the box for a reason - if this is the case I would like to know what is the reason.