Jay Belanger [Sun, 26 Apr 2009 01:39:48 +0000 (01:39 +0000)]
(calc-set-mode-line): Check to make sure that the correct Calc buffer
gets "Embed" in the mode line.
(calc-mode): Copy stack list for additional Calc buffers.
Michael Albinus [Fri, 24 Apr 2009 13:54:50 +0000 (13:54 +0000)]
* net/tramp.el (tramp-handle-directory-files-and-attributes-with-stat)
(tramp-handle-file-name-all-completions): Don't use "-b" as ls
arg. It does not work on OpenBSD. Reported by Taylor Venable
<taylor@metasyntax.net>.
* os.texi (Startup Summary): Copyedits. The init file is not
necessarily named .emacs now. Document initial-buffer-choice and
initial-scratch-message. Note where Emacs exits in batch mode.
Document inhibit-splash-screen as an alias.
(Init File): Be neutral about which init file name to use.
Jason Rumney [Sun, 19 Apr 2009 15:09:25 +0000 (15:09 +0000)]
The following changes fix Bug#3005 for wide glyphs on each platform,
without reintroducing Bug#1258 for stretch glyphs.
* xterm.c (x_draw_bar_cursor): Limit cursor width differently for
BAR_CURSOR and HBAR_CURSOR. Calculate width of HBAR_CURSOR using
get_phys_cursor_geometry.
* w32term.c (x_draw_bar_cursor): Limit cursor width differently
for BAR_CURSOR and HBAR_CURSOR. Calculate width of HBAR_CURSOR
using get_phys_cursor_geometry.
Jan Djärv [Sun, 19 Apr 2009 10:53:15 +0000 (10:53 +0000)]
Make Emacs compile when Gtk+ and -DGTK_DISABLE_DEPRECATED is used.
* gtkutil.c (xg_tool_bar_menu_proxy, update_frame_tool_bar): Use
G_CALLBACK instead of GTK_SIGNAL_FUNC which is deprecated.
(xg_initialize): Use g_type_class_ref instead of gtk_type_class which
is deprecated.
* configure.in (HAVE_GTK_FILE_SELECTION, HAVE_GTK_FILE_CHOOSER): Check
if it is declared in gtk.h.
(Qja, Qko): Don't make them static.
(enum ftfont_cache_for): New enum.
(fc_charset_table): Undo the previous change.
(ftfont_get_latin1_charset): Delete it.
(ftfont_pattern_entity): Check cache by ftfont_lookup_cache. Set
FONT_SIZE_INDEX of the entity to 0 for a scalable font. For a
non-scarable font, try to get AVERAGE_WIDTH.
(ftfont_lookup_cache): Argument FOR-FACE is changed to CACHE_FOR.
Change ft_face_cache from a list of a hash-table. Don't check
`ja' and `ko' adstyle here.
(ftfont_get_fc_charset): Call ftfont_lookup_cache with
FTFONT_CACHE_FOR_CHARET.
(ftfont_get_charset): Undo the previous change.
(ftfont_open): Call ftfont_lookup_cache with
FTFONT_CACHE_FOR_FACE.
(ftfont_close): Likewise.
(ftfont_has_char): Special handling of `ja' and `ko' adstyle.
(font_sort_entites): Change the meaning of the arg
BEST-ONLY. Don't optimize for VEC of lenght 1.
(font_select_entity): Just return the value of font_sort_entites.
(merge_face_vectors): Reflect font properties in
to[LFACE_FONT_INDEX] to the other face attributes. Don't call
font_clear_prop if a face attribute doesn't change.
* searching.texi (Regexp Backslash): Also refer to shy groups as
non-capturing or unnumbered groups.
(Regexp Functions): Add cross-reference to Regexp Backslash.
* display.texi (Truncation): Overlays can use line-prefix and
wrap-prefix too.
(Overlay Properties): Document wrap-prefix and line-prefix.
(Face Attributes): Document underline-minimum-offset.
(Face Remapping): Copyedits.
(Low-Level Font): Copyedits.
(Image Cache): Note that the image cache is shared between frames.
* callint.c (history_delete_duplicates): New declaration.
(Fcall_interactively): Remove command history duplicates when
history_delete_duplicates is true.
Michael Albinus [Tue, 14 Apr 2009 14:36:38 +0000 (14:36 +0000)]
* net/tramp.el (tramp-handle-dired-recursive-delete-directory):
Fix an error in flushing cache data.
(tramp-handle-process-file): Flush all file cache values for the
connection, because the remote process could have changed them.
Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
Handle QUIT.
Eli Zaretskii [Tue, 14 Apr 2009 10:37:59 +0000 (10:37 +0000)]
(src) <gdb.ini>: Don't replace the line with x_error_quitter; instead
append "set environment NAME" to the end.
Set NAME and USERNAME in the environment to the same value.
Stefan Monnier [Tue, 14 Apr 2009 02:02:30 +0000 (02:02 +0000)]
(completion--try-word-completion): Don't disable
`partial-completion' any more. Mark the added char instead.
(completion-pcm--string->pattern): Notice chars added by
completion--try-word-completion and treat them specially.
(Fdefine_charset_internal): Make charset
ascii-compatible if the method is CHARSET_METHOD_OFFSET, the
code_offset is 0, and covers all ASCII characters.
Stefan Monnier [Mon, 13 Apr 2009 18:45:12 +0000 (18:45 +0000)]
* nsselect.m (symbol_to_nsstring, clean_local_selection_data)
(ns_string_to_pasteboard_internal):
* nsmenu.m (process_dialog):
* nsimage.m (ns_load_image): Use SDATA and ASET where appropriate.
* nsfont.m (nsfont_open): Use XHASH to make it compile with LISP_UNION.
* lisp.h (Fx_load_color_file): Declare.