diff options
| -rw-r--r-- | etc/NEWS | 29 |
1 files changed, 25 insertions, 4 deletions
| @@ -3598,10 +3598,30 @@ This splits a shell command string into separate components, | |||
| 3598 | respecting quoting with single ('like this') and double ("like this") | 3598 | respecting quoting with single ('like this') and double ("like this") |
| 3599 | quotes, as well as backslash quoting (like\ this). | 3599 | quotes, as well as backslash quoting (like\ this). |
| 3600 | 3600 | ||
| 3601 | ** New string manipulation functions added to subr-x.el. | 3601 | +++ |
| 3602 | the functions are 'string-clean-whitespace', 'string-fill', | 3602 | ** New function 'string-clean-whitespace'. |
| 3603 | 'string-limit', 'string-lines', 'string-pad' and | 3603 | This removed whitespace from a string |
| 3604 | 'string-chop-newline'. | 3604 | |
| 3605 | +++ | ||
| 3606 | ** New function 'string-fill'. | ||
| 3607 | Word-wrap a string so that no lines are longer that a specific length. | ||
| 3608 | |||
| 3609 | +++ | ||
| 3610 | ** New function 'string-limit'. | ||
| 3611 | Return (up to) a specific substring length. | ||
| 3612 | |||
| 3613 | +++ | ||
| 3614 | ** New function 'string-lines'. | ||
| 3615 | Return a list of strings representing the individual lines in a | ||
| 3616 | string. | ||
| 3617 | |||
| 3618 | +++ | ||
| 3619 | ** New function 'string-pad'. | ||
| 3620 | Pad a string to a specific length. | ||
| 3621 | |||
| 3622 | +++ | ||
| 3623 | ** New function 'string-chop-newline'. | ||
| 3624 | Remove a trailing newline from a string. | ||
| 3605 | 3625 | ||
| 3606 | +++ | 3626 | +++ |
| 3607 | ** New function 'replace-regexp-in-region'. | 3627 | ** New function 'replace-regexp-in-region'. |
| @@ -3646,6 +3666,7 @@ This is identical to 'ignore', but returns t instead. | |||
| 3646 | This is identical to 'sxhash-equal' but also accounts for string | 3666 | This is identical to 'sxhash-equal' but also accounts for string |
| 3647 | properties. | 3667 | properties. |
| 3648 | 3668 | ||
| 3669 | --- | ||
| 3649 | ** New function 'buffer-line-statistics'. | 3670 | ** New function 'buffer-line-statistics'. |
| 3650 | This function returns some statistics about the line lengths in a buffer. | 3671 | This function returns some statistics about the line lengths in a buffer. |
| 3651 | 3672 | ||