1. 08 Nov, 2014 3 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el: Add a warning and remove a spurious warning. · 97cd7301
      Stefan Monnier authored
      (byte-compile-initial-macro-environment): Don't compile before eval in
      `eval-and-compile'.
      (byte-compile-arglist-warn): Add check for defining macros after their
      first use.  Check call use even if the function is fboundp.
      97cd7301
    • Richard M. Stallman's avatar
      Make rmail-epa-decrypt handle more ways of formatting the message. · c6bd7594
      Richard M. Stallman authored
      * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
      Check more carefully for mime-part specified character set.
      Check for mime-part Content Transfer Encoding.
      Notify if no armor found.
      c6bd7594
    • Martin Rudalics's avatar
      Run `window-configuration-change-hook' only after all faces have been realized. · c936cbbc
      Martin Rudalics authored
      * frame.c (adjust_frame_size): Call x_set_window_size only if
      f->can_x_set_window_size is set.
      (make_frame): Initialize f->can_x_set_window_size and
      f->can_run_window_configuration_change_hook.
      (Fcan_run_window_configuration_change_hook): New function.
      * frame.h (frame): Split `official' into `can_x_set_window_size'
      and `can_run_window_configuration_change_hook'.
      * nsfns.m (Fx_create_frame): Set f->can_x_set_window_size.
      * w32fns.c (Fx_create_frame, x_create_tip_frame): Set
      f->can_x_set_window_size.
      * window.c (run_window_configuration_change_hook): Return
      immediately if either f->can_x_set_window_size or
      f->can_run_window_configuration_change_hook are false.
      (Fset_window_configuration): Instead of f->official set
      f->can_x_set_window_size.
      * xfns.c (Fx_create_frame, x_create_tip_frame): Set
      f->can_x_set_window_size.
      * faces.el (face-set-after-frame-default): Enable running
      `window-configuration-change-hook'.
      c936cbbc
  2. 07 Nov, 2014 4 commits
    • Juri Linkov's avatar
      * lisp/replace.el: History for query replace pairs. · 2b513c3b
      Juri Linkov authored
      (query-replace-defaults): Promote to a list of cons cell.  Doc fix.
      (query-replace-from-to-separator): New variable.
      (query-replace-read-from): Let-bind query-replace-from-to-history
      to a list of FROM-TO strings created from query-replace-defaults
      and separated by query-replace-from-to-separator.  Use it as
      the history while reading from the minibuffer.  Split the returned
      string by the separator to get FROM and TO parts, and add them
      to the history variables.
      (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
      (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
      http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
      
      * lisp/isearch.el (isearch-text-char-description): Keep characters
      intact and put formatted strings with the `display' property.
      2b513c3b
    • Martin Rudalics's avatar
      Improve inhibiting of implied frame resizes. · 1c50b3ad
      Martin Rudalics authored
      * frames.texi (Size and Position): Rewrite description of
      `frame-inhibit-implied-resize'.
      * cus-start.el (frame-resize-pixelwise): Fix group.
      (frame-inhibit-implied-resize): Add entry.
      * dispnew.c (change_frame_size_1): Fix call of
      adjust_frame_size.
      * frame.c (Qsize, Qframe_position, Qframe_outer_size)
      (Qframe_inner_size, Qexternal_border_size, Qtitle_height)
      (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external)
      (Qtool_bar_size): New constants.
      (frame_inhibit_resize, adjust_frame_size): New argument to
      handle case where frame_inhibit_implied_resize is a list.
      (Fmake_terminal_frame, Fset_frame_height, Fset_frame_width)
      (Fset_frame_size, x_set_left_fringe, x_set_right_fringe)
      (x_set_right_divider_width, x_set_bottom_divider_width)
      (x_set_vertical_scroll_bars, x_set_horizontal_scroll_bars)
      (x_set_scroll_bar_width, x_set_scroll_bar_height): Update
      callers.
      (frame-inhibit-implied-resize): Rewrite doc-string.
      * frame.h (frame_inhibit_resize, adjust_frame_size): Fix
      external declarations.
      (Qframe_position, Qframe_outer_size)
      (Qframe_inner_size, Qexternal_border_size, Qtitle_height)
      (Qmenu_bar_external, Qmenu_bar_size, Qtool_bar_external)
      (Qtool_bar_size): Extern them.
      * gtkutil.c (FRAME_TOTAL_PIXEL_HEIGHT, FRAME_TOTAL_PIXEL_WIDTH)
      (xg_height_or_width_changed): Remove.
      (xg_frame_set_char_size): Adjust adjust_frame_size calls.
      (menubar_map_cb, xg_update_frame_menubar, free_frame_menubar)
      (tb_size_cb, update_frame_tool_bar, free_frame_tool_bar)
      (xg_change_toolbar_position): Call adjust_frame_size directly.
      * nsfns.m (x_set_internal_border_width, Fx_create_frame): Fix
      calls of adjust_frame_size.
      * w32fns.c (x_set_internal_border_width, x_set_menu_bar_lines)
      (Fx_create_frame, x_create_tip_frame): Adjust adjust_frame_size
      calls.
      (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that
      frame can get resized when tool-bar-lines parameter changes from
      or to zero.
      (Fw32_frame_menu_bar_size): Return fourth value.
      (Fw32_frame_rect): Block input around system calls
      (Fx_frame_geometry): New function.
      * w32menu.c (set_frame_menubar): Adjust adjust_frame_size call.
      * w32term.c (x_new_font): Adjust adjust_frame_size call.
      * widget.c (EmacsFrameSetCharSize): Adjust frame_inhibit_resize
      call.
      * window.c (Fset_window_configuration): Adjust adjust_frame_size
      call.
      * xfns.c (x_set_menu_bar_lines, x_set_internal_border_width)
      (Fx_create_frame): Adjust adjust_frame_size calls.
      (x_set_tool_bar_lines, x_change_tool_bar_height): Make sure that
      frame can get resized when tool-bar-lines parameter changes from
      or to zero.
      (Fx_frame_geometry): New function.
      * xmenu.c (update_frame_menubar): On Lucid call
      adjust_frame_size with one pixel less height to avoid that
      repeatedly adding/removing the menu bar grows the frame.
      (free_frame_menubar): On Motif arrange to optionally preserve
      the old frame height when removing the menu bar.
      * xterm.c (x_new_font): Adjust adjust_frame_size call.
      1c50b3ad
    • Daiki Ueno's avatar
      epg: Utilize --pinentry-mode added in GnuPG 2.1 · b912aed9
      Daiki Ueno authored
      * epa.el (epa-pinentry-mode): New user option.
      (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
      (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
      * epa-file.el (epa-file-insert-file-contents)
      (epa-file-write-region): Respect epa-pinentry-mode.
      b912aed9
    • Daiki Ueno's avatar
      epg: Adjust to GnuPG 2.1 key listing change · 135a9f4b
      Daiki Ueno authored
      * epg.el (epg--list-keys-1): Ignore fields after the 15th field
      (bug#18979).  Reported by Hideki Saito.
      135a9f4b
  3. 06 Nov, 2014 6 commits
  4. 05 Nov, 2014 9 commits
  5. 04 Nov, 2014 7 commits
  6. 03 Nov, 2014 11 commits