Luc Teirlinck [Fri, 30 Dec 2005 23:15:03 +0000 (23:15 +0000)]
(set_text_properties): Reword description of return value.
Return Qnil if caller wants to remove all text properties from a
string and the string already has no intervals.
Stefan Monnier [Fri, 30 Dec 2005 21:48:35 +0000 (21:48 +0000)]
(visible_cursor): New boolean var.
(set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on
visible_cursor.
(syms_of_term): Export the new var as "visible-cursor".
Roland Winkler [Fri, 30 Dec 2005 17:00:32 +0000 (17:00 +0000)]
(bibtex-mode): Make completion-ignore-case
buffer-local because choose-completion-delete-max-match requires
that we set completion-ignore-case (i.e., binding via let is not
sufficient).
(bibtex-complete): Always set completion-ignore-case and
choose-completion-string-functions. The latter is needed because
choose-completion-string-functions keeps its value if we quit the
*Completions* buffer without requesting a completion.
Roland Winkler [Fri, 30 Dec 2005 16:57:55 +0000 (16:57 +0000)]
* textmodes/bibtex.el (bibtex-mode): Make completion-ignore-case
buffer-local because choose-completion-delete-max-match requires
that we set completion-ignore-case (i.e., binding via let is not
sufficient).
(bibtex-complete): Always set completion-ignore-case and
choose-completion-string-functions. The latter is needed because
choose-completion-string-functions keeps its value if we quit the
*Completions* buffer without requesting a completion.
Eli Zaretskii [Fri, 30 Dec 2005 13:02:42 +0000 (13:02 +0000)]
(MOUSE_SUPPORT): Add tooltip.elc.
(lisp1): Add rfn-eshadow.elc, international/utf-16.elc. Rearrange
the list to be similar to $(shortlisp) in src/Makefile.in.
(lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc, jit-lock.elc.
Rearrange the list to be similar to $(shortlisp) in src/Makefile.in.
(readevalloop): Test for reading a whole buffer
before actually reading anything. Handle all cases, including
START = END = nil and an already-narrowed buffer.
Convert END to a marker if it is a number.
(describe_map): Put sparse map elements into an array,
sort them, then output a sequence of identical bindings on one line.
(struct describe_map_elt): New data type.
(describe_map_compare): New function.
(Mode Line Top): New node.
(Mode Line Data): Some text moved to new node.
Explain the data structure more concretely.
(Mode Line Basics): Clarifications.
(Mode Line Variables): Clarify intro paragraph.
(%-Constructs): Clarify intro paragraph.
(Mode Line Format): Update menu.
Roland Winkler [Thu, 29 Dec 2005 15:25:28 +0000 (15:25 +0000)]
(bibtex-entry-type-whitespace)
(bibtex-entry-type-str, bibtex-empty-field-re)
(bibtex-search-backward-string, bibtex-preamble-prefix)
(bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head):
Removed.
(bibtex-any-valid-entry-type): New variable.
(bibtex-parse-field-name): Simplify.
(bibtex-parse-string, bibtex-search-forward-string): New arg
empty-key.
(bibtex-preamble-prefix): Include left delimiter.
(bibtex-search-forward-field, bibtex-search-backward-field): Allow
unbounded search past entry boundaries (required by bibtex-pop).
(bibtex-text-in-field-bounds): Use push.
(bibtex-text-in-field): Do not use bibtex-narrow-to-entry.
(bibtex-parse-preamble, bibtex-valid-entry)
(bibtex-beginning-first-field): New functions.
(bibtex-skip-to-valid-entry): Use bibtex-valid-entry. Fix regexp.
(bibtex-map-entries): Fix docstring.
(bibtex-flash-head): New arg prompt. Simplify.
(bibtex-enclosing-field): Include code of bibtex-inside-field.
(bibtex-insert-kill): Simplify. Always insert text past the
current field or entry.
(bibtex-format-entry): Use bibtex-parse-field.
(bibtex-pop): Use bibtex-beginning-of-entry and
bibtex-end-of-entry to initiate the search. Insert empty field if
we found ourselves.
(bibtex-print-help-message): New args field and comma. Handle
entry keys.
(bibtex-make-field): Use bibtex-beginning-of-entry.
(bibtex-end-of-entry): Use bibtex-valid-entry. Recognize any
invalid entry.
(bibtex-validate): Use bibtex-valid-entry and bibtex-parse-string.
Handle preambles. Simplify code for thorough test.
(bibtex-next-field, bibtex-find-text, bibtex-find-text-internal):
New arg comma. Handle entry heads.
(bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters)
(bibtex-kill-field, bibtex-copy-field-as-kil, bibtex-empty-field):
New arg comma.
(bibtex-kill-entry): Use bibtex-any-entry-maybe-empty-head.
(bibtex-fill-field): Simplify.
(bibtex-fill-entry): Use bibtex-beginning-first-field and
bibtex-parse-field.
(bibtex-convert-alien): Do not wait before calling
bibtex-validate.
(bibtex-complete): Use bibtex-parse-preamble.
Nick Roberts [Thu, 29 Dec 2005 02:04:36 +0000 (02:04 +0000)]
(gdb-tooltip-print, gdb-tooltip-print-1):
Display name of expression instead of convenience variable.
(gdb-post-prompt): Only call gdb-get-changed-registers if needed.
Nick Roberts [Thu, 29 Dec 2005 02:03:20 +0000 (02:03 +0000)]
(gud-tooltip-dereference): Rename from toggle-gud-tooltip-dereference.
(gud-tooltip-print-command): Move concatenation of "*" to expr to...
(gud-tooltip-tips): ...here when dereferencing.
Juri Linkov [Wed, 28 Dec 2005 01:55:16 +0000 (01:55 +0000)]
(describe-text-sexp): Use square brackets for
button [Show] to distinguish it from the property value `show'.
(describe-property-list): Use `insert-text-button' with
`help-face' type instead of putting face in quotes, because button
is not created automatically for a list of faces.
(describe-text-properties-1): Put button-type value in quotes to
distinguish from plain text "button".
(describe-char): Display code point values in hex. Don't use
`symbol-name' for `current-input-method' because it is a string.
Use `insert-text-button' with `help-face' type instead of putting
hardcoded face in quotes, because button is not created automatically.
(flyspell-external-point-words):
Use local var buffer-scan-pos to advance scan for next misspelling.
Advance it only after we find the misspelling.
New criteria for finding the misspelling in the buffer.
Jan Djärv [Tue, 27 Dec 2005 10:40:26 +0000 (10:40 +0000)]
* xfns.c: x_show_hidden_files, new variable.
(syms_of_xfns): Defvar it.
* gtkutil.c (xg_toggle_visibility_cb): New function.
(xg_get_file_with_chooser): Add toggle hidden files and a message
to the new file chooser dialog. Show hidden files if
x_show_hidden_files is non-zero.
Jan Djärv [Tue, 27 Dec 2005 10:40:10 +0000 (10:40 +0000)]
* gtkutil.c (xg_toggle_visibility_cb): New function.
(xg_get_file_with_chooser): Add toggle hidden files and a message
to the new file chooser dialog. Show hidden files if
x_show_hidden_files is non-zero.