[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: list-print-separator
From: |
Stefan Monnier |
Subject: |
Re: list-print-separator |
Date: |
Tue, 26 Apr 2011 09:55:07 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
AM> (add-hook 'gnus-save-quick-newsrc-hook
AM> (lambda ()
AM> (save-excursion
AM> (goto-char (point-min))
AM> (save-match-data
AM> (while (re-search-forward "(\\\"\\| ((\\| (nn" nil t)
AM> (replace-match "\n \\&" t)))
AM> (delete-trailing-whitespace))))
AM> It may not be perfect, but it does make it a great deal more readable.
> Me too, but that doesn't work for new users, it relies on regular
> expressions, and it's slow.
The above shouldn't be slow (at least, not algorithmically so).
Stefan
- Re: list-print-separator, (continued)
- Re: list-print-separator, Ted Zlatanov, 2011/04/25
- Re: list-print-separator, Stefan Monnier, 2011/04/25
- Re: list-print-separator, Ted Zlatanov, 2011/04/25
- Re: list-print-separator, Thierry Volpiatto, 2011/04/25
- Re: list-print-separator, Stefan Monnier, 2011/04/25
- Re: list-print-separator, Eli Zaretskii, 2011/04/25
- Re: list-print-separator, Stefan Monnier, 2011/04/25
- Re: list-print-separator, Andy Moreton, 2011/04/25
- Re: list-print-separator, Ted Zlatanov, 2011/04/25
- Re: list-print-separator, Andy Moreton, 2011/04/26
- Re: list-print-separator,
Stefan Monnier <=
- Re: list-print-separator, Ted Zlatanov, 2011/04/26