From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#16413: 24.3.50; Inconsistent behavior of text property functions in narrowed buffer Date: Fri, 10 Jan 2014 20:05:33 -0800 Message-ID: <52D0C30D.9050305@dancol.org> References: <87mwj3fcal.fsf@nbtrap.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1389413233 31247 80.91.229.3 (11 Jan 2014 04:07:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jan 2014 04:07:13 +0000 (UTC) To: Nathan Trapuzzano , 16413@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 11 05:07:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1W1pqw-0000zh-Mt for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Jan 2014 05:07:18 +0100 Original-Received: from localhost ([::1]:60027 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1pqw-0004zZ-7U for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Jan 2014 23:07:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1pqn-0004zT-0F for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2014 23:07:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1pqg-0004nk-KL for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2014 23:07:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1pqg-0004nf-ES for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2014 23:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W1pqf-0001YJ-W3 for bug-gnu-emacs@gnu.org; Fri, 10 Jan 2014 23:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Jan 2014 04:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16413 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16413-submit@debbugs.gnu.org id=B16413.13894131965926 (code B ref 16413); Sat, 11 Jan 2014 04:07:01 +0000 Original-Received: (at 16413) by debbugs.gnu.org; 11 Jan 2014 04:06:36 +0000 Original-Received: from localhost ([127.0.0.1]:45903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W1pqG-0001XW-7p for submit@debbugs.gnu.org; Fri, 10 Jan 2014 23:06:36 -0500 Original-Received: from dancol.org ([96.126.100.184]:59478) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W1pqD-0001XL-Ho for 16413@debbugs.gnu.org; Fri, 10 Jan 2014 23:06:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=4iz2HEPvRROjuqACXxDsN7dwciqwJny2Xtgcx+swfRg=; b=gVEEuj4xKQaCToF+EtZU1hGV//UoRLuckHqNSAflXr/z8Ux9Sedze4ApMrszS0jI2SeYvr1GNsrEIlJx5QL1oipcf8K7y3xZEk8TajadowzGXZH/Lex2bpkc6DkYmEMnb7yuD8SU3cwej94QISoH4++8vXWHjBkjGRo0wvTjIO45CIEFDztC+OdiakQynIBGQgAzYZcQyzgM1kPFu/iOvbKvKh2Lj23rPuLeQZNVmhzQNUdSFIJ7ErfI9gLjCYnDauW+FKks/Lnr/tND30sIwtJntlsVzIsscap1b2t7oiddkmc6dDUC6BR10/kSfBan56kZn5s8r48OcnrThxUgPA==; Original-Received: from [173.252.71.189] (helo=[172.20.16.184]) by dancol.org with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1W1pqC-0001SI-2E; Fri, 10 Jan 2014 20:06:32 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <87mwj3fcal.fsf@nbtrap.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83267 Archived-At: On 01/10/2014 07:05 PM, Nathan Trapuzzano wrote: > The various functions for examining text properties behave unintuitively > and incosistently at (point-max) on narrowed buffers. Rather than > returning `nil', they return the prop(s) of the text at (point-max), > even though the text is not actually visible in the buffer, due to > narrowing. By contrast, `char-after' always returns `nil' when passed > (point-max). It seems to me the text property functions should also > return `nil', as they do at (eobp) on widened buffers. I agree that this behavior is unintuitive, but I wonder whether we can fix this bug without breaking existing elisp.