From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6750 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: 17 Jun 1996 18:16:00 +0200 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 1035147161 4609 80.91.224.250 (20 Oct 2002 20:52:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:52:41 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from spork.callamer.com (root@spork.callamer.com [199.74.141.2]) by deanna.miranova.com (8.7.5/8.6.9) with ESMTP id WAA11251 for ; Mon, 17 Jun 1996 22:54:42 -0700 Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by spork.callamer.com (8.7.5/8.7.3) with SMTP id WAA29200 for ; Mon, 17 Jun 1996 22:53:06 -0700 (PDT) Original-Received: from eistla.ifi.uio.no (4867@eistla.ifi.uio.no [129.240.94.29]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Tue, 18 Jun 1996 07:17:48 +0200 Original-Received: (from larsi@localhost) by eistla.ifi.uio.no ; Tue, 18 Jun 1996 07:17:46 +0200 Original-To: ding@ifi.uio.no In-Reply-To: Jan Vroonhof's message of 17 Jun 1996 15:49:35 +0200 Original-Lines: 15 X-Mailer: Gnus v5.2.20/Emacs 19.29 Xref: main.gmane.org gmane.emacs.gnus.general:6750 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6750 Jan Vroonhof writes: > And it works great (although it needs documentation). However since I > enabled it I have noticed how many people use the ")" in a smiley as a > closing parenthesis (Like this :-). Is it possible to detect this > efficiently and put a closing ")" in after the smiley if possible? 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. -- "Yes. The journey through the human heart would have to wait until some other time."