From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#11759: 24.1.50; word-wrap should wrap on non-words if the current word is too long Date: Sat, 23 Jun 2012 11:15:26 -0400 Message-ID: References: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@ceu-budapest.edu> <87vcii701n.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340464588 18389 80.91.229.3 (23 Jun 2012 15:16:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2012 15:16:28 +0000 (UTC) Cc: Ivan Andrus , 11759@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 17:16:27 2012 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 1SiS4W-0002St-9X for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 17:16:24 +0200 Original-Received: from localhost ([::1]:41594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiS4W-0007UG-1Y for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 11:16:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiS4R-0007Ty-Vu for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 11:16:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiS4Q-0000zp-Cv for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 11:16:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiS4Q-0000zl-9Y for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 11:16:18 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SiS82-0005xY-5W for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2012 15:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11759-submit@debbugs.gnu.org id=B11759.134046475422847 (code B ref 11759); Sat, 23 Jun 2012 15:20:02 +0000 Original-Received: (at 11759) by debbugs.gnu.org; 23 Jun 2012 15:19:14 +0000 Original-Received: from localhost ([127.0.0.1]:54113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiS7G-0005wR-B8 for submit@debbugs.gnu.org; Sat, 23 Jun 2012 11:19:14 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:47610) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiS7E-0005wL-KY for 11759@debbugs.gnu.org; Sat, 23 Jun 2012 11:19:13 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLSN/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCwsOJhIUGA0kMYdrBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="191981838" Original-Received: from 69-196-180-141.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.141]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 23 Jun 2012 11:15:26 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5504E58DC2; Sat, 23 Jun 2012 11:15:26 -0400 (EDT) In-Reply-To: <87vcii701n.fsf@gnu.org> (Chong Yidong's message of "Sat, 23 Jun 2012 19:14:12 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:61220 Archived-At: >> - if the word is the first non-blank char on the line, wrapping to the >> next line results in a visually empty line, losing the >> indentation info. >> - if the word is wider than the window (plus the wrap-prefix), then even >> after word-wrapping it to the next line, it gets char-wrapped anyway, >> so we didn't win anything. > FWIW, word wrap behaves the same way in other editors (checked with > gedit and with a text box in Firefox). But Emacs should behave better. Another case I find annoying is when I have a long space at the end of a line, where it causes the last word on that line to be wrapped to the next line: wrapping is unavoidable, but I'd rather it be done after the last word than before. Stefan