[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] feature/gnus-select2 5be0d2a 12/32: Disable nnselect-serve
From: |
Andrew G Cohen |
Subject: |
[Emacs-diffs] feature/gnus-select2 5be0d2a 12/32: Disable nnselect-server-opened check |
Date: |
Sun, 16 Dec 2018 06:54:02 -0500 (EST) |
branch: feature/gnus-select2
commit 5be0d2ac6157d51962b60df635ef9b6b38ed5b63
Author: Andrew G Cohen <address@hidden>
Commit: Andrew G Cohen <address@hidden>
Disable nnselect-server-opened check
* lisp/gnus/nnselect.el (nnselect-server-opened): Always return t for
now. This is disabled for testing purposes.
(nnselect-possibly-change-group): Eliminate unnecessary test for
server openness.
---
lisp/gnus/nnselect.el | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/lisp/gnus/nnselect.el b/lisp/gnus/nnselect.el
index 34bbdc8..296ff62 100644
--- a/lisp/gnus/nnselect.el
+++ b/lisp/gnus/nnselect.el
@@ -620,11 +620,11 @@ If this variable is nil, or if the provided function
returns nil,
(funcall func args)))
-(defun nnselect-possibly-change-group (group &optional server)
+(defun nnselect-possibly-change-group (group &optional _server)
"If GROUP method for SERVER is `nnselect' install the
`nnselect-artlist'. Return the fully prefixed group name."
- (or (not server) (nnselect-server-opened server)
- (nnselect-open-server server))
+ ;; (or (not server) (nnselect-server-opened server)
+ ;; (nnselect-open-server server))
(let ((group (gnus-group-prefixed-name
(gnus-group-short-name group) '(nnselect "nnselect"))))
(when (gnus-nnselect-group-p group)
@@ -634,10 +634,13 @@ If this variable is nil, or if the provided function
returns nil,
group))
-(defun nnselect-server-opened (&optional server)
- "Open SERVER if not yet opened."
- (let ((backend (car (gnus-server-to-method server))))
- (nnoo-current-server-p (or backend 'nnselect) server)))
+;; (defun nnselect-server-opened (&optional server)
+;; "Open SERVER if not yet opened."
+;; (let ((backend (car (gnus-server-to-method server))))
+;; (nnoo-current-server-p (or backend 'nnselect) server)))
+
+(deffoo nnselect-server-opened (&optional _server)
+ t)
(defun nnselect-search-thread (header)
"Make an nnselect group containing the thread with article HEADER.
- [Emacs-diffs] branch feature/gnus-select2 created (now fe5f3c2), Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 94fedc1 03/32: ; Clean up parameter input for nnselect groups, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 40f356a 02/32: ; Silence byte-compiler, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 a9cb4e9 13/32: Use fetch-old-headers group parameter in nnselect, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 0df0f5a 14/32: Remove obsolete variable nnselect-summary-line-format, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 f3fd674 06/32: Restore article retrieval by message-id in nnselect, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 b51a495 07/32: Restore article retrieval by message-id in nnselect, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 8e7635b 05/32: Fix requesting sparse articles in gnus, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 5be0d2a 12/32: Disable nnselect-server-opened check,
Andrew G Cohen <=
- [Emacs-diffs] feature/gnus-select2 f43d8d8 23/32: * lisp/gnus/nnselect.el (nnselect-request-group): Don't close group., Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 c1c5b4b 08/32: Introduce summary-local variable gnus-newsgroup-selection, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 e5ea691 17/32: Use gnus-newsgroup-selection instead of nnselect-artlist, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 1388539 11/32: Improve nnselect-request-article, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 7df041f 10/32: Remove unnecessary check gnus-nnselect-group-p, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 c87252e 15/32: New gnus summary sorting functions on rsv, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 514f0cb 04/32: Temporary function to ease search group creation, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 3444486 16/32: Fix pushing marks on nnselect exit, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 fde0e40 21/32: Restore accidentally remove gnus-summary-make-search-group, Andrew G Cohen, 2018/12/16
- [Emacs-diffs] feature/gnus-select2 d2e0389 19/32: Improve group-info handling in nnselect, Andrew G Cohen, 2018/12/16