(completion-setup-function): Set an initial value to `element-common-end' before entering loop. Set a value to `element-common-end' at the end of loop. The bug is reported by Juri Linkov <juri@jurta.org> in emacs-devel list.
Stefan Monnier [Thu, 15 Apr 2004 20:19:11 +0000 (20:19 +0000)]
(smerge-match-conflict): Try to do something sensible
for nested conflict markers.
(smerge-find-conflict): Better handle errors in smerge-match-conflict.
Stefan Monnier [Wed, 14 Apr 2004 20:31:53 +0000 (20:31 +0000)]
(python-orig-start-line, python-orig-file): Remove.
(python-orig-start): New var.
(python-input-filter, python-compilation-line-number)
(python-send-region, python-load-file): Use it.
Stefan Monnier [Wed, 14 Apr 2004 18:58:45 +0000 (18:58 +0000)]
Doc fixes.
(comint-last-input-start, comint-last-input-end)
(comint-last-output-start): Give them values.
(comint-arguments): Avoid warning.
(comint-skip-prompt): Use line-end-position.
(comint-backward-matching-input): Rename arg to agree with doc.
(comint-extract-string): Use syntax-ppss.
(comint-dynamic-simple-complete): Delete useless list construction.
(comint-redirect-subvert-readonly): New.
(comint-redirect-preoutput-filter): Use it.
Stefan Monnier [Wed, 14 Apr 2004 18:36:14 +0000 (18:36 +0000)]
(xml-maybe-do-ns): New function to handle namespace
parsing of both attribute and element names.
(xml-ns-parse-ns-attrs, xml-ns-expand-el, xml-ns-expand-attr)
(xml-intern-attrlist): Remove in favor of xml-maybe-do-ns.
(xml-parse-tag): Update assumed namespaces. Clean up namespace parsing.
(xml-parse-attlist): Make it do its own namespace parsing.
Various changes in addition to:
(Buffer File Name): Add `find-buffer-visiting'.
(Buffer Modification): Mention optional ARG to `not-modified'.
(Indirect Buffers): Mention optional CLONE argument to `make-indirect-buffer'.
Various changes in addition to:
(Visiting Functions): `find-file-hook' is now a normal hook.
(File Name Expansion): Explain difference between the way that
`expand-file-name' and `file-truename' treat `..'.
(Contents of Directories): Mention optional ID-FORMAT argument to
`directory-files-and-attributes'.
(Format Conversion): Mention new optional CONFIRM argument to
`format-write-file'.
Stefan Monnier [Tue, 13 Apr 2004 23:16:29 +0000 (23:16 +0000)]
(compilation-minor-mode-map)
(compilation-shell-minor-mode-map, compile-mouse-goto-error)
(compile-goto-error): Re-merge the mouse and non-mouse commands.
Daniel Pfeiffer [Tue, 13 Apr 2004 22:46:18 +0000 (22:46 +0000)]
(compilation-setup): Localize overlay-arrow-position.
(compilation-sentinel): Restructure code equivalently.
(compilation-next-error): Find message on same line after point if
not found before point.
(compile-mouse-goto-error): Restore function so that compilation
buffer need not be current and use compile-goto-error.
(compile-goto-error): Restore function.
(next-error): Set overlay-arrow-position.
(compilation-forget-errors): Don't localize already local
compilation-locs and remove FIXME about refontifying.
Kim F. Storm [Tue, 13 Apr 2004 22:20:04 +0000 (22:20 +0000)]
(emacs-quick-startup): New defvar (set by -Q).
(command-line): New option -Q. Like -q --no-site-file, but
in addition it also disables menu-bar, tool-bar, scroll-bars,
tool-tips, and the blinking cursor.
(command-line-1): Skip startup screen if -Q.
(fancy-splash-head): Use :align-to center prop to center splash image.
Kim F. Storm [Tue, 13 Apr 2004 21:31:23 +0000 (21:31 +0000)]
(get_glyph_string_clip_rect): Fix reduction of cursor
height to glyph height when cursor row is not fully visible.
(make_cursor_line_fully_visible): Add FORCE_P arg to return
failure in case row is higher than window. Callers changed.
(try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd).
Try to scroll partially visible, higher-than-window cursor row.
(redisplay_window): Always try to scroll partially visible,
higher-than-window cursor row - both initially and again with
centering_position = 0.
Clear desired matrix before retrying with centering_position = 0.
Stefan Monnier [Tue, 13 Apr 2004 18:02:03 +0000 (18:02 +0000)]
Doc fixes. Changes for compiler warnings.
(syntax): Don't require.
(python) <defgroup>: Add :version.
(python-quote-syntax): Re-written.
(inferior-python-mode): Move stuff here from run-python and add
some more.
(python-preoutput-continuation, python-preoutput-result)
(python-dotty-syntax-table): New.
(python-describe-symbol): Use them.
(run-python): Move stuff to inferior-python-mode. Modify code
loaded into Python.
(python-send-region): Use python-proc, python-send-string.
(python-send-string): Send newlines too. Callers changed.
(python-load-file): Re-written.
(python-eldoc-function): New.
(info-look): Don't require.
(python-after-info-look): New. A modified version of former
top-level code for use with eval-after-load.
(python-maybe-jython, python-guess-indent): Use widened buffer.
(python-fill-paragraph): Re-written.
(python-mode): Fix outline-regexp. Set outline-heading-end-regexp,
eldoc-print-current-symbol-info-function. Add to eldoc-mode-hook.
(ibuffer-delete-window-on-quit): Remove.
(ibuffer-restore-window-config-on-quit): New variable to replace
`ibuffer-delete-window-on-quit'. Update all references.
(ibuffer-prev-window-config): New variable.
(ibuffer-quit): Restore previous window configuration instead of deleting
window.
(ibuffer): Save window configuration before showing Ibuffer buffer.