Re: Old Gnus messages are not fetched

2017-09-03 Thread Cecil Westerhof
Op woensdag 30 augustus 2017 06:51:14 UTC+2 schreef Bob Newell:
> Cecil Westerhof writes:
> 
> > I am in a mailbox that displays 86 messages put has 9060 messages. I
> > want to fetch them all. So I enter:
> > / o
> >
> > But it fetches nothing. 
> 
> This is just a guess, but looking at the docs for / o (below) it seems
> like you need a non-numerical prefix argument. This worked correctly for
> me with C-u / o.  (Keep in mind that I could be way off here, but worth
> a try.)

The strange think it always worked, but it just stopped working.

The C-u does not work for me, but just entering a number and then giving enter 
instead of immediately does work. A bit strange, because it does not work 
always. For example: sometimes it works when I enter 3500, but sometimes it 
does not. Until 3400 it almost always works. And that is in almost all cases a 
lot more as I need.

So I found a way around it, but I find it a bit strange.
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


All non-marked messages unread

2015-01-10 Thread Cecil Westerhof
I have a very strange problem. All messages from a certain folder that
where not marked became unread. This where around 30.000 messages. I
used ‘c’ (gnus-summary-catchup-and-exit) to mark them again as read.

When entering the group again disaster has struck: there where only
4.000 messages (about 13%) left. All the others had disappeared.

What has happened here?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Show picture in message

2013-06-09 Thread Cecil Westerhof
Nowadays I often receive messages with pictures in it. But to get them
displayed, I have to click on the mime ‘button’. The less I need to
use the mouse, the happier I am. (One of the reasons to use
Emacs/Gnus.)

Is there a keyboard shortcut to display the pictures? Until now I did
not find one.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


gmail folders keep getting subscribed

2012-12-26 Thread Cecil Westerhof
I have a very strange problem. Certain groups from gmail (for example
trash and send) keep getting subscribed. I unsubscribe, but when I
quit Gnus and Emacs and start it again, they are subscribed again.
What is going wrong and what can I do about it?

I am using:
Gnus v5.13

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Changes in emacs.el

2012-12-26 Thread Cecil Westerhof
Op woensdag 31 okt 2012 18:16 CET schreef Cecil Westerhof:

 Why does emacs tries to change .emacs and can I circumvebt this?

 I think you must only set `custom-file'.  From the doc:

 | File used for storing customization information.
 | The default is nil, which means to use your init file
 | as specified by `user-init-file'.  If the value is not nil,
 | it should be an absolute file name.

 I now added:
 (setq custom-file ~/.emacs.d/.emacs-custom.el)
 (load custom-file t nil t t)

It looks like my problem is solved. I did not get the error anymore.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: gmail folders keep getting subscribed

2012-12-26 Thread Cecil Westerhof
Op donderdag 27 dec 2012 00:32 CET schreef Cecil Westerhof:

 I have a very strange problem. Certain groups from gmail (for
 example trash and send) keep getting subscribed. I unsubscribe, but
 when I quit Gnus and Emacs and start it again, they are subscribed
 again. What is going wrong and what can I do about it?

I can not remember that I had this problem in the pas, but I solved it
by setting the groups to zombie level:
S l 8 RET

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Deleted group still found by tab expansion

2012-12-25 Thread Cecil Westerhof
Op maandag 24 dec 2012 16:33 CET schreef Lars Ingebrigtsen:

 Cecil Westerhof ce...@decebal.nl writes:

 In the past I had two groups. One ended with SpamNotFound and the
 othe with SpamNLLGG. I deleted the last group. But still when I
 want to move a message and type SpamN and give a TAB, instead of
 expanding to SpamNotFound I get the two possibilities. Why does
 Gnus remember a group that is deleted a long time ago? And how can
 I make Gnus forget the group?

 If you don't have `gnus-save-killed-list' set, then deleted groups
 will disappear from the prompt list after a restart.

Was set to t. Changed it. Thanks.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Setting credentials does not work anymore

2012-12-19 Thread Cecil Westerhof
I just update my Linux installation. With it I think Emacs/Gbus got
updated also.

In my .gnus I have:
(setq gnus-secondary-select-methods
  `(
(nnimap gmail
(nnimap-address imap.gmail.com)
(nnimap-stream ssl)
(nnimap-authinfo-file ,imap-authinfo-file))
))

(setq smtpmail-auth-credentials imap-authinfo-file)

Until now that worked without a problem. (I use another file as
.authinfo.) Now it does not work anymore. What has changed?

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Setting credentials does not work anymore

2012-12-19 Thread Cecil Westerhof
Op woensdag 19 dec 2012 13:46 CET schreef Rud1ger Sch1erz:

 I just update my Linux installation. With it I think Emacs/Gbus got
 updated also.

 If your version now is Emacs 24.2.x / Gnus v5.13, then replace 

They are.


 (setq smtpmail-auth-credentials imap-authinfo-file)

 by

 (setq  auth-sources (list imap-authinfo-file))

That works. Thanks.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Deleted group still found by tab expansion

2012-11-18 Thread Cecil Westerhof
In the past I had two groups. One ended with SpamNotFound and the othe
with SpamNLLGG. I deleted the last group. But still when I want to
move a message and type SpamN and give a TAB, instead of expanding to
SpamNotFound I get the two possibilities. Why does Gnus remember a
group that is deleted a long time ago? And how can I make Gnus forget
the group?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Changes in emacs.el

2012-10-31 Thread Cecil Westerhof
I made an earlier comment about this, but I did some investigation
now.

Sometimes I get a message that .emacs is read-only. This is true,
because it is a link to an emacs.el file that is owned by root and
read-only for the user.
I get the question: do you want to write? If I say yes, it fails and
my message/article is not send. If I say no it is also not send.

I could live with it, because when I try to send it again, it
succeeds. But annoying it is.

When looking more closely I found that two things are changed.

I have a custom-set-variables section and beside changing the sequence
it adds (beside other things):
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(canlock-password …)
 '(delete-selection-mode nil)
 '(mark-even-if-inactive t)

It also adds:
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )

I do not have a custom-set-faces in the emacs.el.

Why does emacs tries to change .emacs and can I circumvebt this?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Delete a group

2012-10-31 Thread Cecil Westerhof
In gnus-group-mode I can delete a group with:
U-G DEL

In gnus-browse-mode there is not such a key. Is this on purpose?

I wanted to delete old maildirs from my server. I now had to subscribe
first to the groups. Not a biggie: I do not think this will happen
often. And I always can define the key-binding myself. Just curious if
there was a reason.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Changes in emacs.el

2012-10-31 Thread Cecil Westerhof
Op woensdag 31 okt 2012 14:45 CET schreef Michael Heerdegen:

 Sometimes I get a message that .emacs is read-only. This is true,
 because it is a link to an emacs.el file that is owned by root and
 read-only for the user.
 I get the question: do you want to write? If I say yes, it fails and
 my message/article is not send. If I say no it is also not send.

 I could live with it, because when I try to send it again, it
 succeeds. But annoying it is.

 When looking more closely I found that two things are changed.

 I have a custom-set-variables section and beside changing the sequence
 it adds (beside other things):
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(canlock-password …)
 '(delete-selection-mode nil)
 '(mark-even-if-inactive t)

 It also adds:
 (custom-set-faces
 ;; custom-set-faces was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 )

 I do not have a custom-set-faces in the emacs.el.

 Why does emacs tries to change .emacs and can I circumvebt this?

 I think you must only set `custom-file'.  From the doc:

 | File used for storing customization information.
 | The default is nil, which means to use your init file
 | as specified by `user-init-file'.  If the value is not nil,
 | it should be an absolute file name.

I now added:
(setq custom-file ~/.emacs.d/.emacs-custom.el)
(load custom-file t nil t t)

There is only one problem:
;; Your init file should contain only one such instance.

Now there will be two. I will see if this is going to give problems.


Also: why does Emacs do this? I never do anything with custom.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Why does this hook not work

2012-10-25 Thread Cecil Westerhof
Op woensdag 24 okt 2012 12:44 CEST schreef Stephen Leake:

 Cecil Westerhof ce...@decebal.nl writes:

 I wanted to go a step further. A lot of times I open messages in the
 browser and expire them. For this I defined the following hook:
 (add-hook 'gnus-article-mode-hook
 (lambda ()
 (define-key gnus-browse-mode-map v

 But this does not work. The v key keeps undefined. What am I doing
 wrong?

 I haven't tried this, but it appears you are defining this key in the
 wrong map; use gnus-article-mode-map

Spot on. That is the problem with copy/paste: you can forget to
change a part of the code. It works with one hitch: after this
gnus-summary-mode is selected. I think this is a bug: when something
is executed interactive or in a batch there should be no difference in
the outcome. That is why I changed it to:
(add-hook 'gnus-article-mode-hook
  (lambda ()
(define-key gnus-article-mode-map v
  `(lambda ()
 Open article in browser and expire it
 (interactive)
 (gnus-article-browse-html-article)
 (gnus-summary-mark-as-expirable 1)
 (when (string= major-mode gnus-summary-mode)
   (gnus-summary-next-page)
   (gnus-summary-select-article-buffer))

I put in the when so that the function still works when the bug is
solved. ;-)

--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Sometimes problem when posting to aioe

2012-10-25 Thread Cecil Westerhof
I use the aioe newsserver. Sometimes I get:
nntp (news.aioe.org) open error: ''.  Continue? (y or n)

The only way to keep reading and sending news is to change:
(setq gnus-select-method '(nntp news.aioe.org))
to:
(setq gnus-select-method '(nntp nntp.aioe.org))

This works with one very important hitch: I lose all my marks.

The strange thing is that sometimes it takes a very long time before I
need to switch and other times I have to switch quite soon again.

Does anybody know why this happens and what to do about it?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Sometimes problem when posting to aioe

2012-10-25 Thread Cecil Westerhof
Op donderdag 25 okt 2012 13:08 CEST schreef Cecil Westerhof:

 I use the aioe newsserver. Sometimes I get:
 nntp (news.aioe.org) open error: ''.  Continue? (y or n)

 The only way to keep reading and sending news is to change:
 (setq gnus-select-method '(nntp news.aioe.org))
 to:
 (setq gnus-select-method '(nntp nntp.aioe.org))

 This works with one very important hitch: I lose all my marks.

And all the read messages are unread again. Just went to
c.l.java.programmer. There where about thousand unread messages. :-{


 The strange thing is that sometimes it takes a very long time before I
 need to switch and other times I have to switch quite soon again.

 Does anybody know why this happens and what to do about it?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Sometimes problem when posting to aioe

2012-10-25 Thread Cecil Westerhof
Op donderdag 25 okt 2012 17:13 CEST schreef Tassilo Horn:

 Cecil Westerhof ce...@decebal.nl writes:

 I use the aioe newsserver. Sometimes I get:
 nntp (news.aioe.org) open error: ''.  Continue? (y or n)

 The only way to keep reading and sending news is to change:
 (setq gnus-select-method '(nntp news.aioe.org))
 to:
 (setq gnus-select-method '(nntp nntp.aioe.org))

 So news.aioe.org redirects to nntp.aioe.org, but that's sometimes
 broken?

Sort of. And after some time nntp is broken and I have to go back to
news again.

Properly I know what the problem is. More about it below.


 This works with one very important hitch: I lose all my marks.

 You should have separated the server name from its address:

 (setq gnus-select-method '(nntp aioe.org
 (nntp-address news.aioe.org)))

 Then the server name was aioe.org (and that's important for marks and
 stuff), and you could always change the nntp-address.  It'll still be
 the same server, and all marks would still work.

 But thinking about it, you should be able to use

 (setq gnus-select-method '(nntp news.aioe.org
 (nntp-address nntp.aioe.org)))

 Then your server's still called news.aioe.org, but the address is the
 (hopefully) reliable nntp.aioe.org.

I experimented with this and now both do not work. (news and nntp) For
the time being I am using another (free) news-server. Now all the
messages where unread again, because this was the first time I used
it. :-{

The problem is (I think) that aioe does not allow more as 400
connections a day. Could it be that when I am busy I exceed this limit
and are banned for some time? I was trying the different possibilities
and this made me exceed the limit for nntp and now I am banned from
both I am afraid.

I December I properly change from internet server provider. Maybe I
should take a subscription on there news-server also.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


gnus-topic-get-new-news-this-topic

2012-10-25 Thread Cecil Westerhof
With M-g (gnus-topic-get-new-news-this-topic) you check for new news
in the current topic. If the topic is an email folder you get a
message like:
nnimap: Updating info for nnimap+
but when the topic is a newsgroup no message is given.

Why is this?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Why does this hook not work

2012-10-23 Thread Cecil Westerhof
I have defined the following working hook:
(add-hook 'gnus-browse-mode-hook
  (lambda ()
(define-key gnus-browse-mode-map vu
  `(lambda ()
 Find unsubscribed groups that contains messages
 (interactive)
 (search-forward-regexp ^[^ ] *[1-9])

With this I find the unsubscribed groups that are not empty.


I wanted to go a step further. A lot of times I open messages in the
browser and expire them. For this I defined the following hook:
(add-hook 'gnus-article-mode-hook
  (lambda ()
(define-key gnus-browse-mode-map v
  `(lambda ()
 Open article in browser and expire it
 (interactive)
 (message got here)
 (gnus-article-browse-html-article)
 (gnus-summary-mark-as-expirable 1)

But this does not work. The v key keeps undefined. What am I doing
wrong?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: M-g does not work for newsgroups

2012-09-10 Thread Cecil Westerhof
Op maandag 10 sep 2012 20:12 CEST schreef Charles Philip Chan:

 When I am in gnus-group-mode I can check for new messages with M-g if
 the selected group is an email group. When it is a news group this
 does not work. Why not?

 Works fine for me here with my local Leafnode server. We can't help you
 without more details.

What details do you need?

Some details (if others needed: let me know):
newsserver:news.aioe.org
Gnus:  Gnus v5.13
Emacs: 23.3.1
OS:openSuse 12.1

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: OT: Have you met another Gnus user in person?

2012-09-09 Thread Cecil Westerhof
Op zondag 9 sep 2012 19:53 CEST schreef Sivaram Neelakantan:

 It just struck me that I have not met a single person who's a Gnus
 user in flesh and blood; Emacs, once in a while but gnus? Nyet, nada,
 nope!

 It's getting lonely you know...

 Have you?

Yes, but only one. (As far as I know.) And I think it is also the only
emacs user I met. (As far as I know.)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Follow up to group for mailing lists

2012-09-09 Thread Cecil Westerhof
A lot of mailing lists do not set the reply-to to the mailing list. It
is considered evil, but I like it. But lets not get into a discussion
about that.

The only way to get the email to the mailing list is a wide follow up,
but then the sender gets an email from me and from the mailing list.
That is why I made follow up only going to the mailing list. (With
reply I still can reply to the author.)

I defined a 'tuple':
(setq dcbl-gnus-mailing-lists '(
(INBOX.Info.bbdb   . 
bbdb-i...@lists.sourceforge.net)
.
.
.
(bedrijf/ontwikkeling/scala. 
scala-u...@googlegroups.com)
))


I made the following advice:
(defadvice gnus-summary-followup-with-original (after formalities () 
activate)
  (let ((to-address (dcbl-gnus-get-mailing-list-address)))
(when to-address
  (when (message-fetch-field To)
(message-goto-to)
(message-beginning-of-line)
(kill-line))
  (when (message-fetch-field Cc)
(message-goto-cc)
(message-beginning-of-line)
(message-beginning-of-line)
(kill-line)
(kill-line))
  (dcbl-fill-to-address)
  (message-goto-body

When gnus-newsgroup-name is from a mailing list, I empty the To field,
I delete the Cc field, fill the To field and go to the body.


The function to get the address:
(defun dcbl-gnus-get-mailing-list-address ()
  Get gnus-newsgroup-name mailing list address (if it has one);
  (string-match [^:]*$ gnus-newsgroup-name)
  (dcbl-get-tuple-value dcbl-gnus-mailing-lists (match-string 0 
gnus-newsgroup-name)))


The general function to get a value from a 'tuple':
(defun dcbl-get-tuple-value (tuple index)
  Get value from tuple indexed by index (if it exist);
  (assoc-default index tuple))


The function to fill the To field (I use it also to fill when creating
an article, that is why I go to the subject field here.):
(defun dcbl-fill-to-address ()
  Determine what to-address to use on the current message;
  (interactive)
  (let ((to-address nil))
(when (and (string= major-mode message-mode)
   gnus-newsgroup-name
   (not (message-fetch-field To))
   (setq to-address (dcbl-gnus-get-mailing-list-address)))
  (message-goto-to)
  (insert to-address)
  (message-goto-subject

I check that I am in message-mode, that gnu-newsgroup-name is filled,
that the To field is not filled and that it is a mailing list.
If that is the case I fill the To field and go to the subject field.


The advice for sending a message:
(defadvice gnus-summary-mail-other-window (after formalities () activate)
  (dcbl-fill-to-address))


I hope it is useful to someone. And if I could do things better: let
me know.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Follow up to group for mailing lists

2012-09-09 Thread Cecil Westerhof
Op zondag 9 sep 2012 23:16 CEST schreef Charles Philip Chan:

 Cecil Westerhof ce...@decebal.nl writes:

 The only way to get the email to the mailing list is a wide follow up,
 but then the sender gets an email from me and from the mailing list.
 That is why I made follow up only going to the mailing list. (With
 reply I still can reply to the author.)

 You don't really need to define your functions (as long as you split the
 lists into their own group). For mailing lists you can just set
 to-address and to-list in the Group parameters to the list
 address. This way if you reply with F/f or send a new mail with a it
 will go to the list. If you reply with R/r, it will go the author.

I did not know that. Still I prefer this way. Now I can see in a flash
for which groups it is defined and the address.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


M-g does not work for newsgroups

2012-09-09 Thread Cecil Westerhof
When I am in gnus-group-mode I can check for new messages with M-g if
the selected group is an email group. When it is a news group this
does not work. Why not?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Deleting a folder on the server

2012-03-28 Thread Cecil Westerhof
Op zaterdag 12 nov 2011 16:16 CET schreef Cecil Westerhof:

 You can subscribe and unsubscribe from a group, but I want to delete
 an IMAP folder on the server. With other clients this is possible, but
 I see not an option in Gnus. Is this not possible, or am I overlooking
 something?

I was. I need the function:
gnus-group-delete-group

This is bound to:
G DEL

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Is it possible to get the name of the group the cursor is on

2012-03-28 Thread Cecil Westerhof
I would  like to get the  name of the buffer  the cursor is  on in the
group buffer. But I can not find  a function for it. How can I get the
name?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Several attachments

2012-03-28 Thread Cecil Westerhof
Op zondag 27 nov 2011 18:46 CET schreef Lowell Gilbert:

 Cecil Westerhof ce...@decebal.nl writes:

 Is there a way to attach several attachments in one action? Now when I
 need to attach four files, I  need to do this in four different steps.
 Is there a more efficient way?

 I don't see existing code to do that, but I don't think it would be hard
 to code up a simple version. Unfortunately, I can't think of a way that
 a simple version would have a user interface that was easier than what
 you're doing now. If this is a common case for you, maybe you could give
 the function some a priori knowledge about which files to use, but
 otherwise I think you still end up having to make a file selection four
 separate times.

I agree that the files have to be selected. (Until we have a computer
that can read our minds.) But the other three actions would not have
to be duplicated. (I think.)


 But I'm really awful at conceiving user interfaces; surely someone else
 has a better idea.

It is not my strong-point either.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Something changed in gnus-summary-kill-same-subject?

2011-05-24 Thread Cecil Westerhof
In the past I used C-M-k to mark a thread as read and close it. This
does not work anymore. I can only use C-k. It is not a very big
problem, but I liked the possibility to close the thread also. Saves
some screen estate.

Also, the marking as read –or the displaying of the messages– is
changed. Now often when I mark messages as read, some messages
further up are also marked as read. (They are related, so it could be
that the messages are otherwise displayed.)

It all happened after I updated to openSUSE 11.4. So maybe I now have
a newer version of GNUS as before. I am now using: 'Gnus v5.13'.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Not showing expired articles

2011-05-24 Thread Cecil Westerhof
Op zondag 1 mei 2011 19:47 CEST schreef Lars Magne Ingebrigtsen:

 Often I use '/ o' (gnus-summary-insert-old-articles) to show old
 articles, but normally I am not interested in expired articles. Is
 there a way to show old articles with the exclusion of expired
 articles?

 There is no built-in functionality for doing this, I think.

That is what I thought. I was hoping on tips how to build something
like that. And when build I will share it of-course. ;-}

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Something changed in gnus-summary-kill-same-subject?

2011-05-24 Thread Cecil Westerhof
Op zondag 1 mei 2011 19:47 CEST schreef Lars Magne Ingebrigtsen:

 In the past I used C-M-k to mark a thread as read and close it. This
 does not work anymore. I can only use C-k. It is not a very big
 problem, but I liked the possibility to close the thread also. Saves
 some screen estate.

 It works for me, so could this be some local OpenSUSE alteration?

That should be the problem then. I'll post it to an openSUSE
mailing-list.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english


Switching smtpmail-debug-info

2010-12-28 Thread Cecil Westerhof
Sometimes I want to see the info about the communication with the
SMTP-server. But I find it not very handy to remember the variable to
set or reset. That is why I made the folowing function:
(defun dcbl-switch-smtp-debug-info ()
  (interactive)
  (if smtpmail-debug-info
  (progn
(setq smtpmail-debug-info nil)
(message disabled smtp-debug-info))
(setq smtpmail-debug-info t)
(message enabled smtp-debug-info)))

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Ignore reply-to

2010-05-06 Thread Cecil Westerhof
David Kastrup d...@gnu.org writes:

 In some e-mail clients it is possible to send a reply to the address
 in the From field, even when the Reply-to field is filled. Is this
 also possible in Gnus? Sometimes you want to reply to the original
 sender and not to the mailing list.

 S B r (without quoting of original) S B R (with quoting).

 which are the keybindings for

 gnus-summary-reply-broken-reply-to and
 gnus-summary-reply-broken-reply-to-with-original

Thanks very much. I thought it should be possible.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Automatically filling to-address (tip and question)

2010-05-05 Thread Cecil Westerhof
I did find a much better way to fill the To address. The sequence of the
fields is also not changed. It is possible to later still fill the To
field with the correct value, after having emptied it. (For example when
the reply the field is filled with the address of the sender instead of
with the address of the mailing list.) Is there a function to empty the
To field?

The only problem is that I know how to check for message-mode, but I do
not know how to differentiate between an article and an e-mail message.
With an article for a newsgroup there is no To field. Properly not a
very important problem. What is the chance that the name of a e-mail
folder will look like the name of a newsgroup? Still, if someone knows
how to differentiate ...

(defvar dcbl-gnus-to-addresses nil
  A list of group names and to-addesses to use;)
(setq   dcbl-gnus-to-addresses  '(
(INBOX\\.Info\\.bbdb . bbdb-i...@lists.sourceforge.net)
(INBOX\\.Info\\.clisp. clisp-l...@lists.sourceforge.net)
(INBOX\\.Info\\.ffmpeg   . ffmpeg-u...@mplayerhq.hu)
(INBOX\\.Info.\\Floss. fl...@vrijschrift.nl)
(INBOX\\.Info\\.OpenOffice   . gebruik...@nl.openoffice.org)
(INBOX\\.Info\\.openSUSE . opensuse-fact...@opensuse.org)
(INBOX\\.Info\\.org-mode . emacs-orgm...@gnu.org)
(INBOX\\.Info\\.slime. slime-de...@common-lisp.net)
(INBOX\\.Info\\.spamassassin . us...@spamassassin.apache.org)
(INBOX\\.KDE . kde-i18n...@kde.org)
(INBOX\\.NLLGG\\.Leden   . stamta...@lists.nllgg.nl)
(INBOX\\.NLLGG\\.Linux   . li...@lists.nllgg.nl)
(INBOX\\.NLLGG\\.Starter . linux-star...@lists.nllgg.nl)
))

;; Fill To-address
(defadvice gnus-summary-mail-other-window (after formalities () activate)
  (dcbl-fill-to-address))

(defun dcbl-fill-to-address ()
  Determine what to-address to use on the current message;
  (let ((to-address nil))
(when (and (string= major-mode message-mode)
   gnus-newsgroup-name
   (not (message-fetch-field To)))
  (dolist (item dcbl-gnus-to-addresses)
(when (string-match (car item) gnus-newsgroup-name)
  (setq to-address (cdr item
  (when to-address
(message-goto-to)
(insert to-address)
(message-goto-subject)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Automatically filling to-address (tip and question)

2010-05-05 Thread Cecil Westerhof
a...@koldfront.dk (Adam Sjøgren) writes:

 When I post to a mailing list, I always have to use the same e-mail
 address. As a real programmer I am lazy and do not like to do what can
 be done by the computer. For this I made the code below.

 Even lazier, in terms of lines of code written, but, alas, not in lines
 of manual to read:

  * http://gnus.org/manual/gnus_28.html#SEC28 - Group Parameters

I already made a much better version. I posted it in this thread. With
this version you can also fill the To address later on.

Another plus is that the groups and addresses are close together. But it
is still a good idea to read info about Group Parameters. Thanks.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Ignore reply-to

2010-05-05 Thread Cecil Westerhof
In some e-mail clients it is possible to send a reply to the address in
the From field, even when the Reply-to field is filled. Is this also
possible in Gnus? Sometimes you want to reply to the original sender and
not to the mailing list.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Not asking twice to remove HTML-file when there is only one

2010-05-05 Thread Cecil Westerhof
When using 'K H' to display a e-mail in a browser, you are asked if you
want the HTML files removed when leaving the summary. When answering 'n'
you are asked for every file if you want it to be removed or not.
Because the file name is not saying anything, I am wondering if this is
useful. But especially when there is only one HTML-file I would think
that when you answered 'n' there is no need to ask it again for this one
file. Or is there a good reason for this?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


441 Article has no body -- just headers

2010-05-05 Thread Cecil Westerhof
I have had this before, but not often. When I just wanted to send a
message I got:

441 Article has no body -- just headers 
Couldn't send message via news: 441 Article has no body -- just headers 

When immediately trying to send it again -without doing anything else
before- it was send without a problem. What could be the reason for
this?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Ignore reply-to

2010-05-05 Thread Cecil Westerhof
Gijs Hillenius gijs-nos...@hillenius.net writes:

 In some e-mail clients it is possible to send a reply to the address in
 the From field, even when the Reply-to field is filled. Is this also
 possible in Gnus? Sometimes you want to reply to the original sender and
 not to the mailing list.

 Yeah, of course this is possible. You enter that To-address, replacing
 the one that was taken from the reply-to, that you don't want to use.

 or

 M-, M-f, M-f, M-b, C-k, and you're good to go :-)

 I have a hunch you want to automate this, but, can Gnus read your mind?
 I'd like that ...

No, but just like in for example Mutt it could reserve a key combination
for it. It looks like there is nothing for it, so maybe I should write
something.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Connection to send e-mail goes wrong

2010-05-04 Thread Cecil Westerhof
I have the following in my .gnus:
(setq gnus-message-archive-group
  '((if (message-news-p)
INBOX.Verzonden.misc-news
  (concat INBOX.Verzonden. (format-time-string %Y-%m)

In this way every send e-mail (not newsgroup message, maybe I should do
that also) is archived pro month. Until recently my only problem was
that I had to add the new mailbox every month to my installation.

But that has changed. In my group buffer I have for example:
 *:*nnimap+e-mail:INBOX.Verzonden.2010-03
 0: nnimap+e-mail:INBOX.Verzonden.2010-01

The second one is no problem. The first one looks the same, but is not.
When trying to open it, I see in *Messages*:
Opening nnimap server on e-mail+nnimap+e-mail:INBOX.Verzonden.2010-03...
Denied server nnimap+e-mail+nnimap+e-mail:INBOX.Verzonden.2010-03
Opening nnimap server on 
e-mail+nnimap+e-mail:INBOX.Verzonden.2010-03...failed

While when I open 2010-01 I get:
Retrieving newsgroup: nnimap+e-mail:INBOX.Verzonden.2010-01...
nnimap: Updating info for nnimap+e-mail:INBOX.Verzonden.2010-01...done
Fetching headers for nnimap+e-mail:INBOX.Verzonden.2010-01...done

So for one reason or another I get extra information appended to the new
folders. Anyone an idea what is happening and what to do against it?

Could a solution be changing active and local in agent.lib? If so: how?
Where are those files documented?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Gnus tries to change my .emacs

2010-05-04 Thread Cecil Westerhof
I have a system wide .emacs and of course it is write protected.
Sometimes when I send an e-mail Gnus tries to change the .emacs. I get a
message that the file is write protected and when I answer on the
question if it has to be changed no, then my e-mail is not send. When I
then immediately try to send it again, there is no problem.

Why is Gnus trying to write to my .emacs? As I understood it, this
should not be the case.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Connection to send e-mail goes wrong

2010-05-04 Thread Cecil Westerhof
Cecil Westerhof ce...@decebal.nl writes:

 I have the following in my .gnus:
 (setq gnus-message-archive-group
   '((if (message-news-p)
 INBOX.Verzonden.misc-news
   (concat INBOX.Verzonden. (format-time-string %Y-%m)

 In this way every send e-mail (not newsgroup message, maybe I should do
 that also) is archived pro month. Until recently my only problem was
 that I had to add the new mailbox every month to my installation.

 But that has changed. In my group buffer I have for example:
  *:*nnimap+e-mail:INBOX.Verzonden.2010-03
  0: nnimap+e-mail:INBOX.Verzonden.2010-01

 The second one is no problem. The first one looks the same, but is not.
 When trying to open it, I see in *Messages*:
 Opening nnimap server on e-mail+nnimap+e-mail:INBOX.Verzonden.2010-03...
 Denied server nnimap+e-mail+nnimap+e-mail:INBOX.Verzonden.2010-03
 Opening nnimap server on 
 e-mail+nnimap+e-mail:INBOX.Verzonden.2010-03...failed

 While when I open 2010-01 I get:
 Retrieving newsgroup: nnimap+e-mail:INBOX.Verzonden.2010-01...
 nnimap: Updating info for nnimap+e-mail:INBOX.Verzonden.2010-01...done
 Fetching headers for nnimap+e-mail:INBOX.Verzonden.2010-01...done

 So for one reason or another I get extra information appended to the new
 folders. Anyone an idea what is happening and what to do against it?

I do not know if it is interesting, but when looking into my .newsrc.eld
I see:
(nnimap+e-mail:INBOX.Verzonden.2010-03 3 nil nil (nnimap e-mail 
(nnimap-address IP-NUMBER)))
(nnimap+e-mail:INBOX.Verzonden.2010-01 3 ((1 . 97)) ((seen (1 . 97))) 
nnimap:e-mail ((uidvalidity . 1262362138)))

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Connection to send e-mail goes wrong

2010-05-04 Thread Cecil Westerhof
Gijs Hillenius gijs-nosp...@hillenius.net writes:

 On  5 Mar 2010, Cecil Westerhof wrote:

 I have the following in my .gnus:
 (setq gnus-message-archive-group
 '((if (message-news-p)
 INBOX.Verzonden.misc-news
 (concat INBOX.Verzonden. (format-time-string %Y-%m)

 In this way every send e-mail (not newsgroup message, maybe I should do
 that also) is archived pro month. Until recently my only problem was
 that I had to add the new mailbox every month to my installation.

 But that has changed. In my group buffer I have for example:
 *:*nnimap+e-mail:INBOX.Verzonden.2010-03
 0: nnimap+e-mail:INBOX.Verzonden.2010-01


 I have the same snippet of code in my setup and it works like
 advertised.

 However, in my case, once a month, I need to manually add the imap
 sent-mail-newMonth mailbox to my group buffer. (by pressing ^ in the
 group buffer, selecting the imap server and subscribing to the mail
 folder).

 Apparently you managed to automate adding this new mailfolder to your
 group buffer. I'm interested in that solution, however, I wonder if your
 trouble (above) also is caused by that very same trick?

No, that is what I like to do, but at the moment I have to manually add
the folder. In the past this was no problem, but at the moment when I
add the folder as you describe, it is added in a wrong way. And because
of this I can not add them anymore, which is very annoying.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


How to use gnus-summary-universal-argument

2010-05-04 Thread Cecil Westerhof
I move spam message from different places to a certain folder to be
processed. I like them to be easily marked as read. I can do this with:
M P A
M-
d
but I am a real programmer and lazy: I do not want to do what I can let
the computer do. ;-]

So I started writing the following function:
(defun gnus-summary-mark-all-messages-as-read ()
  If in gnus-summary-mode mark all messages as read
  (interactive)
  (if (not (equal major-mode 'gnus-summary-mode))
  (message This function can only be used in gnus-summary-mode)
(gnus-uu-mark-all)
(gnus-summary-universal-argument 'gnus-summary-mark-as-read-forward)))

This does not work. The description of gnus-summary-universal-argument
is:
gnus-summary-universal-argument is an interactive compiled Lisp
function.

(gnus-summary-universal-argument ARG)

Perform any operation on all articles that are process/prefixed.

How do I need to define the argument to let this work?

On a side note: what would be a good key to bind this function to?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Connection to send e-mail goes wrong

2010-05-04 Thread Cecil Westerhof
Cecil Westerhof ce...@decebal.nl writes:

 I have the following in my .gnus:
 (setq gnus-message-archive-group
   '((if (message-news-p)
 INBOX.Verzonden.misc-news
   (concat INBOX.Verzonden. (format-time-string %Y-%m)

 In this way every send e-mail (not newsgroup message, maybe I should do
 that also) is archived pro month. Until recently my only problem was
 that I had to add the new mailbox every month to my installation.

 But that has changed. In my group buffer I have for example:
  *:*nnimap+e-mail:INBOX.Verzonden.2010-03
  0: nnimap+e-mail:INBOX.Verzonden.2010-01

 The second one is no problem. The first one looks the same, but is not.
 When trying to open it, I see in *Messages*:
 Opening nnimap server on e-mail+nnimap+e-mail:INBOX.Verzonden.2010-03...
 Denied server nnimap+e-mail+nnimap+e-mail:INBOX.Verzonden.2010-03
 Opening nnimap server on 
 e-mail+nnimap+e-mail:INBOX.Verzonden.2010-03...failed

 While when I open 2010-01 I get:
 Retrieving newsgroup: nnimap+e-mail:INBOX.Verzonden.2010-01...
 nnimap: Updating info for nnimap+e-mail:INBOX.Verzonden.2010-01...done
 Fetching headers for nnimap+e-mail:INBOX.Verzonden.2010-01...done

 So for one reason or another I get extra information appended to the new
 folders. Anyone an idea what is happening and what to do against it?

Problem solved. The server it was on was agentized. When removing this
it works. I already did this before, but it is 'remembered'. Only when
quiting Emacs and Gnus does have removing agent from the server effect.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Automatically subscribing to a folder when it is created

2010-05-04 Thread Cecil Westerhof
In *Group* I have:
  [ Verzonden -- 0 ]
 0: nnimap+e-mail:INBOX.Verzonden.2010-03
 0: nnimap+e-mail:INBOX.Verzonden.2010-02
 0: nnimap+e-mail:INBOX.Verzonden.2010-01

Those folders are automatically generated with the following code in my
.gnus:
(setq gnus-message-archive-group
  '((if (message-news-p)
(concat INBOX.Verzonden.misc-news. (format-time-string %Y-%m))
  (concat INBOX.Verzonden. (format-time-string %Y-%m)

What I would like is that when I send an e-mail in April the new map is
subscribed to and placed on the right place, like:
  [ Verzonden -- 0 ]
 0: nnimap+e-mail:INBOX.Verzonden.2010-04
 0: nnimap+e-mail:INBOX.Verzonden.2010-03
 0: nnimap+e-mail:INBOX.Verzonden.2010-02
 0: nnimap+e-mail:INBOX.Verzonden.2010-01

Is this possible?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: How to use gnus-summary-universal-argument

2010-05-04 Thread Cecil Westerhof
Ted Zlatanov t...@lifelogs.com writes:

 CW I move spam message from different places to a certain folder to be
 CW processed. I like them to be easily marked as read. I can do this with:
 CW M P A
 CW M-
 CW d
 CW but I am a real programmer and lazy: I do not want to do what I can let
 CW the computer do. ;-]

 I assume you're not using spam.el, because it can do this for you?

No, I did not know it. I'll look into it. But still I like to know how
to use gnus-summary-universal-argument. Maybe spam.el will do what I
want, but if not (or if I want to use the function for something else)
it would be nice to know how to use it.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Do not let horizontal split be removed

2010-05-04 Thread Cecil Westerhof
Because I have quite a wide screen I have split my frame in two windows
with 'C-X 3'. In the left window I have the group buffer and the right
window something else. When I open a folder in the group buffer the
right window disappears and there is only one window left with the
opened folder. Is there a way to circumvent it? So the folder is opened
in the left window and the right window stays and does not change?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Do not let horizontal split be removed

2010-05-04 Thread Cecil Westerhof
Katsumi Yamaoka yama...@jpl.org writes:

 Cecil Westerhof wrote:
 Because I have quite a wide screen I have split my frame in two windows
 with 'C-X 3'. In the left window I have the group buffer and the right
 window something else. When I open a folder in the group buffer the
 right window disappears and there is only one window left with the
 opened folder. Is there a way to circumvent it? So the folder is opened
 in the left window and the right window stays and does not change?

 Try: (setq gnus-use-full-window nil)
 See also: (info (gnus)Window Layout) - Type `C-x C-e' here.

Works partly. When opening the mail folder the right window stay, but
when given F to follow up on the e-mail, the right window gets eaten
again. %[

I will look into the info you pointed me to.

Thanks for the reply.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Do not let horizontal split be removed

2010-05-04 Thread Cecil Westerhof
Cecil Westerhof ce...@decebal.nl writes:

 Katsumi Yamaoka yama...@jpl.org writes:

 Cecil Westerhof wrote:
 Because I have quite a wide screen I have split my frame in two windows
 with 'C-X 3'. In the left window I have the group buffer and the right
 window something else. When I open a folder in the group buffer the
 right window disappears and there is only one window left with the
 opened folder. Is there a way to circumvent it? So the folder is opened
 in the left window and the right window stays and does not change?

 Try: (setq gnus-use-full-window nil)
 See also: (info (gnus)Window Layout) - Type `C-x C-e' here.

 Works partly. When opening the mail folder the right window stay, but
 when given F to follow up on the e-mail, the right window gets eaten
 again. %[

 I will look into the info you pointed me to.

It is less urgent as I thought. After sending the message the windows
are restored. I still would like to retain the right window when writing
the message, but it is not as bad as I thought.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Do not let horizontal split be removed

2010-05-04 Thread Cecil Westerhof
Cecil Westerhof ce...@decebal.nl writes:

 Because I have quite a wide screen I have split my frame in two windows
 with 'C-X 3'. In the left window I have the group buffer and the right
 window something else. When I open a folder in the group buffer the
 right window disappears and there is only one window left with the
 opened folder. Is there a way to circumvent it? So the folder is opened
 in the left window and the right window stays and does not change?

 Try: (setq gnus-use-full-window nil)
 See also: (info (gnus)Window Layout) - Type `C-x C-e' here.

 Works partly. When opening the mail folder the right window stay, but
 when given F to follow up on the e-mail, the right window gets eaten
 again. %[

 I will look into the info you pointed me to.

 It is less urgent as I thought. After sending the message the windows
 are restored. I still would like to retain the right window when writing
 the message, but it is not as bad as I thought.

It is a bit strange. In mail folders the windows are not touched, but in
newsgroups they are destroyed. It looks like software from Redmond. ;-}

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


List of all defined mail-alias

2010-05-04 Thread Cecil Westerhof
Is it possible to get a list of all defined mail-aliases?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Use several values for mail-alias

2010-05-04 Thread Cecil Westerhof
Cecil Westerhof ce...@decebal.nl writes:

 You can use mail-alias to define mailing lists. Some people I like to
 have on more as one mailing list, but it seems impossible. Is it
 possible?

It is a little bit strange. It now work when using several mail-aliases
like:
alias1, alias2

But earlier it did not work. So it works sometimes, but not all the
time. I think that the problem was because I already started with the
e-mail when changing the mail-alias. So properly: problem solved.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Sometimes Gnus need a very long time to check e-mail

2010-05-04 Thread Cecil Westerhof
I have Gnus checking every half hour (when Emacs is idle) for new
e-mail/articles. Most of the time it is done in about 20 seconds. But
sometimes it takes more as half an hour. (And sometimes even a lot more
as this.) Can that be a problem with Gnus, or has this to be a
network/internet problem?

Also when I use C-g because I want to do something in Emacs, I have to
leave Gnus and start it again to get connection with my e-mail again,
because after the C-g Gnus can not connect to the server anymore.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Sometimes I get * instead of number of unread messages

2010-05-04 Thread Cecil Westerhof
Sometimes when I start Gnus I get a '*' instead of the number of unread
messages. What could be the reason for this? It does not happen often,
but I find it strange.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Real threads

2010-05-04 Thread Cecil Westerhof
In Gnus messages/articles with the same subject are put in the same
thread, even when it are different messages. Is there a way to make sure
that messages that are not in the same thread, but only have the same
subject, are not put in the same thread by Gnus?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


gnus-secondary-select-methods and use of variables

2010-05-04 Thread Cecil Westerhof
I would like to do something like the following:
(setq gnus-secondary-select-methods
  '(
(nnimap gmail
(nnimap-address imap.gmail.com)
(nnimap-stream ssl)
(nnimap-authinfo-file (symbol-value imap-authinfo-file))
)
(nnimap e-mail
(nnimap-address (symbol-value imap-own-server))
(nnimap-stream tls)
(nnimap-authinfo-file (symbol-value imap-authinfo-file))
)
))

I need to use the real values. Is there a way I could use variables to
set gnus-secondary-select-methods?
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Can I use write-region without output to the mini-buffer

2010-05-04 Thread Cecil Westerhof
I use write-region to append a string to a file:
(write-region message nil file-name t)

What I do not like is that it outputs something like
Added to /home/cecil/.gnus.d/logging/2010-04-07
to the mini-buffer. Is there a way to circumvent this? Because this
overwrites what is in the mini-buffer and I do not like that.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Opening pdf files in Acroread

2010-02-17 Thread Cecil Westerhof
Cecil Westerhof ce...@decebal.nl writes:

 I am working with 'GNU Emacs 23.1.1' and 'Gnus v5.13'. When clicking on
 an inline .pdf file I get a message like:
 Displaying gv -safer /tmp/emm.31402kGI/file.pdf...done

 But nothing is displayed. How can I make gnus open the .pdf file with
 Acroread?
 Not sure from where you try to open file, but adding a line like this in
 your ~/.mailcap should help:

 ,[ mailcap entry ]
 | application/pdf; acroread %s
 `

 That file was not on my system. The file /etc/mailcap was, but had no
 entry for pdf. I made the .mailcap file with the named entry, but to no
 avail.

I closed Gnus and Emacs and started them again. Now it works.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Opening pdf files in Acroread

2010-02-14 Thread Cecil Westerhof
I am working with 'GNU Emacs 23.1.1' and 'Gnus v5.13'. When clicking on
an inline .pdf file I get a message like:
Displaying gv -safer /tmp/emm.31402kGI/file.pdf...done

But nothing is displayed. How can I make gnus open the .pdf file with
Acroread?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


How to display formatted e-mails correctly

2010-01-20 Thread Cecil Westerhof
I am not working very long with Gnus. Until now most e-mails where not a
big problem. But lately I get e-mails where the response are coloured.
In a graphical client it reads without a problem. Is there a way to read
them easily in Gnus. I use (at the moment): Gnus v5.11.

I am also asked to respond in colour. I suppose that is to much to ask? 

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Some useful key bindings

2010-01-07 Thread Cecil Westerhof
Ted Zlatanov t...@lifelogs.com writes:

 This is nice and useful.  You could make it a Gnus add-on (living under
 contrib/) if you make the compact and important topic lists
 customizable.

I think I made something that could be used. I have posted it on:
http://www.decebal.nl/EmacsLisp/sources/gnus/gnus-toggle-topics

Feedback is welcome.
What do I need to do to make it an add-on?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Problem with interface to bbdb

2010-01-07 Thread Cecil Westerhof
I have a contact Roel and a contact Roeland. To select the first I have
to enter Roel  and then give TAB, but then Gnus inserts the wrong
data. When I change Roel into Roelv and give a TAB after inputting
Roelv there is no problem.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


How to get value of parameter in macro

2010-01-06 Thread Cecil Westerhof
I am trying my first stab at macro's. I want to define key bindings to a
jump to a group. I tried something like:
(defmacro gnus-group-jump-bind (key-binding group-to-jump-to)
  (define-key gnus-group-mode-map key-binding
(lambda ()
  (interactive)
  (gnus-group-jump-to-group group-to-jump-to

(gnus-group-jump-bind vjd nndraft:drafts)

The key binding is okay, but the lambda function not. This becomes:
(lambda nil (interactive) (gnus-group-jump-to-group group-to-jump-to))

instead of:
(lambda nil (interactive) (gnus-group-jump-to-group nndraft:drafts))

What do I need to do to get the value of group-to-jump-to instead of the
string?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: How to get value of parameter in macro

2010-01-06 Thread Cecil Westerhof
Cecil Westerhof ce...@decebal.nl writes:

 Found it:
 (defmacro gnus-group-jump-bind (key-binding group-to-jump-to)
   `(define-key gnus-group-mode-map ,key-binding
 (lambda ()
   (interactive)
   (gnus-group-jump-to-group ,group-to-jump-to

 When you know it, it is not difficult.

 But I am still not out of the woods.
 Instead of using:
 (gnus-group-jump-bind vjd nndraft:drafts)

 I want to do something like:
 (gnus-group-jump-bind this-key this-group)

 But that does not work because the macro then does not receive a string,
 but a symbol. I tried to work with symbol-value, but that did not work.
 If you -or someone else- has another pointer ...

And solved this problem also:
(setq gnus-group-jump-list
  (list
   '(d nndraft:drafts)
   ))

(defmacro gnus-group-jump-bind (key-binding group-to-jump-to)
  `(define-key gnus-group-mode-map ,(symbol-value key-binding)
(lambda ()
  (interactive)
  (gnus-group-jump-to-group ,(symbol-value group-to-jump-to)

(defun gnus-group-do-jump-bind ()
   (dolist (this-jump gnus-group-jump-list)
 (let ((this-group (second this-jump))
   (this-key   (concat vj (first this-jump
 (gnus-group-jump-bind this-key this-group

(gnus-group-do-jump-bind)

And this does what I want. A problem could be that:
 (gnus-group-jump-bind vjd nndraft:drafts)

does not work anymore, but just always use variables solves that
'problem'.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: How to get value of parameter in macro

2010-01-06 Thread Cecil Westerhof
Cecil Westerhof ce...@decebal.nl writes:

 And solved this problem also:
 (setq gnus-group-jump-list
   (list
'(d nndraft:drafts)
))

 (defmacro gnus-group-jump-bind (key-binding group-to-jump-to)
   `(define-key gnus-group-mode-map ,(symbol-value key-binding)
 (lambda ()
   (interactive)
   (gnus-group-jump-to-group ,(symbol-value group-to-jump-to)

 (defun gnus-group-do-jump-bind ()
(dolist (this-jump gnus-group-jump-list)
  (let ((this-group (second this-jump))
(this-key   (concat vj (first this-jump
  (gnus-group-jump-bind this-key this-group

Pascal Bourguignon told me that it was not necessary to use a macro. So
I rewrote it without using a macro:
(defun gnus-group-jump-bind ()
  Define the key bindings for jumping to groups;
  (dolist (this-jump gnus-group-jump-list)
(let ((this-description (second this-jump))
  (this-group   (third  this-jump))
  (this-key (concat vj (first this-jump
  (define-key gnus-group-mode-map this-key
`(lambda ()
  ,this-description
  (interactive)
  (gnus-group-jump-to-group ,this-group))

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Some useful key bindings

2010-01-05 Thread Cecil Westerhof
Ted Zlatanov t...@lifelogs.com writes:

 This is nice and useful.  You could make it a Gnus add-on (living under
 contrib/) if you make the compact and important topic lists
 customizable.

Did not even think about that, but maybe that is not a bad idea. Maybe
it should be made even more general. I think it would be useful to have
more as a compact and a important list. And it would be nice if you do
not have to edit your .gnus for this. But then the topics have to be
saved somewhere. What is the best way to do this?

It would be nice to have contributed to Gnus. :-D

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Reduce three rules to one in gnus-posting-styles

2010-01-05 Thread Cecil Westerhof
In my gnus-posting-styles I had:
(message-news-p
 (signature-file ~/.signatureNewsgroup)
 )
(INBOX.Info.slime
 (signature-file ~/.signatureNewsgroup)
 )
(INBOX.Info.spamassassin
 (signature-file ~/.signatureNewsgroup)
 )

For newsgroups (the first rule) and mailing lists (the other two rules)
I want to use a different signature as for my other messages. I am a fan
of DRY so I was wondering if there is a way to condense these three
rules to one. (Makes it also more simple when extra mailing list have to
be added.) And I found one:
((or (message-news-p)
 (string-match INBOX.Info.slimegnus-newsgroup-name)
 (string-match INBOX.Info.spamassassin gnus-newsgroup-name))
 (signature-file ~/.signatureNewsgroup)
 )

Also a question. In slime and spamassassin I need to use 'm' instead of
'a' because they are mailing lists. Is there a way to automatically fill
in the correct to address and go to the subject field?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Getting the right dictionary for e-mail and newsgroup messages

2010-01-05 Thread Cecil Westerhof
Ted Zlatanov t...@lifelogs.com writes:

 CW I only have one problem. At the moment I need to use:
 CW ^nl\\.\\|\\.nl\\.\\|\\.nl$ 
 CW for the regular expression. I would prefer to use something like:
 CW [\\.^]nl[\\.$]

 CW But that does not work. Is there another way to make the regular
 CW expression simpler?
 If the '.' character is not in your word class (it shouldn't be), you
 can use

 (string-match \\bnl\\b X.nl.X)

This also matches:
(string-match \\bnl\\b X-nl-X)

But I do not think that is a problem. So I now use \\bnl\\b. That is a
lot clearer as ^nl\\.\\|\\.nl\\.\\|\\.nl$ and easier to adopt when
another language has to be added.

Thanks.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Own key bindings

2009-12-23 Thread Cecil Westerhof
Tassilo Horn tass...@member.fsf.org writes:

 I am still learning to cope with GNUS.

 It's Gnus -- GNUS is its predecessor.

I'll keep it in mind.

 I stumbled on something about defining your own key bindings. If I
 remember well the idea is that you use 'v' for your own key bindings.
 But I can not find it anymore.  Where is this described?

 ,[ (info (gnus)Misc Group Stuff) ]
 | `v'
 |  The key `v' is reserved for users.  You can bind it to some
 |  command or better use it as a prefix key.  For example:
 | 
 |   (define-key gnus-group-mode-map (kbd v j d)
 | (lambda ()
 |   (interactive)
 |   (gnus-group-jump-to-group nndraft:drafts)))
 | 
 |  On keys reserved for users in Emacs and on keybindings in general
 |  *Note Keymaps: (emacs)Keymaps.
 `

 BTW: I've found that entry in 10 seconds like this.

  C-h i ;; open info
  m gnus RET;; visit the Gnus docs
  C-s `v' C-s C-s   ;; Search for `v', repeat 2 times

Thanks. In my version (Gnus v5.11) 'v' is not found, but I should try
info more often as Google.

The first key binding I defined is:
(define-key gnus-group-mode-map (kbd v f)
  (lambda ()
(interactive)
(beginning-of-buffer)
(gnus-group-next-unread-group 1)))

So with 'v f' I go to the first unread group.
 
-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Some useful key bindings

2009-12-23 Thread Cecil Westerhof
Most of the time I am not interested in all the groups. So I wrote a few
functions and key bindings to easily switch between different situation.
I hope it is useful to somebody. Of course the list with topics have to
be changed to fit your situation. It does not work completely correct,
but good enough to share.
The key bindings are 'v t ?', with:
  a: show all topics
  c: show compact topics
  i: show important topics (compact and a few extra)
  n: show no topics

The code:
(defun gnus-topic-hide-all ()
  (interactive)
  (gnus-topic-show-all)
  (gnus-topic-hide-list (gnus-topic-list)))

(defun gnus-topic-hide-list (this-list)
  (interactive)
  (dolist (this-topic this-list)
(when (gnus-topic-goto-topic this-topic)
  (gnus-topic-hide-topic

(defun gnus-topic-show-all ()
  (interactive)
  (gnus-topic-show-list (gnus-topic-list)))

(defun gnus-topic-show-compact ()
  (interactive)
  (gnus-topic-hide-all)
  (gnus-topic-show-list (list Bedrijf Emacs NLLGG Privé)))

(defun gnus-topic-show-important ()
  (interactive)
  (gnus-topic-show-compact)
  (gnus-topic-show-list (list Algemeen InfoB Language Linux
  Tex Web InfoP Misc)))

(defun gnus-topic-show-list (this-list)
  (dolist (this-topic this-list)
(gnus-topic-jump-to-topic this-topic)
(gnus-topic-show-topic)))

and the key bindings:
(define-key gnus-group-mode-map (kbd v t a)
  'gnus-topic-show-all)

(define-key gnus-group-mode-map (kbd v t c)
  'gnus-topic-show-compact)

(define-key gnus-group-mode-map (kbd v t i)
  'gnus-topic-show-important)

(define-key gnus-group-mode-map (kbd v t n)
  'gnus-topic-hide-all)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Own key bindings

2009-12-22 Thread Cecil Westerhof
I am still learning to cope with GNUS. I stumbled on something about
defining your own key bindings. If I remember well the idea is that you
use 'v' for your own key bindings. But I can not find it anymore. Where
is this described?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Expire marked articles

2009-12-21 Thread Cecil Westerhof
Rahul Jain rj...@nyct.net writes:

 Cecil Westerhof ce...@decebal.nl writes:

 With gnus-summary-mark-as-expirable you can expire an article. I would
 like to expire the marked articles. I could not find something for
 this. Is this not possible, or am I overlooking something?

 G c on the group and set the time till expiry and the action upon expiration.

That is not what I mean. When in a group you can expire an article with
'E'. What I like to do is to mark several articles with '#' and then
expire all the articles I have marked with '#'.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Expire marked articles

2009-12-20 Thread Cecil Westerhof
With gnus-summary-mark-as-expirable you can expire an article. I would
like to expire the marked articles. I could not find something for
this. Is this not possible, or am I overlooking something?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Updating when articles are deleted from the news server

2009-12-04 Thread Cecil Westerhof
This look like an earlier question, but that was when working with an
IMAPS server. This is with a newsgroup.

Sometimes articles on an news server are deleted. When trying to open
such an article I get:
No such article (may have expired or been canceled)
Is there a way to let GNUS delete messages that are deleted on the
server (and not read by me)?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Questions about expiring

2009-12-04 Thread Cecil Westerhof
Nicolas KOWALSKI n...@petole.demisel.net writes:

 With apropos I get:
 gnus-agent-expire-days is a variable defined in `gnus-agent.el'.
 Its value is 7

 Documentation:
 Read articles older than this will be expired.

 I think that this is an error, because -luckily- only articles from
 which I have said that they are expired more then seven days ago are
 deleted.

 I think the variable to be refered to is this one:

 
 nnmail-expiry-wait is a variable defined in `nnmail.el'.
 Its value is 90


 Documentation:
 *Expirable articles that are older than this will be expired.
 This variable can either be a number (which will be interpreted as a
 number of days) -- this doesn't have to be an integer.  This variable
 can also be `immediate' and `never'.
 

This is also seven. In both cases (gnus-agent-expire-days and
nnmail-expire-wait) it looks like articles are deleted after they are
expired for (in my case) seven days. This is the functionality as I
would like it, but the description is saying something else.


 When running gnus-group-expire-all-groups. A lot of information is
 displayed in the mini-buffer, but not everything is logged in the
 Message buffer. For example the connection information to the IMAPS
 server. Is there a way to capture all the information?

 For your nnimap groups, you may use the imap-log variable, and check
 the *imap-log* buffer for SEARCH requests when the expiration process
 goes on.

Works great. Default I want it to be nil, but for looking at the
communication it is very useful.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Error in gnus-demon-add-handler

2009-12-04 Thread Cecil Westerhof
I have been playing with gnus-demon-add-handler to automatically fetch
new articles. The following three do work:
(gnus-demon-add-handler 'gnus-demon-scan-news 2 t)

(gnus-demon-add-handler 'gnus-demon-scan-news 2 1)

(gnus-demon-add-handler 'gnus-demon-scan-news 1 1)

But this does not work:
(gnus-demon-add-handler 'gnus-demon-scan-news 1 2)

Maybe it is not something that is very logical, but at the moment
someone wants the idle period to be bigger as the period between the
actions, he will be bitten by this. So at least the documentation should
be updated I think.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: .agentview and .overview

2009-12-03 Thread Cecil Westerhof
Tassilo Horn tass...@member.fsf.org writes:

 The agent is sort of a cache, so that you have to download articles
 only once.  In general, you always want that for newsgroups.  But for
 mail groups, it's a different story.  When you delete a message
 (possibly with another mail client, e.g. the web interface of your
 mail provider), the agent doesn't recognize that and you end up with
 strange results like duplicate messages and stuff like you mentioned.

 Okay, that makes everything clear. I would prefer to work with agent
 then. Because that is faster and also handy when I get offline. But as
 long as I do not everything with GNUS I'll keep it disabled.  On the
 other hand: why can GNUS not clean it up?

 Well, Gnus was initially a newsreader, and there articles don't
 disappear magically.  So my suggestion for good performance with mails:
 Install a local IMAP server (e.g. Dovecot) that you access with Gnus,
 and synch that with your remote accounts using OfflineIMAP.  I do that
 for years, and it works just perfectly.

I already work with a local IMAPS server, but when travelling that will
offcourse not be the case.

Bye the way a bigger problem is expire. Sometimes I have to wait half a
minute to a minute going to another folder. Maybe it would be better to
do the expiring not always? Say at most once a day.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Questions about expiring

2009-12-03 Thread Cecil Westerhof
Because the hint from Nicolas KOWALSKI it is not as important anymore,
but I like to understand things.
First when leaving a group gnus-summary-expire-articles was always
called. I had two big groups (on a local IMAPS server): one with 1162
articles off which 71 where expired and one with 8228 articles of which
54 where expired. The first group took a lot longer as the first. When
things had to be deleted from the IMAPS server, I could understand
it. But when leaving a group 2 minutes later (and when there where no
articles to be deleted) I do not understand this. So why is this the
case?

By the way: to get the number of articles that are expired in a group:
  - enter it with C-u Space
  - M-x how-many
  - ^E

With apropos I get:
gnus-agent-expire-days is a variable defined in `gnus-agent.el'.
Its value is 7

Documentation:
Read articles older than this will be expired.

I think that this is an error, because -luckily- only articles from
which I have said that they are expired more then seven days ago are
deleted.

Is there a way to find out how long ago I expired an article?

When running gnus-group-expire-all-groups I would like to log how many
articles from a group are deleted. Is this possible?

When running gnus-group-expire-all-groups. A lot of information is
displayed in the mini-buffer, but not everything is logged in the
Message buffer. For example the connection information to the IMAPS
server. Is there a way to capture all the information?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Automatically adding groups

2009-12-03 Thread Cecil Westerhof
In my .gnus I have:
(setq gnus-message-archive-group
  '((if (message-news-p)
misc-news
  (concat INBOX.Verzonden. (format-time-string %Y-%m)

And in *Group* I have:
  [ Verzonden -- 3 ]
 3: nnimap+e-mail:INBOX.Verzonden.2009-12 
 0: nnimap+e-mail:INBOX.Verzonden.2009-11 
 0: nnimap+e-mail:INBOX.Verzonden.2009-10 

When sending something in January I would like it to change it into
something like:
  [ Verzonden -- 3 ]
 3: nnimap+e-mail:INBOX.Verzonden.2010-01 
 0: nnimap+e-mail:INBOX.Verzonden.2009-12 
 0: nnimap+e-mail:INBOX.Verzonden.2009-11 
 0: nnimap+e-mail:INBOX.Verzonden.2009-10 

Is this possible? Now I have to add it every month. Not a lot of work,
but as a programmer I do not like to do things that can be done by the
computer. ;-)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: .agentview and .overview

2009-12-02 Thread Cecil Westerhof
Tassilo Horn tass...@member.fsf.org writes:


 You use the Gnus agent for that server.

 I do not really understand what that means, but that is something I
 can find out later. ;-}

 The agent is sort of a cache, so that you have to download articles only
 once.  In general, you always want that for newsgroups.  But for mail
 groups, it's a different story.  When you delete a message (possibly
 with another mail client, e.g. the web interface of your mail provider),
 the agent doesn't recognize that and you end up with strange results
 like duplicate messages and stuff like you mentioned.

Okay, that makes everything clear. I would prefer to work with agent
then. Because that is faster and also handy when I get offline. But as
long as I do not everything with GNUS I'll keep it disabled.
On the other hand: why can GNUS not clean it up?


 One strange thing, the IMAPS server was mentioned two times. I do not
 go often to the server buffer, but I have seen that more often. Not
 always by the way. What could be happening there and is that something
 to worry about?

 Yes, that looks awkward.  The only possibility I can imagine is that in
 your .gnus.el there are multiple definitions of that server.

Properly not, because when I start GNUS it is not the case.


 Or maybe there's only one definition which contains a dynamically
 generated part, so that multiple calls to add-to-list (starting/quitting
 gnus multiple times) lead to multple entries that are slightly
 different.

That would be more logical. I'll try to find it.
Thanks for the help.


 At the moment I am using Gnus v5.11.

 Also a strange thing. After disabling the agent for my IMAPS server,
 the news server -for which I changed nothing- said for all messages
 that they had to be downloaded.  Which was impossible to do. The only
 solution I found was quiting GNUS and starting it again.

 Hm, I'd suggest to upgrade to emacs 23.1 and use the Gnus version
 bundled with it.  Maybe that doesn't give those weird results.

I was planning to update my system and then this would automatically
take place.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


gnus-summary-mark-as-expirable

2009-11-30 Thread Cecil Westerhof
At the moment I use 'E' (gnus-summary-mark-as-expirable) to expire an
article. I understood that after a certain number of days articles that
are set to expire will be deleted. But I can not find anything about
this. Does anyone has some pointers for me?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


.agentview and .overview

2009-11-30 Thread Cecil Westerhof
In several groups there where articles that when I wanted to open I got
the message that they were deleted. There was no way I could update the
group to have them not displayed. After some searching I found that
those articles had an entry in .overview without that there was a
corresponding article on my IMAPS server. The way I solved it, was by
deleting those lines in .overview. I have several questions about this:
- What could the reason be that this happened?
- What would be the correct way to delete those lines? (Deleting by hand
  could be error prone.)
- Where can I find information about .agentview and .overview?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


e-mail list

2009-11-30 Thread Cecil Westerhof
When working with Evolution, I could work with e-mail lists. (A list
which referred to several of my contacts, so when inputting the name of
the list, I would send an e-mail to every contact on the list.) At the
moment I am migrating from Evolution to GNUS. Is it possible to have in
GNUS (with bbdb) also a mail list?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: e-mail list

2009-11-30 Thread Cecil Westerhof
Tassilo Horn tass...@member.fsf.org writes:

 Sure it is:

 ,[ (info (bbdb)Mail Sending Interfaces) ]
 |If more than one person has the same mail-alias, then that alias
 | expands to the addresses of all of those people; in this way you can
 | maintain mailing lists within the BBDB.
 `

 So add the same mail alias to all the persons in your bbdb, and then
 it'll exand to all the addresses.

I did, but when I fill it in on the To field and give TAB, I get:
wrong type argument: arrayp, nil

And when searching on the value of the mail-alias, I get:
bbdb no records matching

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: e-mail list

2009-11-30 Thread Cecil Westerhof
Cecil Westerhof ce...@decebal.nl writes:

 Tassilo Horn tass...@member.fsf.org writes:

 Sure it is:

 ,[ (info (bbdb)Mail Sending Interfaces) ]
 |If more than one person has the same mail-alias, then that alias
 | expands to the addresses of all of those people; in this way you can
 | maintain mailing lists within the BBDB.
 `

 So add the same mail alias to all the persons in your bbdb, and then
 it'll exand to all the addresses.

 I did, but when I fill it in on the To field and give TAB, I get:
 wrong type argument: arrayp, nil

Found a solution for this. I had to add:
(add-hook 'message-setup-hook 'bbdb-define-all-aliases) 


 And when searching on the value of the mail-alias, I get:
 bbdb no records matching

Did not find a solution for this yet.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Converting address-books to bbdb

2009-11-01 Thread Cecil Westerhof
I am starting to use gnus and just installed bbdb. At the moment I have
a lot of address information in Evolution and -almost- none in bbdb. Is
there a way to convert?

Is there a generic solution? I think it would be nice if data could be
imported/exported from different address books to bbdb and the other way
around.

I had a quick peek at .bbdb. I saw that it was just plain text. Does
this not give a performance problem when the address book becomes really
big?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Re: Where does Gnus put it's files

2008-12-05 Thread Cecil Westerhof
Sebastian Kaps [EMAIL PROTECTED] writes:

  I understood  that Gnus  should put  it files into  ~/News. But  in this
  folder is  only a folder  drafts.
 
 You're looking for ~/.newsrc and ~/.newsrc.eld.

That is not what I mend. I mend where does it put the articles? It looks
like Gnus download all the articles  everytime again. That is a waist of
bandwith. Especially with big newsgroups.

By the way. Is there a reason why I do not see my original message?
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Where does Gnus put it's files

2008-12-03 Thread Cecil Westerhof
I just started with Gnus.  At the moment only for news. Next step wil be
e-mail through IMAPS.

I understood  that Gnus  should put  it files into  ~/News. But  in this
folder is  only a folder  drafts. In that  folder is also only  a folder
drafts and that one is empty. Also  ll -art ~ does not show anything. So
where is Gnus putting his files?
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english


Highlight titles of news messages

2008-12-03 Thread Cecil Westerhof
I just started with  Gnus. I do not like the layout  very much. Would it
be possible to give the titles of the messages another colour?
___
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english