Function: nnmairix-group-toggle-propmarks-this-group

nnmairix-group-toggle-propmarks-this-group is an interactive and byte-compiled function defined in nnmairix.el.gz.

Signature

(nnmairix-group-toggle-propmarks-this-group &optional PROPMARKS)

Documentation

Toggle marks propagation for this group.

If PROPMARKS is a positive number, set parameter to t. If PROPMARKS is a negative number, set it to nil.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnmairix.el.gz
(defun nnmairix-group-toggle-propmarks-this-group (&optional propmarks)
  "Toggle marks propagation for this group.
If PROPMARKS is a positive number, set parameter to t.
If PROPMARKS is a negative number, set it to nil."
  (interactive)
  (unless (nnmairix-check-mairix-version "maildirpatch")
    (error "You need a mairix binary with maildir patch to use this feature.  See docs for details"))
  (let ((group (gnus-group-group-name)))
    (when (or (not (string= (gnus-group-short-name group)
			    (cadr (assoc 'nnmairix-default-group
					(gnus-find-method-for-group group)))))
	      (y-or-n-p "You should not activate marks propagation for the default \
search group.  Are you sure? "))
      (nnmairix-group-toggle-parameter
       group 'propmarks "Marks propagation" propmarks))))