all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 6d59a83f2e8ef5c3663be4c253d5df4a032379db 687 bytes (raw)
name: lisp/word-wrap.el 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
(define-minor-mode word-wrap-char-table-mode
  "Toggle wrapping using a look-up to word-wrap-chars, globally.

Currently, this allows word wrapping on the characters U+2000 to
U+200B in addition to the default of space and tap, when
`word-wrap' is set to t.

(Provisional and unstable.)
"
  :global t
  :lighter "uws "
  (if word-wrap-char-table-mode
      (progn (setq word-wrap-chars (make-char-table nil nil))
             (set-char-table-range word-wrap-chars 9 t)
             (set-char-table-range word-wrap-chars 32 t)
             (set-char-table-range word-wrap-chars
                                   '(8192 . 8203) t))
    (setq word-wrap-chars nil)))

(provide 'word-wrap)


debug log:

solving 6d59a83 ...
found 6d59a83 in https://yhetil.org/emacs/CAA+VxxG4Zpj6W+QzLbSnSx04spdeMV2fiaqmPZWktnqX7cScKA@mail.gmail.com/

applying [1/1] https://yhetil.org/emacs/CAA+VxxG4Zpj6W+QzLbSnSx04spdeMV2fiaqmPZWktnqX7cScKA@mail.gmail.com/
diff --git a/lisp/word-wrap.el b/lisp/word-wrap.el
new file mode 100644
index 0000000..6d59a83

Checking patch lisp/word-wrap.el...
1:27: new blank line at EOF.
+
Applied patch lisp/word-wrap.el cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 6d59a83f2e8ef5c3663be4c253d5df4a032379db	lisp/word-wrap.el

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.