summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove __P and P_ from .c and .m files and definition of P_Jan D2010-07-0276-1586/+1657
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp.h: * atimer.h: Remove define for P_. * alloc.c: Remove __P and P_ from .c and .m files. * atimer.c: * buffer.c: * callint.c: * category.c: * charset.c: * chartab.c: * cm.c: * coding.c: * composite.c: * data.c: * dired.c: * dispnew.c: * doc.c: * editfns.c: * emacs.c: * eval.c: * fileio.c: * filelock.c: * fns.c: * font.c: * fontset.c: * frame.c: * ftfont.c: * ftxfont.c: * gmalloc.c: * gtkutil.c: * image.c: * indent.c: * intervals.c: * keyboard.c: * keymap.c: * lread.c: * marker.c: * menu.c: * minibuf.c: * print.c: * process.c: * scroll.c: * search.c: * sound.c: * strftime.c: * syntax.c: * sysdep.c: * term.c: * terminal.c: * textprop.c: * unexalpha.c: * w32console.c: * w32fns.c: * w32font.c: * w32menu.c: * w32term.c: * w32uniscribe.c: * window.c: * xdisp.c: * xfaces.c: * xfns.c: * xfont.c: * xftfont.c: * xmenu.c: * xselect.c: * xterm.c: Likewise. * ebrowse.c: Remove P_ and __P. * etags.c: * movemail.c: * pop.c: * update-game-score.c: Likewise.
* Remove P_ and __P macros.Jan D2010-07-0245-1649/+1699
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lwlib/lwlib-Xaw.h: Remove P_ and __P macros. * lwlib/lwlib-Xlw.h: * lwlib/lwlib-Xm.h: * lwlib/lwlib-int.h: * lwlib/lwlib-utils.h: * lwlib/lwlib.h: Likewise. * src/buffer.h: Remove P_ and __P macros. * src/category.h: * src/ccl.h: * src/character.h: * src/charset.h: * src/cm.h: * src/coding.h: * src/composite.h: * src/dispextern.h: * src/disptab.h: * src/font.h: * src/fontset.h: * src/frame.h: * src/gtkutil.h: * src/indent.h: * src/intervals.h: * src/keyboard.h: * src/keymap.h: * src/lisp.h: * src/macros.h: * src/md5.h: * src/menu.h: * src/msdos.h: * src/nsterm.h: * src/puresize.h: * src/region-cache.h: * src/syntax.h: * src/syssignal.h: * src/systime.h: * src/termhooks.h: * src/w32term.h: * src/widget.h: * src/window.h: * src/xgselect.h: * src/xsettings.h: * src/xterm.h: Likewise.
* Define USE_LISP_UNION_TYPE using autoconf.Dan Nicolaescu2010-07-027-5/+43
| | | | | * configure.in (--enable-use-lisp-union-type): New flag. * src/lisp.h: Document that USE_LISP_UNION_TYPE is now enabled using autoconf.
* Cleanup old code.Dan Nicolaescu2010-07-025-32/+14
| | | | | | | | * src/dired.c (BSD4_3): Remove all uses, redundant with BSD4_2. * src/syssignal.h: Remove code for Lynx, not supported anymore. * src/vm-limit.c: Remove unused code the depends on emacs not being defined and NO_LIM_DATA being defined. * src/mem-limits.h: Remove dead code.
* * window.c (Fwindow_absolute_pixel_edges): Doc fix.Jan D2010-07-012-1/+3
|
* 2010-07-01 Mark A. Hershberger <mah@everybody.org>Mark A. Hershberger2010-07-012-1/+7
| | | | | | | | | | | | | * url-http.el (url-http-create-request): Add a CRLF on the end so that POSTs with content to https urls work. See <https://bugs.launchpad.net/mediawiki-el/+bug/540759> Prior to this, the following request would not terminate: (let ((url-request-method "POST") (url-request-data "action=login")) (url-retrieve-synchronously "https://example.org/wiki/api.php"))
* New functions that return window edges with absolute coords (bug#5721).Jan D2010-07-012-0/+77
| | | | | * window.c (calc_absolute_offset, Fwindow_absolute_pixel_edges) (Fwindow_inside_absolute_pixel_edges): New functions (bug#5721).
* * nsfns.m (compute_tip_xy): Do not convert coordinates from frame parameters.Jan D2010-07-012-14/+24
|
* Rename FRAME_NS_TOOLBAR_HEIGHT to FRAME_TOOLBAR_HEIGHT to aid common code.Jan D2010-07-014-9/+23
| | | | | | | | | | * nsmenu.m (update_frame_tool_bar, free_frame_tool_bar): Update FRAME_TOOLBAR_HEIGHT. * nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGH * nsterm.m (x_set_window_size, initFrameFromEmacs): Renamed FRAME_NS_TOOLBAR_HEIGHT to FRAME_TOOLBAR_HEIGHT.
* * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): AddJan D2010-07-012-0/+9
| | | | BLOCK/UNBLOCK_INPUT so asserts don't trigger.
* * ruler-mode.el (ruler--save-header-line-format): Fix typos.Chong Yidong2010-07-012-8/+11
|
* Fix application of default-frame-alist (Bug#5378).Chong Yidong2010-06-305-41/+54
| | | | | | | | | | | | | | * lisp/frame.el (make-frame): Add default-frame-alist to the PARAMETERS argument passed to frame-creation-function (Bug#5378). * lisp/faces.el (x-handle-named-frame-geometry) (x-handle-reverse-video, x-create-frame-with-faces) (face-set-after-frame-default, tty-create-frame-with-faces): Don't separately consult default-frame-alist. It is now passed as the PARAMETER argument. * src/frame.c (get_future_frame_param, Fmake_terminal_frame): Don't check default-frame-alist.
* Fix whitespace in ChangeLogs.Juanma Barranquero2010-07-012-8/+8
|
* Avoid erroneous syscallsAndreas Schwab2010-07-013-5/+16
| | | | | | * process.c (create_process): Avoid using invalid file descriptors. * callproc.c (child_setup): Avoid closing a file descriptor twice.
* Fix typoAndreas Schwab2010-07-011-9/+9
|
* * startup.el (command-line): Don't call tool-bar-setup in a tty-only build.Andreas Schwab2010-07-012-4/+10
|
* Don't always set ruler-mode-header-line-format-old (Bug#5370).Chong Yidong2010-06-302-10/+32
| | | | | | * ruler-mode.el (ruler--save-header-line-format): New fun. (ruler-mode): Use it as a setter function, so as not to overwrite ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
* Improve doc for system font things. Return font regardless of use_system_font.Jan D2010-06-302-5/+14
| | | | | | * xsettings.c (Ffont_get_system_normal_font, Ffont_get_system_font): Improve documentation. Return font regardless of use_system_font. (syms_of_xsettings): Improve documentation for font-use-system-font.
* Check FC_DUAL too. For such fonts, check width one by one.Kenichi Handa2010-06-303-2/+9
|
* Remove comment that is no longer true.Glenn Morris2010-06-291-1/+0
|
* Fix CFLAGS for non-GCC compilers.Dan Nicolaescu2010-06-293-15/+15
| | | | | | * configure.in (CFLAGS): Always use -g like it was done before the 2010-03-30 change. (REAL_CFLAGS): Use CFLAGS for non-GCC to get optimization flags. (Bug#6538)
* Fix some whitespace in previous.Glenn Morris2010-06-293-8/+8
|
* * configure.in (HAVE_SOUND, HAVE_X_I18N, HAVE_X11R6_XIM):Glenn Morris2010-06-297-84/+75
| | | | | | | | | | Set with AC_DEFINE rather than AH_BOTTOM. * src/s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now. * admin/CPP-DEFINES: Remove INHIBIT_X11R6_XIM. * configure, src/config.in: Regenerate.
* Remove last internal use of cpp and src/{m,s}/*.h files in configure.in.Glenn Morris2010-06-294-136/+76
| | | | | * configure.in (CFLAGS, REAL_CFLAGS): Set with shell, not cpp. * configure, src/config.in: Regenerate.
* Remove some cpp that is internal to configure.in.Glenn Morris2010-06-2916-104/+70
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC): (USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH): Set with shell, not cpp. (LIBX): Remove, just use -lX11 in the one place this was used. (cannot_dump): Replace with CANNOT_DUMP. * src/Makefile.in (CANNOT_DUMP): Update for configure name change. * src/s/freebsd.h (USE_MMAP_FOR_BUFFERS): * src/s/irix6-5.h (USE_MMAP_FOR_BUFFERS): * src/s/darwin.h (SYSTEM_MALLOC): * src/s/sol2-10.h (SYSTEM_MALLOC): Move to configure. * src/m/alpha.h: Remove old comment. * src/s/aix4-2.h: Update comment. * src/s/template.h: Remove USE_MMAP_FOR_BUFFERS. * msdos/sed1v2.inp (CANNOT_DUMP): Update for configure name change. * admin/CPP-DEFINES: Remove USE_MMAP_FOR_BUFFERS, CANNOT_DUMP. * etc/DEBUG: Update SYSTEM_MALLOC and CANNOT_DUMP references. Some re-filling.
* Allow global VC ops like `C-x v D' in Diff and Log-View buffers.Chong Yidong2010-06-293-17/+27
| | | | | | | | | * vc/diff-mode.el (diff-vc-backend): New var. * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers. (vc-root-diff, vc-print-root-log, vc-log-incoming) (vc-log-outgoing): Use it. (vc-diff-internal): Set diff-vc-backend.
* Fix some compilation errors in nsfns.cJan D2010-06-292-3/+15
| | | | | | * nsfns.m: extern declare Vmenu_bar_mode, Vtool_bar_mode. (ns_get_screen): Don't assign integer to f. (Fx_display_color_cells): Declarations before statements.
* dynamic-setting.el (font-setting-change-default-font): Remove call to message.Jan D2010-06-282-1/+5
|
* xfns.c (x_default_font_parameter): Remove got_from_system (Bug#6526).Jan D2010-06-282-7/+6
|
* Mention bug numberJan D2010-06-281-1/+1
|
* Use non-deprecated Gtk+ functions, add changes for Gtk+3 with GSEAL_ENABLE.Jan D2010-06-2811-251/+400
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Add --with-x-toolkit=gtk3. Remove HAVE_GTK_MULTIDISPLAY, check for gtk_file_chooser_dialog_new, and HAVE_GTK_FILE_BOTH (implied by minimum required Gtk+ 2.6). Add checks for functions introduced in Gtk+ 2.14 or newer. * xterm.h (gtk_widget_get_window, gtk_widget_get_mapped) (gtk_adjustment_get_page_size, gtk_adjustment_get_upper): New defines based on what configure finds. * xterm.c (XTflash): Use gtk_widget_get_window. (xg_scroll_callback): Use gtk_adjustment_get_upper and gtk_adjustment_get_page_size. (handle_one_xevent): Use gtk_widget_get_mapped. (x_term_init): Remove HAVE_GTK_MULTIDISPLAY and associated error messages. * xmenu.c (create_and_show_popup_menu): Call gtk_widget_get_mapped. * gtkutil.h: Replace HAVE_GTK_FILE_BOTH with HAVE_GTK_FILE_SELECTION_NEW. * gtkutil.c (xg_display_open, xg_display_close): Remove HAVE_GTK_MULTIDISPLAY, it is always defined. (xg_display_open): Return type is void. (gtk_widget_set_has_window) (gtk_dialog_get_action_area, gtk_dialog_get_content_area) (gtk_widget_get_sensitive, gtk_adjustment_set_page_size) (gtk_adjustment_set_page_increment) (gtk_adjustment_get_step_increment): #define these if not found by configure. (remove_submenu): New define based on Gtk+ version. (xg_set_cursor, xg_frame_resized, xg_event_is_for_scrollbar): Use gtk_widget_get_window. (xg_frame_resized, xg_update_frame_menubar): Use gtk_widget_get_mapped. (xg_create_frame_widgets): Use gtk_widget_set_has_window. (create_dialog): Use gtk_dialog_get_action_area and gtk_dialog_get_content_area. (xg_uses_old_file_dialog, xg_get_file_name): Remove HAVE_GTK_FILE_BOTH and HAVE_GTK_FILE_CHOOSER_DIALOG_NEW. File chooser is always available, so checking for HAVE_GTK_FILE_SELECTION_NEW is enough. (xg_update_menubar, xg_update_submenu, xg_show_toolbar_item): Use g_object_ref and g_object_unref. (xg_update_menu_item, xg_tool_bar_menu_proxy): Use gtk_widget_get_sensitive. (xg_update_submenu): Use remove_submenu. (xg_update_scrollbar_pos): Don't use GtkFixedChild, use child properties instead to get old x and y position. (xg_set_toolkit_scroll_bar_thumb): Use gtk_adjustment_get_page_size, gtk_adjustment_get_step_increment, gtk_adjustment_set_page_size, gtk_adjustment_set_step_increment and gtk_adjustment_set_page_increment. (xg_get_tool_bar_widgets): New function. (xg_tool_bar_menu_proxy, xg_show_toolbar_item) (update_frame_tool_bar): Call xg_get_tool_bar_widgets. (toolbar_set_orientation): New #define based on if configure finds gtk_orientable_set_orientation. (xg_create_tool_bar): Call toolbar_set_orientation. (xg_make_tool_item, xg_show_toolbar_item): Call gtk_box_pack_start instead of gtk_box_pack_start_defaults.
* international/quail.el (quail-insert-kbd-layout): Fix the showing of ↵Kenichi Handa2010-06-282-1/+6
| | | | untranslated characters.
* * bindings.el (global-map): Bind delete and DEL, the former toChong Yidong2010-06-277-83/+118
| | | | | | | | | | | | | delete-forward-char. * mouse.el (mouse-region-delete-keys): Deleted. (mouse-show-mark): Simplify. * simple.el (delete-active-region): New option. (delete-backward-char): Implement in Lisp. (delete-forward-char): New command. * src/cmds.c (Fdelete_backward_char): Move into Lisp.
* * src/s/freebsd.h (BSD4_2): Remove redundant definition.Dan Nicolaescu2010-06-272-3/+5
| | | | bsd-common.h defines it already.
* * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.Chong Yidong2010-06-272-1/+7
| | | | (ruby-mode): Bind indent-line-function (Bug#5119).
* * startup.el (command-line): Recognize "0" X resource value.Chong Yidong2010-06-272-1/+5
|
* Change default-frame-alist and menu/tool-bar-mode interaction (Bug#2249).Chong Yidong2010-06-2611-105/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't add entries for `menu-bar-lines' and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist' at startup. Instead, use X resources to update the `menu-bar-mode' and `tool-bar-mode' variables at startup, and use them as defaults during frame creation. * lisp/frame.el (frame-notice-user-settings): Don't change default-frame-alist based on menu-bar-mode and tool-bar-mode, or vice versa. * lisp/menu-bar.el (menu-bar-mode): * lisp/tool-bar.el (tool-bar-mode): Don't change default-frame-alist. Set init-value to t. * lisp/startup.el (command-line): Use X resources to set the value of menu-bar-mode and tool-bar-mode, before calling frame-initialize. * src/frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars. * src/w32fns.c (Fx_create_frame): * src/nsfns.m (Fx_create_frame): Likewise. * src/xfns.c (Fx_create_frame): Don't consult X resouces when setting menu-bar-lines and tool-bar-lines. Use menu-bar-mode and tool-bar-mode, which are now set using these X resources at startup, to determine the defaults.
* Fix the MS-DOS build due to changes in configury.Eli Zaretskii2010-06-265-13/+34
| | | | | | | | | | | config.bat: Remove white space around "+" in COPY commands. msods/mainmake.v2 (version): Use emacs_version[] in src/emacs.c instead of lisp/version.el (see 2010-05-15T21:11:37Z!raeburn@raeburn.org). msdos/sed1v2.inp (MKDEPDIR): Edit to empty. Delete lines in rules that invoke $(MKDEPDIR). Fix editing rules that begin with "cd ../lisp". Edit out sh if-then-else-fi constructs that test ${CANNOT_DUMP}. Edit out "|| exit ;\" constructs in emacs${EXEEXT} rule.
* Revert 2010-06-26T12:01:31Z!eliz@gnu.org (fixed in emacs-23 branch).Eli Zaretskii2010-06-262-8/+11
|
* w32-fns.el (w32-convert-standard-filename): Doc fix.Eli Zaretskii2010-06-262-1/+5
|\
* | PROBLEMS: Update Cygwin-related info regarding GCC versions.Eli Zaretskii2010-06-262-11/+8
| |
* | Cherry-pick commit 8bd9308 from the org-mode Git repository.Carsten Dominik2010-06-263-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com> * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete variables. * org.el (calendar): Require calendar now on top level in org.el and define aliases to new variables when needed. (org-read-date, org-goto-calendar): Do not bind obsolete variables.
* | Revert last change.Chong Yidong2010-06-254-16/+2
| |
* | Change initial-frame-alist and default-frame-alist defaults (Bug#2249).Chong Yidong2010-06-254-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Since the menu-bar and tool-bar are now unconditionally turned on by default, we can let the defcustom defaults reflect that. * frame.el (initial-frame-alist): Give default value entries for menu-bar-lines and tool-bar-lines consistent with the startup default (Bug#2249). * frame.c (Vdefault_frame_alist): Give default value entries for menu-bar-lines and tool-bar-lines consistent with the startup default (Bug#2249).
* | Add missing Changelog entries for textmodes/ispell.el (bzr#100641) and ↵Agustín Martín2010-06-251-0/+8
| | | | | | | | textmodes/flyspell.el (bzr#100640)
* | ispell.el (ispell-init-process): Make sure ispell and default directories ↵Agustín Martín2010-06-251-3/+3
| | | | | | | | are expanded.
* | Make sure `flyspell-word' checks word after ↵Agustín Martín2010-06-251-1/+3
| | | | | | | | (flyspell-check-previous-highlighted-word) run.
* | Add redisplay test for image and overlay string interaction.Chong Yidong2010-06-242-5/+68
| |
* | * lisp/minibuffer.el (completions-format): Change default from nil toJuri Linkov2010-06-252-3/+8
| | | | | | | | `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
* | * lisp/vc/vc.el (vc-diff-internal): Set `revert-buffer-function'Juri Linkov2010-06-252-0/+9
| | | | | | | | buffer-locally to lambda that re-runs the vc diff command. (Bug#6447)