Gnus development mailing list
 help / color / mirror / Atom feed
From: Hiroshi Fujishima <hiroshi.fujishima@gmail.com>
Subject: gnus-score-edit-all-score does not take effect current session
Date: Thu, 14 Jul 2005 23:31:42 +0900	[thread overview]
Message-ID: <7cfyuhzcfl.fsf@gmail.com> (raw)

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

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  <hiroshi.fujishima@gmail.com> (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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-score-edit-all-score.patch --]
[-- Type: text/x-patch, Size: 710 bytes --]

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-mode-map>\\[gnus-score-edit-exit] to save edits")))
 
 (defun gnus-score-edit-file (file)
   "Edit a score file."

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


-- 
Hiroshi Fujishima

             reply	other threads:[~2005-07-14 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-14 14:31 Hiroshi Fujishima [this message]
2005-07-15  9:22 ` Katsumi Yamaoka

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=7cfyuhzcfl.fsf@gmail.com \
    --to=hiroshi.fujishima@gmail.com \
    /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).