From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60559 Path: news.gmane.org!not-for-mail From: Hiroshi Fujishima Newsgroups: gmane.emacs.gnus.general Subject: gnus-score-edit-all-score does not take effect current session Date: Thu, 14 Jul 2005 23:31:42 +0900 Message-ID: <7cfyuhzcfl.fsf@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1121351947 18485 80.91.229.2 (14 Jul 2005 14:39:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2005 14:39:07 +0000 (UTC) Original-X-From: ding-owner+M9086@lists.math.uh.edu Thu Jul 14 16:38:57 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dt4pF-0004KT-It for ding-account@gmane.org; Thu, 14 Jul 2005 16:36:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Dt4km-0000PI-00; Thu, 14 Jul 2005 09:31:56 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Dt4ki-0000PD-00 for ding@lists.math.uh.edu; Thu, 14 Jul 2005 09:31:52 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Dt4kg-0005Wi-AL for ding@lists.math.uh.edu; Thu, 14 Jul 2005 09:31:50 -0500 Original-Received: from zproxy.gmail.com ([64.233.162.193]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Dt4kf-0007me-00 for ; Thu, 14 Jul 2005 16:31:49 +0200 Original-Received: by zproxy.gmail.com with SMTP id 34so229229nzf for ; Thu, 14 Jul 2005 07:31:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:message-id:mime-version:content-type; b=WEq5zJBX/tCZkQyzbg0bMlfrvGIvQONq+h5qxuPBeCg6XL2MQGEeKas8zXs1Bk1cSG1BMyxx8gbXrweFu3XGYuU6ieh0yDbYvkr5+/K4N+KgypPF8pSkoLBQJMCFE7o+r1e5nSIXpSOu0QlR5iXHmjhxs6pZMzT4iDDhO5DISZg= Original-Received: by 10.36.67.7 with SMTP id p7mr436614nza; Thu, 14 Jul 2005 07:31:48 -0700 (PDT) Original-Received: from alex.nature.tsukuba.ac.jp ([130.158.38.234]) by mx.gmail.com with ESMTP id 7sm2037893nzn.2005.07.14.07.31.46; Thu, 14 Jul 2005 07:31:48 -0700 (PDT) Original-To: ding@gnus.org X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60559 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60559 --=-=-= Hi, In Group Buffer typing W e (gnus-score-edit-all-score) to edit all.SCORE file does not take effect without restarting Gnus. Is the following patch needed? 2005-07-14 Hiroshi Fujishima (tiny change) * gnus-score.el (gnus-score-edit-all-score): Set gnus-score-edit-exit-function to gnus-score-edit-done and call gnus-message. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=gnus-score-edit-all-score.patch Index: lisp/gnus-score.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/gnus-score.el,v retrieving revision 7.22 diff -u -r7.22 gnus-score.el --- lisp/gnus-score.el 5 Jul 2005 22:34:48 -0000 7.22 +++ lisp/gnus-score.el 14 Jul 2005 14:26:09 -0000 @@ -1104,7 +1104,11 @@ "Edit the all.SCORE file." (interactive) (find-file (gnus-score-file-name "all")) - (gnus-score-mode)) + (gnus-score-mode) + (setq gnus-score-edit-exit-function 'gnus-score-edit-done) + (gnus-message + 4 (substitute-command-keys + "\\\\[gnus-score-edit-exit] to save edits"))) (defun gnus-score-edit-file (file) "Edit a score file." --=-=-= -- Hiroshi Fujishima --=-=-=--