From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Andrus 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: Thu, 21 Jun 2012 18:27:50 +0200 Message-ID: <0B4F1CBC-1CF3-4CA5-AD66-93DA0DD70037@ceu-budapest.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1340296127 20288 80.91.229.3 (21 Jun 2012 16:28:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2012 16:28:47 +0000 (UTC) To: 11759@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 21 18:28:46 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 1ShkFQ-00011F-7T for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2012 18:28:44 +0200 Original-Received: from localhost ([::1]:34191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShkFQ-0003Vh-3T for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2012 12:28:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShkFH-0003VO-Vo for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 12:28:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShkFB-0003Br-3p for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 12:28:35 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShkFA-0003Bl-Ts for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 12:28:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1ShkIb-0008Gr-Ve for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 12:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Andrus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jun 2012 16:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134029631131774 (code B ref -1); Thu, 21 Jun 2012 16:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jun 2012 16:31:51 +0000 Original-Received: from localhost ([127.0.0.1]:51809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShkIQ-0008GR-9Q for submit@debbugs.gnu.org; Thu, 21 Jun 2012 12:31:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42011) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShkIN-0008GJ-GL for submit@debbugs.gnu.org; Thu, 21 Jun 2012 12:31:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShkEm-00038Q-U7 for submit@debbugs.gnu.org; Thu, 21 Jun 2012 12:28:12 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:43762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShkEm-00038M-Nj for submit@debbugs.gnu.org; Thu, 21 Jun 2012 12:28:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShkEf-0003Uf-Rw for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 12:28:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShkEc-00036q-RL for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 12:27:57 -0400 Original-Received: from mail-bk0-f41.google.com ([209.85.214.41]:35488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShkEc-00036B-Dt for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2012 12:27:54 -0400 Original-Received: by bkcjm19 with SMTP id jm19so875196bkc.0 for ; 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== Original-Received: by 10.205.134.4 with SMTP id ia4mr11771258bkc.57.1340296071550; Thu, 21 Jun 2012 09:27:51 -0700 (PDT) Original-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) 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-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:61171 Archived-At: 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@cs.ucla.edu-20120619185739-mile4zpnjrqz5e8e 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 w r t SPC C-e p y t h o n . e l C-u C-u C-u C-/ C-c C-c g q M-w g C-x v d =3D C-c C-w C-. C-. C-. v q M-w M-w M-x v c - r e v e r y e y e s C-c C-f C-3 C-e M-w C-x C-f C-d g p C-c C-f M-w n n n s-o * . e l c D y e s n C-c C-f M-w n C-c C-f M-w n C-c C-f M-w n M-w n C-c C-f M-w n C-c C-f TAB TAB TAB M-k M-k M-k M-w M-w n C-c C-f M-w n C-c C-f M-w C-k C-k C-k C-k C-M-o C-M-j 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 q q q q g p p p p p p p p p p p p p p p d x y e s q g M-w M-w M-x r e p o r 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)