Gnus development mailing list
 help / color / mirror / Atom feed
* nnimap-transform-headers crashing
@ 2011-08-11 13:27 Julien Cubizolles
  2011-08-11 15:13 ` showing date in summary buffer Vijay Lakshminarayanan
  2011-08-11 20:30 ` nnimap-transform-headers crashing Andrew Cohen
  0 siblings, 2 replies; 6+ messages in thread
From: Julien Cubizolles @ 2011-08-11 13:27 UTC (permalink / raw)
  To: ding

I can't access some old mails (through /o in the summary buffer) on an
IMAP server. It seems that nnimap-transform-headers fails. I don't
really know what I could do to debug this further but I'm willing to.

Here is the backtrace. I removed control characters since posting failed
otherwise.

Julien.

Debugger entered--Lisp error: (wrong-type-argument listp NIL)
  byte-code("m?\205\310\306\307!\204`\310y\210`|\210m\203\311\312\313\"\210\202\314\310!\315\316\317 T\320#\203N\321\314\310!!\322\224\323\\`|\210``	\\{``	\\|\210\324\325\n\"c\210\202\"\326 \313\327 \210\315\330\317 \320#\205b\314\310!\327 \210\331\332\317 \320#\203\213\313\333\334\217\211:\203\206@;\204\206@\211\202u\3358)\336 \317 |\210\324\337\b\"c\210\310y\210	\203\244\324\340	\"c\210\f\203\256\324\341\f\"c\210\315\342\313\320#\204\271db\210\336 \317 |\210\343c\210\310y\210\202\207" [article size string bytes lines structure looking-at "\\* [0-9]+ FETCH.+UID \\([0-9]+\\)" 1 throw --cl-block-nil-- nil match-string re-search-forward "[^]][ (]{\\([0-9]+\\)}?\n" line-end-position t string-to-number 0 2 format "%S" nnimap-get-length beginning-of-line "RFC822.SIZE \\([0-9]+\\)" search-forward
  "BODYSTRUCTURE" (byte-code "\300p!\207" [read] 2) ((error)) 7 line-beginning-position "211 %s Article retrieved." "Chars: %s\n" "Lines: %s\n" "^$" "."] 5)
  nnimap-transform-headers()
  nnimap-retrieve-headers((7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 ...) "INBOX" "free" nil)
  gnus-retrieve-headers((7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 ...) "nnimap+free:INBOX" nil)
  gnus-cache-retrieve-headers((7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 ...) "nnimap+free:INBOX" nil)
  gnus-retrieve-headers((7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 ...) "nnimap+free:INBOX" nil)
  gnus-fetch-headers((7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 ...))
  gnus-summary-insert-articles((7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 ...))
  gnus-summary-insert-old-articles(nil)
  call-interactively(gnus-summary-insert-old-articles nil nil)






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

* showing date in summary buffer
  2011-08-11 13:27 nnimap-transform-headers crashing Julien Cubizolles
@ 2011-08-11 15:13 ` Vijay Lakshminarayanan
  2011-08-11 15:25   ` Adam Sjøgren
  2011-08-11 20:30 ` nnimap-transform-headers crashing Andrew Cohen
  1 sibling, 1 reply; 6+ messages in thread
From: Vijay Lakshminarayanan @ 2011-08-11 15:13 UTC (permalink / raw)
  To: ding

Hi

Is there any way to format the summary buffer so that it shows the date?

-- 
Cheers
~vijay

Gnus should be more complicated.



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

* Re: showing date in summary buffer
  2011-08-11 15:13 ` showing date in summary buffer Vijay Lakshminarayanan
@ 2011-08-11 15:25   ` Adam Sjøgren
  2011-08-11 18:12     ` Vijay Lakshminarayanan
  0 siblings, 1 reply; 6+ messages in thread
From: Adam Sjøgren @ 2011-08-11 15:25 UTC (permalink / raw)
  To: ding

On Thu, 11 Aug 2011 20:43:51 +0530, Vijay wrote:

> Is there any way to format the summary buffer so that it shows the date?

You can change the variable gnus-summary-line-format to include the
date in a couple of different formats (%D, %d, %o, etc):

,----[ C-h v gnus-summary-line-format RET ]
| gnus-summary-line-format is a variable defined in `gnus.el'.
| Its value is "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n"
| 
| Documentation:
| *The format specification of the lines in the summary buffer.
| 
| It works along the same lines as a normal formatting string,
| with some simple extensions.
| 
[...]
| %D          Date of the article (string)
| %d          Date of the article (string) in DD-MMM format
| %o          Date of the article (string) in YYYYMMDD`T'HHMMSS
|             format
[...]
| &user-date; Age sensitive date format. Various date format is
|             defined in `gnus-summary-user-date-format-alist'.
[...]


  Best regards,

     Adam

-- 
 "Good car to drive after a war"                              Adam Sjøgren
                                                         asjo@koldfront.dk




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

* Re: showing date in summary buffer
  2011-08-11 15:25   ` Adam Sjøgren
@ 2011-08-11 18:12     ` Vijay Lakshminarayanan
  0 siblings, 0 replies; 6+ messages in thread
From: Vijay Lakshminarayanan @ 2011-08-11 18:12 UTC (permalink / raw)
  To: ding

asjo@koldfront.dk (Adam Sjøgren) writes:

> On Thu, 11 Aug 2011 20:43:51 +0530, Vijay wrote:
>
>> Is there any way to format the summary buffer so that it shows the date?
>
> You can change the variable gnus-summary-line-format to include the
> date in a couple of different formats (%D, %d, %o, etc):
>
> ,----[ C-h v gnus-summary-line-format RET ]
> | gnus-summary-line-format is a variable defined in `gnus.el'.
> | Its value is "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n"
> | 
> | Documentation:
> | *The format specification of the lines in the summary buffer.
> | 
> | It works along the same lines as a normal formatting string,
> | with some simple extensions.
> | 
> [...]
> | %D          Date of the article (string)
> | %d          Date of the article (string) in DD-MMM format
> | %o          Date of the article (string) in YYYYMMDD`T'HHMMSS
> |             format
> [...]
> | &user-date; Age sensitive date format. Various date format is
> |             defined in `gnus-summary-user-date-format-alist'.
> [...]

Exactly what I needed.  Thanks, Adam!

(setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-23,23f%]%) %s on %d
")

>   Best regards,
>
>      Adam

-- 
Cheers
~vijay

Gnus should be more complicated.



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

* Re: nnimap-transform-headers crashing
  2011-08-11 13:27 nnimap-transform-headers crashing Julien Cubizolles
  2011-08-11 15:13 ` showing date in summary buffer Vijay Lakshminarayanan
@ 2011-08-11 20:30 ` Andrew Cohen
  2011-08-11 22:29   ` Julien Cubizolles
  1 sibling, 1 reply; 6+ messages in thread
From: Andrew Cohen @ 2011-08-11 20:30 UTC (permalink / raw)
  To: ding

It might not be related, but I just pushed a change that affects
nnimap-transform-headers. Give it a try and see if it helps.





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

* Re: nnimap-transform-headers crashing
  2011-08-11 20:30 ` nnimap-transform-headers crashing Andrew Cohen
@ 2011-08-11 22:29   ` Julien Cubizolles
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Cubizolles @ 2011-08-11 22:29 UTC (permalink / raw)
  To: ding

Andrew Cohen <cohen@andy.bu.edu> writes:

> It might not be related, but I just pushed a change that affects
> nnimap-transform-headers. Give it a try and see if it helps.

Thanks for you answer. I just tried it (after git pull), and I still get
the same error message. How could I identify the message causing this ?

Julien.




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

end of thread, other threads:[~2011-08-11 22:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-11 13:27 nnimap-transform-headers crashing Julien Cubizolles
2011-08-11 15:13 ` showing date in summary buffer Vijay Lakshminarayanan
2011-08-11 15:25   ` Adam Sjøgren
2011-08-11 18:12     ` Vijay Lakshminarayanan
2011-08-11 20:30 ` nnimap-transform-headers crashing Andrew Cohen
2011-08-11 22:29   ` Julien Cubizolles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).