From debbugs-submit-bounces@debbugs.gnu.org Sat May 09 14:27:34 2015 Received: (at submit) by debbugs.gnu.org; 9 May 2015 18:27:34 +0000 Received: from localhost ([127.0.0.1]:39678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yr9TJ-0003jC-KS for submit@debbugs.gnu.org; Sat, 09 May 2015 14:27:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57762) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yr9TG-0003iz-Tu for submit@debbugs.gnu.org; Sat, 09 May 2015 14:27:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yr9TA-0005Pe-BR for submit@debbugs.gnu.org; Sat, 09 May 2015 14:27:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:48387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yr9TA-0005PY-8D for submit@debbugs.gnu.org; Sat, 09 May 2015 14:27:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yr9T8-00044g-MC for bug-gnu-emacs@gnu.org; Sat, 09 May 2015 14:27:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yr9T3-0005OT-KU for bug-gnu-emacs@gnu.org; Sat, 09 May 2015 14:27:22 -0400 Received: from cobb.liquidweb.com ([50.28.13.150]:55800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yr9T3-0005OD-CA for bug-gnu-emacs@gnu.org; Sat, 09 May 2015 14:27:17 -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:To:From:Message-ID:Date; bh=0EwY2GpmfFCbPfrI40PBIYhlcB4loYDzXxqBmSep8bI=; b=3aXNFpSd2x+5zJkMwoOvZTdX1N6oaPxI65keFGryq1B3+BrMPLQoxc8MmHE3LxHL6cnKBq+TEkywweJH2P831+j/L/hM9iSqBpKW7aLdLktviJv6Q3x0gyAXQmkY3lOg; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:51305 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1Yr9Sz-0000Py-VT for bug-gnu-emacs@gnu.org; Sat, 09 May 2015 14:27:14 -0400 Date: Sat, 09 May 2015 11:27:15 -0700 Message-ID: From: Keith David Bershatsky To: bug-gnu-emacs@gnu.org Subject: 25.0.50; `compose-string-internal` does not work properly on OSX. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII 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 - 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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 25.0.50.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549)) of 2014-10-01 on MP.local Repository revision: 117996 dmantipov@yandex.ru-20141001132108-zdsxru2390mqyjlu Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure --with-ns' Configured features: ACL LIBXML2 ZLIB Important settings: locale-coding-system: utf-8-unix Major mode: FM Minor modes in effect: tb-mode: t sb-mode: t ml-mode: t ds-mode: t sd-mode: t cm-mode: t bc-mode: t Recent input: s-c C-g x r e p o r t - e m a c s Recent messages: Wrote /Users/HOME/.0.data/.0.emacs/.lock Emacs: (global-set-key [f5] 'test-fn) (defun tes . . . *beep* ESC C-g is undefined Load-path shadows: None found. Features: (shadow emacsbug sendmail lawlist-ztree lawlist-yas lawlist-ws lawlist-wl elmo-imap4 elmo-localdir modb-standard modb-legacy elmo-internal elmo-flag mmelmo-imap mmelmo-buffer elsp-generic disp-table enriched ps-print ps-def lpr parse-time lawlist-w3m browse-url doc-view ccl lawlist-window lawlist-vl lawlist-undo lawlist-txt lawlist-tm lawlist-tex skeleton compare-w lawlist-tabbar lawlist-sb lawlist-ruler mule-util lawlist-replace lawlist-re-builder lawlist-print lawlist-parens lawlist-org lawlist-calendar org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs holidays hol-loaddefs cal-menu calendar cal-loaddefs lawlist-movement lawlist-ml lawlist-misc lawlist-mc rect lawlist-lorem lawlist-ln lawlist-keymap lawlist-jit-lock lawlist-ispell lawlist-isearch help-macro lawlist-hl lawlist-help-fns lawlist-help lawlist-grep lawlist-git ido view vc-git vc vc-dispatcher url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth url-cookie url-domsuf url-gw thingatpt time-stamp log-view log-edit message mml mml-sec mm-decode mm-bodies mm-encode gmm-utils mailheader pcvs-util add-log json grep compile find-lisp epa epg epg-config ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff ert find-func ewoc debug eieio-base diff-mode conf-mode autorevert filenotify lawlist-frame lawlist-frame-bufs lawlist-font-lock lawlist-fm lawlist-find-func lawlist-files-tramp zeroconf url-util url-parse url-vars dbus xml dired lawlist-elscreen lawlist-elisp lawlist-dv jka-compr image-mode lawlist-ds lawlist-dired tramp-sh tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core password-cache tramp-loaddefs trampver format-spec lawlist-desktop frameset lawlist-descr-text lawlist-help-mode quail help-mode lawlist-compile rx lawlist-colors lawlist-cm pcase lawlist-calc easymenu lawlist-button lawlist-bk derived edmacro kmacro lawlist-bc lawlist-bbdb gnus gnus-ems nnheader gnus-util mail-utils wid-edit mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev cl-macs mail-extr rfc822 cl cl-loaddefs cl-lib timezone lawlist-as lawlist-arc lawlist-+ easy-mmode savehist shell pcomplete comint ansi-color ring saveplace advice help-fns server gv time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 1392036 113091) (symbols 48 65272 0) (miscs 40 103 152) (strings 32 144125 15463) (string-bytes 1 5147780) (vectors 16 33975) (vector-slots 8 890440 30007) (floats 8 1484 154) (intervals 56 253 0) (buffers 976 11)) From debbugs-submit-bounces@debbugs.gnu.org Sat May 09 14:52:51 2015 Received: (at 20537) by debbugs.gnu.org; 9 May 2015 18:52:51 +0000 Received: from localhost ([127.0.0.1]:39684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yr9rm-0004LD-Vg for submit@debbugs.gnu.org; Sat, 09 May 2015 14:52:51 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:35174) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yr9rk-0004Kw-5w for 20537@debbugs.gnu.org; Sat, 09 May 2015 14:52:49 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NO300900J1VIG00@a-mtaout20.012.net.il> for 20537@debbugs.gnu.org; Sat, 09 May 2015 21:52:41 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NO30096RJ3SBN40@a-mtaout20.012.net.il>; Sat, 09 May 2015 21:52:41 +0300 (IDT) Date: Sat, 09 May 2015 21:52:57 +0300 From: Eli Zaretskii Subject: Re: bug#20537: 25.0.50; `compose-string-internal` does not work properly on OSX. In-reply-to: X-012-Sender: halo1@inter.net.il To: Keith David Bershatsky Message-id: <83h9rloa5y.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20537 Cc: 20537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 09 May 2015 11:27:15 -0700 > From: 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|")))) Character composition depends on the font driver doing TRT. Which font driver does your Emacs use, and does that driver support complex text layout? From debbugs-submit-bounces@debbugs.gnu.org Sat May 09 15:25:14 2015 Received: (at 20537) by debbugs.gnu.org; 9 May 2015 19:25:14 +0000 Received: from localhost ([127.0.0.1]:39689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrAN7-000582-3R for submit@debbugs.gnu.org; Sat, 09 May 2015 15:25:13 -0400 Received: from cobb.liquidweb.com ([50.28.13.150]:57504) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrAN5-00057n-4r for 20537@debbugs.gnu.org; Sat, 09 May 2015 15:25:11 -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=oVaQvTIhv9yXYP4TBoBAlLXGu7VLcHqr+wh7CLL7bb8=; b=gQ1TBlIEyb4xzeTHzWuDRfMiohuhfwKxA+hAmIfJgX9Qrocs6ZlIDG55NjZpI1YM5P6APJv6v9Bv96njHdoVOlJN3vB41TXYZFviGE3f6fArXedecZTDaM+c3a0UvqMo; Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:52045 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1YrAMw-0004Hf-0P; Sat, 09 May 2015 15:25:02 -0400 Date: Sat, 09 May 2015 12:25:03 -0700 Message-ID: From: Keith David Bershatsky To: Eli Zaretskii Subject: Re: bug#20537: 25.0.50; `compose-string-internal` does not work properly on OSX. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20537 Cc: 20537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) I believe the answer to the first question is available from the `(frame-parameters)` -- i.e., (font-backend mac-ct ns). Some preliminary Googling relating to Emacs and "complex text layout" pops up a few results that mention Emacs built using Macports. I haven't tried using that particular version of Emacs -- the Emacs versions that I use are built from scratch using `--with-ns` or downloaded from http://emacsformacosx.com/ I'll continue to do some more Googling to see if I can be of better assistance. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; At Sat, 09 May 2015 21:52:57 +0300, Eli Zaretskii wrote: > * * * > Character composition depends on the font driver doing TRT. Which > font driver does your Emacs use, and does that driver support complex > text layout? From debbugs-submit-bounces@debbugs.gnu.org Sun May 10 13:34:19 2015 Received: (at 20537-done) by debbugs.gnu.org; 10 May 2015 17:34:19 +0000 Received: from localhost ([127.0.0.1]:40223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrV7G-0006ON-RF for submit@debbugs.gnu.org; Sun, 10 May 2015 13:34:18 -0400 Received: from mailfe07.swip.net ([212.247.154.193]:35667 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrV7D-0006O8-C1 for 20537-done@debbugs.gnu.org; Sun, 10 May 2015 13:34:13 -0400 X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 593951251; Sun, 10 May 2015 19:34:02 +0200 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: bug#20537: 25.0.50; `compose-string-internal` does not work properly on OSX. From: "Jan D." In-Reply-To: Date: Sun, 10 May 2015 19:34:01 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <53AB0F03-E66D-4082-98D9-720B2B6E2213@swipnet.se> References: To: Keith David Bershatsky X-Mailer: Apple Mail (2.2098) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 20537-done Cc: 20537-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Fixed in trunk. Jan D. > 9 maj 2015 kl. 20:27 skrev Keith David Bershatsky : >=20 > 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. >=20 > (defun test-fn () > (interactive) > (message (compose-string-internal "A|" 0 (length "A|")))) >=20 > And here is another version of the same concept using `compose-chars`, = which uses `compose-string-internal`. >=20 > (defun test-fn () > (interactive) > (message (compose-chars (string-to-char "A") '(tc . tc) = (string-to-char "|")))) >=20 > Thanks, >=20 > Keith >=20 > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; >=20 > In GNU Emacs 25.0.50.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 = Version 10.6.8 (Build 10K549)) > of 2014-10-01 on MP.local > Repository revision: 117996 = dmantipov@yandex.ru-20141001132108-zdsxru2390mqyjlu > Windowing system distributor `Apple', version 10.3.1038 > Configured using: > `configure --with-ns' >=20 > Configured features: > ACL LIBXML2 ZLIB >=20 > Important settings: > locale-coding-system: utf-8-unix >=20 > Major mode: FM >=20 > Minor modes in effect: > tb-mode: t > sb-mode: t > ml-mode: t > ds-mode: t > sd-mode: t > cm-mode: t > bc-mode: t >=20 > Recent input: > =20 > s-c C-g x r e p o r t -=20 > e m a c s >=20 > Recent messages: > Wrote /Users/HOME/.0.data/.0.emacs/.lock > Emacs: (global-set-key [f5] 'test-fn) >=20 > (defun tes . . . > *beep* > ESC C-g is undefined >=20 > Load-path shadows: > None found. >=20 > Features: > (shadow emacsbug sendmail lawlist-ztree lawlist-yas lawlist-ws > lawlist-wl elmo-imap4 elmo-localdir modb-standard modb-legacy > elmo-internal elmo-flag mmelmo-imap mmelmo-buffer elsp-generic > disp-table enriched ps-print ps-def lpr parse-time lawlist-w3m > browse-url doc-view ccl lawlist-window lawlist-vl lawlist-undo > lawlist-txt lawlist-tm lawlist-tex skeleton compare-w lawlist-tabbar > lawlist-sb lawlist-ruler mule-util lawlist-replace lawlist-re-builder > lawlist-print lawlist-parens lawlist-org lawlist-calendar org > org-macro org-footnote org-pcomplete org-list org-faces org-entities > noutline outline org-version ob-emacs-lisp ob ob-tangle org-src ob-ref > ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat > org-macs org-loaddefs holidays hol-loaddefs cal-menu calendar > cal-loaddefs lawlist-movement lawlist-ml lawlist-misc lawlist-mc rect > lawlist-lorem lawlist-ln lawlist-keymap lawlist-jit-lock > lawlist-ispell lawlist-isearch help-macro lawlist-hl lawlist-help-fns > lawlist-help lawlist-grep lawlist-git ido view vc-git vc vc-dispatcher > url-http tls url url-proxy url-privacy url-expand url-methods > url-history mailcap url-auth url-cookie url-domsuf url-gw thingatpt > time-stamp log-view log-edit message mml mml-sec mm-decode mm-bodies > mm-encode gmm-utils mailheader pcvs-util add-log json grep compile > find-lisp epa epg epg-config ediff-merg ediff-wind ediff-diff > ediff-mult ediff-help ediff-init ediff-util ediff ert find-func ewoc > debug eieio-base diff-mode conf-mode autorevert filenotify > lawlist-frame lawlist-frame-bufs lawlist-font-lock lawlist-fm > lawlist-find-func lawlist-files-tramp zeroconf url-util url-parse > url-vars dbus xml dired lawlist-elscreen lawlist-elisp lawlist-dv > jka-compr image-mode lawlist-ds lawlist-dired tramp-sh tramp > tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv > eieio-core password-cache tramp-loaddefs trampver format-spec > lawlist-desktop frameset lawlist-descr-text lawlist-help-mode quail > help-mode lawlist-compile rx lawlist-colors lawlist-cm pcase > lawlist-calc easymenu lawlist-button lawlist-bk derived edmacro kmacro > lawlist-bc lawlist-bbdb gnus gnus-ems nnheader gnus-util mail-utils > wid-edit mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util > mail-prsvr mailabbrev cl-macs mail-extr rfc822 cl cl-loaddefs cl-lib > timezone lawlist-as lawlist-arc lawlist-+ easy-mmode savehist shell > pcomplete comint ansi-color ring saveplace advice help-fns server gv > time-date tooltip electric uniquify ediff-hook vc-hooks > lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt > fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode > register page menu-bar rfn-eshadow timer select scroll-bar mouse > jit-lock font-lock syntax facemenu font-core frame cham georgian > utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean > japanese hebrew greek romanian slovak czech european ethiopic indian > cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev > minibuffer nadvice loaddefs button faces cus-face macroexp files > text-properties overlay sha1 md5 base64 format env code-pages mule > custom widget hashtable-print-readable backquote make-network-process > cocoa ns multi-tty emacs) >=20 > Memory information: > ((conses 16 1392036 113091) > (symbols 48 65272 0) > (miscs 40 103 152) > (strings 32 144125 15463) > (string-bytes 1 5147780) > (vectors 16 33975) > (vector-slots 8 890440 30007) > (floats 8 1484 154) > (intervals 56 253 0) > (buffers 976 11)) >=20 >=20 From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 04:41:05 2015 Received: (at 20537) by debbugs.gnu.org; 12 May 2015 08:41:06 +0000 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 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; 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 Date: Tue, 12 May 2015 01:40:54 -0700 Message-ID: From: Keith David Bershatsky To: "Jan D." Subject: Re: bug#20537: 25.0.50; `compose-string-internal` does not work properly on OSX. MIME-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20537 Cc: 20537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) 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 From unknown Mon Jun 23 13:12:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 09 Jun 2015 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator