Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-score-edit-all-score does not take effect current session
@ 2005-07-14 14:31 Hiroshi Fujishima
  2005-07-15  9:22 ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: Hiroshi Fujishima @ 2005-07-14 14:31 UTC (permalink / 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

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

* Re: gnus-score-edit-all-score does not take effect current session
  2005-07-14 14:31 gnus-score-edit-all-score does not take effect current session Hiroshi Fujishima
@ 2005-07-15  9:22 ` Katsumi Yamaoka
  0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2005-07-15  9:22 UTC (permalink / raw)


>>>>> In <7cfyuhzcfl.fsf@gmail.com> Hiroshi Fujishima wrote:

> 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.

Applied.  Thanks.



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

end of thread, other threads:[~2005-07-15  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-14 14:31 gnus-score-edit-all-score does not take effect current session Hiroshi Fujishima
2005-07-15  9:22 ` Katsumi Yamaoka

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).