Gnus development mailing list
 help / color / mirror / Atom feed
* [PATCH] gnus: Make gnus smiley regexps match at end of region
@ 2006-05-28 22:56 Adrian Aichner
  2006-05-29 21:50 ` Reiner Steib
  2008-04-12 21:40 ` Reiner Steib
  0 siblings, 2 replies; 5+ messages in thread
From: Adrian Aichner @ 2006-05-28 22:56 UTC (permalink / raw)



I'd like to suggest following patch, which is required to make EOL
smilies work in erc.
gnus ChangeLog patch:
Diff command:   cvs -q diff -U 0
Files affected: lisp/ChangeLog

Index: lisp/ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v
retrieving revision 7.1263
diff -u -U0 -r7.1263 ChangeLog
--- lisp/ChangeLog	26 May 2006 17:50:12 -0000	7.1263
+++ lisp/ChangeLog	28 May 2006 22:56:02 -0000
@@ -0,0 +1,9 @@
+2006-05-29  Adrian Aichner  <adrian@xemacs.org>
+
+	* smiley.el (smiley-regexp-alist): Make gnus smiley regexps match at
+	end of region.
+

Best regards!

Adrian

gnus source patch:
Diff command:   cvs -f -z3 -q diff -u -w -N
Files affected: lisp/smiley.el

Index: lisp/smiley.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/smiley.el,v
retrieving revision 7.15
diff -u -w -r7.15 smiley.el
--- lisp/smiley.el	15 Apr 2006 16:01:35 -0000	7.15
+++ lisp/smiley.el	28 May 2006 22:54:15 -0000
@@ -104,19 +104,19 @@
 
 ;; The XEmacs version has a baroque, if not rococo, set of these.
 (defcustom smiley-regexp-alist
-  '(("\\(;-?)\\)\\W" 1 "blink")
-    ("\\(:-]\\)\\W" 1 "forced")
-    ("\\(8-)\\)\\W" 1 "braindamaged")
-    ("\\(:-|\\)\\W" 1 "indifferent")
-    ("\\(:-[/\\]\\)\\W" 1 "wry")
-    ("\\(:-(\\)\\W" 1 "sad")
-    ("\\(:-{\\)\\W" 1 "frown")
-    ("\\(>:-)\\)\\W" 1 "evil")
-    ("\\(;-(\\)\\W" 1 "cry")
-    ("\\(X-)\\)\\W" 1 "dead")
-    ("\\(:-D\\)\\W" 1 "grin")
+  '(("\\(;-?)\\)\\B" 1 "blink")
+    ("\\(:-]\\)\\B" 1 "forced")
+    ("\\(8-)\\)\\B" 1 "braindamaged")
+    ("\\(:-|\\)\\B" 1 "indifferent")
+    ("\\(:-[/\\]\\)\\B" 1 "wry")
+    ("\\(:-(\\)\\B" 1 "sad")
+    ("\\(:-{\\)\\B" 1 "frown")
+    ("\\(>:-)\\)\\B" 1 "evil")
+    ("\\(;-(\\)\\B" 1 "cry")
+    ("\\(X-)\\)\\B" 1 "dead")
+    ("\\(:-D\\)\\B" 1 "grin")
     ;; "smile" must be come after "evil"
-    ("\\(\\^?:-?)\\)\\W" 1 "smile"))
+    ("\\(\\^?:-?)\\)\\B" 1 "smile"))
   "*A list of regexps to map smilies to images.
 The elements are (REGEXP MATCH IMAGE), where MATCH is the submatch in
 regexp to replace with IMAGE.  IMAGE is the name of an image file in

-- 
Adrian Aichner
 mailto:adrian@xemacs.org
 http://www.xemacs.org/




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-12 21:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-28 22:56 [PATCH] gnus: Make gnus smiley regexps match at end of region Adrian Aichner
2006-05-29 21:50 ` Reiner Steib
2008-02-12 21:28   ` Adrian Aichner
2008-02-13 18:45     ` Reiner Steib
2008-04-12 21:40 ` Reiner Steib

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).