Stefan Monnier [Tue, 2 Apr 2002 17:28:26 +0000 (17:28 +0000)]
(f90-keywords-re, f90-keywords-level-3-re)
(f90-procedures-re, f90-operators-re, f90-hpf-keywords-re): Use regexp-opt.
(f90-keywords-re, f90-keywords-level-3-re): Add `pure' and `elemental'.
(f90-procedures-re): Add `null' and `cpu_time' from F95.
(f90-font-lock-keywords-1): Minor reorganization so we don't need
`override' any more.
(f90-font-lock-keywords-3): Use `keep' rather than `override'.
(f90-indent-subprogram): Use indent-region.
(f90-break-line): Use indent-according-to-mode.
Mike Williams [Tue, 2 Apr 2002 11:26:12 +0000 (11:26 +0000)]
(sgml-close-tag): Rename from
sgml-insert-end-tag. Simplify by using sgml-lexical-context.
(sgml-get-context): Remove use of sgml-inside-tag-p.
(sgml-inside-tag-p): Remove.
Stefan Monnier [Mon, 1 Apr 2002 23:32:15 +0000 (23:32 +0000)]
(sgml-at-indentation-p, sgml-tag)
(sgml-parse-tag-name, sgml-looking-back-at, sgml-parse-tag-backward)
(sgml-inside-tag-p, sgml-get-context, sgml-show-context)
(sgml-insert-end-tag): New funs taken from xml-lite.el.
(sgml-calculate-indent): Use them.
(sgml-slash-matching): Rename from sgml-slash.
(sgml-slash): Copied from xml-lite and changed to use
sgml-slash-matching and sgml-quick-keys.
Stefan Monnier [Mon, 1 Apr 2002 23:04:46 +0000 (23:04 +0000)]
(get_doc_string): Return nil of the location is wrong.
(reread_doc_file): New fun.
(Fdocumentation, Fdocumentation_property):
Call it if get_doc_string fails.
(Fsnarf_documentation): Make it work for a dumped Emacs.
(tcl-imenu-generic-expression): New value.
(tcl-imenu-create-index-function): Function deleted.
(tcl-mode): Check for filladapt-mode.
Use tcl-imenu-generic-expression instead of
tcl-imenu-create-index-function.
(inferior-tcl-mode): Doc fix.
Change not legally significant.
Stefan Monnier [Mon, 1 Apr 2002 19:50:51 +0000 (19:50 +0000)]
(DATAGRAM_CONN_P, list_processes_1)
(Fprocess_datagram_address, Fset_process_datagram_address)
(Fset_network_process_options, server_accept_connection):
Fix some int/Lisp_Object confusions (thank you union types).
(tool-bar-local-item): Renamed from tool-bar-add-item, and new arg MAP.
(tool-bar-add-item): Now calls tool-bar-local-item.
(tool-bar-local-item-from-menu): Renamed from
tool-bar-add-item-from-menu, and new arg IN-MAP.
(tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
Pavel Janík [Mon, 1 Apr 2002 13:42:32 +0000 (13:42 +0000)]
(Qselect_window): New symbol.
(head_table): Use it.
(keys_of_keyboard): Bound select-window event to handle-select-window.
(kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT.
Colin Walters [Fri, 29 Mar 2002 22:54:49 +0000 (22:54 +0000)]
(ibuffer-mark-interactive): Use `ibuffer-forward-line' instead of
`forward-line'.
(ibuffer-forward-line): Be sure to skip over special properties
before moving, too.
Stefan Monnier [Fri, 29 Mar 2002 22:20:15 +0000 (22:20 +0000)]
(sgml-lexical-context): Return (text . START)
instead of nil when point is outside of any tag.
(sgml-beginning-of-tag): Adjust to the change.
(sgml-calculate-indent): Use the new info returned by
sgml-lexical-context. Try to handle unclosed tags.
Stefan Monnier [Fri, 29 Mar 2002 22:16:38 +0000 (22:16 +0000)]
(xml-lite-get-context): Don't stop parsing
at unclosed tags unless it is at indentation.
Kill nested unclosed tags.
(xml-lite-calculate-indent, xml-lite-indent-line): Remove.
(xml-lite-mode): Use sgml-indent-line instead.
Stefan Monnier [Fri, 29 Mar 2002 20:10:46 +0000 (20:10 +0000)]
(xml-lite-get-context): Allow stopping even with an empty context.
Don't save excursion any more. Ignore end-tags in sgml-empty-tags.
Don't complain about unmatched start-tags in sgml-unclosed-tags.
(xml-lite-get-context, xml-lite-calculate-indent)
(xml-lite-insert-end-tag): Save excursion around xml-lite-get-context.
(xml-lite-indent-line): Use back-to-indentation.
Stefan Monnier [Fri, 29 Mar 2002 19:38:22 +0000 (19:38 +0000)]
(sgml-basic-offset): New var.
(sgml-name-re, sgml-attrs-re): New consts.
(sgml-tag-name-re, sgml-start-tag-regex, sgml-font-lock-keywords-1)
(sgml-mode): Use them.
(sgml-lexical-context): Default to (point-min) if nothing else works.
(sgml-calculate-indent): Indent slightly differently.
(sgml-indent-line): Use back-to-indentation.
(sgml-parse-dtd): New function.
(sgml-unclosed-tags): New var.
(html-mode): Set it.
(dired-do-query-replace-regexp, dired-do-search):
Use FILTER arg in dired-get-marked-files to exclude directories.
(dired-nondirectory-p): New function.
Eli Zaretskii [Fri, 29 Mar 2002 12:38:35 +0000 (12:38 +0000)]
(openp, Fload): Encode the file name before pasing it
to `stat', `access', and `emacs_open'.
(openp): GCPRO the encoded file name. Don't recompute Lisp
strings unnecessarily.