From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: generic buffer parsing cache data Date: Sun, 01 Jul 2007 16:40:17 -0400 Message-ID: References: <200707010038.23072.pogonyshev@gmx.net> <200707011516.31959.pogonyshev@gmx.net> <4687A040.8030808@gmx.at> <200707011641.58414.pogonyshev@gmx.net> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1183322654 7185 80.91.229.12 (1 Jul 2007 20:44:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 1 Jul 2007 20:44:14 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Paul Pogonyshev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 01 22:44:13 2007 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I56HC-0002oV-20 for ged-emacs-devel@m.gmane.org; Sun, 01 Jul 2007 22:44:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I56HB-0006wN-Ju for ged-emacs-devel@m.gmane.org; Sun, 01 Jul 2007 16:44:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I56DU-00071j-7q for emacs-devel@gnu.org; Sun, 01 Jul 2007 16:40:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I56DS-0006xI-JM for emacs-devel@gnu.org; Sun, 01 Jul 2007 16:40:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I56DS-0006wt-3r for emacs-devel@gnu.org; Sun, 01 Jul 2007 16:40:18 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I56DR-0005Jz-Pl for emacs-devel@gnu.org; Sun, 01 Jul 2007 16:40:17 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1I56DR-0006bx-FZ; Sun, 01 Jul 2007 16:40:17 -0400 In-reply-to: <200707011641.58414.pogonyshev@gmx.net> (message from Paul Pogonyshev on Sun, 1 Jul 2007 16:41:58 +0300) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:74148 Archived-At: For instance, something like this: Function: put-cache-data key data &optional pos ... This is a clean interface for a totally new feature, but is it a feasible feature? Does anyone know of an efficient algorithm to implemented the proposed feature? It seems like a hard problem to me. Thus, I would suggest looking for a way to extend the existing feature, one that is straightforward to implement. The challenge here is to find such an extension that would be useful in various modes to speed up parsing.