[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elisp exercise: toggle-letter-case
From: |
Nikolaj Schumacher |
Subject: |
Re: elisp exercise: toggle-letter-case |
Date: |
Sun, 19 Oct 2008 17:26:04 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
Xah <xahlee@gmail.com> wrote:
> it doesn't use (&optional beg end) with the associated
> “(interactive ...)” code because i think when a command is designed
> only for interactive use, then it makes sense to not support calling
> it in elisp as much as possible.
But it limits the code's re-usability. Imagine someone wants a function
that toggles the case for the current symbol or sentence (instead of
word).
regards,
Nikolaj Schumacher