all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Keith David Bershatsky <esq@lawlist.com>
To: "Jan D." <jan.h.d@swipnet.se>
Cc: 20537@debbugs.gnu.org
Subject: bug#20537: 25.0.50; `compose-string-internal` does not work properly on OSX.
Date: Tue, 12 May 2015 01:40:54 -0700	[thread overview]
Message-ID: <m27fse6ve1.wl%esq@lawlist.com> (raw)
In-Reply-To: <m2d229wqrg.wl%esq@lawlist.com>

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 <esq@lawlist.com>:
> > 
> > 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





      parent reply	other threads:[~2015-05-12  8:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-09 18:27 bug#20537: 25.0.50; `compose-string-internal` does not work properly on OSX Keith David Bershatsky
2015-05-09 18:52 ` Eli Zaretskii
2015-05-09 19:25 ` Keith David Bershatsky
2015-05-10 17:34 ` Jan D.
2015-05-12  8:40 ` Keith David Bershatsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m27fse6ve1.wl%esq@lawlist.com \
    --to=esq@lawlist.com \
    --cc=20537@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.