1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-23 14:32:12 -07:00
Commit graph

84238 commits

Author SHA1 Message Date
Chong Yidong
7e17f53d30 Replace truncate_partial_width_windows with
Vtruncate_partial_width_windows.
2008-06-24 17:57:02 +00:00
Chong Yidong
bf7a8847fe (struct it): Replace bool truncate_lines_p with a line_wrap enum
possessing three possible values.
2008-06-24 17:56:41 +00:00
Chong Yidong
0858cd02f0 (syms_of_buffer): New variables default-word-wrap and word-wrap.
(init_buffer_once): Initialize them.
2008-06-24 17:56:14 +00:00
Chong Yidong
b099871957 (struct buffer): New member word_wrap. 2008-06-24 17:55:20 +00:00
Chong Yidong
faa6190fe7 * 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.
2008-06-24 17:54:59 +00:00
Chong Yidong
09e18d034a Re-order items. 2008-06-24 17:27:10 +00:00
Stefan Monnier
4e09950491 Fix up comments. 2008-06-24 13:29:28 +00:00
Jason Rumney
c3bb54651c (Ffont_face_attributes): Multiply pixel size before point
conversion to avoid multiplying rounding error.
2008-06-24 10:32:03 +00:00
Jason Rumney
c4e8ee5e6f (PIXEL_TO_POINT): Clarify usage in comment. 2008-06-24 10:31:12 +00:00
Jason Rumney
3a8105cd57 Add coding tag. 2008-06-24 08:58:45 +00:00
Kenichi Handa
2641e21320 (font_score): Even if the PIXEL_SIZE is the same, check
DPI too.
(font_sort_entites): Setup prefer_prop[FONT_DPI_INDEX] too.
2008-06-24 07:01:27 +00:00
Jay Belanger
aee08080a2 (Killing from the stack): Mention how to use normal Emacs copying. 2008-06-24 05:27:35 +00:00
Jay Belanger
7a3e1fb5a8 (calc-init-extensions): Add keybinding for `kill-ring-save'. 2008-06-24 05:22:08 +00:00
Jay Belanger
7163bf2cc3 (calc-mode-map): Add extra keybindings to `calc-missing-key'. 2008-06-24 05:21:40 +00:00
Miles Bader
520713e786 Handle void selection in mouse-appearance-menu
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1281
2008-06-24 04:52:51 +00:00
Dan Nicolaescu
2a520399dc * add-log.el (add-change-log-entry): Add new arg to force each new
entry to be on a new line.
* diff-mode.el (diff-add-change-log-entries-other-window): Use it.
2008-06-24 04:04:48 +00:00
Dan Nicolaescu
c4c0a44b61 (vc-client-object): Remove.
(vc-dir-prepare-status-buffer): Take a backend as an argument and
use it when looking for a buffer.
(vc-dir): Add a backend argument.  Set revert-buffer-function.
Don't create a client object.  Move bindings ...
(vc-dir-menu-map, vc-dir-mode-map): ... here.
(vc-dir-revert-buffer-function): New function.
(vc-generic-status-printer): Rename to ...
(vc-dir-status-printer): ... this.
(vc-generic-state, vc-generic-status-fileinfo-extra)
(vc-dir-extra-menu, vc-make-backend-object): Remove.
(vc-default-status-printer): Use a different face for
directories.  Don't display any text for directories in the state
column.  Add tooltips.
2008-06-24 03:45:06 +00:00
Dan Nicolaescu
572aed3d4c (Todo): Update. 2008-06-24 03:24:38 +00:00
Juanma Barranquero
ecfb57d923 * makefile.w32-in (MISC): Add $(srcdir)/quail/arabic.elc. 2008-06-24 03:20:12 +00:00
Dan Nicolaescu
f8bd9ac6ef * vc-hg.el (vc-annotate-convert-time, vc-default-status-printer):
* vc-rcs.el (vc-annotate-convert-time):
* vc-mtn.el (vc-annotate-convert-time):
* vc-git.el (vc-annotate-convert-time):
* vc-cvs.el (vc-annotate-convert-time):
* vc-bzr.el (vc-annotate-convert-time): Declare as functions.
2008-06-24 02:41:04 +00:00
Juanma Barranquero
f245f2c610 Fix typos. 2008-06-24 01:07:34 +00:00
Juanma Barranquero
540c2a3339 * gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
Don't hardcode -gstabs+, use DEBUG_INFO.

* configure.bat (gccdebug): Check for DWARF-2 support in GCC.
  Default to stabs if the compiler does not support DWARF-2.
  (genmakefiles): Write new variable DEBUG_INFO to config.settings.
2008-06-23 21:34:24 +00:00
Eli Zaretskii
400aaed216 Large file support in MS-Windows `stat' is done. 2008-06-23 21:08:22 +00:00
Jason Rumney
0b07ad98c5 * w32term.c (x_draw_glyph_string_background)
(x_draw_glyph_string): Remove old bdf font code.

* w32term.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): Remove.
2008-06-23 12:41:50 +00:00
Dan Nicolaescu
ffbda93a86 (vc-annotate-mode): Derive from special-mode
instead of using view-mode.
2008-06-23 07:03:33 +00:00
Stefan Monnier
b7bc82c546 (distclean): Don't delete *.elc and autogen files. 2008-06-23 03:11:56 +00:00
Miles Bader
81c5ac7ed9 Add arch tagline 2008-06-23 00:13:34 +00:00
Dan Nicolaescu
74d0991fc5 * vc.el:
* vc-hooks.el:
* vc-dispatcher.el: Move vc-dir variables and functions ...
* vc-dir.el: ... here.  New file.
* Makefile.in (ELCFILES): Add vc-dir.elc.
2008-06-22 19:04:22 +00:00
Dan Nicolaescu
f439c140ac * vc.el: Move vc-annotate variables and functions ...
* vc-annotate.el: ... here.  New file.
* Makefile.in (ELCFILES): Add vc-annotate.elc.
2008-06-22 17:56:00 +00:00
Kenichi Handa
2245966833 (font_find_for_lface): Try the adstyle specified in the property of
LFACE_FONT of LFACE (if any).
2008-06-22 15:07:56 +00:00
Dan Nicolaescu
22dbf879a3 * vc-dav.el: Move here from url/vc-dav.el.
(Todo): Note work needed to make this backend functional.

* Makefile.in (ELCFILES): Update vc-dav.el location.
2008-06-22 15:01:52 +00:00
Dan Nicolaescu
0b5c42251a * vc-dav.el: Move here from url/vc-dav.el.
* Makefile.in (ELCFILES): Update vc-dav.el location.

* vc-dav.el: Move to the parent directory to be together with the
rest of the VC backends.
2008-06-22 14:57:42 +00:00
Stefan Monnier
d925a42659 (x_set_frame_alpha): Add x_catch_errors for bug#437. 2008-06-22 14:02:07 +00:00
Stefan Monnier
b4945b9599 * Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
* Makefile.in (${lisp} ${SOME_MACHINE_LISP}, ../lisp/loaddefs.el):
Use $(BOOTSTRAPEMACS) rather than witness-emacs.
(bootstrap-emacs${EXEEXT}): Merge witness-emacs into it.
(witness-emacs): Remove.
(lisp, shortlisp): Move loaddefs.el earlier.
(mostlyclean): Forget about witness-emacs.
* Makefile.in (COMPILE_FIRST): Trim down and add autoload.el.
2008-06-22 13:57:28 +00:00
Glenn Morris
3656581540 (.SUFFIXES): Declare .el.elc as a suffix rule, for non-GNU makes. 2008-06-22 02:29:32 +00:00
Glenn Morris
8a6a564281 (top_bootclean): Remove obsolete references to lock/. 2008-06-22 02:20:24 +00:00
Glenn Morris
6412427914 (witness-emacs): Depend on temacs${EXEEXT}. 2008-06-22 02:02:18 +00:00
Glenn Morris
f63b822ef9 (help-xref-interned): Declare. 2008-06-21 23:02:20 +00:00
Glenn Morris
210c6549fa (easy-mmode-set-keymap-parents): Evaluate definition when compiling. 2008-06-21 23:01:01 +00:00
Glenn Morris
e8f28744e2 Require 'cl when compiling. 2008-06-21 23:00:49 +00:00
Glenn Morris
0f18579193 Require 'cl when compiling. 2008-06-21 20:34:50 +00:00
Glenn Morris
9c8dd25e48 Require 'cl when compiling. 2008-06-21 20:32:42 +00:00
Glenn Morris
321d9c42c4 (bug-reference-fontify): Revert previous change that saved match data. 2008-06-21 20:30:00 +00:00
Glenn Morris
231f8f3f11 Add bug-reference-url-format local setting. 2008-06-21 20:14:27 +00:00
Glenn Morris
bffc65597f (bug-reference-map): Bind down-mouse-1 rather than mouse-1.
(bug-reference-url-format): Autoload safe if string.
(bug-reference-bug-regexp): Make space after "bug" optional.
(bug-reference-fontify): Save match data.
2008-06-21 20:13:48 +00:00
John Paul Wallington
a86a16098e (define-derived-mode): Add `doc-string' declaration. 2008-06-21 20:00:04 +00:00
John Paul Wallington
536db356f9 (rst-mode): Put docstring in right place. 2008-06-21 19:53:46 +00:00
Chong Yidong
245a769859 (fancy-about-text, fancy-startup-tail): Increase text size for
legibility.
2008-06-21 19:52:27 +00:00
Chong Yidong
41b972bd13 * startup.el (fancy-about-text, fancy-startup-tail): Increase text
size for legibility.
2008-06-21 19:52:17 +00:00
Glenn Morris
25656227eb Add witness-emacs. 2008-06-21 19:51:48 +00:00