[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlin
From: |
Juri Linkov |
Subject: |
bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode |
Date: |
Wed, 06 Jul 2022 21:49:10 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>>> 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 ?
>>
>> Hm, not sure either...
>
> Ok. As far as I understand, a search will use `search-spaces-regex' in
> place of an explicit space entered by the user at prompt.
>
> So I could use this to match separators (and newline) when a space is
> entered but it won't automatically «jump» soft newlines as I wanted.
>
> Example with this longlines-mode content:
>
> Element1|Element2|
> Element3|
>
> Searching for "|Element3|" won't match but I could use
> `search-spaces-regex' to make searching for " Element3 " match. What do
> you think?
After longlines.el was unobsoleted, I checked that its search/replace
functions have correct implementation: longlines-search-function,
longlines-search-forward, longlines-re-search-forward, all looks correct.
Or do you mean that you tried to implement a new feature where
whitespace contains non-whitespace characters? Have you tried
to change the value of search-spaces-regexp to include such
characters?
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, (continued)
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Manuel Giraud, 2022/07/02
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Eli Zaretskii, 2022/07/03
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Manuel Giraud, 2022/07/04
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Eli Zaretskii, 2022/07/04
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Manuel Giraud, 2022/07/05
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Lars Ingebrigtsen, 2022/07/05
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Manuel Giraud, 2022/07/06
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Lars Ingebrigtsen, 2022/07/06
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Manuel Giraud, 2022/07/06
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Lars Ingebrigtsen, 2022/07/06
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode,
Juri Linkov <=
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Manuel Giraud, 2022/07/06
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Richard Stallman, 2022/07/07
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Manuel Giraud, 2022/07/08
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Eli Zaretskii, 2022/07/08
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Manuel Giraud, 2022/07/10
- bug#56335: 29.0.50; [PATCH] Add more breakpoint chars support to longlines-mode, Lars Ingebrigtsen, 2022/07/10