From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6800 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: smiley.el (was Re: gnus-smiley.el -- new version) Date: 19 Jun 1996 08:07:47 +0200 Sender: larsi@ifi.uio.no 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 1035147203 4771 80.91.224.250 (20 Oct 2002 20:53:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:53:23 +0000 (UTC) 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 EAA30415 for ; Wed, 19 Jun 1996 04:46:13 -0700 Original-Received: from aegir.ifi.uio.no (4867@aegir.ifi.uio.no [129.240.94.24]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 19 Jun 1996 12:58:34 +0200 Original-Received: (from larsi@localhost) by aegir.ifi.uio.no ; Wed, 19 Jun 1996 12:58:33 +0200 Original-To: ding@ifi.uio.no In-Reply-To: Wes Hardaker's message of 18 Jun 1996 10:49:56 -0700 Original-Lines: 28 X-Mailer: Gnus v5.2.20/Emacs 19.29 Xref: main.gmane.org gmane.emacs.gnus.general:6800 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6800 Wes Hardaker writes: > Go into *scratch* > Turn on "Options/Paren Highlighting/Expression" > Type blah ( hello [ world ] ) :-) But that case isn't interesting at all. Type: (hello :-) ) Which one of the closing parens match the open paren? The smiley one or the un-smiley one? For us puny humans, the last closing paren is the "right" one; for Emacs it's the smiley one. Now, then: This is text. (hello :-) This is more text. Is this smiley a closing paren smiley? Yes, it would seem so. (Unless a further closing paren comes later. So we need a function to guess whether a ":-)" is a closing paren smiley or just a normal smiley. Viz. `smiley-closing-paren-p'. -- "Yes. The journey through the human heart would have to wait until some other time."