From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6768 Path: main.gmane.org!not-for-mail From: Wes Hardaker Newsgroups: gmane.emacs.gnus.general Subject: Re: smiley.el (was Re: gnus-smiley.el -- new version) Date: 18 Jun 1996 09:32:29 -0700 Message-ID: References: <199606141723.AA017493012@teal.ece.ucdavis.edu> <199606141842.LAA07706@monolith.spry.com> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147175 4663 80.91.224.250 (20 Oct 2002 20:52:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:52:55 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id KAA15260 for ; Tue, 18 Jun 1996 10:04:17 -0700 Original-Received: from teal.ece.ucdavis.edu (hardaker@teal.ece.ucdavis.edu [128.120.54.142]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id ; Tue, 18 Jun 1996 18:32:50 +0200 Original-Received: by teal.ece.ucdavis.edu (1.37.109.16/Ultrix3.0-C/eecs 1.1) id AA218375549; Tue, 18 Jun 1996 09:32:29 -0700 Original-To: Lars Magne Ingebrigtsen In-Reply-To: Lars Magne Ingebrigtsen's message of 17 Jun 1996 18:16:00 +0200 Original-Lines: 25 X-Mailer: Gnus v5.2.19/XEmacs 19.13 Xref: main.gmane.org gmane.emacs.gnus.general:6768 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6768 Lars Magne Ingebrigtsen writes: > Shouldn't be that much work. Would it suffice to first go backward > and see whether there is a "(", and then go forward and see whether > there is an ")"? If the former is true and the latter is not, then we > probably have a closing-paren smiley. Isn't there an elisp function (he says, knowing that there is but just too lazy to go read the elisp manual) that checks for a matching paren? You don't want to reinvent the wheel for things like: (blah blah blah) :-) It already exists, so... Just use it. (it may only exist in xemacs, which does paren highlighting (something I can't live without now), but thats ok since xemacs is the only place that will benifit from the code). -- _____ Wes Hardaker / ___ \ Department of Electrical and Computer Engineering / / \//\ University of California at Davis __________________ \--/ /--\ Davis CA 95616 / Recycle! \ \//\___/ / (hardaker@ece.ucdavis.edu) / It's not too late! \ \_____/