From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B Date: Fri, 11 Jan 2013 13:50:00 -0500 Message-ID: References: <50EE7BE5.2060806@gmx.at> <83hamohmtj.fsf@gnu.org> <50EFCA6D.7090702@gmx.at> <83ip74ume7.fsf@gnu.org> <50EFE99A.5070508@gmx.at> <838v80ugv1.fsf@gnu.org> <50F021EC.4040107@gmx.at> <50F054A0.2040606@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357930260 29956 80.91.229.3 (11 Jan 2013 18:51:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2013 18:51:00 +0000 (UTC) Cc: 13399@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 11 19:51:18 2013 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 1TtjhE-00015W-NZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2013 19:51:16 +0100 Original-Received: from localhost ([::1]:59449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttjgy-00058H-MW for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2013 13:51:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttjgu-00056s-8L for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2013 13:50:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ttjgs-00058n-I5 for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2013 13:50:56 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttjgs-00058h-Ec for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2013 13:50:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ttjh0-0003JB-2U for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2013 13:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Jan 2013 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13399 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13399-submit@debbugs.gnu.org id=B13399.135793021712659 (code B ref 13399); Fri, 11 Jan 2013 18:51:02 +0000 Original-Received: (at 13399) by debbugs.gnu.org; 11 Jan 2013 18:50:17 +0000 Original-Received: from localhost ([127.0.0.1]:55806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TtjgH-0003I8-4o for submit@debbugs.gnu.org; Fri, 11 Jan 2013 13:50:17 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:6587) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TtjgE-0003Hw-RJ for 13399@debbugs.gnu.org; Fri, 11 Jan 2013 13:50:15 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoHAG6Zu09MCpYP/2dsb2JhbABEgXuuTYNJgQiCFQEBBAFWIwULCzQSFBgNJIgcBboJkEQDiEKacYFYgwc X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212317594" Original-Received: from 76-10-150-15.dsl.teksavvy.com (HELO pastel.home) ([76.10.150.15]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Jan 2013 13:50:01 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 7F7E15943D; Fri, 11 Jan 2013 13:50:00 -0500 (EST) In-Reply-To: <50F054A0.2040606@gmx.at> (martin rudalics's message of "Fri, 11 Jan 2013 19:06:24 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:69621 Archived-At: >> In the case of the mouse-face property that means you can use (list >> 'my-face) on the chunk you want to make sure it's not `eq' to an >> adjacent chunk. > Good to know that trick (undocumented I presume). Maybe it's documented somewhere, but at least the doc of the `mouse-face' text property doesn't mention how boundaries are determined, indeed. >> W.r.t. functions that return the pixel width/height of a string, I guess >> you'd presume that the string would be displayed at the leftmost >> position on a line, since the width/height of a string will depend on >> where it's displayed in the window (which affects the width of TAB >> chars, and the placement of line wraps). > Yes. In my use case the buffer has no newline. Does the absence of newline make a difference to the problem? > How could `posn-at-point' possibly work if the display is not up to > date? Actually, it does not require the display to be up-to-date, only the glyph-matrices. > And what I want to avoid is the redisplay. You should be able to update the glyph-matrices without causing the display to immediately reflect the changes. E.g. window-end with a non-nil `update' argument should do that, IIUC. Stefan