Noam Postavsky <npostavs@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 11759) by debbugs.gnu.org; 23 Jun 2012 15:19:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 23 11:19:14 2012 Received: from localhost ([127.0.0.1]:54113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1SiS7G-0005wR-B8 for submit <at> debbugs.gnu.org; Sat, 23 Jun 2012 11:19:14 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:47610) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <monnier@HIDDEN>) id 1SiS7E-0005wL-KY for 11759 <at> 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" 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 Received: by pastel.home (Postfix, from userid 20848) id 5504E58DC2; Sat, 23 Jun 2012 11:15:26 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Chong Yidong <cyd@HIDDEN> Subject: Re: bug#11759: 24.1.50; word-wrap should wrap on non-words if the current word is too long Message-ID: <jwvhau283j5.fsf-monnier+emacs@HIDDEN> References: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@HIDDEN> <jwvbokck379.fsf-monnier+emacs@HIDDEN> <87vcii701n.fsf@HIDDEN> Date: Sat, 23 Jun 2012 11:15:26 -0400 In-Reply-To: <87vcii701n.fsf@HIDDEN> (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) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11759 Cc: Ivan Andrus <darthandrus@HIDDEN>, 11759 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.9 (-) >> - 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
bug-gnu-emacs@HIDDEN
:bug#11759
; Package emacs
.
Full text available.Received: (at 11759) by debbugs.gnu.org; 23 Jun 2012 13:10:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 23 09:10:49 2012 Received: from localhost ([127.0.0.1]:53718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1SiQ6z-0002E4-6K for submit <at> debbugs.gnu.org; Sat, 23 Jun 2012 09:10:49 -0400 Received: from mail-lb0-f172.google.com ([209.85.217.172]:62783) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <lennart.borgman@HIDDEN>) id 1SiQ6w-0002Dx-VY for 11759 <at> debbugs.gnu.org; Sat, 23 Jun 2012 09:10:47 -0400 Received: by lbbgo11 with SMTP id go11so4554265lbb.3 for <11759 <at> debbugs.gnu.org>; Sat, 23 Jun 2012 06:07:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=FCzx3UU4hnvjoJO1C2mwpLtXFU3nR4vlZXIl565ZcWs=; b=d8WiKsvwR/sa5zMUg0NzysTTuFnuZyzn8T3SHrCgtvOrQLVU/kybVe5g62Zhli79+7 n7iFQlJuxTZczS72bE0a12bk8xTjcI4tK217bW7meSE5rnIdwEbMfefglRG9eZExaSFf UDrrABlMoJb9bxMTMetB2o0IgBU1dLsReLs3K/1JNtugJKhTG9Qph+NIK7iTJHjxB7Za +6QchLaltY+KDFzUPKgiekh83KrD5miHr+LMaHPbXO4wVz9KgTXJcG+WK/Bjvlysy1BY UGMErt6Wutn0EpgxpIZYgFzhQKHCtVyCuAojtVt8ZTsEa8dJirEKUz7OuwT5kg2xYIOk 9JYg== Received: by 10.112.85.42 with SMTP id e10mr2898206lbz.17.1340456821787; Sat, 23 Jun 2012 06:07:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.41.99 with HTTP; Sat, 23 Jun 2012 06:06:31 -0700 (PDT) In-Reply-To: <83sjdmb3dr.fsf@HIDDEN> References: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@HIDDEN> <jwvbokck379.fsf-monnier+emacs@HIDDEN> <87vcii701n.fsf@HIDDEN> <CANbX365aOceonNERReTS=Hd16LP29x7PYnxgRzOmdkfVQ9-5bw@HIDDEN> <83sjdmb3dr.fsf@HIDDEN> From: Lennart Borgman <lennart.borgman@HIDDEN> Date: Sat, 23 Jun 2012 15:06:31 +0200 Message-ID: <CANbX367+8uw=0p3U29b3XvBWa1hp1r--4RwZE9JyAcNCccWvLg@HIDDEN> Subject: Re: bug#11759: 24.1.50; word-wrap should wrap on non-words if the current word is too long To: Eli Zaretskii <eliz@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11759 Cc: darthandrus@HIDDEN, cyd@HIDDEN, 11759 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sat, Jun 23, 2012 at 2:48 PM, Eli Zaretskii <eliz@HIDDEN> wrote: >> From: Lennart Borgman <lennart.borgman@HIDDEN> >> Date: Sat, 23 Jun 2012 13:27:20 +0200 >> Cc: Ivan Andrus <darthandrus@HIDDEN>, 11759 <at> debbugs.gnu.org >> >> On Sat, Jun 23, 2012 at 1:14 PM, Chong Yidong <cyd@HIDDEN> wrote: >> > Stefan Monnier <monnier@HIDDEN> writes: >> > >> >>> if the entire line is one "word" but indented, which is not uncommon >> >>> in some files that I regularly edit, then the entire line is wrapped >> >>> to the next line leaving a completely blank visual line. >> >> >> >> I also use word-wrap everywhere, including programming modes and see = the >> >> same problem. >> >> >> >> - if the word is the first non-blank char on the line, wrapping to th= e >> >> =C2=A0 next line results in a visually empty line, losing the >> >> =C2=A0 indentation info. >> >> - if the word is wider than the window (plus the wrap-prefix), then e= ven >> >> =C2=A0 after word-wrapping it to the next line, it gets char-wrapped = anyway, >> >> =C2=A0 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). >> >> I think it will be very nice if such long words could wrap. > > They already do, please check the actual Emacs behavior. Oh, I see. I never noticed the char-wrap since behaviour Stefan told about just makes me avoid such troubles (it is in org-mode I have seen it). Anyway, word truncation would be a good alternative at least for me.
bug-gnu-emacs@HIDDEN
:bug#11759
; Package emacs
.
Full text available.Received: (at 11759) by debbugs.gnu.org; 23 Jun 2012 12:52:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 23 08:52:35 2012 Received: from localhost ([127.0.0.1]:53705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1SiPpL-0001oL-0X for submit <at> debbugs.gnu.org; Sat, 23 Jun 2012 08:52:35 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:51051) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <eliz@HIDDEN>) id 1SiPpI-0001oC-Fm for 11759 <at> debbugs.gnu.org; Sat, 23 Jun 2012 08:52:33 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M6200300M01LE00@HIDDEN> for 11759 <at> debbugs.gnu.org; Sat, 23 Jun 2012 15:48:29 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M620039DM8S89E0@HIDDEN>; Sat, 23 Jun 2012 15:48:29 +0300 (IDT) Date: Sat, 23 Jun 2012 15:48:32 +0300 From: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#11759: 24.1.50; word-wrap should wrap on non-words if the current word is too long In-reply-to: <CANbX365aOceonNERReTS=Hd16LP29x7PYnxgRzOmdkfVQ9-5bw@HIDDEN> To: Lennart Borgman <lennart.borgman@HIDDEN> Message-id: <83sjdmb3dr.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@HIDDEN References: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@HIDDEN> <jwvbokck379.fsf-monnier+emacs@HIDDEN> <87vcii701n.fsf@HIDDEN> <CANbX365aOceonNERReTS=Hd16LP29x7PYnxgRzOmdkfVQ9-5bw@HIDDEN> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 11759 Cc: darthandrus@HIDDEN, cyd@HIDDEN, 11759 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii <eliz@HIDDEN> List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Lennart Borgman <lennart.borgman@HIDDEN> > Date: Sat, 23 Jun 2012 13:27:20 +0200 > Cc: Ivan Andrus <darthandrus@HIDDEN>, 11759 <at> debbugs.gnu.org >=20 > On Sat, Jun 23, 2012 at 1:14 PM, Chong Yidong <cyd@HIDDEN> wrote: > > Stefan Monnier <monnier@HIDDEN> writes: > > > >>> if the entire line is one "word" but indented, which is not unc= ommon > >>> in some files that I regularly edit, then the entire line is wr= apped > >>> to the next line leaving a completely blank visual line. > >> > >> I also use word-wrap everywhere, including programming modes and= see the > >> same problem. > >> > >> - if the word is the first non-blank char on the line, wrapping = to the > >> =C2=A0 next line results in a visually empty line, losing the > >> =C2=A0 indentation info. > >> - if the word is wider than the window (plus the wrap-prefix), t= hen even > >> =C2=A0 after word-wrapping it to the next line, it gets char-wra= pped anyway, > >> =C2=A0 so we didn't win anything. > > > > FWIW, word wrap behaves the same way in other editors (checked wi= th > > gedit and with a text box in Firefox). >=20 > I think it will be very nice if such long words could wrap. They already do, please check the actual Emacs behavior.
bug-gnu-emacs@HIDDEN
:bug#11759
; Package emacs
.
Full text available.Received: (at 11759) by debbugs.gnu.org; 23 Jun 2012 11:31:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 23 07:31:37 2012 Received: from localhost ([127.0.0.1]:53623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1SiOYz-0008St-Eh for submit <at> debbugs.gnu.org; Sat, 23 Jun 2012 07:31:37 -0400 Received: from mail-lb0-f172.google.com ([209.85.217.172]:54995) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <lennart.borgman@HIDDEN>) id 1SiOYx-0008Sl-3H for 11759 <at> debbugs.gnu.org; Sat, 23 Jun 2012 07:31:36 -0400 Received: by lbbgo11 with SMTP id go11so4500166lbb.3 for <11759 <at> debbugs.gnu.org>; Sat, 23 Jun 2012 04:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=NGblaKxatUh9DKvBFxTrjMe9ocfGm5CmnaxZ6cM08iQ=; b=FlB3tgGjy5m2MMhZ0o252hlavL4EXtMkq6SkU+Ak8kC2Uvaokf0EJiFefjFmIRDtEz AtC550Y0bfPVEykucE6lc6g3PMHpBg6GVUTk+dvWhZj6hIYmX+UTQ1HI742R91i20zOf IiWhi+ukJdnpnX6y8+/sOW0xuPKqF6lnAhIpaCrlPC6lcVe5bVUCk77q9j4uV8SlVBDw LCHwfIJOMkkDAxP9y9ZJjWoufZEYGoiGHGxLzHtzAGpi+uUpMUTL37/NotZfrElYVCKX bST5FJ48I1/WhgbV6zZ/Jn2/O+Psd7KHyL1fa+vR6DO/nBRBRcbfWwNnPtL6plt9t6qa bQRg== Received: by 10.152.136.18 with SMTP id pw18mr5338851lab.17.1340450870380; Sat, 23 Jun 2012 04:27:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.41.99 with HTTP; Sat, 23 Jun 2012 04:27:20 -0700 (PDT) In-Reply-To: <87vcii701n.fsf@HIDDEN> References: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@HIDDEN> <jwvbokck379.fsf-monnier+emacs@HIDDEN> <87vcii701n.fsf@HIDDEN> From: Lennart Borgman <lennart.borgman@HIDDEN> Date: Sat, 23 Jun 2012 13:27:20 +0200 Message-ID: <CANbX365aOceonNERReTS=Hd16LP29x7PYnxgRzOmdkfVQ9-5bw@HIDDEN> Subject: Re: bug#11759: 24.1.50; word-wrap should wrap on non-words if the current word is too long To: Chong Yidong <cyd@HIDDEN> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11759 Cc: Ivan Andrus <darthandrus@HIDDEN>, 11759 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sat, Jun 23, 2012 at 1:14 PM, Chong Yidong <cyd@HIDDEN> wrote: > Stefan Monnier <monnier@HIDDEN> writes: > >>> if the entire line is one "word" but indented, which is not uncommon >>> in some files that I regularly edit, then the entire line is wrapped >>> to the next line leaving a completely blank visual line. >> >> I also use word-wrap everywhere, including programming modes and see the >> same problem. >> >> - if the word is the first non-blank char on the line, wrapping to the >> =C2=A0 next line results in a visually empty line, losing the >> =C2=A0 indentation info. >> - if the word is wider than the window (plus the wrap-prefix), then even >> =C2=A0 after word-wrapping it to the next line, it gets char-wrapped any= way, >> =C2=A0 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). I think it will be very nice if such long words could wrap. It would also be nice to have the alternative to truncate such long words. (They are often URL in my case and truncating them with the full URL as a help string would be fine.)
bug-gnu-emacs@HIDDEN
:bug#11759
; Package emacs
.
Full text available.Received: (at 11759) by debbugs.gnu.org; 23 Jun 2012 11:18:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 23 07:18:09 2012 Received: from localhost ([127.0.0.1]:53597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1SiOLx-0007L1-Ka for submit <at> debbugs.gnu.org; Sat, 23 Jun 2012 07:18:09 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:58774) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <cyd@HIDDEN>) id 1SiOLv-0007Kt-D7 for 11759 <at> debbugs.gnu.org; Sat, 23 Jun 2012 07:18:08 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:46246 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <cyd@HIDDEN>) id 1SiOIG-0006g9-UT; Sat, 23 Jun 2012 07:14:21 -0400 From: Chong Yidong <cyd@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#11759: 24.1.50; word-wrap should wrap on non-words if the current word is too long References: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@HIDDEN> <jwvbokck379.fsf-monnier+emacs@HIDDEN> Date: Sat, 23 Jun 2012 19:14:12 +0800 In-Reply-To: <jwvbokck379.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Thu, 21 Jun 2012 13:09:32 -0400") Message-ID: <87vcii701n.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11759 Cc: Ivan Andrus <darthandrus@HIDDEN>, 11759 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.9 (------) Stefan Monnier <monnier@HIDDEN> writes: >> if the entire line is one "word" but indented, which is not uncommon >> in some files that I regularly edit, then the entire line is wrapped >> to the next line leaving a completely blank visual line. > > I also use word-wrap everywhere, including programming modes and see the > same problem. > > - 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).
bug-gnu-emacs@HIDDEN
:bug#11759
; Package emacs
.
Full text available.Received: (at 11759) by debbugs.gnu.org; 21 Jun 2012 18:09:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 21 14:09:53 2012 Received: from localhost ([127.0.0.1]:51900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ShlpI-0002tn-K9 for submit <at> debbugs.gnu.org; Thu, 21 Jun 2012 14:09:53 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:46433) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <monnier@HIDDEN>) id 1ShlpC-0002tZ-UF for 11759 <at> debbugs.gnu.org; Thu, 21 Jun 2012 14:09:51 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q5LH9X4t024916; Thu, 21 Jun 2012 13:09:33 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 012B1B422C; Thu, 21 Jun 2012 13:09:32 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Ivan Andrus <darthandrus@HIDDEN> Subject: Re: bug#11759: 24.1.50; word-wrap should wrap on non-words if the current word is too long Message-ID: <jwvbokck379.fsf-monnier+emacs@HIDDEN> References: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@HIDDEN> Date: Thu, 21 Jun 2012 13:09:32 -0400 In-Reply-To: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@HIDDEN> (Ivan Andrus's message of "Thu, 21 Jun 2012 18:27:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4257=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4257> : streams <771604> : uri <1145577> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11759 Cc: 11759 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -3.5 (---) > Setting word-wrap is generally a very nice addition and I like it even > when programming. However it can cause annoying behavior when the > "words" are very long. For example if the entire line is one "word" but > indented, which is not uncommon in some files that I regularly edit, > then the entire line is wrapped to the next line leaving a completely > blank visual line. Arguably this is bad programming style, but it would > be nice if I could specify a maximum length for a "word". If it would > require breaking longer than this limit, then it should break as if > word-wrap were off. I also use word-wrap everywhere, including programming modes and see the same problem. A word-size-limit might do the trick, but there are a few cases where we don't even need that, I think: - 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. I don't know if those two cases cover all interesting situations, but at least I think it's worth trying to address them first. Stefan
bug-gnu-emacs@HIDDEN
:bug#11759
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 21 Jun 2012 16:31:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 21 12:31:51 2012 Received: from localhost ([127.0.0.1]:51809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ShkIQ-0008GR-9Q for submit <at> debbugs.gnu.org; Thu, 21 Jun 2012 12:31:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42011) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <darthandrus@HIDDEN>) id 1ShkIN-0008GJ-GL for submit <at> debbugs.gnu.org; Thu, 21 Jun 2012 12:31:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <darthandrus@HIDDEN>) id 1ShkEm-00038Q-U7 for submit <at> debbugs.gnu.org; Thu, 21 Jun 2012 12:28:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_FRT_COCK autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:43762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <darthandrus@HIDDEN>) id 1ShkEm-00038M-Nj for submit <at> debbugs.gnu.org; Thu, 21 Jun 2012 12:28:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <darthandrus@HIDDEN>) id 1ShkEf-0003Uf-Rw for bug-gnu-emacs@HIDDEN; Thu, 21 Jun 2012 12:28:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <darthandrus@HIDDEN>) id 1ShkEc-00036q-RL for bug-gnu-emacs@HIDDEN; Thu, 21 Jun 2012 12:27:57 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:35488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <darthandrus@HIDDEN>) id 1ShkEc-00036B-Dt for bug-gnu-emacs@HIDDEN; Thu, 21 Jun 2012 12:27:54 -0400 Received: by bkcjm19 with SMTP id jm19so875196bkc.0 for <bug-gnu-emacs@HIDDEN>; Thu, 21 Jun 2012 09:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=1cEIW96xzAMwJI6k2fjVN0rjNtXTtAgNQx9CI47DlRY=; b=VJcLvf1SLdHhjIgZNax1ORp6ovirTHN7jF69ZvI6yCeleyZRm5ONjms7cu1hMBOdF1 LD8wXn7utBgBqXY5uNiacmjhVz5ydBhsAz01DJWuTXWArt5/Lk/YxMpHYjVwFYnJBz9s lzJ22YgRkiyDfQH1R7SVBN3JTv8Ij6HLHoEjSpYpsu+v2ur82JLpfrO0Xrs87PMGXtOp +otShevA8EdWHFDkx9C4tSmmKlIUbbnCFKfLR99bJ85HXu0PkrWc5/M04MSS3PkHvMDh rEWjD8gJfawp2Dg46QlxxlUAZIeTC38+2z62ulKnRWnzDgo5Ejxr4y7Vt8dTKwpumPL+ n/Vw== Received: by 10.205.134.4 with SMTP id ia4mr11771258bkc.57.1340296071550; Thu, 21 Jun 2012 09:27:51 -0700 (PDT) Received: from [10.0.2.25] (catv-80-99-177-93.catv.broadband.hu. [80.99.177.93]) by mx.google.com with ESMTPS id fu14sm32774417bkc.13.2012.06.21.09.27.50 (version=SSLv3 cipher=OTHER); Thu, 21 Jun 2012 09:27:51 -0700 (PDT) From: Ivan Andrus <darthandrus@HIDDEN> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 24.1.50; word-wrap should wrap on non-words if the current word is too long Date: Thu, 21 Jun 2012 18:27:50 +0200 Message-Id: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@HIDDEN> To: bug-gnu-emacs@HIDDEN Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.1 (------) Setting word-wrap is generally a very nice addition and I like it even when programming. However it can cause annoying behavior when the "words" are very long. For example if the entire line is one "word" but indented, which is not uncommon in some files that I regularly edit, then the entire line is wrapped to the next line leaving a completely blank visual line. Arguably this is bad programming style, but it would be nice if I could specify a maximum length for a "word". If it would require breaking longer than this limit, then it should break as if word-wrap were off. Below is a contrived example of what can cause problems when the buffer is not sufficiently wide. = this.long_method_name().another_method().what_an_impossibly_long_method_wi= th_lots_of_arguments(1,2,3,4,[4,5,6,7,8,9]).and_no_spaces() Thank, Ivan In GNU Emacs 24.1.50.1 (i386-apple-darwin10.8.0, NS = apple-appkit-1038.36) of 2012-06-19 on oroszlan.local Bzr revision: 108664 eggert@HIDDEN Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure '--with-ns' '-C'' Important settings: value of $EMACSDATA: = /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/etc value of $EMACSDOC: = /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/etc value of $EMACSLOADPATH: = /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/site-lis= p:/Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp:/= Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/leim value of $EMACSPATH: = /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/MacOS/libexec:/Use= rs/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/MacOS/bin locale-coding-system: nil default enable-multibyte-characters: t Major mode: Org Minor modes in effect: diff-auto-refine-mode: t reveal-mode: t drag-stuff-global-mode: t TeX-PDF-mode: t which-function-mode: t show-paren-mode: t recentf-mode: t msb-mode: t minibuffer-depth-indicate-mode: t ido-everywhere: t global-hl-line-mode: t delete-selection-mode: t auto-image-file-mode: t auto-insert-mode: t yas/global-mode: t yas/minor-mode: t shell-dirtrack-mode: t global-visible-mark-mode: t visible-mark-mode: t gvol-mode: t desktop-save-mode: t command-frequency-autosave-mode: t command-frequency-mode: t itunes-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: v v F i x e d SPC a SPC f e w SPC t h i n g s SPC r e SPC t h e SPC n e w SPC C-u C-u <C-backspace> w r t SPC C-e p y t h o n . e l C-u C-u C-u <C-backspace> C-/ C-c C-c <C-tab> g <C-tab> <C-tab> q M-w g <C-tab> C-x v d <return> =3D C-c C-w C-. C-. C-. <C-tab> v q M-w M-w <C-tab> M-x v c - r e v <tab> e r <tab> <return> y e <return> y e s <return> <C-tab> C-c C-f <C-tab> C-3 C-e <C-tab> M-w C-x C-f C-d g p <return> C-c C-f M-w n n n s-o * . e l c <return> D y e s <return> n <return> C-c C-f M-w n <return> C-c C-f M-w n <return> C-c C-f M-w n <return> M-w n <return> C-c C-f M-w n <return> C-c C-f <C-tab> TAB TAB TAB M-k M-k M-k M-w <C-tab> M-w n <return> C-c C-f M-w n <return> C-c C-f M-w <down-mouse-1> <mouse-1> C-k C-k C-k C-k C-M-o C-M-j <wheel-down> <down-mouse-1> <mouse-1> <wheel-down> <double-wheel-down> <triple-wheel-down> <wheel-down> <wheel-down> <wheel-down> C-x C-c n C-g q M-w C-x r j p C-g C-x r j b C-s p a t h C-s C-s C-o C-o C-o C-o C-o C-o C-o C-o C-o C-o C-o C-o C-o C-k C-k C-k C-k C-k C-k C-k C-k TAB TAB TAB TAB TAB TAB TAB TAB TAB C-s C-w M-o C-a C-s o n o C-s C-s C-a <C-tab> q <C-tab> q q q g p p p p p p p p p p p p p p p d x y e s <return> <C-tab> q g M-w <C-tab> M-w M-x r e p o r <tab> <r eturn> Recent messages: /Users/gvol/.passwords.gpg Entering debugger... Mark saved where search started Searched 1 buffer; 29 matches for `path' Mark saved where search started [2 times] Back to top level. NOTE: Deletion of files flagged `D' (not those marked `*') Deleting...done /Users/gvol/.bashrc /Users/gvol/.emacs-uptimes Load-path shadows: /Users/gvol/.emacs.d/elpa/parenface-20091203/parenface hides = ~/.emacs.d/local/parenface /Users/gvol/.emacs.d/elpa/hl-sexp-1.0.0/hl-sexp hides = ~/.emacs.d/local/hl-sexp /Users/gvol/.emacs.d/elpa/python-mode-6.0.3/highlight-indentation hides = ~/.emacs.d/local/highlight-indentation /Users/gvol/.emacs.d/elpa/command-frequency-1.1/command-frequency hides = ~/.emacs.d/local/command-frequency /Users/gvol/vcs/sage-mode/emacs/.dir-locals hides = /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/gnu= s/.dir-locals ~/.emacs.d/local/lisp-mnt hides = /Users/gvol/vcs/emacs/local/nextstep/Emacs.app/Contents/Resources/lisp/ema= cs-lisp/lisp-mnt Features: (shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils epa-file epa epg epg-config ruby-mode vc-svn vc-dir ewoc sage-load vc-git sage-test sage-imenu flymake sage-build sage-auctex pyrex cython-mode sage-view repeat smerge-mode diff-mode grep sage-mode debug reftex-cite apropos autoload hideshow-org hideshow python elide-head vc-bzr dabbrev align reftex-sel reftex-parse reftex-ref vcursor subword texmathp multi-isearch compile sh-script smie latexenc gap-mode gap-process highlight-parentheses highlight-symbol thingatpt hi-lock conf-mode parse-time vc-cvs sgml-mode ffap url-parse url-vars ibuf-macs ibuf-ext ibuffer eldoc greedy-delete gvol-light-theme tabify cal-iso executable org-mobile org-archive org-id reveal org-habit org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb org-crypt ob-python org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete org-list org-faces org-compat org-entities org-macs drag-stuff vc-hg reftex-vcr reftex-dcr reftex-auc reftex reftex-vars preview prv-emacs adaptive-wrap tex-fold tex-bar tex-buf toolbar-x noutline outline font-latex latex tex-style tex time ac-slime-autoloads adaptive-wrap-autoloads applescript-mode-autoloads auctex-autoloads tex-site info browse-kill-ring-autoloads buffer-move-autoloads c-eldoc-autoloads columnify-autoloads command-frequency-autoloads company-autoloads drag-stuff-autoloads durendal-autoloads emstar-autoloads feature-mode-autoloads goto-last-change-autoloads graphviz-dot-mode-autoloads highlight-parentheses-autoloads highlight-symbol-autoloads hl-sexp-autoloads keyfreq-autoloads finder-inf markdown-mode+-autoloads markdown-mode-autoloads paredit-autoloads parenface-autoloads python-mode-autoloads redo+-autoloads rw-hunspell-autoloads scpaste-autoloads htmlize-autoloads scss-mode-autoloads slime-clj-autoloads slime-fuzzy-autoloads slime-ritz-autoloads smex-autoloads speck-autoloads swank-clojure-autoloads clojure-mode-autoloads slime-repl-autoloads slime-autoloads xml-rpc-autoloads package jka-compr saveplace uniquify which-func imenu paren recentf tree-widget wid-edit msb mb-depth ido icomplete hl-line delsel image-file cus-start cus-load diary-lib diary-loaddefs cal-menu calendar cal-loaddefs warnings autoinsert yasnippet dropdown-list derived help-mode view tramp tramp-compat auth-source eieio byte-opt bytecomp byte-compile cconv gnus-util mm-util mail-prsvr password-cache shell pcomplete comint ansi-color format-spec tramp-loaddefs visible-mark parenface fold commit-patch-buffer log-edit ring pcvs-util add-log vc ediff vc-dispatcher sage cl-macs cl macroexp cl-lib rx xml desktop backtr command-frequency uptimes pp server easy-mmode assoc dired+ edmacro kmacro dired-x easymenu ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init ediff-util dired-aux dired advice help-fns advice-preload windmove time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs)
Ivan Andrus <darthandrus@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#11759
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.