[gnus git] branch master updated: =3= (gnus-use-backend-marks): Removed, since it duplicates gnus-propagate-marks. ; Make non-full window usage work better on choosing the next group. ; Make non-full window usage work better on group exit.
Lars Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via bb493e50d32285416d42e3a52d79a34fbfe67df6 (commit)
via e3261120c33d67f0c0b054bf30fd95ddd79f3f06 (commit)
via 9b62093dc22a77071f394077d2883cc12aabb8f1 (commit)
from 4c9cf4fc9be08c9e89ccb35b30428e2ac398c97e (commit)
- Log -----------------------------------------------------------------
commit bb493e50d32285416d42e3a52d79a34fbfe67df6
Author: Lars Ingebrigtsen <[email protected]>
Date: Mon Feb 14 15:39:07 2011 -0800
(gnus-use-backend-marks): Removed, since it duplicates gnus-propagate-marks.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4a64eb2..dd6a344 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
2011-02-14 Lars Ingebrigtsen <[email protected]>
+ * gnus-sum.el (gnus-propagate-marks): Default to nil.
+
+ * gnus-start.el (gnus-use-backend-marks): Removed, since it duplicates
+ (gnus-summary-exit): Ditto.gnus-propagate-marks.
+
* gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf
before killing the buffers so that a non-full window conf gets handled
correctly.
diff --git a/lisp/gnus-start.el b/lisp/gnus-start.el
index b8a6be8..b493a93 100644
--- a/lisp/gnus-start.el
+++ b/lisp/gnus-start.el
@@ -380,13 +380,6 @@ disc."
:group 'gnus-newsrc
:type 'boolean)
-(defcustom gnus-use-backend-marks nil
- "If non-nil, Gnus will store and retrieve marks from the backends.
-This means that marks will be stored both in .newsrc.eld and in
-the backend, and will slow operation down somewhat."
- :group 'gnus-newsrc
- :type 'boolean)
-
(defcustom gnus-check-bogus-groups-hook nil
"A hook run after removing bogus groups."
:group 'gnus-start-server
@@ -1509,7 +1502,7 @@ If SCAN, request a scan of that group as well."
(gnus-activate-group (gnus-info-group info) nil t))
;; Allow backends to update marks,
- (when gnus-use-backend-marks
+ (when gnus-propagate-marks
(let ((method (inline (gnus-find-method-for-group
(gnus-info-group info)))))
(when (gnus-check-backend-function 'request-marks (car method))
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 5cda693..af1cd66 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -1234,9 +1234,11 @@ For example: ((1 . cn-gb-2312) (2 . big5))."
:type 'boolean
:group 'gnus-summary-marks)
-(defcustom gnus-propagate-marks t
- "If non-nil, do not propagate marks to the backends."
- :version "23.1" ;; No Gnus
+(defcustom gnus-propagate-marks nil
+ "If non-nil, Gnus will store and retrieve marks from the backends.
+This means that marks will be stored both in .newsrc.eld and in
+the backend, and will slow operation down somewhat."
+ :version "24.1"
:type 'boolean
:group 'gnus-summary-marks)
commit e3261120c33d67f0c0b054bf30fd95ddd79f3f06
Author: Lars Ingebrigtsen <[email protected]>
Date: Mon Feb 14 14:57:45 2011 -0800
Make non-full window usage work better on choosing the next group.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 19dc86b..4a64eb2 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -4,6 +4,7 @@
before killing the buffers so that a non-full window conf gets handled
correctly.
(gnus-summary-exit): Ditto.
+ (gnus-summary-read-group-1): Ditto.
* nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part
async code again so that we can debug it properly.
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index f246163..5cda693 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -4067,6 +4067,7 @@ If NO-DISPLAY, don't generate a summary buffer."
;; gnus-summary-prepare-hook since kill processing may not
;; work with hidden articles.
(gnus-summary-maybe-hide-threads)
+ (gnus-configure-windows 'summary)
(when kill-buffer
(gnus-kill-or-deaden-summary kill-buffer))
(gnus-summary-auto-select-subject)
@@ -4076,7 +4077,6 @@ If NO-DISPLAY, don't generate a summary buffer."
gnus-newsgroup-unreads
gnus-auto-select-first)
(progn
- (gnus-configure-windows 'summary)
(let ((art (gnus-summary-article-number)))
(unless (and (not gnus-plugged)
(or (memq art gnus-newsgroup-undownloaded)
commit 9b62093dc22a77071f394077d2883cc12aabb8f1
Author: Lars Ingebrigtsen <[email protected]>
Date: Mon Feb 14 14:48:32 2011 -0800
Make non-full window usage work better on group exit.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 2dc96bb..19dc86b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
2011-02-14 Lars Ingebrigtsen <[email protected]>
+ * gnus-sum.el (gnus-summary-exit-no-update): Restore the group conf
+ before killing the buffers so that a non-full window conf gets handled
+ correctly.
+ (gnus-summary-exit): Ditto.
+
* nntp.el (nntp-retrieve-group-data-early): Reinstate the two-part
async code again so that we can debug it properly.
diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 8fac502..f246163 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -7220,16 +7220,6 @@ If FORCE (the prefix), also save the .newsrc file(s)."
(when (eq mode 'gnus-summary-mode)
(gnus-kill-buffer buf)))
- ;; If we have several article buffers, we kill them at exit.
- (unless gnus-single-article-buffer
- (when (gnus-buffer-live-p gnus-article-buffer)
- (with-current-buffer gnus-article-buffer
- ;; Don't kill sticky article buffers
- (unless (eq major-mode 'gnus-sticky-article-mode)
- (gnus-kill-buffer gnus-article-buffer)
- (setq gnus-article-current nil))))
- (gnus-kill-buffer gnus-original-article-buffer))
-
(setq gnus-current-select-method gnus-select-method)
(set-buffer gnus-group-buffer)
(if quit-config
@@ -7241,6 +7231,17 @@ If FORCE (the prefix), also save the .newsrc file(s)."
(if win (set-window-point win (point))))
(unless leave-hidden
(gnus-configure-windows 'group 'force)))
+
+ ;; If we have several article buffers, we kill them at exit.
+ (unless gnus-single-article-buffer
+ (when (gnus-buffer-live-p gnus-article-buffer)
+ (with-current-buffer gnus-article-buffer
+ ;; Don't kill sticky article buffers
+ (unless (eq major-mode 'gnus-sticky-article-mode)
+ (gnus-kill-buffer gnus-article-buffer)
+ (setq gnus-article-current nil))))
+ (gnus-kill-buffer gnus-original-article-buffer))
+
;; Clear the current group name.
(unless quit-config
(setq gnus-newsgroup-name nil)))))
@@ -7269,6 +7270,8 @@ If FORCE (the prefix), also save the .newsrc file(s)."
(gnus-kill-buffer gnus-article-buffer)
(gnus-kill-buffer gnus-original-article-buffer)
(setq gnus-article-current nil))
+ ;; Return to the group buffer.
+ (gnus-configure-windows 'group 'force)
(if (not gnus-kill-summary-on-exit)
(gnus-deaden-summary)
(gnus-close-group group)
@@ -7280,8 +7283,6 @@ If FORCE (the prefix), also save the .newsrc file(s)."
(gnus-async-prefetch-remove-group group)
(when (get-buffer gnus-article-buffer)
(bury-buffer gnus-article-buffer))
- ;; Return to the group buffer.
- (gnus-configure-windows 'group 'force)
;; Clear the current group name.
(setq gnus-newsgroup-name nil)
(unless (gnus-ephemeral-group-p group)
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 11 +++++++++++
lisp/gnus-start.el | 9 +--------
lisp/gnus-sum.el | 35 +++++++++++++++++++----------------
3 files changed, 31 insertions(+), 24 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project