From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.96.142.65 with SMTP id ru1csp164029qdb; Mon, 31 Mar 2014 21:13:51 -0700 (PDT) X-Received: by 10.194.48.100 with SMTP id k4mr10673380wjn.49.1396325631054; Mon, 31 Mar 2014 21:13:51 -0700 (PDT) Return-Path: Received: from mr.tuwien.ac.at (mr1.kom.tuwien.ac.at. [128.130.2.109]) by mx.google.com with ESMTPS id p8si25915492eew.186.2014.03.31.21.13.50 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 31 Mar 2014 21:13:50 -0700 (PDT) Received-SPF: pass (google.com: domain of mbaehr@email.archlab.tuwien.ac.at designates 128.130.2.109 as permitted sender) client-ip=128.130.2.109; Authentication-Results: mx.google.com; spf=pass (google.com: domain of mbaehr@email.archlab.tuwien.ac.at designates 128.130.2.109 as permitted sender) smtp.mail=mbaehr@email.archlab.tuwien.ac.at Received: from email.archlab.tuwien.ac.at (email.archlab.tuwien.ac.at [128.131.118.17]) by mr.tuwien.ac.at (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id s314Dnra005083 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Tue, 1 Apr 2014 06:13:49 +0200 Received: from mbaehr by email.archlab.tuwien.ac.at with local (Exim 4.72) (envelope-from ) id 1WUq52-0001Im-Dr; Tue, 01 Apr 2014 06:13:44 +0200 Date: Tue, 01 Apr 2014 06:13:44 +0200 From: =?utf-8?q?Martin_B=C3=A4hr?= To: Gaute Hope Cc: sup-devel Message-ID: <1396324522-sup-8837@email.archlab.tuwien.ac.at> In-Reply-To: <1396267373-sup-7639@qwerzila> References: <1396168444-sup-8010@email.archlab.tuwien.ac.at> <1396267373-sup-7639@qwerzila> Subject: Re: [sup-devel] use-mail branch and other work Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable User-Agent: Sup/git X-Virus-Scanned: by amavisd-new Excerpts from Gaute Hope's message of 2014-03-31 14:09:56 +0200: > > add support for a "new" state that is different from unread. > Perhaps you followed the discussion with Ico / Zevv on irc? There might= > be a solution together with the proposed hooks in #276, or are you > looking for something more integrated? new state operates on the thread-index. a message is new if it has not been seen in an index. if i have read the cubject-line and decided that i don't want to read thi= s thread, then at that point it is no longer new. (of course if i do read i= t, it is also no longer new) i have this mostly working in https://github.com/eMBee/sup/commit/9debc5be804f6dc38cc9d4a14d5eead0337b1= e22 since we don't have a ruby mind-reader gem, i am currently using @ refres= h to clear the new state. other options could be to detect when the cursor is scrolled over a message, or when the buffer is closed or hidden when i sw= itch to another buffer. initially i cleared the new state when the thread-index was loaded, but t= hat meant i could not see what was actually new, so i switched it to refresh.= > Some of these might be harder to do with sup since we don't keep an > adress book. for another idea that i have in mind, this is something i'd like to chang= e. > > i'd like to treat saved searches as virtual folders. they should = be in a > > combined list with labels, and i'd like to be able to open them by = typing the > > name in the search prompt. > > You can presse enter after searching to get a list, but I agree, it > could be a streamlined way to do these things. that's what i do now, i hardwired \+enter as the key-sequence to get the = list. but it means i have to deal with two lists, which is not wrong, but a mer= ged list would be nice as a 3rd option. > This is great, if you are interested I could set you up as an > contributor on the github organization and you could push your changes > to the use-mail branch. With your changes and especially if we get > crypto working on Mail I would switch completely as well. let me work on my own repo for a while, as i am quite new to ruby, learni= ng it as i go along, so i don't feel confident to make commits without anyone reviewing them. (actually, i think, if at all possible any commit to a pr= oject should be reviewed by at least one other person) but thanks for the offer. i am sure in time we'll see whether my work is good enough. greetings, martin. -- = eKita - the online platform for your entire academic = life hackerspace beijing - http://qike.= info -- = chief engineer eKit= a.co pike programmer pike.lysator.liu.se caudium.net societyserver= .org BLUG secretary beijinglug= .org foresight developer foresightlinux.org realss= .com unix sysadmin Martin B=C3=A4hr working in china http://societyserver.or= g/mbaehr/