bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening a can of worms: a readline gnulib module?


From: Simon Josefsson
Subject: Re: Opening a can of worms: a readline gnulib module?
Date: Thu, 11 Aug 2005 16:54:15 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Sam Steingold <address@hidden> writes:

>> * Simon Josefsson <address@hidden> [2005-07-16 22:30:27 +0200]:
>>
>>      * readline.m4: New file.
>
> please take a look at
> http://cvs.sourceforge.net/viewcvs.py/*checkout*/clisp/clisp/src/m4/readline.m4

Is there a particular part of that file which is applicable here?  The
tests for various "modern" functions in readline aren't useful here,
since the gnulib "readline" module only claim to make the readline
function available.  So if your application need
rl_filename_completion_function, this gnulib module is not for you.
(Unless you improve the gnulib readline.c, that is...)  In readline.c
there is a comment:

/* This module is intended to be used when the application only need
   the readline interface.  If you need more functions from the
   readline library, it is recommended to require the readline library
   (or improve this module) rather than #if-protect part of your
   application (doing so would add assumptions of this module into
   your application).  The application should use #include
   "readline.h", that header file will include <readline/readline.h>
   if the real library is present on the system. */

Thanks,
Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]