Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Matthias Guedemann <matthias.guedemann@ovgu.de>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Problems with undo archive and thread focus
Date: Mon, 16 Nov 2009 10:42:18 +0100	[thread overview]
Message-ID: <1258363822-sup-5470@pc44es141.cs.uni-magdeburg.de> (raw)
In-Reply-To: <1258045702-sup-9760@pimlott.net>


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


  reply	other threads:[~2009-11-16 10:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-05  8:27 Matthias Guedemann
2009-11-12 17:30 ` Andrew Pimlott
2009-11-16  9:42   ` Matthias Guedemann [this message]
2009-11-20  4:51   ` Rich Lane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1258363822-sup-5470@pc44es141.cs.uni-magdeburg.de \
    --to=matthias.guedemann@ovgu.de \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox