Re: [O] Unicode (double-byte?) goofs up text table layout

2014-08-09 Thread Axel Kielhorn

Am 01.08.2014 um 18:32 schrieb Eric Abrahamsen e...@ericabrahamsen.net:

 John Lusk johnlu...@gmail.com writes:
 
 Hey, org-mode crew.  Awesome app; I love it.  It's pretty much the
 only thing that keeps me in emacs these days (apart from writing
 Python code :) ).
 
 
 A bit of work has gone into keeping double-byte characters from messing
 up Org tables, but my guess is what you've got there is just an odd-out
 glyph. It looks like the, erm, carrots (I'm not a mathematician) are
 getting borrowed from a different font and substituted into your
 fixed-width font where they don't quite belong.
 
 [five minutes later]
 
 I just went and did my homework and LOGICAL OR and LOGICAL AND are
 in fact single-byte characters. If they look funny, it's just because
 few fixed-width fonts come with all the necessaries. I don't think
 there's much way around that...

Both characters are in
DejaVu Sans Mono
Free Monospaced
Menlo

Try one of these fonts.

Axel



Re: [O] Unicode (double-byte?) goofs up text table layout

2014-08-01 Thread Grant Rettke
Layout works for ASCII width characters

https://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00323.html

The maintainers surely may tell you more, though.

Grant Rettke | ACM, ASA, FSF, IEEE, SIAM
g...@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop
taking it seriously.” --Thompson


On Fri, Aug 1, 2014 at 8:46 AM, John Lusk johnlu...@gmail.com wrote:

 Hey, org-mode crew.  Awesome app; I love it.  It's pretty much the only
 thing that keeps me in emacs these days (apart from writing Python code :)
 ).

 You probably already know about this problem, but here's a thousand words:

 ​
 (I hope that comes through.)

 I'm sorry I only have time to whine and not fix, but, hey: day job and all.

 GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
 Org-mode version 8.2.5h (8.2.5h-dist @
 c:/usr/local/share/emacs/site-lisp/org/)

 (Re-attaching pic at full size, since I don't know what gmail is going to
 do to that insertion.)

 John.




Re: [O] Unicode (double-byte?) goofs up text table layout

2014-08-01 Thread Eric Abrahamsen
John Lusk johnlu...@gmail.com writes:

 Hey, org-mode crew.  Awesome app; I love it.  It's pretty much the
 only thing that keeps me in emacs these days (apart from writing
 Python code :) ).

 You probably already know about this problem, but here's a thousand
 words:


 [cid] 
 

 ​
 (I hope that comes through.)

A bit of work has gone into keeping double-byte characters from messing
up Org tables, but my guess is what you've got there is just an odd-out
glyph. It looks like the, erm, carrots (I'm not a mathematician) are
getting borrowed from a different font and substituted into your
fixed-width font where they don't quite belong.

[five minutes later]

I just went and did my homework and LOGICAL OR and LOGICAL AND are
in fact single-byte characters. If they look funny, it's just because
few fixed-width fonts come with all the necessaries. I don't think
there's much way around that...

 I'm sorry I only have time to whine and not fix, but, hey: day job
 and all.

 GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
 Org-mode version 8.2.5h (8.2.5h-dist @ c:/usr/local/share/emacs/
 site-lisp/org/)

 (Re-attaching pic at full size, since I don't know what gmail is
 going to do to that insertion.)

 John.




Re: [O] Unicode (double-byte?) goofs up text table layout

2014-08-01 Thread John Lusk
Yeah, constant-width font.  I tried switching to utf-16, but that didn't
help.


On Fri, Aug 1, 2014 at 12:11 PM, Grant Rettke g...@wisdomandwonder.com
wrote:

 Layout works for ASCII width characters

 https://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00323.html

 The maintainers surely may tell you more, though.

 Grant Rettke | ACM, ASA, FSF, IEEE, SIAM
 g...@wisdomandwonder.com | http://www.wisdomandwonder.com/
 “Wisdom begins in wonder.” --Socrates
 ((λ (x) (x x)) (λ (x) (x x)))
 “Life has become immeasurably better since I have been forced to stop
 taking it seriously.” --Thompson


 On Fri, Aug 1, 2014 at 8:46 AM, John Lusk johnlu...@gmail.com wrote:

 Hey, org-mode crew.  Awesome app; I love it.  It's pretty much the only
 thing that keeps me in emacs these days (apart from writing Python code :)
 ).

 You probably already know about this problem, but here's a thousand words:

 ​
 (I hope that comes through.)

 I'm sorry I only have time to whine and not fix, but, hey: day job and
 all.

 GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN
 Org-mode version 8.2.5h (8.2.5h-dist @
 c:/usr/local/share/emacs/site-lisp/org/)

 (Re-attaching pic at full size, since I don't know what gmail is going to
 do to that insertion.)

 John.





Re: [O] Unicode (double-byte?) goofs up text table layout

2014-08-01 Thread Achim Gratz
John Lusk writes:
 You probably already know about this problem, but here's a thousand
 words:

That has nothing to do with Org.  Your font (or any of the fallback
fonts that are tried instead) doesn't provide a single-width glyph for
the unicode codepoint you're using.  Emacs usually gets this right if
you have at least a fallback font for these glyphs that has the same
width _and_ single-width glyphs, so wither such a font is missing
completely on your system or the fontconfig is slightly messed up.


Regards,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds