[gnu.emacs.gnus] minor bug in gnus-Subject-save-in-folder

ks@fb10vax.uucp (Kurt Schreiner) (09/25/88)

Description:

When using gnus-Subject-save-in-folder there appears a message in the
mini-buffer stating that the folder to save the message in doesn't
exist and asking if it should be created even if the folder exists!
answering "yes" saves the message without further complaining.

Cause:

This behaviour is due to mh-prompt-for-folder not knowing how to
expand the given folder name because mh-user-path is unknown.

Remedy:

The following patch will do:

----------------------------- cut here ---------------------------

*** gnus.el.orig	Tue Sep 20 17:38:40 1988
--- gnus.el	Sat Sep 24 18:04:04 1988
***************
*** 314,320
  
  (autoload 'rmail-output "rmailout"
  	  "Append this message to Unix mail file named FILE-NAME." t)
! (autoload 'mh-prompt-for-folder "mh-e")
  
  (put 'gnus-Group-mode 'mode-class 'special)
  (put 'gnus-Subject-mode 'mode-class 'special)

--- 314,320 -----
  
  (autoload 'rmail-output "rmailout"
  	  "Append this message to Unix mail file named FILE-NAME." t)
! (autoload 'mh-find-path "mh-e")
  
  (put 'gnus-Group-mode 'mode-class 'special)
  (put 'gnus-Subject-mode 'mode-class 'special)
***************
*** 2052,2057
  Folder to save in is default to `gnus-article-mh-folder'.
  Optional argument FOLDER specifies folder name to save in."
    (interactive)
    (gnus-Subject-select-article)
    (eval-in-buffer-window gnus-Article-buffer
      (save-restriction

--- 2052,2058 -----
  Folder to save in is default to `gnus-article-mh-folder'.
  Optional argument FOLDER specifies folder name to save in."
    (interactive)
+   (mh-find-path)
    (gnus-Subject-select-article)
    (eval-in-buffer-window gnus-Article-buffer
      (save-restriction

--------------------------- end of patch ---------------------------

kurt 

--
-------------------------------------------------------------------------------
email : ks@fb10vax.informatik.uni-saarland.dbp.de
  or  : ...!uunet!unido!sbsvax!ks
voice : +49 681 302 2596
snail : Kurt Schreiner, Universitaet des Saarlandes, Rechenzentrum,
        Bau 36.2, Im Stadtwald 15, D-6600 Saarbruecken 11, West Germany
-------------------------------------------------------------------------------