Bug 138865

Summary: Optionally apply "s/teh/the" type messages to preceding line by issuing user
Product: [Applications] konversation Reporter: hollywoodb <hollywoodb>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: hein
Priority: NOR    
Version: 1.0.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description hollywoodb 2006-12-16 02:41:44 UTC
Version:           1.0.1 (using KDE KDE 3.5.4)
OS:                Linux

I'd like input on this, and perhaps make an option in coming versions of Konversation if it isn't difficult to implement properly.

Example:
<hb> so for example I make a typo in a sentnce
<hb> s/sentnce/sentence/

Would be interesting in that case that Konvi "repairs" hb's previous statement in a sed-like fashion, without printing a new line. So the above example would change from the way it looks above to:

<hb> so for example I make a typo in a sentence
<hb> s/sentnce/sentence/

Changed unobtrusively in place.  One potential problem I see is that someone mistypes something so terribly that the replacement lengthens a line enough to affect where it wraps to the next line.
Comment 1 Eike Hein 2006-12-16 02:46:37 UTC
> I'd like input on this

Pretty gimmicky and not something that will ever end up in the core application -- it may eventually possible with a plugin/script, but the required interfaces are pending, and even of low priority (compared to other scripting hooks). I.e. right now it's not feasible and won't be for a fairly long time (unless people magically show up to work on it, that is).
Comment 2 illogic-al 2006-12-19 14:52:49 UTC
Eike, would this even be useful beyond the users display? IRC chatter once displayed server-side can't be retrieved and fixed, so this would only update on the users display, if implemented. 
Comment 3 Eike Hein 2006-12-19 15:45:47 UTC
Yes, this would only be user-side, which I assume the reporter is aware of and wants.