From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: On being web-friendly and why info must die Date: Sun, 14 Dec 2014 23:53:05 +0700 Message-ID: References: <20141205123549.GA29331@thyrsus.com> <87ppbqb6s1.fsf@gnu.org> <87388mme16.fsf@newcastle.ac.uk> <87a92u86wv.fsf@gnu.org> <87d27oliue.fsf@gnu.org> <87vblfobxx.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1418576016 8588 80.91.229.3 (14 Dec 2014 16:53:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Dec 2014 16:53:36 +0000 (UTC) Cc: Eric Raymond , =?UTF-8?Q?Ludovic_Court=C3=A8s?= , phillip.lord@newcastle.ac.uk, Richard Stallman , Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 14 17:53:30 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 1Y0CQA-0004aP-QD for ged-emacs-devel@m.gmane.org; Sun, 14 Dec 2014 17:53:27 +0100 Original-Received: from localhost ([::1]:36467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0CQ8-0005jk-EH for ged-emacs-devel@m.gmane.org; Sun, 14 Dec 2014 11:53:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0CPv-0005jf-Ok for emacs-devel@gnu.org; Sun, 14 Dec 2014 11:53:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0CPu-0001Sl-Ot for emacs-devel@gnu.org; Sun, 14 Dec 2014 11:53:11 -0500 Original-Received: from mail-ig0-x231.google.com ([2607:f8b0:4001:c05::231]:46672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0CPq-0001S0-So; Sun, 14 Dec 2014 11:53:06 -0500 Original-Received: by mail-ig0-f177.google.com with SMTP id z20so3938246igj.4 for ; Sun, 14 Dec 2014 08:53:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=h2hDccYH71YlLDmha9WJVRjyJhIK504VtKqk3g8Konw=; b=q6ixvys1jSXidbHoC1ZsIWodBI41eYnoEjRz31V+Kfsl4371e9O/haS2Blkid9Vw1X 5sh0iNlCSQa606AJBGqgGkBk2JC9nipauvhygoR5NvYFZkF2eBnbQzSj5CT2X8G5nxvf hw3RT0aCHLyqMXeTBrax45b7LnHKRohTZ0+8Qn0kM1ADZvTbQAzDbEj0ac242v8lNdA8 k1QwRkhWU0RlS5cd92x63TYat2IvlSspLK1/dM5taQt07evmAOiKboVN/t8TMEUSr58i a7D9Eu1qCyc5IRlqqWsS7IwyEvFYRp/xKpMu9i50nAj+aDleiqCSi9cOAIo8R8v/i2PL DAHg== X-Received: by 10.50.79.232 with SMTP id m8mr14271685igx.11.1418575985820; Sun, 14 Dec 2014 08:53:05 -0800 (PST) Original-Received: by 10.107.48.82 with HTTP; Sun, 14 Dec 2014 08:53:05 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: eCTb6Maq5_B1ufdtyQ8CrfEMNx0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::231 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:180092 Archived-At: On Sun, Dec 14, 2014 at 7:40 PM, Stefan Monnier wrote: > I don't think that's interesting. A more interesting URL is one that > works both as a reference to locally-installed manuals and as > a reference to some remote manual (when not available locally). There is a precedent for that. In XML processing, a schema or a DTD is typically identified by an http:// URL. Fetching that URL typically gets you the relevant schema or DTD. E.g. any XHTML 1.0 document contains a DTD declaration referring to one of http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd, http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd or http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd. However, it is not really expected that applications that process such documents actually fetch those URLs. Instead, they are treated as well-known URLs, their content installed in a file on the local file system and the URL-to-file correspondence registered in a system-wide map called the XML Catalog. It should be possible to adopt a convention that manuals can be packaged, installed on the local system and registered in a system-wide or user-specific catalogs, and build info browsers that, given a node URL, first look up if the corresponding manual is installed locally, and if not, fetch the content from the web. Different versions of the manuals could be assigned different base URLs. E.g. Python manuals start at https://docs.python.org//library/ where can be an exact major.minor version number (2.6, 2.7, 3.2, 3.3, 3.4, 3.5) or a major-only version (2, 3) pointing to the current stable release of that major version. The implicit idea is that local content is an identical cache copy of the remote content. However it doesn=E2=80=99t have to be. Local content mi= ght be in a different format or medium more suitable for local use, or localized into a different language. The same mechanism could be used to give the user a means to override remote client-side code with a local version.