From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.bugs Subject: bug#3400: bug in add-text-properties Date: Fri, 29 May 2009 09:00:50 +0200 (CEST) Message-ID: <20090529.090050.266105248.wl@gnu.org> References: <20090528.234833.147211632.wl@gnu.org> Reply-To: Werner LEMBERG , 3400@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243600656 13443 80.91.229.12 (29 May 2009 12:37:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 May 2009 12:37:36 +0000 (UTC) Cc: 3400@emacsbugs.donarmstrong.com To: monnier@iro.umontreal.ca Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 29 14:37:32 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MA1L1-0008Rf-5q for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 14:37:31 +0200 Original-Received: from localhost ([127.0.0.1]:42200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA1L0-0001bC-A8 for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 08:37:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MA1Kv-0001Zs-2N for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 08:37:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MA1Kq-0001UT-J1 for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 08:37:24 -0400 Original-Received: from [199.232.76.173] (port=48907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA1Kq-0001U7-Af for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 08:37:20 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45886) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MA1Kp-0006zA-EM for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 08:37:19 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4TCbHlO015804; Fri, 29 May 2009 05:37:17 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4TCK4EU012966; Fri, 29 May 2009 05:20:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Werner LEMBERG Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 29 May 2009 12:20:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3400 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3400-submit@emacsbugs.donarmstrong.com id=B3400.124359926912168 (code B ref 3400); Fri, 29 May 2009 12:20:04 +0000 Original-Received: (at 3400) by emacsbugs.donarmstrong.com; 29 May 2009 12:14:29 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n4TCEN6i012160 for <3400@emacsbugs.donarmstrong.com>; Fri, 29 May 2009 05:14:25 -0700 Original-Received: (qmail invoked by alias); 29 May 2009 12:14:16 -0000 Original-Received: from 77.119.181.146.wireless.dyn.drei.com (EHLO localhost) [77.119.181.146] by mail.gmx.net (mp011) with SMTP; 29 May 2009 14:14:16 +0200 X-Authenticated: #54312696 X-Provags-ID: V01U2FsdGVkX1+muIRPV/imxAYdhypdAeA/wH/F4Gdab6bjaB4owL 8T1iLt1+w+iwgq In-Reply-To: X-Mailer: Mew version 6.2.51 on Emacs 23.0.93.1 / Mule 6.0 (HANACHIRUSATO) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 29 May 2009 08:37:24 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28283 Archived-At: > Point is at position 1 (i.e. just before the char "1" rather than > before the char "A"), so it makes sense for C-h = to return data > about that position rather than about some other position one line > down. I disagree. Whereever point is, it should report the character after point which is accessible (this is, visible). Perhaps it makes sense to add a red warning message in the output of `C-x =' that point is not located right before the displayed character. If we had a small line instead of a blinking, block-like cursor (as it is used with, say, OpenOffice), I could accept your argumentation. But the visual effect is overwhelming, and it is extremely confusing if the optical appearance differs so much from the `theoretical' result. >> Actually, there is no way to retrieve information from `A' at all. > > Your `intangible' span basically requests "12345\nA" to be treated > as one indivisible entity, so it's indeed difficult to get info > about most of those individual chars. Hmm. IMHO, the same argumentation as above holds. > if you're not 200% sure you absolutely need `intangible', then don't > use it. It's a nasty beast. Indeed. But for my particular needs -- filtering out some lines, then searching and editing the visible ones only without accidentally editing invisible stuff, it seems that `intangible' is still necessary, and probably will stay so. Werner