Re: Processing HTML Emails

2008-02-20 Thread Tassilo Horn
Jake Colman <[EMAIL PROTECTED]> writes:

Hi Jake,

> Is there a way for me to see the exactly command-line that is being
> executed?

Yes, I figured it out for you.  It calls something like:

  firefox -remote openURL(www.google.de)
  firefox -remote openURL(www.google.de,new-tab)
  firefox -remote openURL(www.google.de,new-window)

I guess you use an old firefox version that doesn't understand those
options.

Bye,
Tassilo
-- 
Richard Stallman can tell you if your program will halt.  That's because
your program will halt when Richard Stallman tells it to halt.



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


problems with the message-setup-hook

2008-02-20 Thread Uwe Brauer
Hello

I have asked that question some time ago, but it was pointed out to me
that supercite was the culprit. I desactived supercite and my problem
remains:


I have written a function which adds at the beginning of each mail
a message which is based on an entry in the bbdb. Like 
--88---

Hello Joe,

Thanks for your last message,

> Joe wrote:
> Look this is a great idea

--88---

The point is how that should be combined with
gnus-summary-reply-with-original?

I just added in the message-setup-hook:

(add-hook 'message-setup-hook 'bbdbciteadpt-insert-bbdbcite) 

However the problem is that the function is executed before
gnus-summary-reply-with-original is finished, leading to:
--88---


> Joe wrote:
> Look this is a great idea

Hello Joe,

Thanks for your last message,

--88---

So this is set at the end instead of the beginning of the message.

So I thought maybe defadvice is my friend.

By using

(defadvice gnus-summary-reply-with-original (after mybbdbcite activate)
  "Runs bbdbcite after the gnus-summary-reply-with-original function."
  (bbdbciteadpt-insert-bbdbcite))

But it did not work.


Another strange thing:

Does somebody has an idea?
--88---

`message-setup-hook' is a variable declared in Lisp.
  -- loaded from "message"

Value: ((lambda nil (set (make-local-variable (quote
user-mail-address)) "[EMAIL PROTECTED]") (let ((user-full-name "Uwe
Brauer") (user-mail-address "[EMAIL PROTECTED]")) (save-excursión
(message-remove-header "From") (message-goto-eoh) (insert "From: "
(message-make-from) "\n" (lambda nil (save-excursión
(message-remove-header "Reply-To") (let ((value "Uwe Brauer
<[EMAIL PROTECTED]>")) (when value (message-goto-eoh) (insert "Reply-To"
": " value) (unless (bolp) (insert "\n")) t) 

This value is specific to the current buffer.

Default-value: (bbdb-insinuate-message bbdb-define-all-aliases
turn-on-iso-accents-mode bbdbciteadpt-insert-bbdbcite)
--88---

Does somebody has and idea?



thanks

Uwe Brauer 




___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: problems with the message-setup-hook

2008-02-20 Thread Uwe Brauer
> "Uwe" == Uwe Brauer <[EMAIL PROTECTED]> writes:

   > Thanks for your last message,

   >> Joe wrote:
   >> Look this is a great idea

   > --88---

   > The point is how that should be combined with
   > gnus-summary-reply-with-original?

   > I just added in the message-setup-hook:

   > (add-hook 'message-setup-hook 'bbdbciteadpt-insert-bbdbcite) 

After I advised the function and removed that function from the hook,
everything went fine.



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Per group settings.

2008-02-20 Thread Reiner Steib
On Mon, Feb 18 2008, giglio robbo' d'acciaio wrote:

> Where does Gnus stores per group settings modifies through "G c"?

~/.newsrc.eld

Bye, Reiner.
-- 
   ,,,
  (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: I'm stumped, how on earth do I get gnus to use ssl and not cleartext passwords?

2008-02-20 Thread Tassilo Horn
Andreas Davour <[EMAIL PROTECTED]> writes:

Hi Andreas,

> Since an openssl connection is made, is this just a nonsense warning

It's no warning, only an information.

> that I'm sending a cleartext password along my ssl connection,
> i.e. not sending the password in cleartext at all?

Exactly.  You send the password in cleartext but through an encrypted
connection, which is absolutely fine.

Bye,
Tassilo
-- 
Richard Stallman can solve the halting problem... in polynomial time.



___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Processing HTML Emails

2008-02-20 Thread Charles philip Chan
Tassilo Horn <[EMAIL PROTECTED]> writes:

> Yes, I figured it out for you.  It calls something like:
>
>   firefox -remote openURL(www.google.de)
>   firefox -remote openURL(www.google.de,new-tab)
>   firefox -remote openURL(www.google.de,new-window)
>
> I guess you use an old firefox version that doesn't understand those
> options.

No, it is ancient firefox versions that uses this commandline format. If
the OP needs this, then it is time to upgrade firefox.

Charles


pgpLlhFYLzVWK.pgp
Description: PGP signature
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: I'm stumped, how on earth do I get gnus to use ssl and not cleartext passwords?

2008-02-20 Thread Ted Zlatanov
On Wed, 20 Feb 2008 17:47:50 +0100 Andreas Davour <[EMAIL PROTECTED]> wrote: 

AD> Reading active file via nnfolder...
AD> nnfolder: Reading incoming mail from imap...
AD> imap: Connecting to ...
AD> imap: Opening SSL connection with `openssl s_client -quiet -ssl3
AD> -connect %s:%p'...done
AD> Waiting for response from ...done
AD> imap: Authenticating to `' using `login'...
AD> imap: Plaintext authentication...
AD> imap: Authenticating to `' using `login'...done
AD> nnfolder: Reading incoming mail (no new mail)...done

AD> Plaintext is *not* what I want! I did check the manual about this
AD> 'login' authentication thing, and got very confused. It sure looks
AD> like that means cleartext authentication unless told otherwise. How do
AD> I tell it otherwise?! Do I have to use nnimap for this to work? Since
AD> an openssl connection is made, is this just a nonsense warning that
AD> I'm sending a cleartext password along my ssl connection, i.e. not
AD> sending the password in cleartext at all?

The plaintext authentication is happening inside the SSL channel.  No
one can snoop on it without breaking the SSL encryption, which is pretty
hard to do.

By the way, you can save your password in ~/.authinfo too, encrypted.
With newer CVS Gnus versions, I added support for encrypt.el (under
contrib/) to automatically decrypt ~/.authinfo.  I use it like this:

(require 'encrypt)
(setq
 nnimap-authinfo-file "~/.authinfo.enc"
 smtpmail-auth-credentials "~/.authinfo.enc"
 encrypt-file-alist (quote (("~/.authinfo.enc" (gpg "AES256")

To create the file referenced above, open your old authinfo file in
Emacs, and run

;;; you should be in the authinfo buffer
M-x load-library RET encrypt
M-x encrypt-write-file-contents RET ~/.authinfo.enc

;;; in any buffer, you can now get the file contents
M-x encrypt-insert-file-contents RET ~/.authinfo.enc 

The encrypt.el code will eventually be replaced by Daiki Ueno's code in
Gnus, but for now at least this will work fine and you won't have to
enter your password manually.  I'll post on the ding mailing list when
the replacement happens, or I can CC you if you prefer and you decide to
use encrypt.el.

Ted
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Processing HTML Emails

2008-02-20 Thread Jake Colman
> "JC" == Jake Colman <[EMAIL PROTECTED]> writes:

> "TH" == Tassilo Horn <[EMAIL PROTECTED]> writes:
   TH> Jake Colman <[EMAIL PROTECTED]> writes:
   TH> Hi Jake,

   >>> Is there a way for me to see the exactly command-line that is being
   >>> executed?

   TH> Yes, I figured it out for you.  It calls something like:

   TH> firefox -remote openURL(www.google.de)
   TH> firefox -remote openURL(www.google.de,new-tab)
   TH> firefox -remote openURL(www.google.de,new-window)

   TH> I guess you use an old firefox version that doesn't understand those
   TH> options.

   JC> Bingo!  My firefox doesn't understand that command-line.  Thanks.  Now
   JC> let me see if I can get my IS group to update firefox on my sun box.

   JC> Thanks!

It appears that firefox 2.0 no longer understands that command-line.
That syntax is for firfox 1.0 and is no longer supported.  A simple

 firefox www.google.de

will open the URL in a new tab of an existing browser or will launch a
new browser.

-- 
Jake Colman
Director of Software Development
Principia Partners LLC
101 West Elm Street
Suite 620
Conshohocken, PA  19428
+1 (610) 755-9786
www.principiapartners.com

-- 
Posted via a free Usenet account from http://www.teranews.com

___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Processing HTML Emails

2008-02-20 Thread Jake Colman
> "TH" == Tassilo Horn <[EMAIL PROTECTED]> writes:

   TH> Jake Colman <[EMAIL PROTECTED]> writes:
   TH> Hi Jake,

   >> Is there a way for me to see the exactly command-line that is being
   >> executed?

   TH> Yes, I figured it out for you.  It calls something like:

   TH>   firefox -remote openURL(www.google.de)
   TH>   firefox -remote openURL(www.google.de,new-tab)
   TH>   firefox -remote openURL(www.google.de,new-window)

   TH> I guess you use an old firefox version that doesn't understand those
   TH> options.

Bingo!  My firefox doesn't understand that command-line.  Thanks.  Now
let me see if I can get my IS group to update firefox on my sun box.

Thanks!

-- 
Jake Colman
Director of Software Development
Principia Partners LLC
101 West Elm Street
Suite 620
Conshohocken, PA  19428
+1 (610) 755-9786
www.principiapartners.com

-- 
Posted via a free Usenet account from http://www.teranews.com

___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: I'm stumped, how on earth do I get gnus to use ssl and not cleartext passwords?

2008-02-20 Thread Jens Thiele
Andreas Davour <[EMAIL PROTECTED]> writes:

> [...]
> But when I look at the *Messages* buffer I see this:
>
> Reading active file via nnfolder...
> nnfolder: Reading incoming mail from imap...
> imap: Connecting to ...
> imap: Opening SSL connection with `openssl s_client -quiet -ssl3
> -connect %s:%p'...done

This more or less means openssl is used to tunnel imap.

> Waiting for response from ...done
> imap: Authenticating to `' using `login'...
> imap: Plaintext authentication...
> imap: Authenticating to `' using `login'...done
> nnfolder: Reading incoming mail (no new mail)...done
>
> Plaintext is *not* what I want! I did check the manual about this
> 'login' authentication thing, and got very confused. It sure looks
> like that means cleartext authentication unless told otherwise. How do
> I tell it otherwise?! Do I have to use nnimap for this to work? Since
> an openssl connection is made, is this just a nonsense warning that
> I'm sending a cleartext password along my ssl connection, i.e. not
> sending the password in cleartext at all?

You, probably don't send a cleartext password along your ssl connection
but within. To convince yourself you can use some packet sniffer like
tcpdump or wireshark.

> I need someone to tell me how email over ssl is supposed to work. 

You probably have it working.

Greetings,
Jens
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: howto define dynamic color with gnus-summary-line-format

2008-02-20 Thread haomiao
On Feb 20, 3:16 pm, Bastien <[EMAIL PROTECTED]> wrote:
> Try this instead:
>
> (defun gnus-user-format-function-z (header)
>   "Test dynamic color"
>   (let ((date-time (safe-date-to-time (mail-header-date header
> (if (string= date-time (format-time-string "%m%d"))
> (propertize date-time 'face my-red-face)
>   (propertize date-time 'face my-blue-face
>
> And define `my-red-face' and `my-blue-face'.

Still not worked, my code is

--
(copy-face 'default 'my-red-face)
(set-face-foreground 'my-red-face "red")
(copy-face 'default 'my-blue-face)
(set-face-foreground 'my-blue-face "blue")

(defun gnus-user-format-function-a (header)
   "Test dynamic color"
   (let  ((date-time (format-time-string "%m/%d" (safe-date-to-time
(mail-header-date header)
  (if (string= date-time (format-time-string "%m/%d"))
 (propertize date-time 'face 'my-red-face 'mouse-face 'my-blue-
face)
 (propertize date-time 'face 'my-blue-face 'mouse-face 'my-red-
face

(setq gnus-summary-line-format "%U%R%z %ua: %1{%B%-23,23n%} %s\n")
-

It seems that gnus will modify the face property of the text
returned,  but not the mouse-face property.
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Processing HTML Emails

2008-02-20 Thread Jake Colman
> "CpC" == Charles philip Chan <[EMAIL PROTECTED]> writes:

   CpC> Tassilo Horn <[EMAIL PROTECTED]> writes:
   >> Yes, I figured it out for you.  It calls something like:
   >> 
   >> firefox -remote openURL(www.google.de)
   >> firefox -remote openURL(www.google.de,new-tab)
   >> firefox -remote openURL(www.google.de,new-window)
   >> 
   >> I guess you use an old firefox version that doesn't understand
   >> those options.

   CpC> No, it is ancient firefox versions that uses this commandline
   CpC> format. If the OP needs this, then it is time to upgrade
   CpC> firefox.

My firefox is current.  It's browse-url that needs upgrading!

-- 
Jake Colman
Director of Software Development
Principia Partners LLC
101 West Elm Street
Suite 620
Conshohocken, PA  19428
+1 (610) 755-9786
www.principiapartners.com

-- 
Posted via a free Usenet account from http://www.teranews.com

___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english