From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#20537: 25.0.50; `compose-string-internal` does not work properly on OSX. Date: Tue, 12 May 2015 01:40:54 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1431420145 14593 80.91.229.3 (12 May 2015 08:42:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2015 08:42:25 +0000 (UTC) Cc: 20537@debbugs.gnu.org To: "Jan D." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 12 10:42:14 2015 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 1Ys5lU-00005C-TA for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2015 10:42:13 +0200 Original-Received: from localhost ([::1]:41502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys5lU-0004WE-8t for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2015 04:42:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys5lQ-0004W7-BI for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 04:42:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ys5lL-0008Qr-5S for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 04:42:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ys5lK-0008Qa-SW for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 04:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ys5lK-0005hr-7c for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 04:42:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 May 2015 08:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20537 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20537-submit@debbugs.gnu.org id=B20537.143142006621863 (code B ref 20537); Tue, 12 May 2015 08:42:02 +0000 Original-Received: (at 20537) by debbugs.gnu.org; 12 May 2015 08:41:06 +0000 Original-Received: from localhost ([127.0.0.1]:41606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys5kP-0005gY-Dm for submit@debbugs.gnu.org; Tue, 12 May 2015 04:41:05 -0400 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:40916) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys5kL-0005ft-6r for 20537@debbugs.gnu.org; Tue, 12 May 2015 04:41:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date; bh=K0R24/fsRmgNhbs9iI2hKeeSGwAdB20uOqChiGkJGB8=; b=bD6ZrKdfnLe2ZsHcLlu2z44OOuvagf4ZJ5C4jrrA/ZJalNhAN9ibRQ6+yvrYxZE68yhJQm5IFk75ZP/3XU+L6caeXH7UG9H8iKWUjiNEfvfTJT4DaOfQPMGPVxG69kqf; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:50011 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1Ys5kD-00049r-V2; Tue, 12 May 2015 04:40:54 -0400 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: acl_c_relayhosts_text_entry: lawlist|lawlist.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:102692 Archived-At: I was not able to get this `test-fn` example to work using the latest Emacs Trunk built early in the morning on May 12, 2015. The echo area should display the capital letter A with a vertical pipe running through the very center of the letter; however, the pipe is not even visible -- just the letter A appears in the echo area. I am using OSX Snow Leopard 10.6.8: GNU Emacs 25.0.50.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549)) of 2015-05-12 on server.local Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Sun, 10 May 2015 19:34:01 +0200, Jan D. wrote: > > Fixed in trunk. > > Jan D. > > > 9 maj 2015 kl. 20:27 skrev Keith David Bershatsky : > > > > The function `compose-string-internal` does not work properly when running Emacs built on OSX. The following example works on Windows, but not OSX -- it "should be" the letter A with a pipe running through the center of the letter A. Depending upon the arguments passed to `compose-string-internal` when using Emacs on OSX, the pipe is either displayed to the right (at various distances) or is not visible at all -- it never displays "on top of" the target character. > > > > (defun test-fn () > > (interactive) > > (message (compose-string-internal "A|" 0 (length "A|")))) > > > > And here is another version of the same concept using `compose-chars`, which uses `compose-string-internal`. > > > > (defun test-fn () > > (interactive) > > (message (compose-chars (string-to-char "A") '(tc . tc) (string-to-char "|")))) > > > > Thanks, > > > > Keith