I seem to have some misunderstanding with
looking-at. This is my test
(defun lkat () "interactive looking at" (interactive) (if (looking-at "^\\s-*") (message "yes") (message "no")))
I would expect that it answers with "yes", if point is on any whitespace after line-start. If I put my cursor at the first space of a line, this works, but if I put it on the second space, it fails. Is looking-at not greedy?
Thanks to anyone who points me to my mistake...