Gnus development mailing list
 help / color / mirror / Atom feed
From: Max Froumentin <max@lapin-bleu.net>
Subject: Re: security buttons without a face (3)
Date: Wed, 27 Sep 2006 11:18:31 +0100	[thread overview]
Message-ID: <m2d59h7gug.fsf@ooomph.local> (raw)
In-Reply-To: <v9wt7q3cj7.fsf@marauder.physik.uni-ulm.de>

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Reiner Steib <reinersteib+gmane@imap.cc> writes:

> Could you please resend the patch including the diff headers?
> Preferably using a unified (or at least context) diff format (-u or
> -c).

certainly:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-art.el.diff --]
[-- Type: text/x-patch, Size: 2039 bytes --]

--- gnus-art.el	2006-09-26 14:43:50.000000000 +0100
+++ gnus-art.el.7.196	2006-09-26 14:53:16.000000000 +0100
@@ -7499,24 +7499,18 @@
 
 (defun gnus-insert-prev-page-button ()
   (let ((b (point))
-        (e (point))
 	(inhibit-read-only t))
     (gnus-eval-format
      gnus-prev-page-line-format nil
      `(keymap ,gnus-prev-page-map
-	       gnus-prev t
-	        gnus-callback gnus-article-button-prev-page
-		 article-type annotation))
-    (setq e 
-          (if (bolp)
-              ;; Exclude a newline.
-              (1- (point))
-            (point)))
-    (when gnus-article-button-face
-      (gnus-overlay-put (gnus-make-overlay b e)
-                        'face gnus-article-button-face))
+	 gnus-prev t
+	 gnus-callback gnus-article-button-prev-page
+	 article-type annotation))
     (widget-convert-button
-     'link b e
+     'link b (if (bolp)
+		 ;; Exclude a newline.
+		 (1- (point))
+	       (point))
      :action 'gnus-button-prev-page
      :button-keymap gnus-prev-page-map)))
 
@@ -7538,23 +7532,17 @@
 
 (defun gnus-insert-next-page-button ()
   (let ((b (point))
-        (e (point))
 	(inhibit-read-only t))
     (gnus-eval-format gnus-next-page-line-format nil
-		            `(keymap ,gnus-next-page-map
-                               gnus-next t
-                               gnus-callback gnus-article-button-next-page
-                               article-type annotation))
-    (setq e 
-          (if (bolp)
-              ;; Exclude a newline.
-              (1- (point))
-            (point)))
-    (when gnus-article-button-face
-      (gnus-overlay-put (gnus-make-overlay b e)
-                        'face gnus-article-button-face))
+		      `(keymap ,gnus-next-page-map
+			  gnus-next t
+			  gnus-callback gnus-article-button-next-page
+			  article-type annotation))
     (widget-convert-button
-     'link b e
+     'link b (if (bolp)
+		 ;; Exclude a newline.
+		 (1- (point))
+	       (point))
      :action 'gnus-button-next-page
      :button-keymap gnus-next-page-map)))
 

[-- Attachment #3: Type: text/plain, Size: 6 bytes --]


Max.

  reply	other threads:[~2006-09-27 10:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-28 12:04 Max Froumentin
2006-07-28 13:16 ` Reiner Steib
2006-07-29 18:18   ` Max Froumentin
2006-09-20 16:30     ` Reiner Steib
2006-09-26 13:55       ` Max Froumentin
2006-09-26 14:53         ` Reiner Steib
2006-09-27 10:18           ` Max Froumentin [this message]
2006-09-27 12:30             ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2d59h7gug.fsf@ooomph.local \
    --to=max@lapin-bleu.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).