all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Unicode Symbol for compact display of const attribute
@ 2008-07-08 13:53 Nordlöw
  2008-07-08 15:47 ` Peter Dyballa
  2008-07-08 17:21 ` James Cloos
  0 siblings, 2 replies; 4+ messages in thread
From: Nordlöw @ 2008-07-08 13:53 UTC (permalink / raw)
  To: help-gnu-emacs

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

Thanks in advance,
Nordlöw


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unicode Symbol for compact display of const attribute
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Dyballa @ 2008-07-08 15:47 UTC (permalink / raw)
  To: Nordlöw; +Cc: help-gnu-emacs


Am 08.07.2008 um 15:53 schrieb Nordlöw:

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


Can you draw it or supply its Unicode name or position? The Unicode  
organisation offers charts to *see* all assigned code points.

--
Greetings

   Pete


"Evolution"            o           __o                     _o _
           °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unicode Symbol for compact display of const attribute
  2008-07-08 15:47 ` Peter Dyballa
@ 2008-07-08 16:52   ` Thien-Thi Nguyen
  0 siblings, 0 replies; 4+ messages in thread
From: Thien-Thi Nguyen @ 2008-07-08 16:52 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs, Nordlöw

() Peter Dyballa <Peter_Dyballa@Web.DE>
() Tue, 8 Jul 2008 17:47:00 +0200

   Can you draw it or supply its Unicode name or position? The Unicode
   organisation offers charts to *see* all assigned code points.

You can always try:
- find UnicodeData.txt somewhere on the Net;
- fnsert it into a buffer;
- move point to beginning of buffer;
- eval the form:
  (while (looking-at "[0-9A-F]+")
    (insert (string-to-number (match-string 0) 16) "\t")
    (forward-line 1))

This give good results in Emacs 23.0.60, YMMV.

thi




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Unicode Symbol for compact display of const attribute
  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 17:21 ` James Cloos
  1 sibling, 0 replies; 4+ messages in thread
From: James Cloos @ 2008-07-08 17:21 UTC (permalink / raw)
  To: Nordlöw; +Cc: help-gnu-emacs

>>>>> "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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-07-08 17:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.