Stefan Monnier [Mon, 3 Mar 2008 04:06:03 +0000 (04:06 +0000)]
Use inhibit-read-only and with-current-buffer.
(gnus-summary-jump-to-group): Consider windows on other displayed frames as
well. Similar changes might be needed elsewhere, but that's the one I've
bumped into during my use.
Jason Rumney [Mon, 3 Mar 2008 01:49:33 +0000 (01:49 +0000)]
(recompute_cached_metrics): Change font arg to w32font_info.
Compute options separately.
(w32font_open_internal): Set glyph_idx before caching metrics.
Jason Rumney [Mon, 3 Mar 2008 00:31:40 +0000 (00:31 +0000)]
(Quniscribe, QCformat): New symbols.
(syms_of_w32font): Define them.
(w32font_has_char): Indicate uncertainty.
(w32font_encode_char): Encode as glyph point. Make static.
(recompute_cached_metrics): New function.
(w32font_open_internal): Use it. Set font to use glyph points
initially. Set format based on type of font.
(w32font_text_extents, w32font_draw): Optionally use glyph points.
(w32_enumfont_pattern_entity): Accept backend arg. Set type based
on it. Set format based on information available here.
(add_font_entity_to_list): Identify backend based on opentype_only.
Kenichi Handa [Sun, 2 Mar 2008 08:05:14 +0000 (08:05 +0000)]
(decode_coding_utf_8): When eol-type of CODING is
`dos', don't decode '\r' if that is the last in the source.
(decode_coding_utf_16, decode_coding_emacs_mule)
(decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5)
(decode_coding_raw_text, decode_coding_charset): Likewise.
(produce_chars): Don't decode EOL here. Use EMACS_INT.
Glenn Morris [Sat, 1 Mar 2008 21:11:37 +0000 (21:11 +0000)]
This is Dan's patch from
http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-02/msg00134.html
changed to use a common `bytecomp' prefix.
(byte-recompile-directory, byte-compile-file, batch-byte-compile)
(batch-byte-compile-file): Give a `bytecomp-' prefix to local
variables with common names.
Glenn Morris [Sat, 1 Mar 2008 20:23:36 +0000 (20:23 +0000)]
(viper-cond-compile-for-xemacs-or-emacs): Delete macro.
Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Replace obselete frame-local variables with frame-parameters.
(viper-replace-overlay-cursor-color, viper-insert-state-cursor-color)
(viper-emacs-state-cursor-color, viper-vi-state-cursor-color): Only
call make-variable-frame-local on XEmacs.
Glenn Morris [Sat, 1 Mar 2008 20:19:23 +0000 (20:19 +0000)]
(zmacs-region-stays): No need to define for compiler.
Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Replace obselete frame-local variables with frame-parameters.
(viper-frame-value): New macro.
(viper-set-cursor-color-according-to-state, viper-save-cursor-color)
(viper-get-saved-cursor-color-in-replace-mode)
(viper-get-saved-cursor-color-in-insert-mode)
(viper-get-saved-cursor-color-in-emacs-mode, viper-set-replace-overlay):
Use viper-frame-value for viper-replace-overlay-cursor-color,
viper-emacs-state-cursor-color, viper-insert-state-cursor-color, and
viper-vi-state-cursor-color values.
(viper-set-minibuffer-overlay): Use when rather than if.
Glenn Morris [Sat, 1 Mar 2008 20:14:46 +0000 (20:14 +0000)]
(zmacs-region-stays): No need to define for compiler.
Expand all viper-cond-compile-for-xemacs-or-emacs calls to a featurep test.
Replace obselete frame-local variables with frame-parameters.
(viper-insert-state-post-command-sentinel, viper-R-state-post-command-sentinel)
(viper-replace-state-post-command-sentinel, viper-change-state-to-insert)
(viper-change-state-to-emacs): Use viper-frame-value for
viper-replace-overlay-cursor-color, viper-emacs-state-cursor-color,
viper-insert-state-cursor-color, and viper-vi-state-cursor-color values.
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>.