[Top][All Lists]

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

Re: 23.0.50; dbus

From: Thien-Thi Nguyen
Subject: Re: 23.0.50; dbus
Date: Wed, 02 Jan 2008 14:41:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

() Michael Albinus <address@hidden>
() Wed, 02 Jan 2008 13:48:05 +0100

   But this does not solve the problem in general for other
   cases, like "strcmp (SDATA ...)".

i think unless such portions of code are performance-bound,
they should be using lisp functions, such as `string=',
i.e, Fstring_equal.  when this involves making some C
strings into Lisp strings, that would be a hint that
 - there may be a useful Lisp-accessible interface
   lurking there (for a future refactoring session);
 - the code might be (someday) amenable to being

the latter part is long-term wishful thinking, but the
former part (using Fstring_equal, for instance) is worth
looking into now or whenever possible.

in summary, i think migrating away from strcmp and friends
is good for maintenance of emacs (and its programmers ;--).


reply via email to

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