Kim F. Storm [Tue, 18 Nov 2003 23:44:11 +0000 (23:44 +0000)]
(init_iterator): Initialize it->start to position
before reseating (in case start position is invisible).
(init_to_row_start): Set it->start to row-start.
(redisplay_window): Accept optional_new_start if start position
is invisible (in which case IT_CHARPOS overshoots PT).
(display_line): Setup row->start from it->start (rather than
it->current which is wrong if first char on line is invisible).
When done, reseat it->start to it->current (= start of next row).
(expose_area): Fix exposure of text area when first char (e.g. TAB)
is only partially visible.
Stefan Monnier [Tue, 18 Nov 2003 00:39:13 +0000 (00:39 +0000)]
(make_float, Fcons): Clear the markbit at init time.
(make_float, Fcons, Fmake_symbol, allocate_misc): Move the increment
of block_index outside of the macro call.
(Fgarbage_collect): Remove null code.
Stefan Monnier [Mon, 17 Nov 2003 23:30:28 +0000 (23:30 +0000)]
(hashfn_eq, hashfn_eql, hashfn_equal, hash_put)
(sxhash_string, sxhash): Use INTMASK instead of VALMASK.
(maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM.
Stefan Monnier [Mon, 17 Nov 2003 23:29:30 +0000 (23:29 +0000)]
(VALMASK): Only define for non-union type.
(MARKBIT): Remove.
(ARRAY_MARK_FLAG): Use previous value of MARKBIT.
(XTYPE): Define unconditionally.
(XSETTYPE): Remove one more remnant.
(EQ): Define differently for the union and non-union cases.
(INTMASK): New bit mask.
(struct Lisp_Marker): Move down to prepare for upcoming patch.
(GC_EQ): Delegate to EQ.
John Wiegley [Mon, 17 Nov 2003 00:24:06 +0000 (00:24 +0000)]
(eshell-ls-file): There are times with size-width is nil and
uncomputed (when directories are created in dired, for example); in
this case, 4 is reasonable default value, although it may caused
skewed new entries (which could be avoided by returning the original
value of 8 in all cases, but 99% of the time this is a waste of
whitespace).
Kim F. Storm [Sun, 16 Nov 2003 23:44:22 +0000 (23:44 +0000)]
(start_display): Set it->first_vpos.
(try_window_id): Use first_vpos to start display in first _text_
line if no reusable lines at start of window with header line.
On behalf of Kevin Ryde <user42@zip.com.au>: Corrections
to cross references, (Interactive Options):
elisp "interactive" -> "Using Interactive".
(defvar and asterisk): Remove emacs "Edit Options" reference,
edit-options is no longer described in the emacs manual.
(Lists diagrammed): elisp "List Type" -> "Cons Cell Type".
Thien-Thi Nguyen [Fri, 14 Nov 2003 16:18:01 +0000 (16:18 +0000)]
(easy-mmode-define-navigation): Take additional
optional arg NARROWFUN. For the generated functions: Add local var
`was-narrowed-p'. Also, if NARROWFUN is specified, include frags that
arrange to check for and save narrowing state before the move and then
conditionally call NARROWFUN after the move.
Kenichi Handa [Thu, 13 Nov 2003 01:47:41 +0000 (01:47 +0000)]
(select_frame_for_redisplay): New function.
(redisplay_internal): Record also selected_frame for
unwind_redisplay. Call select_frame_for_redisplay before
redrawing each frame.
(unwind_redisplay): Argument changed to a cons.
Luc Teirlinck [Tue, 11 Nov 2003 03:58:26 +0000 (03:58 +0000)]
(Creating Markers): Specify insertion type of created markers. Add
xref to `Marker Insertion Types'. Second argument to `copy-marker' is
optional.
(Marker Insertion Types): Mention that most markers are created with
insertion type nil.
(The Mark): Correctly describe when `mark' signals an error.
(The Region): Correctly describe when `region-beginning' and
`region-end' signal an error.
Luc Teirlinck [Sun, 9 Nov 2003 04:49:58 +0000 (04:49 +0000)]
(Point): Change description of `buffer-end', so that it is also
correct for floating point arguments.
(List Motion): Correct argument lists of `beginning-of-defun' and
`end-of-defun'.
(Excursions): Add xref to `Marker Insertion Types'.
(Narrowing): Argument to `narrow-to-page' is optional.
Kenichi Handa [Fri, 7 Nov 2003 05:55:43 +0000 (05:55 +0000)]
(coding_allocate_composition_data): Reset
coding->composing to COMPOSITION_NO.
(coding_restore_composition): Detect invalid composition data.
Give Fstring and Fvector a Lispy integer, not C int.
Lars Hansen [Wed, 5 Nov 2003 13:28:48 +0000 (13:28 +0000)]
(desktop-locals-to-save): Add buffer-file-coding-system.
(desktop-buffer-file): Use saved buffer-file-coding-system
for file reading. Set auto-insert to nil to prevent automatic
insertion into restored empty files.
Luc Teirlinck [Wed, 5 Nov 2003 04:31:43 +0000 (04:31 +0000)]
(Defining Variables): Second argument to `defconst' is not optional.
(Setting Variables): Mention optional argument APPEND to `add-to-list'.
(Creating Buffer-Local): Expand description of `make-variable-buffer-local'.
(Frame-Local Variables): Expand description of `make-variable-frame-local'.
(Variable Aliases): Correct description of optional argument DOCSTRING
to `defvaralias'. Mention return value of `defvaralias'.
(File Local Variables): Add xref to `File variables' in Emacs Manual.
Correct description of `hack-local-variables'. Mention
`safe-local-variable' property. Mention optional second argument to
`risky-local-variable-p'.
Jan Djärv [Sun, 2 Nov 2003 16:47:32 +0000 (16:47 +0000)]
Remove tear off capability for GTK popup menus.
Since the context in Lisp is not present anymore, we don't know
how to invoke the action for a menu item.