aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* src/w32.c, src/w32term.c: Remove unused local variables.Juanma Barranquero2013-01-091-0/+5
|
* * insdel.c (make_gap_larger): Fix comment because gap_left doesn'tDmitry Antipov2013-01-091-1/+1
| | | | | adjust markers. (make_gap_smaller): Likewise for gap_right.
* * lisp.h (make_gap_1): New prototype.Dmitry Antipov2013-01-091-0/+15
| | | | | | | | | | | | | | * buffer.h (GAP_BYTES_DFL, GAP_BYTES_MIN): New macros for the special gap size values. * editfns.c (Fbuffer_size): Rename from Fbufsize to fit the common naming convention. (syms_of_editfns): Adjust defsubr. Drop commented-out obsolete code. * insdel.c (make_gap_larger): Use GAP_BYTES_DFL. (make_gap_smaller): Use GAP_BYTES_MIN. Adjust comment. (make_gap_1): New function to adjust the gap of any buffer. * coding.c (coding_alloc_by_making_gap): Use it. * buffer.c (compact_buffer): Likewise. Use BUF_Z_BYTE, BUF_GAP_SIZE, GAP_BYTES_DFL and GAP_BYTES_MIN. Adjust comment.
* * lisp/textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):Juri Linkov2013-01-091-0/+5
| | | | | | | | | | * lisp/progmodes/flymake.el (flymake-errline, flymake-warnline): Use underline style wave on terminals that support it. * src/xfaces.c (tty_supports_face_attributes_p): Return 0 for the case of (supports :underline (:style wave)). Fixes: debbugs:13000
* * lisp/simple.el (primitive-undo): Move from undo.c.Aaron S. Hawley2013-01-081-0/+5
| | | | | | * src/undo.c (Fprimitive_undo): Move to simple.el. (syms_of_undo): Remove declaration for Sprimitive_undo. * test/automated/undo-tests.el: New file.
* * src/keyboard.c (echo_add_key): Rename from echo_add_char.Stefan Monnier2013-01-081-8/+12
|
* Fix echoing of replayed keys.Chong Yidong2013-01-061-0/+9
| | | | | | | | | | | * keyboard.c (echo_add_char): New function, factored out from echo_char. Don't add a space if the previous echo string was empty. (echo_char): Use it. (read_key_sequence): When echoing mock input, ensure that the trailing dash is properly added. Fixes: debbugs:13255
* Merge from emacs-24; up to 2012-12-07T08:13:49Z!dmantipov@yandex.ruGlenn Morris2013-01-051-0/+9
|\
| * Improve display of glyph matrix by dump-glyph-matrix.Eli Zaretskii2013-01-051-0/+9
| | | | | | | | | | | | | | | | | | src/xdisp.c (dump_glyph): Align glyph data better. Use "pD" instead of a non-portable "t" to print ptrdiff_t values. Allow up to 9 digits for buffer positions, before misalignment starts. Display "0" for integer "object" field. (dump_glyph_row): Adapt the header line to changes in dump_glyph. Display the newline glyph more unambiguously.
* | Merge from emacs-24; up to 2012-12-06T20:16:38Z!monnier@iro.umontreal.caGlenn Morris2013-01-041-0/+12
|\ \ | |/
| * Don't use previous underline thickness or position if previous underline ↵YAMAMOTO Mitsuharu2013-01-041-0/+5
| | | | | | | | type is underwave.
| * Make underwave look more triangular and also degrade gracefully for small ↵YAMAMOTO Mitsuharu2013-01-041-0/+7
| | | | | | | | fonts. (Bug#13000)
* | * lisp/view.el (view--enable, view--disable): Rename from view-mode-enableStefan Monnier2013-01-031-1/+1
| | | | | | | | | | | | | | | | and view-mode-disable and assume it's called from view-mode. (view-mode-enable, view-mode-disable): Redefine as obsolete compatibility layer above view-mode. (view-mode-enter): Call `view-mode'. * lisp/files.el (after-find-file): Call `view-mode'.
* | * src/fileio.c (Ffile_acl): Undocument return format.Stefan Monnier2013-01-031-0/+4
| | | | | | | | * doc/lispref/files.texi (File Attributes): Idem.
* | Correct dates of merged ChangeLog entriesGlenn Morris2013-01-021-1/+1
| |
* | Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.caPaul Eggert2013-01-021-1/+5
|\ \ | |/
| * Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
| |
| * * src/keymap.c (Fkey_description): Doc fix.Glenn Morris2012-12-311-0/+4
| | | | | | | | Fixes: debbugs:13323
* | Simplify via eabs.Paul Eggert2013-01-011-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | * dired.c (file_name_completion): * doc.c (get_doc_string): * floatfns.c (round2): * font.c (font_score, font_delete_unmatched): * fringe.c (compute_fringe_widths): * lread.c (read_list): * minibuf.c (Ftry_completion): * term.c (tty_ins_del_lines): * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): Use eabs (x) rather than open-coding it as (x < 0 ? -x : x).
* | Fix a bug with time zones on MS-Windows.Eli Zaretskii2012-12-311-0/+7
| | | | | | | | | | | | | | src/w32.c (unsetenv): Set up the string passed to _putenv correctly. See http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html for the bug this caused.
* | * coding.c (Qmac): Now static.Paul Eggert2012-12-301-0/+4
| |
* | Check for deprecated gtk tearoff menu item in configure.Jan Djärv2012-12-301-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for GtkHandlebox. Check for GtkTearoffMenuItem. * src/gtkutil.c (TOOLBAR_TOP_WIDGET): New macro. (xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of handlebox_widget. Set toolbar_in_hbox to false/true, set toolbar_is_packed to true. (xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET. (update_frame_tool_bar): Check toolbar_is_packed for packing. Show all on TOOLBAR_TOP_WIDGET. (free_frame_tool_bar): Check toolbar_is_packed. Use widget returned by TOOLBAR_TOP_WIDGET. (xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET. Check toolbar_is_packed. (xg_have_tear_offs, tearoff_remove, tearoff_activate): Condition on HAVE_GTK_TEAROFF_MENU_ITEM_NEW. (xg_have_tear_offs): When ! HAVE_GTK_TEAROFF_MENU_ITEM_NEW, return false. (create_menus): Create tearoff only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW. (xg_update_menubar): Update title only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW. (xg_update_submenu): Skip tearoff only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW. (xg_initialize): Initialize xg_detached_menus only if HAVE_GTK_TEAROFF_MENU_ITEM_NEW.
* | Check for deprecated gtk_handle_box in configure.Jan Djärv2012-12-301-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Check for GtkHandlebox. * src/gtkutil.c (TOOLBAR_TOP_WIDGET): New macro. (xg_pack_tool_bar): Use TOOLBAR_TOP_WIDGET, condition out use of handlebox_widget. Set toolbar_in_hbox to false/true, set toolbar_is_packed to true. (xg_update_tool_bar_sizes): Use widget returned by TOOLBAR_TOP_WIDGET. (update_frame_tool_bar): Check toolbar_is_packed for packing. Show all on TOOLBAR_TOP_WIDGET. (free_frame_tool_bar): Check toolbar_is_packed. Use widget returned by TOOLBAR_TOP_WIDGET. (xg_change_toolbar_position): Use widget returned by TOOLBAR_TOP_WIDGET. Check toolbar_is_packed. * src/xterm.h (struct x_output): Surround handlebox_widget with #ifdef HAVE_GTK_HANDLE_BOX_NEW. toolbar_is_packed is new, toolbar_in_hbox is bool.
* | Merge from emacs-24; up to 2012-12-05T00:13:56Z!yamaoka@jpl.orgGlenn Morris2012-12-301-0/+13
|\ \ | |/
| * Properly configure GNUstep librariesAndreas Schwab2012-12-291-0/+7
| | | | | | | | | | | | | | | | | | | | | | * configure.ac (TEMACS_LDFLAGS2): Don't define. (LIBS_GNUSTEP): Set for GNUstep and substitute. (LD_SWITCH_SYSTEM_TEMACS): Don't set for GNUstep. * src/Makefile.in (TEMACS_LDFLAGS2): Remove. (LIBS_GNUSTEP): Define. (LIBES): Add $(LIBS_GNUSTEP). (temacs$(EXEEXT)): Use $(LDFLAGS) instead of $(TEMACS_LDFLAGS2).
| * Fix bug #13277 with TTY cursor positioning in a line with overlay arrow.Eli Zaretskii2012-12-271-0/+6
| | | | | | | | | | | | | | src/xdisp.c (set_cursor_from_row): Don't confuse a truncation or continuation glyph on a TTY with an indication of an empty line. src/dispextern.h: Improve commentary to glyph->charpos and glyph->object.
* | Improve copy-file diagnostics on MS-Windows.Eli Zaretskii2012-12-291-0/+1
| | | | | | | | | | src/fileio.c (Fcopy_file) [WINDOWSNT]: Improve diagnostics when CopyFile fails by looking at what GetLastError returns.
* | Fix bug #13298 with failed backups by falling back on set-file-modes.Eli Zaretskii2012-12-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | src/fileio.c (Fset_file_selinux_context, Fset_file_acl): Return t if file's SELinux context or ACLs successfully set, nil otherwise. lisp/files.el (backup-buffer-copy, basic-save-buffer-2): If set-file-extended-attributes fails, fall back on set-file-modes instead of signaling an error. doc/lispref/files.texi (Changing Files): Document the return values of set-file-selinux-context and set-file-acl.
* | More cleanup in handling subprocess exiting on MS-Windows.Eli Zaretskii2012-12-291-0/+5
| | | | | | | | | | src/w32proc.c (reader_thread): Avoid passing NULL handles to SetEvent and WaitForSingleObject.
* | Port EXTERNALLY_VISIBLE to Clang 3.2.Paul Eggert2012-12-271-0/+6
| | | | | | | | | | * conf_post.h (__has_attribute): New macro. (EXTERNALLY_VISIBLE): Use it. This ports to Clang 3.2.
* | Merge from emacs-24; up to 2012-12-03T21:07:47Z!eggert@cs.ucla.eduGlenn Morris2012-12-271-0/+20
|\ \ | |/
| * Document cygwin-convert-file-name-{to|from}-windowsGlenn Morris2012-12-261-0/+5
| | | | | | | | | | | | | | | | | | * doc/lispref/files.texi (File Names): Mention Cygwin conversion functions. * src/cygw32.c (Fcygwin_convert_file_name_to_windows) (Fcygwin_convert_file_name_from_windows): Doc fixes. * etc/NEWS: Related markup.
| * Fix bug #13262 with crashes in completion on MS-Windows with non-ASCII ↵Eli Zaretskii2012-12-241-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filenames. src/fileio.c (file_name_as_directory, directory_file_name): Accept an additional argument MULTIBYTE to indicate whether the input C came from a multibyte or a unibyte Lisp string; all callers adjusted. Don't assume the input string is always multibyte. (Ffile_name_directory) [DOS_NT]: Handle unibyte strings correctly: don't ENCODE_FILE them, and return a unibyte string if the input was unibyte. (Fexpand_file_name): Don't mix unibyte with multibyte strings, and don't assume the input strings will always be multibyte. If the input strings are multibyte, decode strings obtained from C library functions.
* | * print.c (print_object): If Lisp_Save_Value object's pointerDmitry Antipov2012-12-261-0/+4
| | | | | | | | | | | | is the address of a memory area containing Lisp_Objects, try to print them. * alloc.c (valid_lisp_object_p): Adjust comment.
* | * lisp.h (toplevel): Add two notices to the comment aboutDmitry Antipov2012-12-261-0/+5
| | | | | | | | defining a new Lisp data type.
* | * keyboard.c (record_asynch_buffer_change): Initialize an eventDmitry Antipov2012-12-261-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | only if it's really needed. * frame.h (enum output_method): Remove output_mac member since it's a leftover from the deleted code. * frame.c (Fframep): Adjust user here ... * terminal.c (Fterminal_live_p): ... and here. * coding.c (Qmac): Now here because it's only used to denote end-of-line encoding type. (syms_of_coding): DEFSYM it. * frame.h (Qmac): Remove duplicated declaration.
* | * window.c (select_window_1): Now static.Paul Eggert2012-12-251-0/+4
| |
* | Fix window-body-width on text terminals.Eli Zaretskii2012-12-251-0/+7
| | | | | | | | | | | | | | src/window.c (window_body_cols): Subtract display margins from the window body width on TTYs as well. See http://lists.gnu.org/archive/html/help-gnu-emacs/2012-12/msg00317.html for the original report.
* | * xterm.h (struct x_output): Remove toolbar_detached member since it'sDmitry Antipov2012-12-251-0/+4
| | | | | | | | | | | | set but never used. * gtkutil.c (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback) (xg_create_tool_bar): Adjust users.
* | * xdisp.c (redisplay_window): Remove inner local variableDmitry Antipov2012-12-251-1/+6
| | | | | | | | because the outer shadowed one has the same meaning.
* | * buffer.c (Fset_buffer_modified_p): Use buffer_window_countDmitry Antipov2012-12-241-0/+3
| | | | | | | | | | to check whether the buffer is displayed in some window. * xdisp.c (message_dolog): Likewise.
* | * buffer.h (BUF_COMPACT): New macro to follow the common style.Dmitry Antipov2012-12-241-0/+8
| | | | | | | | | | | | | | * buffer.c (Fget_buffer_create): Use it to set compact field of struct buffer_text to avoid accessing an uninitialized value when compact_buffer is called for the first time. (compact_buffer): Use convenient BUF_COMPACT and BUF_MODIFF.
* | Don't fail in acl_set_file on MS-Windows if the operation is a no-op.Eli Zaretskii2012-12-231-0/+6
| | | | | | | | | | | | | | | | src/w32.c (acl_set_file): If setting the file security descriptor fails, and the new DACL is identical to the existing one, silently return success. This fixes problems for users backing up their own files without having the necessary privileges for setting security descriptors.
* | Improve handling of subprocess shutdown on MS-Windows.Eli Zaretskii2012-12-231-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/w32proc.c (reader_thread): Do not index fd_info[] with negative values. (reader_thread): Exit when cp->status becomes STATUS_READ_ERROR after WaitForSingleObject returns normally. This expedites reader thread shutdown when delete_child triggers it. (reap_subprocess): More accurate commentary for why we call delete_child only when cp->fd is negative. src/w32.c (sys_close): Do not call delete_child on a subprocess whose handle is not yet closed. Instead, set its file descriptor to a negative value, so that reap_subprocess will call delete_child on that subprocess when its SIGCHLD arrives. This avoids closing handles used for communications between sys_select and reader_thread, which doesn't give sys_select a chance to notice that the process exited and invoke the SIGCHLD handler for it.
* | * nsfns.m (Fns_do_applescript): Run event loop until script hasJan Djärv2012-12-231-0/+7
| | | | | | | | | | | | | | | | been executed. (ns_run_ascript): Chech as_script for nil, set to nil after executing script. Fixes: debbugs:12969
* | Merge from emacs-24; up to 2012-12-02T06:22:32Z!cyd@gnu.orgGlenn Morris2012-12-221-0/+4
|\ \ | |/
| * Reword doc and doc-string of select-window (Bug#13248).Martin Rudalics2012-12-221-0/+4
| | | | | | | | | | | | * window.c (Fselect_window): Reword doc-string. * windows.texi (Selecting Windows): Reword description of select-window.
* | Support 'fullscreen' frame parameter on MS-Windows.Eli Zaretskii2012-12-221-0/+5
| | | | | | | | | | src/w32term.c (w32fullscreen_hook): New function. (w32_create_terminal): Plug it into the terminal's fullscreen_hook.
* | Merge from emacs-24; up to 2012-12-01T13:25:13Z!cyd@gnu.orgGlenn Morris2012-12-211-0/+28
|\ \ | |/
| * src/fileio.c (Finsert_file_contents): Doc fix.Eli Zaretskii2012-12-211-0/+2
| |