[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to test if the current line contains only white-spache?
From: |
Yuri Khan |
Subject: |
Re: How to test if the current line contains only white-spache? |
Date: |
Sun, 15 Nov 2015 11:56:46 +0600 |
On Sat, Nov 14, 2015 at 10:11 PM, Rolf Ade <rolf@pointsman.de> wrote:
> For some random minor elisp code I need to know, if the current line
> contains only white-space characters[1].
>
> I came up with this somewhat convoluted code: […]
> I wonder, what much simpler and more elegant solution I'm missing.
(beginning-of-line)
(if (looking-at "[ \t]*\n")
…
…)
- Re: How to test if the current line contains only white-spache?, (continued)
- Re: How to test if the current line contains only white-spache?, Emanuel Berg, 2015/11/20
- Message not available
- Re: How to test if the current line contains only white-space?, Rolf Ade, 2015/11/19
- Re: How to test if the current line contains only white-space?, Emanuel Berg, 2015/11/20
- Message not available
- Re: How to test if the current line contains only white-space?, Rolf Ade, 2015/11/20
- Re: How to test if the current line contains only white-space?, Emanuel Berg, 2015/11/23
- Message not available
- Re: How to test if the current line contains only white-space?, Rolf Ade, 2015/11/20
- Re: How to test if the current line contains only white-spache?, Alex Bennée, 2015/11/26
- predicates (was: Re: How to test if the current line contains only white-spache?), Emanuel Berg, 2015/11/26
- Message not available
- Re: predicates, Pascal J. Bourguignon, 2015/11/26
- Re: predicates, Emanuel Berg, 2015/11/27
Re: How to test if the current line contains only white-spache?,
Yuri Khan <=
Re: How to test if the current line contains only white-spache?, John Mastro, 2015/11/16
Re: How to test if the current line contains only white-spache?, Nicolas Richard, 2015/11/25
Message not available