From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19661: wrapping before window-width (new wrap-column text property?) Date: Sat, 24 Jan 2015 11:47:36 +0200 Message-ID: <83fvb0se6f.fsf@gnu.org> References: <83ioh2nlow.fsf@gnu.org> <87sig6xech.fsf@ferrier.me.uk> <83fvc5ni0u.fsf@gnu.org> <87k31fwwyv.fsf@ferrier.me.uk> <87bnmq9ibf.fsf@ferrier.me.uk> <87lhlrx5fc.fsf@building.gnus.org> <878uhrcr5l.fsf@building.gnus.org> <83sifzjflk.fsf@gnu.org> <87egric2ki.fsf_-_@violet.siamics.net> <877fxaa49w.fsf@violet.siamics.net> <831tnicji7.fsf@gnu.org> <83y4pp9dku.fsf@gnu.org> <87387w8r2j.fsf@violet.siamics.net> <87iofxprfv.fsf_-_@violet.siamics.net> <8361bxtr33.fsf@gnu.org> <54C27D19.1080102@gmx.at> <83y4ots0v3.fsf@gnu.org> <54C36111.8030003@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422092893 13879 80.91.229.3 (24 Jan 2015 09:48:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2015 09:48:13 +0000 (UTC) Cc: 19661@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 24 10:48:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YExK4-0002s4-VW for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jan 2015 10:48:09 +0100 Original-Received: from localhost ([::1]:34511 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YExK4-0004j2-6G for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Jan 2015 04:48:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YExK1-0004ix-Lx for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2015 04:48:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YExJy-0003Yt-Cg for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2015 04:48:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YExJy-0003Yj-9x for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2015 04:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YExJx-0000yV-Qn for bug-gnu-emacs@gnu.org; Sat, 24 Jan 2015 04:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Jan 2015 09:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19661 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19661-submit@debbugs.gnu.org id=B19661.14220928613720 (code B ref 19661); Sat, 24 Jan 2015 09:48:01 +0000 Original-Received: (at 19661) by debbugs.gnu.org; 24 Jan 2015 09:47:41 +0000 Original-Received: from localhost ([127.0.0.1]:54810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YExJc-0000xu-Lj for submit@debbugs.gnu.org; Sat, 24 Jan 2015 04:47:40 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:49946) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YExJa-0000xf-Hu for 19661@debbugs.gnu.org; Sat, 24 Jan 2015 04:47:39 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NIO00100DFFHI00@a-mtaout22.012.net.il> for 19661@debbugs.gnu.org; Sat, 24 Jan 2015 11:47:31 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIO000GVDV7XSB0@a-mtaout22.012.net.il>; Sat, 24 Jan 2015 11:47:31 +0200 (IST) In-reply-to: <54C36111.8030003@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98672 Archived-At: > Date: Sat, 24 Jan 2015 10:08:33 +0100 > From: martin rudalics > CC: 19661@debbugs.gnu.org > > > That'd be a kludge-around. I thought we were talking about teaching > > Emacs new layout tricks, not overloading existing ones with features > > they weren't designed to support. > > Layouts should be handled at the Elisp level. This is impossible with the current Emacs design, and you know it. The design is that Lisp programs _specify_ the layout, by setting up text properties, overlays, and local variables. The actual _handling_ of the layout is done by the display engine, which is not exposed to Lisp. So if a particular kind of layout is not supported by the display engine, you cannot specify it in Lisp. > For example, having (multicolumn) text flow around an image is tedious. > So this would be just an incentive to provide different window layouts > (or layers). I agree, but I don't think this can or should be done in Lisp. Over the years, I've seen many features that attempted to produce fancy display traits not supported by the engine, and they all look kludgey to me. They also break very easily. > > We all know the subtle problems in follow-mode, right? > > Which we would have to solve anyway. The solutions are on the C level, not in Lisp. > I wouldn't reinvent the wheel. The wheel should be round, then it's a wheel.