Marcus Williams | 1 Apr 12:07 2008
Picon

Re: [PATCH] Fix for icon title in gnome terminal (possibly others)

On 26.3.2008, William Morgan wrote:
> Reformatted excerpts from Marcus Williams's message of 2008-03-05:
> > The escape code used for terminal titles works mostly but it doesnt
> > set the icon title as well [1], which is useful when minimised. This
> > patch makes the escape code set both window and icon title so the task
> > bar updates correctly in the gnome terminal (and probably others).
> 
> Reworked slightly (to avoid duplicating the conditional) and applied.

I couldnt figure out what you meant when you said this but I just
checked the diff that went in and that explained it... My patch
removes the old escape code line and replaces it with a single line,
but your patch prints both escape codes. You only need the one in my
patch as that does both icon and window titles, so you should be able
to have the single line:

print "\033]0;#{title}\07" if title &&  <at> in_x

... the fifth char '0' in the escape code means window AND icon (1
would be icon, 2 would be window). Not sure if you misread the patch
or if I duffed up :)

Marcus
William Morgan | 1 Apr 17:04 2008
Picon

Re: sup crashes on startup

Reformatted excerpts from Martin DeMello's message of 2008-03-28:
> --- ArgumentError from thread: main
> no name for account

What does your ~/.sup/config.yaml look like? This is complaining about
that. (Not the most obvious error, I'll admit.)

--

-- 
William <wmorgan-sup <at> masanjin.net>
William Morgan | 1 Apr 17:03 2008
Picon

Re: [PATCH] Fix for icon title in gnome terminal (possibly others)

Reformatted excerpts from Marcus Williams's message of 2008-04-01:
> Not sure if you misread the patch or if I duffed up :)

I misread the patch. Sorry about that! Should be fixed now.

--

-- 
William <wmorgan-sup <at> masanjin.net>
William Morgan | 1 Apr 17:35 2008
Picon

Re: crash while sup is sitting idle

Reformatted excerpts from Michael Gurski's message of 2008-03-28:
> After a 28+ hour sup-sync -a -o, on git head, sup sitting idle crashed
> with the following error:
> 
> --- Ferret::StateError from thread: load threads for thread-index-mode
> State Error occured at <except.c>:93 in xraise
> Error occured in index.c:4150 - sr_get_lazy_doc
>         Document 69 has already been deleted

Scary Ferret error. Any weird circumstances, like running out of disk
space? Does this happen consistently?

--

-- 
William <wmorgan-sup <at> masanjin.net>
Michael Gurski | 1 Apr 18:52 2008

Re: crash while sup is sitting idle

Excerpts from William Morgan's message of Tue Apr 01 11:35:23 -0400 2008:
> Reformatted excerpts from Michael Gurski's message of 2008-03-28:
> > After a 28+ hour sup-sync -a -o, on git head, sup sitting idle crashed
> > with the following error:
> > 
> > --- Ferret::StateError from thread: load threads for thread-index-mode
> > State Error occured at <except.c>:93 in xraise
> > Error occured in index.c:4150 - sr_get_lazy_doc
> >         Document 69 has already been deleted
> 
> Scary Ferret error. Any weird circumstances, like running out of disk
> space? Does this happen consistently?

13G free on that partition, quite a bit of memory free as well, both
real and swap.  I can more or less get it to happen consistently if I
try to load 4+ pages of unread messages at a time.  It might be more
needed now, as it's been several days since I've tried it.

--

-- 
Michael A. Gurski (opt. [first].)[last] <at> pobox.com  http://www.pobox.com/~[last]
1024R/39B5BADD PGP: 34 93 A9 94 B1 59 48 B7  17 57 1E 4E 62 56 45 70
1024D/1166213E GPG: 628F 37A4 62AF 1475 45DB  AD81 ADC9 E606 1166 213E
4096R/C0B4F04B GPG: 5B3E 75D7 43CF CF34 4042  7788 1DCE B5EE C0B4 F04B
Views expressed by the host do not reflect the staff, management or sponsors.
William Morgan | 1 Apr 19:13 2008
Picon

Re: crash while sup is sitting idle

Reformatted excerpts from Michael Gurski's message of 2008-04-01:
> 13G free on that partition, quite a bit of memory free as well, both
> real and swap.  I can more or less get it to happen consistently if I
> try to load 4+ pages of unread messages at a time.  It might be more
> needed now, as it's been several days since I've tried it.

And which git branch, master or next?

--

-- 
William <wmorgan-sup <at> masanjin.net>
Michael Gurski | 1 Apr 21:50 2008

Re: crash while sup is sitting idle

Excerpts from William Morgan's message of Tue Apr 01 13:13:23 -0400 2008:
> Reformatted excerpts from Michael Gurski's message of 2008-04-01:
> > 13G free on that partition, quite a bit of memory free as well, both
> > real and swap.  I can more or less get it to happen consistently if I
> > try to load 4+ pages of unread messages at a time.  It might be more
> > needed now, as it's been several days since I've tried it.
> 
> And which git branch, master or next?

master

--

-- 
Michael A. Gurski (opt. [first].)[last] <at> pobox.com  http://www.pobox.com/~[last]
1024R/39B5BADD PGP: 34 93 A9 94 B1 59 48 B7  17 57 1E 4E 62 56 45 70
1024D/1166213E GPG: 628F 37A4 62AF 1475 45DB  AD81 ADC9 E606 1166 213E
4096R/C0B4F04B GPG: 5B3E 75D7 43CF CF34 4042  7788 1DCE B5EE C0B4 F04B
Views expressed by the host do not reflect the staff, management or sponsors.
Christopher Warrington | 1 Apr 22:03 2008

Re: crash while sup is sitting idle


William Morgan  <at>  2008-4-01 10:35:23 AM
"[sup-talk] crash while sup is sitting idle" <mid:1207064087-sup-7567 <at> south>

>> --- Ferret::StateError from thread: load threads for thread-index-mode
>> State Error occured at <except.c>:93 in xraise
>> Error occured in index.c:4150 - sr_get_lazy_doc
>>         Document 69 has already been deleted
> Scary Ferret error. Any weird circumstances, like running out of
> disk space? Does this happen consistently?

I've had this too. A Index.index.optimize seems to fix it.

--

-- 
Christopher Warrington <chrisw@...>

Minds are like parachutes: they only function when open.
_______________________________________________
sup-talk mailing list
sup-talk@...
http://rubyforge.org/mailman/listinfo/sup-talk
Grant Hollingworth | 1 Apr 22:48 2008

[PATCH] reload label list on focus

This ensures the unread count for each label is correct.

I often read my list mail from the label list. When I close the thread index
and go back to the label list the unread message count is wrong. This bugs me.

I'm sure a less brutal way of doing this is possible with the UpdateManager
but that seems complicated and therefore prone to errors.

---
 lib/sup/modes/label-list-mode.rb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/sup/modes/label-list-mode.rb b/lib/sup/modes/label-list-mode.rb
index 514e9c4..662bb44 100644
--- a/lib/sup/modes/label-list-mode.rb
+++ b/lib/sup/modes/label-list-mode.rb
 <at>  <at>  -41,6 +41,10  <at>  <at>  protected
     buffer.mark_dirty if buffer
   end

+  def focus
+    reload # make sure counts are up-to-date
+  end
+
   def regen_text
      <at> text = []
     labels = LabelManager.listable_labels
--

-- 
1.5.4.4
(Continue reading)

Grant Hollingworth | 1 Apr 23:49 2008

Re: [PATCH] reload label list on focus

This ensures the unread count for each label is correct.

I often read my list mail from the label list. When I close the thread index
and go back to the label list the unread message count is wrong. This bugs me.

I'm sure a less brutal way of doing this is possible with the UpdateManager
but that seems complicated and therefore prone to errors.
---

Oops... last patch had focus under protected.

 lib/sup/modes/label-list-mode.rb |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/lib/sup/modes/label-list-mode.rb b/lib/sup/modes/label-list-mode.rb
index 514e9c4..132b654 100644
--- a/lib/sup/modes/label-list-mode.rb
+++ b/lib/sup/modes/label-list-mode.rb
 <at>  <at>  -29,6 +29,11  <at>  <at>  class LabelListMode < LineCursorMode
       BufferManager.flash "No labels messages with unread messages."
     end
   end
+
+  def focus
+    reload # make sure unread message counts are up-to-date
+  end
+
 protected

   def toggle_show_unread_only
(Continue reading)


Gmane