annotate lisp/term/bobcat.el @ 96231:2b8c49fb8d24

* buffer.h (struct buffer): New member word_wrap. * buffer.c (syms_of_buffer): New variables default-word-wrap and word-wrap. (init_buffer_once): Initialize them. * dispextern.h (struct it): Replace bool truncate_lines_p with a line_wrap enum possessing three possible values. * termopts.h: Replace truncate_partial_width_windows with Vtruncate_partial_width_windows. * dispnew.c (direct_output_for_insert): Avoid direct output when inserting a space with word wrap on. * indent.c (compute_motion): Obey integer values of truncate-partial-width-windows. * xdisp.c (Vtruncate_partial_width_windows): New Lisp_Object, replacing truncate_partial_width_windows. (init_iterator): If Vtruncate_partial_width_windows is an integer, truncate only if the window width is below that integer. (start_display. resize_mini_window, produce_stretch_glyph) (display_string, move_it_in_display_line_to): Use line_wrap. (back_to_previous_visible_line_start, reseat_1): Reset string_from_display_prop_p. (display_line): Extend default face to end of line when wrapping. (display_line, move_it_in_display_line_to): Add ability to wrap continued lines at word boundaries.
author Chong Yidong <cyd@stupidchicken.com>
date Tue, 24 Jun 2008 17:54:59 +0000
parents 1e3a407766b9
children ef719132ddfa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47726
33d53d287ee4 Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents: 38414
diff changeset
1 ;; -*- no-byte-compile: t -*-
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 60984
diff changeset
2
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 60984
diff changeset
3 (defun terminal-init-bobcat ()
83524
673d62ad74b5 Fix and/or simplify terminal initialization files.
Karoly Lorentey <lorentey@elte.hu>
parents: 64651
diff changeset
4 "Terminal initialization function for bobcat."
64651
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 60984
diff changeset
5 ;; HP terminals usually encourage using ^H as the rubout character
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 60984
diff changeset
6 (keyboard-translate ?\177 ?\^h)
af1c58687bdd * term/apollo.el (terminal-init-apollo): New function containing
Dan Nicolaescu <dann@ics.uci.edu>
parents: 60984
diff changeset
7 (keyboard-translate ?\^h ?\177))
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 3288
diff changeset
8
93975
1e3a407766b9 Fix up comment convention on the arch-tag lines.
Stefan Monnier <monnier@iro.umontreal.ca>
parents: 83524
diff changeset
9 ;; arch-tag: 754e4520-0a3e-4e6e-8ca5-9481b1f85cf7
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 3288
diff changeset
10 ;;; bobcat.el ends here