From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.27.4 with SMTP id a4cs108971aga; Mon, 16 Nov 2009 02:00:03 -0800 (PST) Received: by 10.224.64.162 with SMTP id e34mr4657284qai.150.1258365602212; Mon, 16 Nov 2009 02:00:02 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 38si11010043qyk.119.2009.11.16.02.00.02; Mon, 16 Nov 2009 02:00:02 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 5F09F1598074; Mon, 16 Nov 2009 05:00:00 -0500 (EST) X-Greylist: delayed 901 seconds by postgrey-1.31 at rubyforge.org; Mon, 16 Nov 2009 04:59:07 EST Received: from iti.cs.uni-magdeburg.de (iti.cs.uni-magdeburg.de [141.44.26.1]) by rubyforge.org (Postfix) with ESMTP id F0E231858307 for ; Mon, 16 Nov 2009 04:59:07 -0500 (EST) Received: from pc44es141 (pc44es141.cs.uni-magdeburg.de [141.44.32.169]) (authenticated bits=0) by iti.cs.uni-magdeburg.de (8.13.8/8.13.8/Sendmail) with ESMTP id nAG9gLff029383 for ; Mon, 16 Nov 2009 10:42:22 +0100 (MET) From: Matthias Guedemann To: sup-talk In-reply-to: <1258045702-sup-9760@pimlott.net> References: <1257409101-sup-7780@pc44es141.cs.uni-magdeburg.de> <1258045702-sup-9760@pimlott.net> Date: Mon, 16 Nov 2009 10:42:18 +0100 Message-Id: <1258363822-sup-5470@pc44es141.cs.uni-magdeburg.de> User-Agent: Sup/git Subject: Re: [sup-talk] Problems with undo archive and thread focus X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Hi Andrew, > The patch is appended. (This is the first time I've done this with git.) thanks, works perfectly. > That's the next most annying thing for me. Hope to get a chance to work > on it. I had a look at the code and it should not be too hard, basically when a reply buffer is spawned (e.g. thread-view-mode line 168), a hook to call set_sursor_pos 0 (as ThreadViewMode is a subclass of LineCursorMode) after successful sending of the reply should do the job. But unfortunately I don't know too much about the inner workings of sup (can the HookManager be used for this? or should the hook be supplied as attribute to the reply-buffer?), or even Ruby, to do it at the moment. best regards Matthias -- __________________________________________________________ ___ __ __ Dipl. Inf. Matthias Guedemann / __\/ _\ /__\ Computer Systems in Engineering / / \ \ /_\ Otto-von-Guericke Universitaet Magdeburg / /___ _\ \//__ Tel.: 0391 / 67-19359 \____/ \__/\__/ __________________________________________________________ _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk