[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: simple editor required
From: |
Kai Großjohann |
Subject: |
Re: simple editor required |
Date: |
Tue, 24 Jun 2003 09:16:15 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
"Paul Edwards" <kerravon@nosppaam.w3.to> writes:
> Ok, will try. But actually, I've thought of a better way of
> abstracting it that will make it more useful. If RET could
> be newline-and-indent except when I am positioned at the
> beginning of the line (in which case it should be newline
> only) then that is what would be ideal.
>
> Can you think of a way to do that?
(defun pe-newline-and-maybe-indent ()
(interactive)
(if (bolp) (newline) (newline-and-indent)))
--
This line is not blank.
- Re: simple editor required, (continued)
- Re: simple editor required, Kai Großjohann, 2003/06/25
- Message not available
- Re: simple editor required, Paul Edwards, 2003/06/25
- Re: simple editor required, Kai Großjohann, 2003/06/25
- Re: simple editor required, Paul Edwards, 2003/06/30
- Re: simple editor required, Kai Großjohann, 2003/06/20
- Re: simple editor required, Paul Edwards, 2003/06/23
- Re: simple editor required, Kai Großjohann, 2003/06/23
- Re: simple editor required, Paul Edwards, 2003/06/23
- Re: simple editor required,
Kai Großjohann <=
- Re: simple editor required, Kai Großjohann, 2003/06/17
- Re: simple editor required, Paul Edwards, 2003/06/18
- Re: simple editor required, Stefan Monnier, 2003/06/19
- Re: simple editor required, Paul Edwards, 2003/06/17
- Re: simple editor required, Stefan Monnier, 2003/06/17
- Re: simple editor required, Paul Edwards, 2003/06/18
- Re: simple editor required, Kai Großjohann, 2003/06/18
- Re: simple editor required, Paul Edwards, 2003/06/19
- Re: simple editor required, Kai Großjohann, 2003/06/19
- Re: simple editor required, Paul Edwards, 2003/06/20