Re: [dev] [PATCH] [sbase] printf: Avoid casts for better portability

2014-02-01 Thread FRIGN
On Sat, 1 Feb 2014 20:20:51 + sin wrote: > Would be nice! :) I did a raw run on the sbase-code with $grep -ri "printf" *.c but didn't observe more cases at first. However, I'll dig deeper and check other areas as well. Cheers FRIGN -- FRIGN

Re: [dev] [PATCH] [sbase] printf: Avoid casts for better portability

2014-02-01 Thread sin
On Fri, Jan 31, 2014 at 07:04:46PM +0100, FRIGN wrote: > Please let me know if I should check the code for more of those cases. Would be nice! :)

Re: [dev] [PATCH] [sbase] printf: Avoid casts for better portability

2014-02-01 Thread sin
On Fri, Jan 31, 2014 at 07:04:46PM +0100, FRIGN wrote: > On Fri, 31 Jan 2014 18:43:50 +0100 > FRIGN wrote: > > > Using the C99 PRIu32-macro and %zu-format-specifier increase > > portability and avoid these unnecessary casts. > > Argh, I forgot C90 didn't support the z-format-specifier. > So, we

Re: [dev] ncurses or ...

2014-02-01 Thread Charlie Kester
On Sat 01 Feb 2014 at 11:25:24 PST Silvan Jegen wrote: On Sat, Feb 01, 2014 at 09:10:02PM +0200, Dimitris Zervas wrote: I find smart autocompletion extremely useful. It gives some basic info about the function (number of args etc.) and saves a lot of keystrokes and typos. I tend to agree. Add

Re: [dev] ncurses or ...

2014-02-01 Thread Silvan Jegen
On Sat, Feb 01, 2014 at 09:10:02PM +0200, Dimitris Zervas wrote: > I find smart autocompletion extremely useful. It gives some basic > info about the function (number of args etc.) and saves a lot of > keystrokes and typos. I tend to agree. Additionally, it lends itself well to implementations th

Re: [dev] ncurses or ...

2014-02-01 Thread Dimitris Zervas
I find smart autocompletion extremely useful. It gives some basic info about the function (number of args etc.) and saves a lot of keystrokes and typos.

Re: [dev] ncurses or ...

2014-02-01 Thread sin
On Sat, Feb 01, 2014 at 07:33:54PM +0200, Dimitris Zervas wrote: > @Charlie: > The best automation in an editor for me, is autocompletion. It saves > very much time and does not brake the whole world down. Autocompletion is mostly useless.

Re: [dev] ncurses or ...

2014-02-01 Thread Dimitris Zervas
I concluded, that personally, I prefer TUI for an editor. System breaks? you have a console (does not support colors etc. but you have something). You're over SSH? you have a console. I want it to be compatible just with the few environments I use. xterm, st and minor support for ssh and tty and no

Re: [dev] ncurses or ...

2014-02-01 Thread Charlie Kester
On Fri 31 Jan 2014 at 17:11:35 PST Nick wrote: Oh, and to come in on an earlier point that was made, TUI sucks, the only good thing about it is that TUI programs tend to have better keybindings and scriptability. My two cents for this bikeshed debate: All software sucks to some degree. The p

Re: [dev] ncurses or ...

2014-02-01 Thread Silvan Jegen
On Sat, Feb 01, 2014 at 01:11:35AM +, Nick wrote: > [..] > > Oh, and to come in on an earlier point that was made, TUI sucks, the > only good thing about it is that TUI programs tend to have better > keybindings and scriptability. I would add to that their ability to be run without a displa