From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: Incomplete specification of narrow-to-region in the Elisp info. Date: 22 Oct 2003 00:16:01 +0200 Organization: muc.de e.V. -- private internet access Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <9cb4nb.67.ln@acm.acm> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1066774718 15980 80.91.224.253 (21 Oct 2003 22:18:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Oct 2003 22:18:38 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 22 00:18:36 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AC4pn-0007YS-00 for ; Wed, 22 Oct 2003 00:18:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AC4pg-0000US-VD for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Oct 2003 18:18:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AC4pa-0000JH-Vh for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2003 18:18:22 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AC4p2-0008OL-Cm for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2003 18:18:19 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AC4p2-0008Nn-1O for bug-gnu-emacs@gnu.org; Tue, 21 Oct 2003 18:17:48 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.24) id 1AC4kt-00075x-Tu for gnu-emacs-bug@prep.ai.mit.edu; Tue, 21 Oct 2003 18:13:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AC4oA-00088h-5p for gnu-emacs-bug@prep.ai.mit.edu; Tue, 21 Oct 2003 18:17:26 -0400 Original-Received: from [193.149.48.2] (helo=marvin.muc.de) by monty-python.gnu.org with smtp (Exim 4.24) id 1AC4o9-00088V-Mq for gnu-emacs-bug@prep.ai.mit.edu; Tue, 21 Oct 2003 18:16:53 -0400 Original-Received: (qmail 25132 invoked by uid 8); 21 Oct 2003 22:16:01 -0000 Original-To: gnu-emacs-bug@prep.ai.mit.edu Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Date: Tue, 21 Oct 2003 22:18:48 +0000 Original-Lines: 17 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1066774561 25128 193.149.49.134 (21 Oct 2003 22:16:01 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 21 Oct 2003 22:16:01 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6014 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6014 Version 2.7 of the Elisp info pages. On page "Narrowing", the description of "narrow-to-region" fails to state what is done should POINT initially be outside the specified region. There seem to be two canditates for the Right Thing: (1): Move POINT to the nearest region boundary; (2): Signal an error. Experimentation shows that (1) is done. I think this should be documented. -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").