unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: James Cloos <cloos@jhcloos.com>
To: Nordlöw <per.nordlow@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Unicode Symbol for compact display of const attribute
Date: Tue, 08 Jul 2008 13:21:23 -0400	[thread overview]
Message-ID: <m3lk0ce1g5.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <956f0db3-6b46-41fe-9589-56735d9bfe8a@34g2000hsf.googlegroups.com> ("Nordlöw"'s message of "Tue, 8 Jul 2008 06:53:20 -0700 (PDT)")

>>>>> "Nordlöw" == Nordlöw  <per.nordlow@gmail.com> writes:

Nordlöw> Does anyone know of any unicode symbol suitable for
Nordlöw> representing the const attribute (in other other IDEs
Nordlöw> such as Xcode and Anjuta typically expressed as a boxed
Nordlöw> somewhat smaller capital C)?

There is no single character in The UCS for that.  Therefore it
is encoded as either the sequence of:

,----[ composition of "C⃞" ]
| U+0043 LATIN CAPITAL LETTER C      [ C]
| U+20DE COMBINING ENCLOSING SQUARE  [ ⃞]
`----

,----[ composition of "ᴄ⃞" ]
| U+1D04 LATIN LETTER SMALL CAPITAL C  [ ᴄ]
| U+20DE COMBINING ENCLOSING SQUARE    [ ⃞]
`----

Or, in a Math context you might choose one of the C characters from
the MATHEMATICAL block starting at U+1D400, combined with U+20DE.

(As a side note, in this message-mode buffer the first composition is
not combining, nor are the NBSP+Combining sequences.  But the small cap
sequence is doing so.  (CVS HEAD, tip as of 2008/07/07T11:30:00Z or so.)


-JimC
-- 
James Cloos <cloos@jhcloos.com>         OpenPGP: 1024D/ED7DAEA6




      parent reply	other threads:[~2008-07-08 17:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-08 13:53 Unicode Symbol for compact display of const attribute Nordlöw
2008-07-08 15:47 ` Peter Dyballa
2008-07-08 16:52   ` Thien-Thi Nguyen
2008-07-08 17:21 ` James Cloos [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m3lk0ce1g5.fsf@lugabout.jhcloos.org \
    --to=cloos@jhcloos.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=per.nordlow@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).