[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmail, gnus and emacs 24
From: |
Prateek Sadhukhan |
Subject: |
Re: gmail, gnus and emacs 24 |
Date: |
Tue, 20 Mar 2012 12:07:46 +0530 |
User-agent: |
Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) |
Hello Lars,
I modifed my defadvice to:
,----
| (defadvice smtpmail-via-smtp
| (before smtpmail-via-smtp-ad-change-smtp (recipient
| smtpmail-text-buffer
| &optional ask-for-password))
| "Call `change-smtp' before every `smtpmail-via-smtp'."
| (with-current-buffer smtpmail-text-buffer (change-smtp)))
`----
This and changing the gmail smtp port to 465 make my gnus work with
multiple accounts.
Thanks for the help and Regards,
Prateek
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Prateek Sadhukhan <psadhukh@cisco.com> writes:
>
>> byte-code: Wrong number of arguments: #[(recipient
>> smtpmail-text-buffer) "Ãr qˆÄ ˆ)Å Ã#‰)‡"
>> [ad-return-value smtpmail-text-buffer recipient nil change-smtp
>> ad-Orig-smtpmail-via-smtp] 5 #("Advice doc string" 0 17
>> (ad-advice-info smtpmail-via-smtp))], 3
>
> This means that you have some defadvice around an smtpmail.el function
> that's no longer valid.