Stefan Monnier [Wed, 21 Apr 2004 22:31:19 +0000 (22:31 +0000)]
(cvs-tree-use-charset): New var.
(cvs-tree-char-space, cvs-tree-char-hbar, cvs-tree-char-vbar)
(cvs-tree-char-branch, cvs-tree-char-eob, cvs-tree-char-bob)
(cvs-status-cvstrees): Use it.
Kim F. Storm [Wed, 21 Apr 2004 21:37:18 +0000 (21:37 +0000)]
From: Teodor Zlatanov <tzz@lifelogs.com>
(compilation-start): Set next-error-last-buffer so
next-error knows where to jump.
(compilation-setup): Set the buffer-local variable
next-error-function to 'compilation-next-error-function.
(compilation-buffer-p, compilation-buffer-internal-p): Use an
alternate way to find if a buffer is a compilation buffer, for
next-error convenience.
(next-error-no-select, previous-error-no-select, next-error)
(previous-error, first-error): Move to simple.el.
(compilation-find-buffer): Move to next-error-find-buffer in simple.el.
(compilation-last-buffer): Remove.
(compilation-start, compilation-next-error, compilation-setup)
(compilation-next-error-function, compilation-find-buffer):
Remove compilation-last-buffer use.
Stefan Monnier [Wed, 21 Apr 2004 20:54:19 +0000 (20:54 +0000)]
(info-node, info-menu-5, info-xref, info-header-node)
(Info-title-1-face, Info-title-2-face, Info-title-3-face)
(Info-title-4-face): Use new syntax.
(info-xref-visited): Inherit from info-xref.
Stefan Monnier [Wed, 21 Apr 2004 20:54:03 +0000 (20:54 +0000)]
(checkdoc-output-mode): Make it a normal major mode.
(checkdoc-buffer-label): Make sure the file name is meaningful.
(checkdoc-output-to-error-buffer): Remove.
(checkdoc-error, checkdoc-start-section): Rewrite.
Lars Hansen [Wed, 21 Apr 2004 20:53:35 +0000 (20:53 +0000)]
(desktop-buffer-mode-handlers): New variabel. Alist
of major mode specific functions to restore a desktop buffer.
(desktop-buffer-handlers): Make variabel obsolete.
(desktop-create-buffer): Use desktop-buffer-mode-handlers. Catch
errors signaled in handlers. Update buffer count. Evaluate
desktop-buffer-point.
(desktop-buffer-dired): Rename to dired-restore-desktop-buffer and
move to dired.el.
(desktop-buffer-info): Rename to Info-restore-desktop-buffer and
move to info.el.
(desktop-buffer-rmail): Rename to rmail-restore-desktop-buffer and
move to mail/rmail.el.
(desktop-buffer-mh): Rename to mh-restore-desktop-buffer and move
to mh-e/mh-e.el.
(desktop-buffer-file): Rename to desktop-restore-file-buffer. An
fail, print message (to message buffer) even if
desktop-missing-file-warning is nil.
(desktop-buffer-misc-data-function): New buffer local
variable. Function returning major mode specific data.
(desktop-buffer-misc-functions): Make variable obsolete.
(desktop-save): Use desktop-buffer-misc-data-function.
(desktop-buffer-dired-misc-data): Rename to
dired-desktop-buffer-misc-data and move to dired.el.
(desktop-buffer-info-misc-data): Rename to
Info-desktop-buffer-misc-data and move to info.el.
(desktop-read): Add message about number of buffers
restored/failed.
Lars Hansen [Wed, 21 Apr 2004 20:52:18 +0000 (20:52 +0000)]
(dired-restore-desktop-buffer) Move from desktop.el. Add parameters.
Pause to display error only when desktop-missing-file-warning is non-nil.
(dired-desktop-buffer-misc-data): Move from desktop.el. Add parameter.
Kim F. Storm [Tue, 20 Apr 2004 22:19:09 +0000 (22:19 +0000)]
(Qslice): New variable.
(syms_of_xdisp): Intern and staticpro it.
(pos_visible_p): Return pixel position in new x and y args.
(init_iterator): Reset it->slice info.
(handle_display_prop): Parse (slice ...) property.
(push_it, pop_it): Save/restore slice info.
(make_cursor_line_fully_visible): Fix 2004-04-14 change. Do not
force repositioning of tall row if window is vscrolled, as that
would reset vscroll.
(append_space): Set it->constrain_row_ascent_descent_p to avoid
increasing row height if row is non-empty.
(fill_image_glyph_string): Copy slice info.
(take_vertical_position_into_account): Simplify.
(produce_image_glyph): Handle iterator slice info, setup glyph
slice info. Do not force minimum line height.
(x_produce_glyphs): If it->constrain_row_ascent_descent_p is set,
do not increase height (ascent/descent) of non-empty row when
adding normal character glyph; instead reduce glyph ascent/descent
appropriately; if row is higher than current glyph, adjust glyph
descent/ascent to reposition glyph within the existing row.
Likewise, when char is newline, only set ascent/descent if row is
currently empty.
(note_mouse_highlight): Handle hotspots with sliced image.
Kim F. Storm [Tue, 20 Apr 2004 22:18:33 +0000 (22:18 +0000)]
(Fpos_visible_in_window_p): Return pixel position if
PARTIALLY arg is non-nil. Simplify. Doc fix.
(Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg
to return/set vscroll in pixels.
Kim F. Storm [Tue, 20 Apr 2004 22:16:19 +0000 (22:16 +0000)]
(buffer_posn_from_coords): Return full image width
and height even for image slices (posn is relative to full image).
(marginal_area_string): Adjust x0,y0 for image slice.
Kim F. Storm [Tue, 20 Apr 2004 22:16:07 +0000 (22:16 +0000)]
(struct glyph_slice): New struct.
(struct glyph): New member slice.
(GLYPH_SLICE_EQUAL_P): New macro.
(GLYPH_EQUAL_P): Use it.
(struct glyph_string): New member slice.
(struct it_slice): New struct.
(struct it): New member slice, add member to stack too.
New member constrain_row_ascent_descent_p.
(image_ascent): Add prototype.
Stefan Monnier [Tue, 20 Apr 2004 20:36:43 +0000 (20:36 +0000)]
(compilation-error-properties): Split in two.
(compilation-internal-error-properties): New one.
(compilation-compat-error-properties): Use it to fix the non-marker case.
(quail-lookup-key): New optional arg
NOT-RESET-INDICES.
(quail-get-translations): Call quail-lookup-key with
NOT-RESET-INDICES t.
(quail-completion): Likewise.
(quail-lookup-map-and-concat): Likewise.
Eli Zaretskii [Mon, 19 Apr 2004 18:06:51 +0000 (18:06 +0000)]
(rmail-convert-to-babyl-format): Don't remove ^M
characters left after base64 decoding.
(rmail-decode-region): Use -dos variety of `coding', to remove any
^M characters left after qp or base64 decoding.
Juri Linkov [Sun, 18 Apr 2004 22:08:03 +0000 (22:08 +0000)]
(sentence-end) <function>: New fun with default value taken
from the variable `sentence-end'.
(sentence-end) <defcustom>: Set default to nil. Doc fix.
Add nil const to :type.
(sentence-end-without-period, sentence-end-double-space)
(sentence-end-without-space): Doc fix.
(forward-sentence): Use function `sentence-end' instead of
variable `sentence-end'.
Juri Linkov [Sun, 18 Apr 2004 15:28:19 +0000 (15:28 +0000)]
(Info-find-file, Info-find-node-2): Add history and toc.
(Info-find-node-2): Simplify error message.
(Info-insert-dir): Use Info-following-node-name.
(Info-goto-node): Remove *info-history* and *info-toc*.
(Info-history): Create a node of the virtual history file.
(Info-toc): Create a node of the virtual toc file.
(Info-insert-toc): New arg `curr-file' for reference file names.
(info-apropos): Remove redundant var binding for temp-file.
(Info-index, Info-index-next, Info-mode): Doc fix.
(Info-goto-emacs-command-node): Don't jump to *info* from
non-*info* Info buffers.
(Info-fontify-node): Don't show the file name of external
references if `Info-hide-note-references' is `hide'. Don't hide
newlines at the end of paragraphs.
Nick Roberts [Sat, 17 Apr 2004 23:14:17 +0000 (23:14 +0000)]
(gdb-goto-info): Require 'info.
(gdb-info-breakpoints-custom): Revert previous change.
(gdb-view-assembler): Update assembler if necessary.
(gdb-frame-handler): Parse correctly for gdb-current-frame.
(gdb-display-source-buffer): Update properly when both source and
assembler are visible.