Gnus development mailing list
 help / color / mirror / Atom feed
* gravatar position
@ 2010-11-18 23:50 Katsumi Yamaoka
  2010-11-19  0:02 ` Katsumi Yamaoka
  2010-11-19 14:52 ` Julien Danjou
  0 siblings, 2 replies; 9+ messages in thread
From: Katsumi Yamaoka @ 2010-11-18 23:50 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 157 bytes --]

If a person's mail address is expressed like this message,
a gravater is put in the middle of the field.  But isn't it
better to place it in the beginning?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 523 bytes --]

--- gnus-gravatar.el~	2010-11-08 01:30:51 +0000
+++ gnus-gravatar.el	2010-11-18 23:48:59 +0000
@@ -90,4 +90,6 @@
           (when (if real-name             ; have a realname, go for it!
-                    (and (search-forward real-name nil t)
-                         (search-backward real-name nil t))
+		    (and (re-search-forward
+			  (concat (regexp-quote real-name) "\\|"
+				  (regexp-quote mail-address)) nil t)
+			 (goto-char (match-beginning 0)))
                   (and (search-forward mail-address nil t)

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

* Re: gravatar position
  2010-11-18 23:50 gravatar position Katsumi Yamaoka
@ 2010-11-19  0:02 ` Katsumi Yamaoka
  2010-11-19 14:52 ` Julien Danjou
  1 sibling, 0 replies; 9+ messages in thread
From: Katsumi Yamaoka @ 2010-11-19  0:02 UTC (permalink / raw)
  To: ding

Katsumi Yamaoka wrote:
> If a person's mail address is expressed like this message,

I meant: yamaoka@jpl.org (Katsumi Yamaoka)
But it may perhaps be modified if you use a M$ Exchange server. :<



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

* Re: gravatar position
  2010-11-18 23:50 gravatar position Katsumi Yamaoka
  2010-11-19  0:02 ` Katsumi Yamaoka
@ 2010-11-19 14:52 ` Julien Danjou
  2010-11-20  5:30   ` nnimap and multiple accounts on the same server Tommy Kelly
  1 sibling, 1 reply; 9+ messages in thread
From: Julien Danjou @ 2010-11-19 14:52 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: ding

On Fri, Nov 19 2010, Katsumi Yamaoka wrote:

> If a person's mail address is expressed like this message,
> a gravater is put in the middle of the field.  But isn't it
> better to place it in the beginning?

I agree, please install this. :)

-- 
Julien Danjou
// ᐰ <julien@danjou.info>   http://julien.danjou.info



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

* nnimap and multiple accounts on the same server
  2010-11-19 14:52 ` Julien Danjou
@ 2010-11-20  5:30   ` Tommy Kelly
  2010-11-20 15:05     ` Steinar Bang
  2010-11-20 17:23     ` Tassilo Horn
  0 siblings, 2 replies; 9+ messages in thread
From: Tommy Kelly @ 2010-11-20  5:30 UTC (permalink / raw)
  To: ding

I have a personal gmail account and one under Google Apps. I'd like to
read both with nnimap in Gnus. There's a heap of advice on this on
google but nothing I can get to work sensibly. What I have at the moment
is the simplest setup involving both my .gnus and .authinfo: 

In my .gnus:

(setq gnus-secondary-select-methods
      '(
	(nnimap "work"
		(nnimap-stream ssl)
		(nnimap-address "imap.gmail.com")
		(nnimap-server-port 993)
		)
	(nnimap "personal"
		(nnimap-stream ssl)
		(nnimap-address "imap.gmail.com")
		(nnimap-server-port 993)
		)
	)
      )

And in my .authinfo:

machine work     login me@mydomain.com password my_gapps_password port 993
machine personal login me@gmail.com    password my_gmail_password port 993

That's based on my reading[1] that the current authentication mechanism
allows the machines to be described in .authinfo using the identifier
(in my case "work" or "personal") instead of the actual server itself
(in my case "imap.gmail.com").

HOWEVER, the above doesn't work. When I run gnus it acts as if it cannot
find the authentication info and prompts me for logins and passwords. If
I provide them, I get access to the two accounts just fine. But I'd like
to have it authenticate automatically.

I know the authentication works if I replace "work" or "personal" with
"imap.gmail.com" but of course then I can't have the two separate
accounts since they're both on the same server.

Any help appreciated.

thanks,
Tommy

[1] e.g. here http://josefsson.org/nnimap/nnimap.html#SEC29




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

* Re: nnimap and multiple accounts on the same server
  2010-11-20  5:30   ` nnimap and multiple accounts on the same server Tommy Kelly
@ 2010-11-20 15:05     ` Steinar Bang
  2010-11-21 16:29       ` Tommy Kelly
  2010-11-20 17:23     ` Tassilo Horn
  1 sibling, 1 reply; 9+ messages in thread
From: Steinar Bang @ 2010-11-20 15:05 UTC (permalink / raw)
  To: ding

>>>>> Tommy Kelly <tommy.kelly@verilab.com>:

> machine work     login me@mydomain.com password my_gapps_password port 993
> machine personal login me@gmail.com    password my_gmail_password port 993

Have you tried using imap instead of 993?






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

* Re: nnimap and multiple accounts on the same server
  2010-11-20  5:30   ` nnimap and multiple accounts on the same server Tommy Kelly
  2010-11-20 15:05     ` Steinar Bang
@ 2010-11-20 17:23     ` Tassilo Horn
  2010-11-21  1:35       ` Tommy Kelly
  1 sibling, 1 reply; 9+ messages in thread
From: Tassilo Horn @ 2010-11-20 17:23 UTC (permalink / raw)
  To: Tommy Kelly; +Cc: ding

Tommy Kelly <tommy.kelly@verilab.com> writes:

Hi Tommy,

> (setq gnus-secondary-select-methods
>       '(
> 	(nnimap "work"
> 		(nnimap-stream ssl)
> 		(nnimap-address "imap.gmail.com")
> 		(nnimap-server-port 993)
> 		)
> 	(nnimap "personal"
> 		(nnimap-stream ssl)
> 		(nnimap-address "imap.gmail.com")
> 		(nnimap-server-port 993)
> 		)
> 	)
>       )
>
> And in my .authinfo:
>
> machine work     login me@mydomain.com password my_gapps_password port 993
> machine personal login me@gmail.com    password my_gmail_password port 993

That looks correct to me.  Does it work to append "force yes" to the two
lines above?

Bye,
Tassilo



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

* Re: nnimap and multiple accounts on the same server
  2010-11-20 17:23     ` Tassilo Horn
@ 2010-11-21  1:35       ` Tommy Kelly
  2010-11-21 12:33         ` Tassilo Horn
  0 siblings, 1 reply; 9+ messages in thread
From: Tommy Kelly @ 2010-11-21  1:35 UTC (permalink / raw)
  To: ding

Tassilo Horn <tassilo@member.fsf.org> writes:

>> machine work     login me@mydomain.com password my_gapps_password port 993
>> machine personal login me@gmail.com    password my_gmail_password port 993
>
> That looks correct to me.  Does it work to append "force yes" to the two
> lines above?

Hmm, yes it does! That's vaguely profound -- I wonder why the force was 
needed. Presumably it's saying "I don't care if you don't think these
are for you Mr Server, I'm sending them to you anyway." At which point
the server says,"Oh well, since you went to all that bother I may as
well use them."

Thanks anyway.
Tommy





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

* Re: nnimap and multiple accounts on the same server
  2010-11-21  1:35       ` Tommy Kelly
@ 2010-11-21 12:33         ` Tassilo Horn
  0 siblings, 0 replies; 9+ messages in thread
From: Tassilo Horn @ 2010-11-21 12:33 UTC (permalink / raw)
  To: Tommy Kelly; +Cc: ding

Tommy Kelly <tommy.kelly@verilab.com> writes:

Hi Tommy,

>>> machine work     login me@mydomain.com password my_gapps_password port 993
>>> machine personal login me@gmail.com    password my_gmail_password port 993
>>
>> That looks correct to me.  Does it work to append "force yes" to the two
>> lines above?
>
> Hmm, yes it does! That's vaguely profound -- I wonder why the force was 
> needed.

Hm, usually it's needed for servers that provide some groups without
authentication and some only with.  For example, at my universities nntp
server, you can read the groups of the local infko.* hierarchy from
inside the university's network without authentication, but to get the
full usenet, you have to authenticate.

Bye,
Tassilo



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

* Re: nnimap and multiple accounts on the same server
  2010-11-20 15:05     ` Steinar Bang
@ 2010-11-21 16:29       ` Tommy Kelly
  0 siblings, 0 replies; 9+ messages in thread
From: Tommy Kelly @ 2010-11-21 16:29 UTC (permalink / raw)
  To: ding

Steinar,

Forgot to reply, after Tassilo gave me a solution. But no, changing
"993" to "imap" didn't fix the problem.

thanks for the suggestion though!
Tommy


Steinar Bang <sb@dod.no> writes:

>>>>>> Tommy Kelly <tommy.kelly@verilab.com>:
>
>> machine work     login me@mydomain.com password my_gapps_password port 993
>> machine personal login me@gmail.com    password my_gmail_password port 993
>
> Have you tried using imap instead of 993?




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

end of thread, other threads:[~2010-11-21 16:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18 23:50 gravatar position Katsumi Yamaoka
2010-11-19  0:02 ` Katsumi Yamaoka
2010-11-19 14:52 ` Julien Danjou
2010-11-20  5:30   ` nnimap and multiple accounts on the same server Tommy Kelly
2010-11-20 15:05     ` Steinar Bang
2010-11-21 16:29       ` Tommy Kelly
2010-11-20 17:23     ` Tassilo Horn
2010-11-21  1:35       ` Tommy Kelly
2010-11-21 12:33         ` Tassilo Horn

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).