comparison src/buffer.c @ 107605:b1e1b45c9fb6

Retrospective commit from 2009-1219. Fix reordering of Arabic text in etc/HELLO. Extend .gdbinit commands to support bidirectional display. buffer.c (Fbuffer_swap_text): Swap the values of bidi_display_reordering and bidi_paragraph_direction. bidi.c (bidi_resolve_weak): Fix nesting of conditions for Wn processing. Move W3 after W1 and W2. Simplify W4 because it is now always after W1. .gdbinit (pbiditype): New command. (pgx): Use it to display bidi level and type of the glyph.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 01 Jan 2010 09:57:27 -0500
parents d44bdcba4457
children c5f9e4613394
comparison
equal deleted inserted replaced
107604:9e8415b885ee 107605:b1e1b45c9fb6
2259 swapfield (overlays_after, struct Lisp_Overlay *); 2259 swapfield (overlays_after, struct Lisp_Overlay *);
2260 swapfield (overlay_center, EMACS_INT); 2260 swapfield (overlay_center, EMACS_INT);
2261 swapfield (undo_list, Lisp_Object); 2261 swapfield (undo_list, Lisp_Object);
2262 swapfield (mark, Lisp_Object); 2262 swapfield (mark, Lisp_Object);
2263 swapfield (enable_multibyte_characters, Lisp_Object); 2263 swapfield (enable_multibyte_characters, Lisp_Object);
2264 swapfield (bidi_display_reordering, Lisp_Object);
2265 swapfield (bidi_paragraph_direction, Lisp_Object);
2264 /* FIXME: Not sure what we should do with these *_marker fields. 2266 /* FIXME: Not sure what we should do with these *_marker fields.
2265 Hopefully they're just nil anyway. */ 2267 Hopefully they're just nil anyway. */
2266 swapfield (pt_marker, Lisp_Object); 2268 swapfield (pt_marker, Lisp_Object);
2267 swapfield (begv_marker, Lisp_Object); 2269 swapfield (begv_marker, Lisp_Object);
2268 swapfield (zv_marker, Lisp_Object); 2270 swapfield (zv_marker, Lisp_Object);