[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to do a massive unfill paragraph operation over several hundred
From: |
Gerald Wildgruber |
Subject: |
Re: How to do a massive unfill paragraph operation over several hundred files? |
Date: |
Mon, 1 Oct 2018 16:37:52 +0200 |
User-agent: |
mu4e 1.1.0; emacs 27.0.50 |
On Mo, Okt 01 2018, Emanuel Berg <moasen@zoho.com> wrote:
> Gerald Wildgruber wrote:
>
>> But how can I use the unfill-paragraph
>> function programmatically (non-interactively)
>> in a script
>
> (unfill-paragraph ARGS)
Yes, that is the whole point I didn't understand! What does "ARGS" have to be
when called non-interactively in a script. From the doc string of the function:
(defun unfill-paragraph (&optional region)
"Takes a multi-line paragraph and makes it into a single line of text."
(interactive (progn (barf-if-buffer-read-only) '(t)))
(let ((fill-column (point-max)))
(fill-paragraph nil region)))
I cannot see what to put here.
--
Sent with mu4e
- Re: How to do a massive unfill paragraph operation over several hundred files?, Gerald Wildgruber, 2018/10/01
- Re: How to do a massive unfill paragraph operation over several hundred files?, Emanuel Berg, 2018/10/01
- Re: How to do a massive unfill paragraph operation over several hundred files?,
Gerald Wildgruber <=
- Re: How to do a massive unfill paragraph operation over several hundred files?, Robert Pluim, 2018/10/01
- Re: How to do a massive unfill paragraph operation over several hundred files?, Gerald Wildgruber, 2018/10/02
- Re: How to do a massive unfill paragraph operation over several hundred files?, Noam Postavsky, 2018/10/02
- Re: How to do a massive unfill paragraph operation over several hundred files?, Gerald Wildgruber, 2018/10/03
- Re: How to do a massive unfill paragraph operation over several hundred files?, Noam Postavsky, 2018/10/03
- Re: How to do a massive unfill paragraph operation over several hundred files?, Gerald Wildgruber, 2018/10/08
- Message not available
- Re: How to do a massive unfill paragraph operation over several hundred files?, Emanuel Berg, 2018/10/03
- Message not available
- Re: How to do a massive unfill paragraph operation over several hundred files?, Emanuel Berg, 2018/10/02
Message not available