Eli Zaretskii [Fri, 21 Apr 2006 12:22:24 +0000 (12:22 +0000)]
(keyboard-coding-system): defcustom info-link fixes: "Specify Coding" has
been split, keyboard now in "Terminal Coding", and "Single-Byte Character
Support" is now "Unibyte Mode".
Eli Zaretskii [Fri, 21 Apr 2006 11:42:01 +0000 (11:42 +0000)]
(MS-DOS File Names): Remove section about backslashes and case-insensitivity
in file names (moved to the main manual).
(MS-DOS Printing): Move most of the text to the main manual.
(x_per_char_metric): Return NULL if glyph width is 0.
(add_mac_font_name): New function.
(init_font_name_table): Use it. Adopt the first found font from
those having the same family name.
Bill Wohler [Fri, 21 Apr 2006 01:32:16 +0000 (01:32 +0000)]
* mh-tool-bar.el (image-load-path): Define to shush compiler.
(mh-buffer-exists-p): Move inside mh-do-in-gnu-emacs since it isn't
used outside of it.
(mh-tool-bar-folder-buttons-init, mh-tool-bar-letter-buttons-init):
Update load-path/image-load-path before setting buttons. This code
used to be in mh-folder-mode/mh-letter-mode but this was the wrong
place since mh-tool-bar-*-buttons-init can also be called when
customizing the buttons.
(mh-tool-bar-update): New function which updates tool-bar-map in all
of the MH-E buffers after customizing the buttons (closes SF
#1452718).
(mh-tool-bar-folder-buttons-set, mh-tool-bar-letter-buttons-set): Call
it (closes SF #1452718).
* mh-folder.el (mh-folder-buttons-init-flag): Delete. Use
mh-folder-tool-bar-map instead.
(image-load-path): Delete. No longer used.
(mh-folder-mode): Moved setting of image-load-path into
mh-tool-bar-folder-buttons-init.
* mh-letter.el (mh-letter-buttons-init-flag): Delete. Use
mh-letter-tool-bar-map instead.
(image-load-path): Delete. No longer used.
(mh-letter-mode): Moved setting of image-load-path into
mh-tool-bar-letter-buttons-init.
* mh-seq.el (mh-narrow-to-seq, mh-widen): Use with-current-buffer
instead of set-buffer.
Nick Roberts [Thu, 20 Apr 2006 22:57:03 +0000 (22:57 +0000)]
(gdb-data-list-register-values-handler):
Use font-lock-warning-face for any errors e.g. no stack.
(gdb-stack-list-locals-handler): Display any errors e.g. no stack.
* org.texi: (Time stamps): Better explanation of the purpose of
different time stamps.
(Structure editing, Plain lists): More details on how new items
and headings are inserted.
* org.el (org-deadline-announce): Face removed.
(org-level-faces, org-n-levels): Converted to constant.
(org-compatible-face): New function.
(org-hide, org-level-1, org-level-2, org-level-3, org-level-4)
(org-level-5, org-level-6, org-level-7, org-level-8)
(org-special-keyword, org-warning, org-headline-done,
org-link)
(org-date, org-tag, org-todo, org-done, org-table,
org-formula)
(org-scheduled-today, org-scheduled-previously,
org-time-grid):
Face definition revised for better color tty support.
(org-bold-re, org-italic-re, org-underline-re): New constants.
(org-set-font-lock-defaults): Use the new constants.
(org-agenda-highlight-todo): New function.
(org-agenda-todo): Fixed bug with point at end of line.
(org-agenda-change-all-lines, org-finalize-agenda-entries):
Fontify TODO keywords.
(org-insert-link): Preserve relative path in ../ links.
(org-export-as-html): Convert links pointing to .org files
into
links that will work beteen the exported HTML files.
(org-todo-list): Fix bug when arg=0.
(org-insert-heading): More fine-tuning.
Lars Hansen [Thu, 20 Apr 2006 11:36:50 +0000 (11:36 +0000)]
(Fremove_list_of_text_properties): Ensure
modify_region is called only when buffer is modified and that
signal_after_change is allways called in that case.
Kim F. Storm [Wed, 19 Apr 2006 23:20:21 +0000 (23:20 +0000)]
(redisplay_window): If current window start is not at the
beginning of a line, select a new window start if buffer is modified
and window start is in the modified region, but the first change is
before window start.
J.D. Smith [Tue, 18 Apr 2006 23:49:28 +0000 (23:49 +0000)]
(comint-previous-input): Don't clobber input line when moving off either
end of the input history ring.
(comint-delete-input): New function, used by `comint-previous-input' and
others.
(comint-previous-matching-input): Use `coming-delete-input'. Save the
partial input if leaving the edit line. Goto point-max before deleting
input to avoid partial input fragments hanging around.
(comint-restore-input): New function, used by `comint-previous-input',
and bound to "C-c C-j".
J.D. Smith [Tue, 18 Apr 2006 23:46:53 +0000 (23:46 +0000)]
* comint.el (comint-previous-input): Don't clobber input line
when moving off either end of the input history ring.
(comint-delete-input): New function, used by
`comint-previous-input' and others.
(comint-previous-matching-input): Use
`coming-delete-input'. Save the partial input if leaving the
edit line. Goto point-max before deleting input to avoid
partial input fragments hanging around.
(comint-restore-input): New function, used by
`comint-previous-input', and bound to [C-c C-g].
(enable-local-variables): Allow :all as value.
(hack-local-variables): Implement that value.
(safe-local-variable-values, safe-local-eval-forms)
(enable-local-variables): Mark as risky.
(find-file-visit-truename, kept-old-versions): Mark safe.
Stefan Monnier [Tue, 18 Apr 2006 21:16:50 +0000 (21:16 +0000)]
(tcl-send-string, tcl-send-region): Use forward-line so as to get to BOL
even in the presence of fields.
(tcl-eval-region): Strip surrounding space to avoid multiple prompts in return.
(inferior-tcl): Tell tclsh to work in interactive mode.
(restore_menu_items, save_menu_items): New fns.
(set_frame_menubar): Use save_menu_items. Save updated vector in
the frame before unwinding it. Don't use unuse_menu_items. Don't
use discard_menu_items.
(digest_single_submenu): Abort if an item is not in a pane.
(init_menu_items): Put the error check at the top.
Bill Wohler [Tue, 18 Apr 2006 19:20:44 +0000 (19:20 +0000)]
(defcustom-mh, defface-mh, defgroup-mh, mh-face-data)
(mh-strip-package-version, mh-face-data, mh-inherit-face-flag)
(mh-min-colors-defined-flag): Do not unbind these macros and
variables. Nice idea, but too many nasty side-effects. These macros
are needed by [Cc]ustom-make-dependencies when creating the MH-E
customization groups in mh-cus-load.el. These disappeared when the
macros above were introduced. Besides, if a developer were to try to
show the help for a macro or variable they were looking at and got [No
match] when they did so, that would be bad.
Stefan Monnier [Tue, 18 Apr 2006 17:33:33 +0000 (17:33 +0000)]
(partial-completion-mode): Use 'choose-completion-string-functions to make
sure that choose-completion fills the minibuffer properly.
(PC-old-read-file-name-internal): Remove.
(PC-read-include-file-name-internal): Remove. Turn it into an advice
of read-file-name-internal.
(partial-completion-mode): Enable/disable this advice.
(org-insert-heading): Insert heading before current if at
beginning of line.
(org-todo, org-date): New faces.
(org-table-align): Make sure tooltip window contains full text.
(org-no-properties): New defsubst.
(org-set-font-lock-defaults): Use new faces.
Bill Wohler [Tue, 18 Apr 2006 00:55:43 +0000 (00:55 +0000)]
* mh-acros.el (mh-defun-compat): Rename to defun-mh in order that
variables and functions with the same name are found correctly by
find-func (invoked by clicking on the filename link in the *Help*
buffer.
(mh-defmacro-compat): Rename to defmacro-mh. Ditto. *
mh-e.el: (mh-defgroup): Rename to defgroup-mh. Ditto.
(mh-defcustom): Rename to defcustom-mh. Ditto.
(mh-defface): Rename to defface-mh. Ditto.
(mh-font-lock-add-keywords): Make changes according to these
renamings.
* mh-e.el, mh-compat.el, mh-gnus.el: Use the new names (closes SF
#1472029).