* nnir: nnir-group-server used before defined
@ 2004-04-05 13:48 Andreas Schwab
2004-04-05 14:20 ` Reiner Steib
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2004-04-05 13:48 UTC (permalink / raw)
Cc: ding
The macro nnir-group-server is used before it is defined.
Andreas.
2004-04-05 Andreas Schwab <schwab@suse.de>
* nnir.el (nnir-group-server): Move before first use.
--- gnus-5.10.6/contrib/nnir.el.~1~ 2003-10-24 23:43:57.000000000 +0200
+++ gnus-5.10.6/contrib/nnir.el 2004-04-05 15:45:34.000000000 +0200
@@ -693,6 +693,17 @@ that it is for Namazu, not Glimpse."
(add-hook 'gnus-group-mode-hook 'nnir-group-mode-hook)
+(defmacro nnir-group-server (group)
+ "Returns the server for a foreign newsgroup in the format as gnus-server-to-method needs it. Compare to gnus-group-real-prefix and gnus-group-real-name."
+ `(let ((gname ,group))
+ (if (string-match "^\\([^:]+\\):" gname)
+ (setq gname (match-string 1 gname))
+ nil)
+ (if (string-match "^\\([^+]+\\)\\+\\(.+\\)$" gname)
+ (format "%s:%s" (match-string 1 gname) (match-string 2 gname))
+ (concat gname ":"))
+ ))
+
;; Summary mode commands.
@@ -1486,17 +1497,6 @@ form 'backend:name'."
;; (symbol-value key))
;; ))
-(defmacro nnir-group-server (group)
- "Returns the server for a foreign newsgroup in the format as gnus-server-to-method needs it. Compare to gnus-group-real-prefix and gnus-group-real-name."
- `(let ((gname ,group))
- (if (string-match "^\\([^:]+\\):" gname)
- (setq gname (match-string 1 gname))
- nil)
- (if (string-match "^\\([^+]+\\)\\+\\(.+\\)$" gname)
- (format "%s:%s" (match-string 1 gname) (match-string 2 gname))
- (concat gname ":"))
- ))
-
(defun nnir-group-full-name (shortname server)
"For the given group name, return a full Gnus group name.
The Gnus backend/server information is added."
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: nnir: nnir-group-server used before defined
2004-04-05 13:48 nnir: nnir-group-server used before defined Andreas Schwab
@ 2004-04-05 14:20 ` Reiner Steib
0 siblings, 0 replies; 2+ messages in thread
From: Reiner Steib @ 2004-04-05 14:20 UTC (permalink / raw)
On Mon, Apr 05 2004, Andreas Schwab wrote:
> The macro nnir-group-server is used before it is defined.
Committed, along with a fix for the doc-string.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-04-05 14:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-05 13:48 nnir: nnir-group-server used before defined Andreas Schwab
2004-04-05 14:20 ` Reiner Steib
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).