Jan Djärv [Sat, 1 Mar 2008 14:56:53 +0000 (14:56 +0000)]
(xg_resize_outer_widget): Only do one of set_geometry or
set_char_size.
(xg_frame_resized): Renamed from xg_resize_widgets. Remove all
operations on widgets here. Just set frame size if needed.
(flush_and_sync, x_wm_size_hint_off, xg_pack_tool_bar): New functions.
(xg_frame_set_char_size): Call x_wm_size_hint_off before resizing.
(x_wm_set_size_hint): Set size hints on the edit widget only, not
the whole frame.
(xg_create_tool_bar): Move attachement of the tool bar to
xg_pack_tool_bar. Do not attach the tool bar if there are no items.
(free_frame_tool_bar): Remove call to SET_FRAME_GARBAGED.
(desktop-read): Set `desktop-dirname' to nil before running
`desktop-not-loaded-hook' to allow modifying it.
Don't show warning message if `desktop-dirname' was modified.
Kim F. Storm [Fri, 29 Feb 2008 23:44:55 +0000 (23:44 +0000)]
(Help Files): Move describe-gnu-project to C-h g.
Move describe-distribution to C-h C-o.
Move view-emacs-problems to C-h C-p.
Add view-emacs-debugging on C-h C-d.
Add view-external-packages on C-h C-e.
Add view-order-manuals on C-h C-m.
Kim F. Storm [Fri, 29 Feb 2008 23:43:10 +0000 (23:43 +0000)]
(cua-remap-control-v)
(cua-remap-control-z): New defcustoms.
(cua-mode): Add them to set-after property.
(cua--init-keymaps): Use them.
Add C-x/C-c home, end, next, and prior to cua--prefix-repeat-keymap.
Dan Nicolaescu [Fri, 29 Feb 2008 19:13:54 +0000 (19:13 +0000)]
* vc.el (vc-status-crt-marked): New variable.
(vc-status-mode): Make it local.
(vc-status-refresh): Use it to save the marked files.
(vc-update-vc-status-buffer): Use it to restore the marked files.
* vc-svn.el (vc-svn-after-dir-status):
* vc-hg.el (vc-hg-after-dir-status): Clean up the temporary buffer.
Juri Linkov [Thu, 28 Feb 2008 23:32:11 +0000 (23:32 +0000)]
(normal-splash-screen): Add argument `concise'.
Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
to the created buffer. If `concise' is non-nil, call
`display-buffer', otherwise `switch-to-buffer'. Doc fix.
(display-startup-screen): Add argument `concise' to the call to
`normal-splash-screen'.
Juri Linkov [Thu, 28 Feb 2008 23:30:11 +0000 (23:30 +0000)]
(normal-splash-screen): Add argument `concise'.
Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
to the created buffer. If `concise' is non-nil, call
`display-buffer', otherwise `switch-to-buffer'. Doc fix.
(display-startup-screen): Add argument `concise' to the call to
`normal-splash-screen'.
Juri Linkov [Thu, 28 Feb 2008 22:50:26 +0000 (22:50 +0000)]
Always add initial message to *scratch* buffer if
`initial-scratch-message' is non-nil regardless of the value of
`inhibit-startup-screen'.
(inhibit-startup-screen, initial-scratch-message): Doc fix.
(command-line-1): Move code that inserts `initial-scratch-message'
up before the if-form that checks for `inhibit-startup-screen'.
Suggested by Jonathan Rockway <jon@jrock.us>.
Juri Linkov [Thu, 28 Feb 2008 22:43:30 +0000 (22:43 +0000)]
Always add initial message to *scratch* buffer if
`initial-scratch-message' is non-nil regardless of the value of
`inhibit-startup-screen'.
(inhibit-startup-screen, initial-scratch-message): Doc fix.
(command-line-1): Move code that inserts `initial-scratch-message'
up before the if-form that checks for `inhibit-startup-screen'.
Suggested by Jonathan Rockway <jon@jrock.us>.
Juri Linkov [Thu, 28 Feb 2008 20:46:30 +0000 (20:46 +0000)]
(menu-bar-search-menu, menu-bar-replace-menu): Capitalize "Tagged Files".
(minibuffer-local-map): Add menu items for next/previous
history elements and isearch history forward/backward.
Juri Linkov [Thu, 28 Feb 2008 20:45:37 +0000 (20:45 +0000)]
(custom-mode-map, custom-mode-link-map):
Rename `custom-mode' to `Custom-mode' in docstrings.
(custom-buffer-create-internal, customize-browse):
Rename `custom-mode' to `Custom-mode'.
(custom-mode-hook): Rename to `Custom-mode-hook'.
(Custom-mode-hook): Renamed from `custom-mode-hook'.
(custom-mode): Rename to `Custom-mode'.
(Custom-mode): Renamed from `custom-mode'. Doc fix.
(custom-mode): Add backward-compatible non-interactive variant of
`Custom-mode' that simply calls `Custom-mode'. Mark it obsoleted.
(custom-mode-hook): Mark it as obsolete alias of `Custom-mode-hook'.
Glenn Morris [Thu, 28 Feb 2008 03:43:47 +0000 (03:43 +0000)]
Update commentary.
Remove leading `*' from defcustom doc-strings.
(Info-menu, Info-goto-node): Remove declarations.
(report-emacs-bug-info): Use info rather than Info-goto-node.
Kenichi Handa [Thu, 28 Feb 2008 01:58:07 +0000 (01:58 +0000)]
(isearch-printing-char): Don't check
keyboard-coding-system. Call
isearch-process-search-multibyte-characters only when
current-input-method is non-nil.
Kim F. Storm [Wed, 27 Feb 2008 22:49:15 +0000 (22:49 +0000)]
(GLYPH): Change type from int to struct with separate char
and face_id members.
(GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Delete macros.
(GLYPH_CHAR, GLYPH_FACE): Remove slow versions with frame arg.
(FAST_GLYPH_CHAR, FAST_GLYPH_FACE): Rename macros to ...
(GLYPH_CHAR, GLYPH_FACE): ... these. Change users.
(FAST_MAKE_GLYPH, MAKE_GLYPH): Remove. Rewrite users to use ...
(SET_GLYPH, SET_GLYPH_CHAR, SET_GLYPH_FACE): ... these macros instead.
(GLYPH_CODE_CHAR, GLYPH_CODE_FACE, GLYPH_CODE_P)
(GLYPH_CODE_CHAR_VALID_P, SET_GLYPH_FROM_GLYPH_CODE): New macros to
handle new Lisp glyph code encoding, either an integer or a cons.
Kim F. Storm [Wed, 27 Feb 2008 22:48:52 +0000 (22:48 +0000)]
(line_draw_cost): Adapt to new glyph type.
(build_frame_matrix_from_leaf_window): Adapt to new glyph type and
new glyph code encoding.
(spec_glyph_lookup_face): No return value; update passed glyph instead.
(init_display): Use SET_CHAR_GLYPH to initialize space_glyph.
(uniquify-buffer-base-name): If the base name is an empty
string, return nil to allow the caller to default to the
buffer name. Reported by Martin Fischer <parozusa@web.de>.