* [PATCH] nnir.el (nnir-read-server-parm): Use default value
@ 2011-07-07 17:19 Kan-Ru Chen
2011-07-17 4:50 ` Kan-Ru Chen
2011-07-19 16:46 ` Lars Magne Ingebrigtsen
0 siblings, 2 replies; 3+ messages in thread
From: Kan-Ru Chen @ 2011-07-07 17:19 UTC (permalink / raw)
To: ding; +Cc: Lars Magne Ingebrigtsen, Andrew Cohen, Kan-Ru Chen
From: Kan-Ru Chen <kanru@0xlab.org>
Use default value from global variable. Without this the default
search engine parameters aren't used at all.
---
lisp/ChangeLog | 6 ++++++
lisp/nnir.el | 1 +
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7f12314..47fa6c3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-07 Kan-Ru Chen <kanru@kanru.info>
+
+ * nnir.el (nnir-read-server-parm): Use default value from global
+ variable. Without this the default search engine parameters aren't
+ used at all.
+
2011-07-06 Glenn Morris <rgm@gnu.org>
* gnus-group.el (gnus-read-ephemeral-emacs-bug-group): Silence compiler.
diff --git a/lisp/nnir.el b/lisp/nnir.el
index 8099cc2..3f140ef 100644
--- a/lisp/nnir.el
+++ b/lisp/nnir.el
@@ -1640,6 +1640,7 @@ server is of form 'backend:name'."
(let ((method (gnus-server-to-method server)))
(cond ((and method (assq key (cddr method)))
(nth 1 (assq key (cddr method))))
+ ((boundp key) (symbol-value key))
(t nil))))
(defun nnir-possibly-change-server (server)
--
1.7.5.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] nnir.el (nnir-read-server-parm): Use default value
2011-07-07 17:19 [PATCH] nnir.el (nnir-read-server-parm): Use default value Kan-Ru Chen
@ 2011-07-17 4:50 ` Kan-Ru Chen
2011-07-19 16:46 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Kan-Ru Chen @ 2011-07-17 4:50 UTC (permalink / raw)
To: ding; +Cc: Lars Magne Ingebrigtsen, Andrew Cohen
> Use default value from global variable. Without this the default
> search engine parameters aren't used at all.
ping?
--
Kanru
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] nnir.el (nnir-read-server-parm): Use default value
2011-07-07 17:19 [PATCH] nnir.el (nnir-read-server-parm): Use default value Kan-Ru Chen
2011-07-17 4:50 ` Kan-Ru Chen
@ 2011-07-19 16:46 ` Lars Magne Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-07-19 16:46 UTC (permalink / raw)
To: ding
Kan-Ru Chen <kanru@kanru.info> writes:
> Use default value from global variable. Without this the default
> search engine parameters aren't used at all.
Ok; applied.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-19 16:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-07 17:19 [PATCH] nnir.el (nnir-read-server-parm): Use default value Kan-Ru Chen
2011-07-17 4:50 ` Kan-Ru Chen
2011-07-19 16:46 ` Lars Magne Ingebrigtsen
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).