From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: elisp exercise: toggle-letter-case Date: Sun, 19 Oct 2008 17:26:04 +0200 Message-ID: References: <420ba543-19ba-4987-9f3a-a57878777c9d@n33g2000pri.googlegroups.com> <1224286525.260548@arno.fh-trier.de> <44503f09-7f13-41c4-80dd-4dcda150b76d@b31g2000prb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224446738 11629 80.91.229.12 (19 Oct 2008 20:05:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Oct 2008 20:05:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Xah Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 19 22:03:15 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KraC1-00089Q-Os for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Oct 2008 17:27:46 +0200 Original-Received: from localhost ([127.0.0.1]:45462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KraAw-0006eq-Go for geh-help-gnu-emacs@m.gmane.org; Sun, 19 Oct 2008 11:26:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KraAY-0006du-2u for help-gnu-emacs@gnu.org; Sun, 19 Oct 2008 11:26:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KraAU-0006dB-Iw for help-gnu-emacs@gnu.org; Sun, 19 Oct 2008 11:26:12 -0400 Original-Received: from [199.232.76.173] (port=43361 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KraAU-0006d2-C0 for help-gnu-emacs@gnu.org; Sun, 19 Oct 2008 11:26:10 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:51023) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KraAS-0004YF-Qn for help-gnu-emacs@gnu.org; Sun, 19 Oct 2008 11:26:09 -0400 Original-Received: from thursday (BAH0e26.bah.pppool.de [77.135.14.38]) by dd18200.kasserver.com (Postfix) with ESMTP id B878318465A33; Sun, 19 Oct 2008 17:26:09 +0200 (CEST) In-Reply-To: <44503f09-7f13-41c4-80dd-4dcda150b76d@b31g2000prb.googlegroups.com> (Xah's message of "Sat\, 18 Oct 2008 13\:50\:30 -0700 \(PDT\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58927 Archived-At: Xah wrote: > it doesn't use (&optional beg end) with the associated > =E2=80=9C(interactive ...)=E2=80=9D code because i think when a command i= s 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