Code Monkey home page Code Monkey logo

Comments (5)

pazz avatar pazz commented on August 26, 2024

I'm not sure what you mean here. instead of

timestamp (1) subject
timestamp (15) subject

you would like to see

timestamp  (1) subject
timestamp (15) subject

?
This sounds really easy to to but is in fact really difficult w/o collumns:
The reason is that for the search to be usable, it only reads the threads that actually get displayed.
so It doesn't know the maximal number of mails contained in its thread. Therefore, you can't
fix the length of the message count to align them nicely: If you chose length 2 and
force it with sth like "%2d" % num, and suddenly a thread with 200 mails gets displayed..
also, setting the length to 4, assuming no thread will contain more than 9999 mails might waste
screenspace in most cases.

Letting the user fix this as a config option? I don't think so: it only shifts responsibility.

from alot.

0x64746b avatar 0x64746b commented on August 26, 2024

you would like to see [...]

yes

it only reads the threads that actually get displayed.
so It doesn't know the maximal number of mails contained in its thread. Therefore, you can't
fix the length of the message count to align them nicely
also, setting the length to 4, assuming no thread will contain more than 9999 mails might waste
screenspace in most cases.

yes, I expected something like that

is in fact really difficult w/o collumns

actually, I find the idea of a column based layout more and more appealing. What's ur position on that?
Certainly wouldn't qualify as a small fix, but as a long term goal? U think that's desirable?

Letting the user fix this as a config option? I don't think so: it only shifts responsibility.

<3

from alot.

pazz avatar pazz commented on August 26, 2024

generally a nice idea. I haven't used a table widget with urwid so far.

from alot.

0x64746b avatar 0x64746b commented on August 26, 2024

If I find some time, I'd love to scribble together a very basic stand alone prototype. Won't manage before tuesday at best, so, if u r bored, ... ;)

from alot.

pazz avatar pazz commented on August 26, 2024

Tuesday 25/08/2011? I'm status you've missed that by a few years now :-)
So since obviously this hasn't been missed I'm closing this issue as wontfix.
cheers

from alot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.