Re: Supporting readline editing in Mutt entry fields

2013-02-19 Thread Suvayu Ali
Hi Michael and David, On Mon, Feb 18, 2013 at 06:34:05PM +, Michael Elkins wrote: It has been a very long time since I looked at readline, but the time the problem was that readline wants control of drawing on the screen, which conflicts with mutt's use of the curses library. readline is

Re: Supporting readline editing in Mutt entry fields

2013-02-19 Thread Michael Elkins
If are interested in it as a programming exercise, I would recommend trying to add functionality that is missing in mutt's line editor rather than trying to fiddle with readline. But if you did find a way for them to coexist, I'd be interested in the result as well.

Re: Supporting readline editing in Mutt entry fields

2013-02-19 Thread Suvayu Ali
Hi Michael, On Tue, Feb 19, 2013 at 06:57:41PM +, Michael Elkins wrote: If are interested in it as a programming exercise, I would recommend trying to add functionality that is missing in mutt's line editor rather than trying to fiddle with readline. But if you did find a way for them to

Re: Supporting readline editing in Mutt entry fields

2013-02-19 Thread Andre Klärner
Hi Suvayu, On Tue, Feb 19, 2013 at 09:46:25PM +0100, Suvayu Ali wrote: On Tue, Feb 19, 2013 at 06:57:41PM +, Michael Elkins wrote: If are interested in it as a programming exercise, I would recommend trying to fiddle with readline. But if you did find a way for them to coexist, I'd

Re: Supporting readline editing in Mutt entry fields

2013-02-19 Thread Suvayu Ali
Hi Andre, On Wed, Feb 20, 2013 at 01:14:45AM +0100, Andre Klärner wrote: Hi Suvayu, On Tue, Feb 19, 2013 at 09:46:25PM +0100, Suvayu Ali wrote: On Tue, Feb 19, 2013 at 06:57:41PM +, Michael Elkins wrote: If are interested in it as a programming exercise, I would recommend trying

Supporting readline editing in Mutt entry fields

2013-02-18 Thread Suvayu Ali
Hi, As far as I can tell, full readline editing features are not supported in Mutt entry fields (I know there is some basic support, but not everything). So I would like to try my hand at writing a patch to use readline. I looked at the source but felt rather lost, so I was hoping someone here

Re: Supporting readline editing in Mutt entry fields

2013-02-18 Thread Michael Elkins
It has been a very long time since I looked at readline, but the time the problem was that readline wants control of drawing on the screen, which conflicts with mutt's use of the curses library. readline is more for line-oriented input than entire screen-oriented applications. You'd also