diff options
| author | Glenn Morris | 2012-04-13 18:46:06 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-04-13 18:46:06 -0700 |
| commit | 35dc09a19c606f9e7a078df32d030451c7c90ba1 (patch) | |
| tree | 8df2ade99ad8620568094d61bba9dd4ac8856c43 /etc | |
| parent | 327732d994c98849c765659aa2164a7482b6beab (diff) | |
| parent | ad3a2b411dc2b34f5d6fa434aee3ca56fa7a88e7 (diff) | |
| download | emacs-35dc09a19c606f9e7a078df32d030451c7c90ba1.tar.gz emacs-35dc09a19c606f9e7a078df32d030451c7c90ba1.zip | |
Merge from emacs-24, up to 2012-04-10T02:06:19Z!larsi@gnus.org
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/TODO | 28 | ||||
| -rw-r--r-- | etc/refcards/orgcard.pdf | bin | 118613 -> 118982 bytes | |||
| -rw-r--r-- | etc/refcards/orgcard.tex | 2 |
3 files changed, 21 insertions, 9 deletions
| @@ -647,17 +647,29 @@ up on top of all others | |||
| 647 | 647 | ||
| 648 | ** Bidirectional editing | 648 | ** Bidirectional editing |
| 649 | 649 | ||
| 650 | *** Support reordering structured text | ||
| 651 | Two important use cases: (1) comments and strings in program sources, | ||
| 652 | and (2) text with markup, like HTML or XML. | ||
| 653 | |||
| 654 | One idea is to invent a special text property that would instruct the | ||
| 655 | display engine to reorder only the parts of buffer text covered by | ||
| 656 | that property. The display engine will then push its state onto the | ||
| 657 | iterator stack, restrict the bidi iterator to accessing only the | ||
| 658 | portion of buffer text covered by the property, reorder the text, then | ||
| 659 | pop its state from stack and continue as usual. This will require | ||
| 660 | minor changes in the bidi_it structure. | ||
| 661 | |||
| 662 | This design requires Lisp-level code to put the text properties on the | ||
| 663 | relevant parts of the buffer text. That could be done using JIT | ||
| 664 | fontifications, or as a preliminary processing when the file is | ||
| 665 | visited. With HTML/XML, the code that puts text properties needs to | ||
| 666 | pay attention to the bidi directives embedded in the HTML/XML stream. | ||
| 667 | |||
| 650 | *** Allow the user to control the direction of the UI | 668 | *** Allow the user to control the direction of the UI |
| 651 | 669 | ||
| 652 | **** Introduce user option to control direction of mode line. | 670 | **** Introduce user option to control direction of mode line. |
| 653 | This requires to figure out what to do with unibyte strings that are | 671 | One problem is the header line, which is produced by the same routines |
| 654 | used in constructing the mode line. Currently, unibyte strings are | 672 | as the mode line. While it makes sense to have the mode-line |
| 655 | not reordered by bidi.c, without which R2L mode line will not display | ||
| 656 | correctly. One possibility would be to STRING_SET_MULTIBYTE all Lisp | ||
| 657 | strings involved in the mode line, and then pass them through bidi.c. | ||
| 658 | |||
| 659 | Another problem is the header line, which is produced by the same | ||
| 660 | routines as the mode line. While it makes sense to have the mode-line | ||
| 661 | direction controlled by a single global variable, header lines are | 673 | direction controlled by a single global variable, header lines are |
| 662 | buffer-specific, so they need a separate treatment in this regard. | 674 | buffer-specific, so they need a separate treatment in this regard. |
| 663 | 675 | ||
diff --git a/etc/refcards/orgcard.pdf b/etc/refcards/orgcard.pdf index 201bb892dc0..3bedb6f2cf5 100644 --- a/etc/refcards/orgcard.pdf +++ b/etc/refcards/orgcard.pdf | |||
| Binary files differ | |||
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex index d78f2a38021..d06afca8083 100644 --- a/etc/refcards/orgcard.tex +++ b/etc/refcards/orgcard.tex | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | % Reference Card for Org Mode | 1 | % Reference Card for Org Mode |
| 2 | \def\orgversionnumber{7.8.07} | 2 | \def\orgversionnumber{7.8.09} |
| 3 | \def\versionyear{2012} % latest update | 3 | \def\versionyear{2012} % latest update |
| 4 | \def\year{2012} % latest copyright year | 4 | \def\year{2012} % latest copyright year |
| 5 | 5 | ||