Re: [PATCH] mbswidth: add new functions to handle tabs

2010-01-13 Thread Joel E. Denny
Hi Bruno, Thanks for your response. On Thu, 14 Jan 2010, Bruno Haible wrote: > This functionality is not yet in gnulib. But I don't think it's general > enough: Today you want to support tabs. Tomorrow you'll want to support > line numbers and '\v' characters. Next week someone will want to supp

Re: [PATCH] mbswidth: add new functions to handle tabs

2010-01-13 Thread Bruno Haible
Hi Joel, > a wrapper around mbsnwidth to compute screen columns while accounting > for tabs. > ... > Does this duplicate any functionality already offered in > gnulib? Is it general enough for gnulib? This functionality is not yet in gnulib. But I don't think it's general enough: Today you want

[PATCH] mbswidth: add new functions to handle tabs

2010-01-11 Thread Joel E. Denny
a43 Mon Sep 17 00:00:00 2001 From: Joel E. Denny Date: Mon, 11 Jan 2010 20:31:44 -0500 Subject: [PATCH] mbswidth: add new functions to handle tabs Generalized from code originally written by Paul Eggert for GNU Bison. * lib/mbswidth.c (add_column_width): New static inline function. (mbstwidth)