From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xend Newsgroups: gmane.emacs.help Subject: Re: test char Date: Fri, 5 Dec 2008 02:48:15 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <9c02116c-66a7-4372-a4da-c7cd6ceb5383@q26g2000prq.googlegroups.com> <1227956551.916850@arno.fh-trier.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1228477246 23553 80.91.229.12 (5 Dec 2008 11:40:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Dec 2008 11:40:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 05 12:41:51 2008 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 1L8Z4A-0004mw-6w for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Dec 2008 12:41:50 +0100 Original-Received: from localhost ([127.0.0.1]:41094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8Z2z-00015x-HW for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Dec 2008 06:40:37 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!w1g2000prm.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 123.149.38.207 Original-X-Trace: posting.google.com 1228474096 6843 127.0.0.1 (5 Dec 2008 10:48:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 5 Dec 2008 10:48:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w1g2000prm.googlegroups.com; posting-host=123.149.38.207; posting-account=o4YrVwoAAAAAIOu9uBqaRT4EH9JiGtz4 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.19 (KHTML, like Gecko) Chrome/0.4.154.29 Safari/525.19, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:165051 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:60376 Archived-At: On Nov 29, 8:37=A0pm, "Juanma Barranquero" wrote: > On Sat, Nov 29, 2008 at 12:01, Andreas Politz wrote= : > > That's unimaginary more elegant than what I suggested. :-) > > Yours would have to be more like > > (defun isupper (char) > =A0 (let (case-fold-search) > =A0 =A0 (string-match-p "[[:upper:]]" (make-string 1 char)))) > > but has the advantadge that > > ELISP> (isupper ??) > nil > ELISP> (eq (upcase ??) ??) > t > > =A0 Juanma thanks boy , i can get it