Friday, February 19, 2016

Re: How to get rounded bullet list character

2016-02-19 20:49 GMT+03:00 Marvin Renich <mrvn@renich.org>:
> * 'Guyzmo' via vim_use <vim_use@googlegroups.com> [160219 10:10]:
>> or you can directly use the digraph: `<C-k>Sb` which outputs: `∙`. From
>> `:he digraph`:
>>
>> ∙ Sb 2219 8729 BULLET OPERATOR
>>
>> or you could use the compose key feature (using Xorg or some hacks on
>> OSX/Windows) to use one of your modifier keys to behave like <C-k> but
>> throughout your system.
>
> On my system (Debian stretch) with locale en_US.UTF-8, Compose .= gives
> the 0x2022 bullet (in the Unicode General Punctuation section; 2219 is
> in the Mathematical Operators section). The fact that the vim digraph
> uses a different bullet is obviously a historical artifact. Perhaps .=

I do not think that this digraph was plannet to insert a *bullet*.
Adjacent entries in the `:h digraph-table` are MINUS-OR-PLUS SIGN,
ASTERISK OPERATOR, RING OPERATOR, {BULLET OPERATOR}, SQUARE ROOT,
PROPORTIONAL TO, INFINITY. As you see everything here is math, as well
as BULLET OPERATOR itself.

> could be added to the digraph table to match the X Compose sequence
> (i.e. with 2022 rather than 2219).
>
>> http://www.linuxhowtos.org/Tips%20and%20Tricks/compose.htm
>
> On Debian, the correct place to set your compose key is in
> /etc/default/keyboard. It will then work in a text console (e.g.
> Alt-Ctrl-F1) as well as in X. Add a line like:
>
> XKBOPTIONS="compose:rwin"
>
> Editing xorg.conf, as suggested in the above page, may be necessary on
> systems that don't have the equivalent of the Debian console-setup
> package, but then it won't work in a text console.
>
>> Since I have that, I'm having a lot of fun featuring any text I type
>> with unicode characters like: →, ⇒, •, ☺, ① ② …, — or even the
>> non-secable space ` `. I've also added a few ones just for the fun:
>> 🍻 , 🐦 or 🖕 :-)
>
> Where do you get a list of Compose sequences? The above page is
> out-of-date (and doesn't have any indication of when it was written :-P)
> so it's suggestion of /usr/X11R6/lib/X11/... is wrong. On my system, it
> is in /usr/share/X11/locale/..., but the Compose file for my locale only
> has a few entries, and there are many more combinations that work. I
> haven't found any way to get the complete list of combinations.
>
> Thanks...Marvin
>
> --
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: