Re: Mixed L2R and R2L paragraphs and horizontal scroll

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.bidi,gmane.emacs.devel
Message-ID <[email protected]>
> Date: Sat, 6 Feb 2010 17:42:36 +0200
> From: "Ehud Karni" <[email protected]>
> Cc: [email protected], [email protected]
> 
> >   . 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.