1. 18 Jul, 2014 2 commits
    • Albert Krewinkel's avatar
      * lisp/gnus/gnus-msg.el (gnus-configure-posting-style): · 32a60830
      Albert Krewinkel authored
      Allow string replacements in values when matching against a header.
      
      * doc/misc/gnus.texi (Posting Styles): Document the possibility to
      perform string replacements when matching against headers.
      32a60830
    • Dmitry Antipov's avatar
      * frame.c (frame_unspecified_color): New function · 0e604077
      Dmitry Antipov authored
      refactored out from ...
      (Fframe_parameters, Fframe_parameter): ... adjusted users.
      (x_fullscreen_adjust, set_frame_param): Move Windows-specific
      function to ...
      * w32term.c (x_fullscreen_adjust, set_frame_param): ... static here.
      * frame.h (x_fullscreen_adjust) [HAVE_NTGUI]:
      * lisp.h (set_frame_param): Remove prototype.
      * xterm.c (x_display_pixel_width, x_display_pixel_height): Now ...
      * xterm.h (x_display_pixel_width, x_display_pixel_height): ...
      inlined from here.
      0e604077
  2. 17 Jul, 2014 2 commits
    • Dmitry Antipov's avatar
      * data.c (wrong_choice): Not static any more. · 5d59504a
      Dmitry Antipov authored
      * lisp.h (wrong_choice): Add prototype.
      * frame.h (struct frame) [USE_X_TOOLKIT || HAVE_NTGUI]:
      Declare namebuf as such.  Tweak comment.
      [USE_GTK]: Likewise for tool_bar_position.
      (fset_tool_bar_position) [USE_GTK]: Ditto.
      (FRAME_TOOL_BAR_POSITION): New macro.
      * frame.c (x_report_frame_params):
      * gtkutil.c (update_frame_tool_bar):
      * xfns.c (Fx_create_frame): Use it.
      (x_set_tool_bar_position): Add meaningful diagnostic messages.
      5d59504a
    • Dmitry Antipov's avatar
      * print.c (print_preprocess): Adjust to match changed · b1bfebbf
      Dmitry Antipov authored
      sub char-table structure and avoid crash (Bug#18038).
      b1bfebbf
  3. 16 Jul, 2014 8 commits
  4. 15 Jul, 2014 5 commits
  5. 14 Jul, 2014 9 commits
    • Daniel Colascione's avatar
      Unbreak compilation of derived cc-mode modes · fb32e9f8
      Daniel Colascione authored
      * lisp/progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
      Use `macroexpand-all' instead of `cl-macroexpand-all'.
      
      * lisp/progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
      to `macroexpand-all'
      fb32e9f8
    • Glenn Morris's avatar
      Tweak earlier vc-log-edit change · be8b1ebb
      Glenn Morris authored
      * lisp/vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
      if it was "empty", or used for a different set of files.
      
      Fixes: debbugs:17884
      be8b1ebb
    • Paul Eggert's avatar
      Use binary-io module, O_BINARY, and "b" flag. · ba1ed52f
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add binary-io.  It was already
      present implicitly; this just makes the dependence explicit.
      * lib-src/etags.c, lib-src/hexl.c, lib-src/make-docfile.c:
      Include binary-io.h instead of fcntl.h and/or io.h.
      (main): Use set_binary_mode or SET_BINARY
      in place of handcrafted code.
      * lib-src/etags.c (main) [DOS_NT]:
      * lib-src/movemail.c (main) [WINDOWSNT]:
      Don't mess with _fmode.
      * lib-src/etags.c (main, process_file_name, analyse_regex):
      Use fopen/popen's "b" flag instead.
      * lib-src/movemail.c (main, popmail): Use open/lk_open/mkostemp's O_BINARY
      instead.
      * src/callproc.c (create_temp_file): Use mkostemp's O_BINARY flag.
      * src/emacs.c [MSDOS]:
      * src/emacs.c (main) [DOS_NT]: Don't mess with _fmode.
      (main) [MSDOS]: Use SET_BINARY instead of setmode.
      * src/minibuf.c: Include binary-io.h instead of fcntl.h.
      (read_minibuf_noninteractive):
      Use set_binary_mode instead of handcrafted code.
      Don't call emacs_set_tty if emacs_get_tty failed.
      * src/sysdep.c, src/systty.h (emacs_get_tty): Return int, not void.
      * src/sysdep.c (emacs_open, emacs_pipe): Use O_BINARY.
      * src/w32.c (pipe2): Adjust eassert to include O_BINARY.
      
      Fixes: debbugs:18006
      ba1ed52f
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      * macros.c (Fstart_kbd_macro): Simplify. · 918be627
      Paul Eggert authored
      This works around a GCC compiler bug when Emacs is configured with
      --enable-gcc-warnings.
      918be627
    • Eli Zaretskii's avatar
      3d743935
    • Dmitry Antipov's avatar
      * term.c (tty_menu_add_pane, tty_menu_add_selection): · c299f850
      Dmitry Antipov authored
      Use menu_item_width.
      (tty_menu_show): Simplify because ty_menu_create never return NULL.
      c299f850
    • Dmitry Antipov's avatar
      * lisp.h (CHECK_VECTOR_OR_STRING): Return number of elements · 201b6857
      Dmitry Antipov authored
      or characters in string, respectively.  Add comment.
      * fringe.c (Fdefine_fringe_bitmap):
      * fns.c (Fsubstring, substring_both): Use it.
      * keymap.c (Fdefine_key, Flookup_key):
      * macros.c (Fstart_kbd_macro): Likewise.  Avoid call to Flength.
      201b6857
    • Paul Eggert's avatar
      * make-docfile.c: Simplify a bit, to simplify further refactoring. · a705278d
      Paul Eggert authored
      (outfile): Remove static var.  All uses changed to use stdout,
      since it's always stdout anyway.  While we're at it, prefer
      putchar/puts/fputs to printf when there are no format strings.
      (main): Use freopen rather than fopen, so that stdout is reused.
      Move O_BINARY stuff after the freopen, so it affects the
      reopened file.
      (write_c_args): Omit first arg, since it's always stdout now.
      All uses changed.
      a705278d
  6. 13 Jul, 2014 2 commits
    • Paul Eggert's avatar
      Improve behavior of 'bzr up; cd src; make -k'. · 4939f58d
      Paul Eggert authored
      * Makefile.in (ACLOCAL_INPUTS): Add all m4/*.m4 files.
      * src/Makefile.in (top_srcdir): New var.
      (ntsource, lispsource, ALL_CFLAGS, gl-stamp, emacs.res):
      Use '$(top_srcdir)' instead of '$(srcdir)/..';
      its expansion is a bit shorter.
      (../config.status): Actually build config.status instead of
      just complaining.
      (ACLOCAL_INPUTS, AUTOCONF_INPUTS):
      New macros, copied and relocated from ../Makefile.in.
      ($(top_srcdir)/aclocal.m4, $(top_srcdir)/configure, config.in)
      (../config.status, Makefile): New dependencies and rules,
      copied with relocation from ../Makefile.in.  This should be more
      likely to rebuild the build machinery properly if you do a 'make'
      in the src directory.
      4939f58d
    • Eli Zaretskii's avatar
      Fix bug #17986 with infloop in redisplay when default-directory is nil. · b20759f9
      Eli Zaretskii authored
       src/xdisp.c (decode_mode_spec): Call file-remote-p on the current
       buffer's default-directory only if it is a string.
      
       lisp/bindings.el (mode-line-remote): If default-directory is not a
       string, don't call file-remote-p on it; instead state in the
       help-echo that it is nil.
      b20759f9
  7. 12 Jul, 2014 9 commits
  8. 11 Jul, 2014 3 commits