Hi, Here is a new patch for longlines-mode. It updates substring filtering to the new interface and do not replace soft newlines with spaces anymore. So now, copy/pasting from a longlines buffer should work as intended. I'm now trying to update the search/query-replace but I don't understand how 'search-spaces-regex' works. It seems that with it I should be able to jump above soft newlines during search, but how ?