Jay Belanger [Sun, 2 Jan 2005 17:08:31 +0000 (17:08 +0000)]
(calc-edit-macro-finish-edit, calc-finish-formula-edit)
(calc-macro-repeats, calc-edit-macro-adjust-buffer)
calc-edit-format-macro-buffer, calc-edit-macro-pre-finish-edit):
Use calc-edit-top for the beginning of the edited object.
(calc-user-define-edit): Change the header for editing macros.
Remove unnecessary variable.
Jay Belanger [Sun, 2 Jan 2005 17:04:37 +0000 (17:04 +0000)]
(calc-edit-top): New variable.
(calc-edit-mode): Set calc-edit-top to be the beginning of the edited
object. Change header properties.
(calc-edit-finish, calc-edit-finish-stack-object)
(calc-edit-show-buffer): Use calc-edit-top to find the beginning of the
edited object.
Jay Belanger [Sun, 2 Jan 2005 06:48:17 +0000 (06:48 +0000)]
(calc-edit-user-syntax): Change title to edit mode to match new
header.
(calc-user-define-edit): Change titles to include names of commands.
(calc-finish-formula-edit): Make sure to start reading formula after
header.
(calc-edit-macro-combine-variable-name): Check for all digits when
looking for quick variable.
Jay Belanger [Sun, 2 Jan 2005 04:51:06 +0000 (04:51 +0000)]
(calc-finish-macro-edit): Remove.
(calc-edit-macro-repeats, calc-edit-macro-adjust-buffer,
calc-edit-macro-command, calc-edit-macro-command-type,
calc-edit-macro-combine-alg-ent, calc-edit-macro-combine-ext-command,
calc-edit-macro-combine-var-name, calc-edit-macro-combine-digits,
calc-edit-format-macro-buffer, calc-edit-macro-pre-finish-edit,
calc-edit-macro-finish-edit): New functions.
(calc-user-define-edit): Use new functions to edit named calc macros.
(Killing): Reorganize section.
No more TeX-only text; put the node command at start of chapter.
But the first section heading is used only in TeX.
Rewrite the text to read better in this mode.
(Graphical Kill): New subnode gets some of the text that
used to be in the first section.
(setup_for_ellipsis, get_next_display_element):
Set it->ellipsis_p to 1 or 0.
(display_line): Record whether row ends in mid-ellipsis.
(set_cursor_from_row): If ends in ellipsis. find start of it.
(cursor_row_p): If PT's at the end of the ellipsis the row
ends within, don't display cursor on this row.
(BUFFER_POS_REACHED_P): We haven't reached the specified
position if we're reading from something other than the buffer.
(undo): Use undo-equiv-table to detect
unexpected changes since previous undo.
(undo-list-saved): Variable deleted.
(buffer-disable-undo): Don't alter undo-list-saved.
(window_scroll_pixel_based): Only look at
Vscroll_preserve_screen_position if the old PT can't be kept.
(syms_of_window) <scroll-preserve-screen-position>: Doc fix.
(require-final-newline): Allow `visit' and `visit-save'.
(mode-require-final-newline): New option.
(after-find-file): Handle require-final-newline with new values.
(basic-save-buffer): Handle new values of require-final-newline.
(artist-butlast-fn): Var deleted.
(artist-butlast, artist-last): Functions deleted.
(artist-ellipse-mirror-quadrant): Call last and butlast directly.
(artist-compute-key-compl-table): Call remq directly.
(artist-remove-nulls): Function deleted.
(artist-vaporize-lines, artist-flood-fill): Use push and pop directly.
(artist-push, artist-pop): Macro deleted.
(artist-version): 1.2.6
(artist-prev-next-op-alist): New variable.
(artist-select-next-op-in-list): New function.
(artist-select-prev-op-in-list): New function.
(artist-make-prev-next-op-alist): New function.
(artist-is-in-op-list-p): New function.
(artist-get-first-non-nil-op): New function.
(artist-get-last-non-nil-op): New function.
(artist-mode-init): Call artist-get-last-non-nil-op to initialize
artist-prev-next-op-alist.
(artist-mode-map): Add binding for C-mouse-4 and C-mouse-5 to
change drawing operation.
Jay Belanger [Thu, 30 Dec 2004 19:45:12 +0000 (19:45 +0000)]
(calc-user-define-edit, calc-finish-macro-edit)
(calc-user-define-permanent, calc-execute-kbd-macro): Replace
obsolete function MacEdit-parse-keys with edmacro-parse-keys.
Kim F. Storm [Thu, 30 Dec 2004 18:01:59 +0000 (18:01 +0000)]
(get_line_height_property): New function extracted from
original calc_line_height_property.
(calc_line_height_property): Rework. Handle t and (nil . ratio).
(x_produce_glyphs): Use them to handle line-height and
line-spacing according to new height spec.
(Qtotal): Remove.
(syms_of_xdisp): Remove defsubr and intern for Qtotal.
Kim F. Storm [Thu, 30 Dec 2004 18:01:43 +0000 (18:01 +0000)]
(Line Height): Total line-height is now specified
in line-height property of form (HEIGHT TOTAL). Swap (FACE . RATIO)
in cons cells. (nil . RATIO) is relative to actual line height.
Use line-height `t' instead of `0' to get minimum height.
Kenichi Handa [Thu, 30 Dec 2004 12:42:11 +0000 (12:42 +0000)]
(basic-save-buffer-1): Set
explicit-buffer-file-coding-system to last-coding-system-used.
(revert-buffer): Pay attention to
explicit-buffer-file-coding-system (not buffer-file-coding-system)
on bind coding-system-for-read.
Kenichi Handa [Thu, 30 Dec 2004 12:28:41 +0000 (12:28 +0000)]
(Finsert_file_contents): Don't use
current_buffer->buffer_file_coding_system even if REPLACE is
non-nil. Call Qafter_insert_file_set_coding with the second arg
VISIT.
Kenichi Handa [Thu, 30 Dec 2004 12:26:31 +0000 (12:26 +0000)]
(x_new_font): Set FRAME_COLUMN_WIDTH to
fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to
fontp-?space_width..
(x_load_font): Calculate fontp->space_width and
fontp->average_width.
(x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH.