From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/21661 Path: main.gmane.org!not-for-mail From: Petr Konecny Newsgroups: gmane.emacs.gnus.general Subject: [patch] Smileys treatment Date: 28 Feb 1999 01:46:34 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035159724 24090 80.91.224.250 (21 Oct 2002 00:22:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:22:04 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id TAA25945 for ; Sat, 27 Feb 1999 19:48:06 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id SAB29931; Sat, 27 Feb 1999 18:47:02 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 27 Feb 1999 18:47:29 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id SAA29670 for ; Sat, 27 Feb 1999 18:47:16 -0600 (CST) Original-Received: from aragorn.ics.muni.cz (aragorn.ics.muni.cz [147.251.4.33]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id TAA25925 for ; Sat, 27 Feb 1999 19:47:07 -0500 (EST) Original-Received: from anxur.fi.muni.cz (0@anxur.fi.muni.cz [147.251.48.3]) by aragorn.ics.muni.cz (8.8.5/8.8.5) with ESMTP id BAA01830 for ; Sun, 28 Feb 1999 01:46:36 +0100 (MET) Original-Received: from decibel.fi.muni.cz (mail@decibel.fi.muni.cz [147.251.48.67]) by anxur.fi.muni.cz (8.8.5/8.8.5) with ESMTP id BAA02594 for ; Sun, 28 Feb 1999 01:46:35 +0100 (MET) Original-Received: from pekon by decibel.fi.muni.cz with local (Exim 2.05 #1 (Debian)) id 10GuNO-0007ln-00; Sun, 28 Feb 1999 01:46:34 +0100 Original-To: ding@gnus.org X-URL: Original-Lines: 27 User-Agent: Gnus/5.070076 (Pterodactyl Gnus v0.76) XEmacs/21.0(beta63) (Pyrenean63) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:21661 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:21661 Hi, gnus-smiley-display skips headers, even if called on the body/part of message. It means that only smileys after the first empty line in the article are visible. Since there should be no headers in the buffer unless the user explicitly wants them, I propose to remove special handling of headers in smileys. Petr --- smiley.el.orig Sun Feb 28 01:41:09 1999 +++ smiley.el Sun Feb 28 01:41:08 1999 @@ -309,11 +309,7 @@ (interactive) (save-excursion (set-buffer gnus-article-buffer) - (goto-char (point-min)) - ;; We skip the headers. - (unless (search-forward "\n\n" nil t) - (goto-char (point-max))) - (smiley-buffer (current-buffer) (point)))) + (smiley-buffer (current-buffer) (point-min) (point-max)))) (provide 'smiley)