]> git.eshelyaron.com Git - emacs.git/commit
Implement copying of a buffer portion while preserving visual order.
authorEli Zaretskii <eliz@gnu.org>
Thu, 4 Dec 2014 09:31:33 +0000 (11:31 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 4 Dec 2014 09:31:33 +0000 (11:31 +0200)
commitf1827846d715cfef05afe52ad2a9df2289df6952
tree048ee9690b7bcc87353137fe72031fe083908371
parent2bef807c322b44cf63db85e4b60001a76cbe3d9f
Implement copying of a buffer portion while preserving visual order.

 See http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02203.html
 and http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00063.html
 for the rationale.

 lisp/simple.el (bidi-directional-controls-chars)
 (bidi-directional-non-controls-chars): New variables.
 (squeeze-bidi-context-1, squeeze-bidi-context)
 (line-substring-with-bidi-context)
 (buffer-substring-with-bidi-context): New functions.

 doc/lispref/display.texi (Bidirectional Display): Document
 'buffer-substring-with-bidi-context'.
 doc/lispref/text.texi (Buffer Contents): Mention
 'buffer-substring-with-bidi-context' with a cross-reference.

 etc/NEWS: Mention 'buffer-substring-with-bidi-context'.
doc/lispref/ChangeLog
doc/lispref/display.texi
doc/lispref/text.texi
etc/ChangeLog
etc/NEWS
lisp/ChangeLog
lisp/simple.el