Gnus development mailing list
 help / color / mirror / Atom feed
* Authinfo situation
@ 1998-02-20 12:43 Harry Putnam
  1998-02-20 23:02 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Putnam @ 1998-02-20 12:43 UTC (permalink / raw)


Using the new .authinforc authentication setup - very nice-
No more typing in passwords- whoopee

Once I removed the old 'send authinfo' which was making sunsite.auc.dk
ask for authentication and choking. Then qgnus works slicker than bear
grease.


The only problem I have had with it is because I am trying to run
Emacs/qgnus  and Xemacs/With Gnus5.5
When I start Gnus5.5 in Xemacs it  asks for the password, when I insert
it gnus, just sets there with the line drawing of the gnus showing (for
ever).
 
Tried inserting the:
 (add-hook 'nntp-server-opened-hook 'nntp-send-authinfo)
 In .xemacs-options and tried the nosey version too but xemacs isn't
going for it.

To you experienced lispers this is probably no problem and would be
handled with a 'condition statement' in .emacs.

But rather than have to condition different things as I add new stuff,
isn't there a way to make xemacs use a completely different
inititialization file than emacs.

Not just from the command line, but something in .emacs that will make
xemacs look elswhere for its instructions.

I do have this in .emacs but do not really understand what it is
supposed to do.

>(cond
> ((and (string-match "XEmacs" emacs-version)
>       (boundp 'emacs-major-version)
>       (or (and
>            (= emacs-major-version 19)
>            (>= emacs-minor-version 14))
>           (= emacs-major-version 20))
>       (fboundp 'load-options-file))
>  (load-options-file "/home/reader/.xemacs-options")))
  

-- 

Harry Putnam  reader@newsguy.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Authinfo situation
  1998-02-20 23:02 ` Lars Magne Ingebrigtsen
@ 1998-02-20 15:52   ` Harry Putnam
  1998-02-22 17:18     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Putnam @ 1998-02-20 15:52 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Harry Putnam <reader@newsguy.com> writes:
> 
> > Tried inserting the:
> >  (add-hook 'nntp-server-opened-hook 'nntp-send-authinfo)
> >  In .xemacs-options and tried the nosey version too but xemacs isn't
> > going for it.
> 
> Put a `(require 'nntp)' before that.

If you mean like this:
(require 'nntp)
(add-hook 'nntp-server-opened-hook 'nntp-send-authinfo)

Doesn't seem to change anything when I put it in .xemacs-options so
tried it in .emacs. Still didn't help anything.  But it least it didn't
prevent qgnus from using the new .authinforc file When I run
emacsc-qgnus

So is the other part of my query a bad move or what:

> But rather than have to condition different things as I add new stuff,
> isn't there a way to make xemacs use a completely different
> inititialization file than emacs.
(besides just command line)

 -- 

 Harry Putnam  reader@newsguy.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Authinfo situation
  1998-02-20 12:43 Authinfo situation Harry Putnam
@ 1998-02-20 23:02 ` Lars Magne Ingebrigtsen
  1998-02-20 15:52   ` Harry Putnam
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-02-20 23:02 UTC (permalink / raw)


Harry Putnam <reader@newsguy.com> writes:

> Tried inserting the:
>  (add-hook 'nntp-server-opened-hook 'nntp-send-authinfo)
>  In .xemacs-options and tried the nosey version too but xemacs isn't
> going for it.

Put a `(require 'nntp)' before that.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Authinfo situation
  1998-02-20 15:52   ` Harry Putnam
@ 1998-02-22 17:18     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-02-22 17:18 UTC (permalink / raw)


Harry Putnam <reader@newsguy.com> writes:

> > But rather than have to condition different things as I add new stuff,
> > isn't there a way to make xemacs use a completely different
> > inititialization file than emacs.
> (besides just command line)

Sure; just make this your .emacs file:

(if (string-match "xemacs" (emacs-version))
    (load-file "~/.xemacs")
  (load-file "~/.not-xemacs"))

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-02-22 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-20 12:43 Authinfo situation Harry Putnam
1998-02-20 23:02 ` Lars Magne Ingebrigtsen
1998-02-20 15:52   ` Harry Putnam
1998-02-22 17:18     ` 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).