[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: title-case function
From: |
Emanuel Berg |
Subject: |
Re: title-case function |
Date: |
Sun, 21 Apr 2019 15:45:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Paul W. Rankin wrote:
> A slight improvement below.
> Function title-case works on a string object,
> title-case-region works on the region.
> Using a temp buffer is a bit annoying
> though...
Hint: Make it a DWIM interface!
E.g.,
(defun count-chars (&optional start end)
(interactive
(if (use-region-p)
(list (region-beginning) (region-end))
(list (point-min) (point-max)) ))
(message "%d" (- end start)) )
--
underground experts united
http://user.it.uu.se/~embe8573
- Re: the English language part 2, (continued)
- Re: the English language part 2, Emanuel Berg, 2019/04/22
- Europe in 1648 (was: Re: the English language part 2), Emanuel Berg, 2019/04/25
- Re: Europe in 1648 (was: Re: the English language part 2), Ralph Seichter, 2019/04/26
- Re: Europe in 1648 (was: Re: the English language part 2), Emanuel Berg, 2019/04/27
- Re: Europe in 1648, Van L, 2019/04/28
- RE: the English language part 2, Drew Adams, 2019/04/21
- Re: the English language part 2, Jean-Christophe Helary, 2019/04/21
- Re: the English language part 2, Emanuel Berg, 2019/04/21
- Re: title-case function,
Emanuel Berg <=
the English language, again (was: Re: title-case function), Emanuel Berg, 2019/04/21
the English language, again (was: Re: title-case function), Emanuel Berg, 2019/04/21
- Re: the English language, again (was: Re: title-case function), Robert Thorpe, 2019/04/22
- Re: the English language, again (was: Re: title-case function), Emanuel Berg, 2019/04/22
- Re: the English language, again (was: Re: title-case function), Emanuel Berg, 2019/04/22
- Re: the English language, again, Van L, 2019/04/24