emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-bidi] Mixed L2R and R2L paragraphs and horizontal scroll


From: Eli Zaretskii
Subject: Re: [emacs-bidi] Mixed L2R and R2L paragraphs and horizontal scroll
Date: Sat, 06 Feb 2010 21:14:18 +0200

> Date: Sat, 6 Feb 2010 17:42:36 +0200
> From: "Ehud Karni" <address@hidden>
> Cc: address@hidden, address@hidden
> 
> >   . variable fonts and faces
> >   . glyphs that come from overlays, `display' properties, images, etc.
> >   . `wrap-prefix' and `line-prefix' variables
> >   . composite characters
> >   . tab expansion
> >
> > (probably forgot a few).  Note that the last one affects text
> > terminals as well, so even there you cannot simply count characters.
> 
> I see your point. I don't think variable fonts, tabs or composite
> characters are a real problem (tabs are taken into account in
> fill-paragraph, and the others can be handled by setting the
> `right-margin' to a value below the screen width).

How much below?  There's no way of knowing that.  A font used by a
face can be arbitrarily large.

> > The problem is that, for the reasons I explain above and in a previous
> > message in this thread, what you suggest will still end up overflowing
> > the margin sometimes, and we are back with the same problem.  (If I
> > understood your suggestion, that is; if not, please point out where
> > I'm wrong.)
> 
> I understand, but since I'm using wide screens (130 columns at work,
> over 180 at home), I can set the my line length for the virtual
> `fill-paragraph' to a lower value (say 110) and hope that it won't
> overflow, even if it is exceeded by some characters.

Well, that's hardly a general solution.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]