Re: problems with rss feeds

2008-04-12 Thread Gour
 Allan == Allan  [EMAIL PROTECTED] writes:

Allan The XML syntax may be correct but the feed validator suggests a
Allan minor error with the feed.

Heh, very picky. xkcd is quite popular feed and I never heard people
have problem reading it.

Allan I use nntp//rss to read newsfeeds inside gnus. It works fine as
Allan my primary news server.  http://www.methodize.org/nntprss/

I tried 0.5beta1 and it works. The only complain is that I do not like
java apps.

Will try to see if there is some alternative available...


Sincerely,
Gour

-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D



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


Re: How to change the font size

2008-04-12 Thread Sivaram Neelakantan
[EMAIL PROTECTED] writes:

 I am using Emacs 21.3.1 (Windows version).  The default font size is
 too tiny to read.  Every time I need to do OptionsMuleSet font/font,
 and change its size to 14.

 How to write a line to do so in my .emacs file?

 Also, I found the font is ugly.  Is there any way to have a prettier
 font? Windows only.

(set-default-font -outline-DejaVu Sans 
Mono-normal-r-normal-normal-*-*-96-96-c-*-iso8859-1)

or something similar should work.

M-x display-fonts will show all installed fonts; paste the one you
 want between the quotes above.

 BTW, the Dejavu fonts can  be installed from the sourceforge site.


 sivaram
 -- 



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


rtf inline?

2008-04-12 Thread Andreas Goesele
Hi!

To show application/msword attachments inline in gnus I use antiword
and the code snippet below in init.el.

I also would like to use unrtf to do the same for text/rtf
attachments. But an adaptation of the snippet to text/rtf with unrtf
doesn't work. (I get the usage massage from unrtf.) If the code
would work, I probably would get HTML as output from unrtf, as this is
the default. So I still would have the problem of how to pass the
option --text to unrtf.

Any suggestion how to correct the code to make unrtf work and pass the
--text option? Or how show rtf attachments inline in some other way?

Thanks a lot in advance!

Andreas Goesele

Code adapted to text/rtf:

(defun mm-inline-rtf (handle)
  (let (text)
(with-temp-buffer
  (mm-insert-part handle)
  (call-process-region (point-min) (point-max) unrtf t t nil -)
  (setq text (buffer-string)))
(mm-insert-inline handle text)))

(add-hook 'gnus-startup-hook (function (lambda () (add-to-list 
'mm-inlined-types \
text/rtf
(add-hook 'gnus-startup-hook (function (lambda () (add-to-list 
'mm-inline-media-t\
ests '(text/rtf mm-inline-rtf identity)
(add-hook 'gnus-startup-hook (function (lambda () (add-to-list 
'mm-inlined-types \
application/octet-stream

(add-hook 'gnus-startup-hook (function (lambda () (add-to-list 
'mm-inline-media-t\
ests
 '(application/octet-stream mm-inline-rtf
   (lambda (handle)
 (let ((name (mail-content-type-get (mm-handle-disposition 
handle\
) 'filename)))
   (and name (equal .rtf (substring name -4 nil)))
   )))


Original code for application/msword:

(defun mm-inline-msword (handle)
  (let (text)
(with-temp-buffer
  (mm-insert-part handle)
  (call-process-region (point-min) (point-max) antiword t t nil -)
  (setq text (buffer-string)))
(mm-insert-inline handle text)))

(add-hook 'gnus-startup-hook (function (lambda () (add-to-list 
'mm-inlined-types \
application/msword
(add-hook 'gnus-startup-hook (function (lambda () (add-to-list 
'mm-inline-media-t\
ests '(application/msword mm-inline-msword identity)
(add-hook 'gnus-startup-hook (function (lambda () (add-to-list 
'mm-inlined-types \
application/octet-stream

(add-hook 'gnus-startup-hook (function (lambda () (add-to-list 
'mm-inline-media-t\
ests
 '(application/octet-stream mm-inline-msword
   (lambda (handle)
 (let ((name (mail-content-type-get (mm-handle-disposition 
handle\
) 'filename)))
   (and name (equal .doc (substring name -4 nil)))
   )))
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Missing headers in custom summary line format function

2008-04-12 Thread Jose A. Ortega Ruiz

Hi,

I use a user format function in my gnus-summary-line-format to mark
whether my address is either in the To: or Cc:/Bcc: headers (like Gmail
does):

  (defun gnus-user-format-function-j (headers)
(let ((to (gnus-extra-header 'To headers)))
  (if (string-match *jao-mails* to)
  (if (string-match , to)  ยป)
  (if (or (string-match *jao-mails* (gnus-extra-header 'Cc headers))
  (string-match *jao-mails* (gnus-extra-header 'BCc headers)))
  
   

As you can see, it depends on Cc/Bcc headers being present in the vector
(headers) received as argument. I've noticed that the headers received
by the format function never contain those headers (Emacs 23.0.6, Gnus
v5.13), so the mark '' is never returned when my address is in Cc: or
Bcc:. 

So i was wondering: is the absence of those headers in the argument of
user format functions intended for some reason? Or is it a bug?

Cheers,
jao
-- 
There are three kinds of people: those who can count, and those who can't
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: I can't see my posted message on news group

2008-04-12 Thread Paul Csanyi
Paul Csanyi [EMAIL PROTECTED] writes:

 I use gnus with Emacs version 21.4.1 on Debian Etch system.

 I posted a message to the newsgroup list gmane.emacs.orgmode. 

 When I read this group again for news, I can't read my message there.

 But when I read this newsgroup on web using frames and threads in a
 web browser, then I can see there my message.

Well, sorry, but I am totally new to the newsgroups, and for gnus
too. I notice that that I can see only the new articles when next time
use gnus for the same group.

But, how can I read the old, the readed message in the group with
gnus?

Regards, Paul



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


Re: I can't see my posted message on news group

2008-04-12 Thread Joost Diepenmaat
Paul Csanyi [EMAIL PROTECTED] writes:

 Well, sorry, but I am totally new to the newsgroups, and for gnus
 too. I notice that that I can see only the new articles when next time
 use gnus for the same group.

 But, how can I read the old, the readed message in the group with
 gnus?

If you enter a group where you've already read every message, you'll get
a prompt at which you can just press enter to view all old messages.

If you're already in a group with some unread messages, press /o or
choose Gnus - See old messages from the pulldown menu, which will give
you the same prompt.

HTH,
Joost.

-- 
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: I can't see my posted message on news group

2008-04-12 Thread Reiner Steib
On Sat, Apr 12 2008, Paul Csanyi wrote:

 Paul Csanyi [EMAIL PROTECTED] writes:

 I use gnus with Emacs version 21.4.1 on Debian Etch system.

 I posted a message to the newsgroup list gmane.emacs.orgmode. 

 When I read this group again for news, I can't read my message there.

 But when I read this newsgroup on web using frames and threads in a
 web browser, then I can see there my message.

 Well, sorry, but I am totally new to the newsgroups, and for gnus
 too. 

Are you aware of the fact that your Gnus version is a older
development snapshot?

| User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

 I notice that that I can see only the new articles when next time
 use gnus for the same group.

 But, how can I read the old, the readed message in the group with
 gnus?

See the FAQ (included in the manual)

(info (gnus)[4.1]); == Press C-x C-e here!

,[ (info (gnus)[4.1]) ]
| Question 4.1
| 
| 
| When I enter a group, all read messages are gone. How to view them
| again?
`

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: article-mode and 'gnus-summary-put-mark-as-expirable-next

2008-04-12 Thread Giorgos Keramidas
On Sun, 13 Apr 2008 05:55:57 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 Hi everyone,

 I tried swapping the `e' and `E' keys in summary and article mode
 today.  The main reason is I find it harder to type `Shift-e' all the
 time on my laptop, and I expire articles far more often than I edit
 their text.

 My first attempt was:

   (add-hook 'gnus-summary-mode-hook 'keramida-alter-summary-map)
   (add-hook 'gnus-article-prepare-hook 'keramida-alter-summary-map)
   (defun keramida-alter-summary-map ()
 (local-set-key e 'gnus-summary-put-mark-as-expirable-next)
 (local-set-key E 'gnus-summary-edit-article))

 but then I found out that 'e' doesn't work in an *Article* buffer,
 producing the message:

   This command can only be used in the summary buffer

Got it, sorry for posting too fast.  Making gnus-summary-buffer the
current buffer works, but `gnus-summary-put-mark-as-expirable-next'
is an interactive function.  The following version works fine:

  (add-hook 'gnus-summary-mode-hook 'keramida-alter-summary-map)
  (add-hook 'gnus-article-prepare-hook 'keramida-alter-summary-map)
  (defun keramida-alter-summary-map ()
(local-set-key e
  (lambda (n)
(interactive p)
(gnus-summary-put-mark-as-expirable-next n)))
(local-set-key E 'gnus-summary-edit-article))

Does this seem a reasonable way of writing the hook?  I've never used an
`interactive' lambda before, so I'm not sure if it's considered bad style.

- Giorgos

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


Re: article-mode and 'gnus-summary-put-mark-as-expirable-next

2008-04-12 Thread Giorgos Keramidas
On Sun, 13 Apr 2008 06:15:13 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote:
   This command can only be used in the summary buffer

 Got it, sorry for posting too fast.  Making gnus-summary-buffer the
 current buffer works [...]

   (defun keramida-alter-summary-map ()
 (local-set-key e
   (lambda (n)
 (interactive p)
 (gnus-summary-put-mark-as-expirable-next n)))
 (local-set-key E 'gnus-summary-edit-article))

I pasted the wrong version.  There should also be a call to
with-current-buffer around gnus-summary-put-mark-as-expirable-next:

(with-current-buffer gnus-summary-buffer
  (gnus-summary-put-mark-as-expirable-next n))

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