[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: org-backward-paragraph give an error when called from the #
Re: [O] Bug: org-backward-paragraph give an error when called from the #+BEGIN_SRC line of a source block [9.1.1 (9.1.1-17-g24ea1b-elpaplus @ /home/omar/.emacs.d/elpa/org-plus-contrib-20171002/)]
Wed, 04 Oct 2017 13:00:41 +0200
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Omar Antolin <address@hidden> writes:
> If you run `org-backward-paragraph` from the `#+BEGIN_SRC` line of a
> source block it gives the error message "Invalid search bound (wrong
> side of point)", instead of moving point.
Fixed. Thank you.
> This excerpt is from inside a branch of a `cond` that tests for
> `(memq type '(src-block verse-block))`. I don't really understand what
> the code is trying to do or why the case of source blocks and verse
> block should be handled together.
Because we want to treat their contents differently than what the parser
sees. For example, source blocks have no contents, and verse blocks'
ignore blank lines.