From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.devel Subject: Re: On being web-friendly and why info must die Date: Fri, 12 Dec 2014 16:24:05 +0000 (UTC) Message-ID: References: <20141205123549.GA29331@thyrsus.com> <87ppbqb6s1.fsf@gnu.org> <87h9x2f9me.fsf@fencepost.gnu.org> <87a92uf8ik.fsf@fencepost.gnu.org> <8761dif6ib.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1418401481 2477 80.91.229.3 (12 Dec 2014 16:24:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Dec 2014 16:24:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 12 17:24:35 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzT17-0000B9-K7 for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 17:24:33 +0100 Original-Received: from localhost ([::1]:58128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzT17-00044m-1m for ged-emacs-devel@m.gmane.org; Fri, 12 Dec 2014 11:24:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzT0x-00042l-9y for emacs-devel@gnu.org; Fri, 12 Dec 2014 11:24:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzT0q-0002hv-8B for emacs-devel@gnu.org; Fri, 12 Dec 2014 11:24:23 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:47214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzT0q-0002hk-1u for emacs-devel@gnu.org; Fri, 12 Dec 2014 11:24:16 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XzT0p-00083t-2G for emacs-devel@gnu.org; Fri, 12 Dec 2014 17:24:15 +0100 Original-Received: from 212-40-87-32.pool.digikabel.hu ([212.40.87.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2014 17:24:15 +0100 Original-Received: from adatgyujto by 212-40-87-32.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2014 17:24:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 212.40.87.32 (Mozilla/5.0 (Windows NT 6.1; rv:34.0) Gecko/20100101 Firefox/34.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179934 Archived-At: Lennart Borgman gmail.com> writes: > > Yes, without a search engine you can't search the html pages. (Or, you > could build an index in JavaScript, but that is a very tough job if > you want to do something useful.) > With JS libraries, it's not that hard. As a test I created a simple page to search the Emacs concept index. Just type in the textbox something emacs related, the completions appear and if you select one then it takes you to the relevant page of the emacs manual: http://emacstest.byethost12.com/ The effective code which I wrote for this is about 4 lines (aside from the index entries array, but I just generated that).