1. 18 Oct, 2014 1 commit
  2. 11 Oct, 2014 3 commits
  3. 28 May, 2014 1 commit
  4. 28 Mar, 2014 1 commit
    • Glenn Morris's avatar
      Improve usage of AC_INIT · 7b207d6d
      Glenn Morris authored
      * configure.ac (AC_INIT): Add "GNU" in package, add bug address.
      (PACKAGE_BUGREPORT): Use it.
      
      * src/emacs.c (emacs_version): Use PACKAGE_VERSION rather than VERSION.
      (emacs_bugreport): New variable.
      (usage_message): Use PACKAGE_BUGREPORT.
      (syms_of_emacs) <report-emacs-bug-address>: New variable.
      
      * lisp/cus-start.el (report-emacs-bug-address): Set custom properties.
      
      * lisp/mail/emacsbug.el (report-emacs-bug-address):
      Variable is now defined in emacs.c.
      7b207d6d
  5. 21 Mar, 2014 1 commit
  6. 01 Jan, 2014 1 commit
  7. 21 Dec, 2013 1 commit
    • Jan Djärv's avatar
      Customize ns-use-srgb-colorspace on OSX >= 10.7 to use sRGB. · 41cf3d11
      Jan Djärv authored
      * etc/NEWS: Mention ns-use-srgb-colorspace.
      
      * lisp/cus-start.el (all): Add ns-use-srgb-colorspace.
      
      * src/nsfns.m (Fxw_color_values): Use colorUsingDefaultColorSpace.
      
      * src/nsterm.h: Declare EmacsColor category.
      
      * src/nsterm.m (NSColor): Implement EmacsColor category.
      (ns_get_color): Use colorUsingDefaultColorSpace.
      (ns_get_color, ns_term_init): Use colorForEmacsRed.
      41cf3d11
  8. 18 Dec, 2013 1 commit
    • Glenn Morris's avatar
      Add load-prefer-newer option, to load .el if newer than .elc · 1f41ee56
      Glenn Morris authored
      * src/lread.c (Fload): Pass load_prefer_newer to openp.
      Don't bother checking mtime if openp already did it.
      (openp): Add `newer' argument, to check all suffixes
      and find the newest file.
      (syms_of_lread) <load_prefer_newer>: New option. 
      
      * src/callproc.c (call_process):
      * src/charset.c (load_charset_map_from_file):
      * src/emacs.c (init_cmdargs):
      * src/image.c (x_create_bitmap_from_file, x_find_image_file):
      * src/lisp.h (openp):
      * lread.c (Flocate_file_internal):
      * src/process.c (Fformat_network_address):
      * src/sound.c (Fplay_sound_internal):
      * src/w32.c (check_windows_init_file):
      * src/w32proc.c (sys_spawnve): Update for new arg spec of openp.
      
      * lisp/Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:2061
      1f41ee56
  9. 30 Nov, 2013 1 commit
    • Martin Rudalics's avatar
      Support resizing frames and windows pixelwise. · 880e6158
      Martin Rudalics authored
      * dispextern.h (enum window_part): Add ON_SCROLL_BAR,
      ON_RIGHT_DIVIDER and ON_BOTTOM_DIVIDER.
      (struct glyph_matrix): Replace window_left_col and
      window_top_line by window_pixel_left and window_pixel_top.
      (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): Minor
      rewrite.
      (enum face_id): Add WINDOW_DIVIDER_FACE_ID.
      (draw_window_divider, move_it_to, x_draw_right_divider)
      (x_draw_bottom_divider, change_frame_size): Add or fix
      declarations.
      * dispnew.c (change_frame_size_1): Change prototype.
      (adjust_glyph_matrix, required_matrix_width)
      (adjust_frame_glyphs_for_window_redisplay): Use pixel
      values instead of lines and columns.
      (marginal_area_string): Use WINDOW_FRINGES_WIDTH instead of
      WINDOW_TOTAL_FRINGE_WIDTH.
      (handle_window_change_signal, do_pending_window_change)
      (init_display): Adjusts calls of change_frame_size.
      (change_frame_size, change_frame_size_1): Handle pixelwise
      changes.
      * frame.c (Qright_divider_width, Qbottom_divider_width): New
      Lisp objects.
      (set_menu_bar_lines_1, set_menu_bar_lines, make_frame)
      (make_terminal_frame, Fmake_terminal_frame, Fframe_parameters)
      (x_set_internal_border_width, x_set_vertical_scroll_bars)
      (x_set_scroll_bar_width, x_figure_window_size): Handle pixel
      values.
      (set_frame_param): New function.
      (Fframe_text_cols, Fframe_text_lines, Fframe_total_cols)
      (Fframe_text_width, Fframe_text_height, Fscroll_bar_width)
      (Ffringe_width, Fborder_width, Fright_divider_width)
      (Fbottom_divider_width): New functions, defsubr them.
      (Fset_frame_height, Fset_frame_width, Fset_frame_size): New
      argument pixelwise.
      (struct frame_parm_table): New members Qright_divider_width and
      Qbottom_divider_width.
      (x_set_frame_parameters): Handle parameters for pixelwise sizes.
      (x_report_frame_params): Handle Qright_divider_width and
      Qbottom_divider_width.
      (x_set_right_divider_width, x_set_bottom_divider_width): New
      functions.
      (frame_resize_pixelwise): New option.
      * frame.h (struct frame): Add tool_bar_height, menu_bar_height,
      new_pixelwise, right_divider_width and bottom_divider_width;
      remove total_lines; rename text_lines, text_cols, new_text_lines
      and new_text_cols to text_height, text_width, new_height and
      new_width respectively.
      (FRAME_LINES, FRAME_COLS): Rename to FRAME_TEXT_HEIGHT and
      FRAME_TEXT_WIDTH respectively.
      (FRAME_MENU_BAR_HEIGHT, FRAME_TOOL_BAR_HEIGHT)
      (FRAME_RIGHT_DIVIDER_WIDTH, FRAME_BOTTOM_DIVIDER_WIDTH)
      (FRAME_TEXT_TO_PIXEL_WIDTH, FRAME_PIXEL_TO_TEXT_WIDTH): New
      macros.
      (FRAME_TOP_MARGIN_HEIGHT, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH)
      (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH, FRAME_SCROLL_BAR_AREA_WIDTH)
      (SET_FRAME_COLS, SET_FRAME_WIDTH, SET_FRAME_HEIGHT)
      (FRAME_TEXT_COLS_TO_PIXEL_WIDTH, FRAME_PIXEL_WIDTH_TO_TEXT_COLS)
      (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Rewrite macros.
      (FRAME_TOTAL_COLS_ARG): Remove macro.
      * fringe.c (draw_fringe_bitmap_1): Handle right divder.
      * gtkutil.c (xg_frame_resized, xg_frame_set_char_size)
      (x_wm_set_size_hint): Handle frame pixel sizes.
      * indent.c (compute_motion, Fcompute_motion): Call
      window_body_width instead of window_body_cols.
      * keyboard.c (Qright_divider, Qbottom_divider): New symbols.
      (make_lispy_position): Handle right and bottom dividers.
      (Fsuspend_emacs): Pixelize call of change_frame_size.
      * keyboard.h: Extern Qright_divider, Qbottom_divider.
      * lisp.h: Extern set_frame_param.
      * nsfns.m (x_set_tool_bar_lines): Pixelize call of
      x_set_window_size.
      (Fx_create_frame): Add entry for vertical_drag_cursor.  Pixelize
      call of change_frame_size.
      * nsterm.h (struct ns_output): Add vertical_drag_cursor.
      * nsterm.m (ns_update_window_end): Optionally draw right
      divider.
      (x_set_window_size): Add argument pixelwise.  Call
      check_frame_size and change_frame_size with pixelwise zero.
      (ns_draw_window_divider): New function.
      (ns_redisplay_interface): Add ns_draw_window_divider.
      (updateFrameSize:): Call change_frame_size with pixelwise zero.
      (x_new_font): Call x_set_window_size with pixelwise zero.
      * print.c (print_object): For a window print its sequence
      number again.
      * term.c (Fresume_tty): Pixelize call of change_frame_size.
      * w32fns.c (x_set_mouse_color): Handle vertical drag cursor.
      (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise.
      (w32_createwindow): Use scroll bar area width.
      (w32_wnd_proc): Handle bottom divider width.  For
      WM_WINDOWPOSCHANGING return zero if we resize pixelwise.
      (Fx_create_frame): Default divider width parameters.  Caclulate
      sizes pixelwise.  Add vertical drag cursor support.
      (x_create_tip_frame): Default divider widths to zero.  Pixelize
      call to change_frame_size.
      (Fx_show_tip): Add handling of divider widths.  Pixelize window
      position and sizes.
      (Fw32_frame_rect): New function.
      (frame_parm_handler w32_frame_parm_handlers): Add divider
      widths.
      (Vx_window_vertical_drag_shape): Add variable.
      * w32inevt.c (resize_event, maybe_generate_resize_event):
      Pixelize change_frame_size calls.
      * w32menu.c (set_frame_menubar): Pixelize x_set_window_size
      call.
      * w32term.c (w32_draw_window_divider): New function.
      (x_update_window_end): Handle right divider.
      (w32_draw_fringe_bitmap, x_scroll_run)
      (w32_set_vertical_scroll_bar): Pixelize scrollbar widths.
      (w32_read_socket): Handle SIZE_MAXIMIZED separately.  Calculate
      new frame sizes pixelwise.
      (x_new_font): Pixelize call to x_set_window_size.
      (x_check_fullscreen): Pixelize call to change_frame_size.
      (x_set_window_size_1, x_set_window_size): New argument
      pixelwise.  Calculate pixelwise.
      (x_wm_set_size_hint): Use scroll bar area width.
      (w32_redisplay_interface): Add w32_draw_window_divider.
      * w32term.h (struct w32_output): Add vertical drag cursor.
      * widget.c (set_frame_size, update_wm_hints)
      (EmacsFrameResize, EmacsFrameSetValues): Pixelize calls of
      change_frame_size.
      (EmacsFrameSetCharSize): Pixelize call of x_set_window_size.
      * window.c (sequence_number): Restore.
      (Fwindow_pixel_width, Fwindow_pixel_height)
      (Fwindow_mode_line_height, Fwindow_header_line_height)
      (window_pixel_to_total, Frun_window_scroll_functions)
      (Fset_window_new_pixel, window_resize_apply_total)
      (Fwindow_resize_apply_total): New functions.
      (window_body_height, window_body_width): Rename from
      window_body_lines.  New argument PIXELWISE.  Calculate
      pixelwise.
      (Fwindow_body_height, Fwindow_body_width): New argument
      PIXELWISE.
      (coordinates_in_window, window_relative_x_coord): Use window's
      pixel width instead of total width.
      (replace_window, recombine_windows): Initialize pixel values.
      (resize_root_window, resize_frame_windows, grow_mini_window)
      (shrink_mini_window): New argument PIXELWISE.  Calculate
      pixelwise.
      (Fdelete_other_windows_internal, adjust_window_margins)
      (window_resize_check, window_resize_apply)
      (Fdelete_window_internal, Fresize_mini_window_internal)
      (Fwindow_text_width, Fwindow_text_height): Calculate pixelwise.
      (check_frame_size): Rename arguments.  New argument PIXELWISE.
      Calculate pixelwise.
      (set_window_buffer): Make samebuf bool.  Run configuration change
      hook only if buffer changed.
      (Fset_window_buffer): Rewrite doc-string.
      (make_window): Initialize new_pixel slot.
      (Fwindow_resize_apply): Check pixel size of root window.
      (Fsplit_window_internal): Call 2nd argument pixel_size.
      Calculate pixelwise.
      (Fscroll_left, Fscroll_right): Call window_body_width instead of
      window_body_cols.
      (save_window_data): New slots frame_text_width,
      frame_text_height, frame_menu_bar_height, frame_tool_bar_height.
      (saved_window): New slots pixel_left, pixel_top, pixel_height,
      pixel_width.
      (Fcurrent_window_configuration, Fset_window_configuration)
      (save_window_save, compare_window_configurations): Handle new
      slots in save_window_data and saved_window.
      (Fset_window_scroll_bars): Fix doc-string.
      (window_resize_pixelwise): New variable.
      (coordinates_in_window, Fcoordinates_in_window_p): Handle
      dividers.
      (make_parent_window): Adjust sequence_number.
      (Fwindow_right_divider_width, Fwindow_bottom_divider_width): New
      functions.
      * window.h (struct window): New members new_pixel, pixel_left,
      pixel_top, pixel_width, pixel_height.  Restore sequence_number.
      (wset_new_pixel): New function.
      (WINDOW_PIXEL_WIDTH, WINDOW_PIXEL_HEIGHT)
      (MIN_SAFE_WINDOW_PIXEL_WIDTH, MIN_SAFE_WINDOW_PIXEL_HEIGHT)
      (WINDOW_LEFT_PIXEL_EDGE, WINDOW_RIGHT_PIXEL_EDGE)
      (WINDOW_TOP_PIXEL_EDGE, WINDOW_BOTTOM_PIXEL_EDGE)
      (WINDOW_BOTTOMMOST_P, WINDOW_BOX_LEFT_PIXEL_EDGE)
      (WINDOW_BOX_RIGHT_PIXEL_EDGE, WINDOW_MARGINS_COLS)
      (WINDOW_MARGINS_WIDTH, WINDOW_RIGHT_DIVIDER_WIDTH)
      (WINDOW_BOTTOM_DIVIDER_WIDTH): New macros.
      (WINDOW_TOTAL_FRINGE_WIDTH): Rename to WINDOW_FRINGES_WIDTH.
      (WINDOW_TOTAL_WIDTH, WINDOW_TOTAL_HEIGHT): Remove macros.
      (WINDOW_RIGHT_EDGE_X, WINDOW_LEFT_EDGE_X, WINDOW_TOP_EDGE_Y)
      (WINDOW_BOTTOM_EDGE_Y, WINDOW_FULL_WIDTH_P, WINDOW_LEFTMOST_P)
      (WINDOW_RIGHTMOST_P, WINDOW_BOX_LEFT_EDGE_X)
      (WINDOW_BOX_RIGHT_EDGE_X, WINDOW_FRINGE_COLS)
      (WINDOW_BOX_HEIGHT_NO_MODE_LINE, WINDOW_BOX_TEXT_HEIGHT):
      Rewrite.
      (resize_frame_windows, grow_mini_window, shrink_mini_window)
      (window_body_width, check_frame_size): Adapt external declarations.
      * xdisp.c (last_max_ascent): New integer.
      (window_text_bottom_y): Handle bottom divider.
      (window_box_width, window_box_height): Calculate pixelwise.
      (get_glyph_string_clip_rects): Handle right divider.
      (remember_mouse_glyph): When windows are resized pixelwise
      proceed with width and height set to 1.
      (init_iterator): Use WINDOW_PIXEL_WIDTH instead of
      WINDOW_TOTAL_WIDTH.
      (move_it_to): Calculate and return maximum x position
      encountered.
      (Fwindow_text_pixel_size): New function.
      (resize_mini_window, update_tool_bar): Calculate pixelwise.
      (tool_bar_lines_needed): Rename to tool_bar_height.  Calculate
      pixelwise.
      (Ftool_bar_lines_needed): Rename to Ftool_bar_height.  Calculate
      pixelwise.
      (redisplay_tool_bar): Calculate pixelwise.
      (redisplay_window): Calculate pixelwise.  Handle dividers.
      (draw_glyphs, x_clear_end_of_line, note_mouse_highlight)
      (x_draw_vertical_border): Handle dividers.
      (define_frame_cursor1): Handle vertical drag cursor.
      (x_draw_right_divider, x_draw_bottom_divider): New functions.
      (expose_window): Calculate pixelwise.  Handle dividers.
      (init_xdisp): Initialize pixel values.
      * xfaces.c (Qwindow_divider): New face.
      (realize_basic_faces): Realize it.
      * xfns.c (x_set_mouse_color): Handle vertical_drag_cursor.
      (x_set_menu_bar_lines, x_set_tool_bar_lines): Calculate pixelwise.
      (x_set_scroll_bar_default_width): Default actual width to 16.
      (Fx_create_frame): Set sizes pixelwise.
      (x_create_tip_frame): Default divider widths to zero.  Pixelize
      call of change_frame_size.
      (Fx_show_tip): Handle divider widths.  Initial pixel position
      and sizes.
      (frame_parm_handler x_frame_parm_handlers): Add divider widths.
      (Vx_window_vertical_drag_shape): New option.
      * xmenu.c (free_frame_menubar): Pixelize call of
      x_set_window_size.
      * xterm.c (x_draw_window_divider): New function.
      (x_update_window_end): Optionally draw right divider.
      (x_draw_fringe_bitmap, x_scroll_run, x_scroll_bar_create)
      (XTset_vertical_scroll_bar): Use scroll bar pixel width.
      (handle_one_xevent, x_new_font): Calculate pixelwise.
      (x_set_window_size_1, x_set_window_size): New argument
      pixelwise.  Calculate pixelwise.
      (x_wm_set_size_hint): Pixelize call of check_frame_size.
      (struct x_redisplay_interface): Add x_draw_window_divider.
      * xterm.h (struct x_output): Add vertical_drag_cursor.
      
      * cus-start.el (frame-resize-pixelwise)
      (window-resize-pixelwise): New entries.
      * emacs-lisp/debug.el (debug): Use window-total-height instead
      of window-total-size.
      * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
      * help.el (describe-bindings-internal): Call help-buffer
      (temp-buffer-max-width): New option.
      (resize-temp-buffer-window, help-window-setup)
      (with-help-window): Rewrite.
      * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
      dragging dividers.
      * window.el (frame-char-size, window-min-pixel-height)
      (window-safe-min-pixel-height, window-safe-min-pixel-width)
      (window-min-pixel-width, window-safe-min-pixel-size)
      (window-combination-p, window-safe-min-size)
      (window-resizable-p, window--size-to-pixel)
      (window--pixel-to-size, window--resize-apply-p): New functions.
      (window-safe-min-height): Fix doc-string.
      (window-size, window-min-size, window--min-size-1)
      (window-sizable, window-sizable-p, window--min-delta-1)
      (window-min-delta, window--max-delta-1, window-max-delta)
      (window--resizable, window--resizable-p, window-resizable)
      (window-full-height-p, window-full-width-p, window-at-side-p)
      (window--in-direction-2, window-in-direction)
      (window--resize-reset-1, window--resize-mini-window)
      (window-resize, window-resize-no-error)
      (window--resize-child-windows-normal)
      (window--resize-child-windows, window--resize-siblings)
      (window--resize-this-window, window--resize-root-window)
      (window--resize-root-window-vertically)
      (adjust-window-trailing-edge, enlarge-window, shrink-window)
      (maximize-window, minimize-window, delete-window)
      (quit-restore-window, window-split-min-size, split-window)
      (balance-windows-2, balance-windows)
      (balance-windows-area-adjust, balance-windows-area)
      (window--state-get-1, window-state-get, window--state-put-1)
      (window--state-put-2, window-state-put)
      (display-buffer-record-window, window--display-buffer): Make
      functions handle pixelwise sizing of windows.
      (display-buffer--action-function-custom-type)
      (display-buffer-fallback-action): Add
      display-buffer-in-previous-window.
      (display-buffer-use-some-window): Resize window to height it had
      before.
      (fit-window-to-buffer-horizontally): New option.
      (fit-frame-to-buffer): Describe new values.
      (fit-frame-to-buffer-bottom-margin): Replace with
      fit-frame-to-buffer-margins.
      (window--sanitize-margin): New function.
      (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
      using window-text-pixel-size.
      880e6158
  10. 13 Aug, 2013 1 commit
    • Glenn Morris's avatar
      Fix some custom types · f0024d8c
      Glenn Morris authored
      * lisp/cus-start.el (truncate-partial-width-windows): Fix type.
      
      * lisp/emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
      
      * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
      (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
      
      * admin/admin.el: Related comments.
      f0024d8c
  11. 15 May, 2013 1 commit
    • Glenn Morris's avatar
      Misc custom group fixes · ed8be7ff
      Glenn Morris authored
      * cus-start.el (show-trailing-whitespace): Move to editing basics.
      * faces.el (trailing-whitespace): Don't use whitespace-faces group.
      * obsolete/old-whitespace.el (whitespace-faces): Remove group.
      (whitespace-highlight): Move to whitespace group.
      
      * comint.el (comint-source):
      * pcmpl-linux.el (pcmpl-linux):
      * shell.el (shell-faces):
      * eshell/esh-opt.el (eshell-opt):
      * international/ccl.el (ccl): Remove empty custom groups.
      
      * completion.el (dynamic-completion-mode):
      * jit-lock.el (jit-lock-debug-mode):
      * minibuffer.el (completion-in-region-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * emulation/tpu-edt.el (tpu-edt-mode):
      * progmodes/subword.el (global-subword-mode, global-superword-mode):
      * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * term/vt100.el (vt100-wide-mode): Specify explicit :group.
      
      * term/xterm.el (xterm): Change parent group to terminals.
      
      * master.el (master): Remove empty custom group.
      (master-mode): Remove unused :group argument.
      * textmodes/refill.el (refill): Remove empty custom group.
      (refill-mode): Remove unused :group argument.
      
      * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
      
      * cedet/semantic/symref/list.el (semantic-symref-auto-expand-results)
      (semantic-symref-results-mode-hook)
      (semantic-symref-results-summary-function): Fix :group.
      
      * erc/erc-list.el (erc-list):
      * erc/erc-menu.el (erc-menu):
      * erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module.
      
      * gnus/shr-color.el (shr-color-visible-luminance-min)
      (shr-color-visible-distance-min): Use shr-color group.
      
      * url/url-news.el (url-news): Remove empty custom group.
      ed8be7ff
  12. 09 May, 2013 1 commit
    • Glenn Morris's avatar
      Fix a bunch of custom types (thank you cus-test.el) · a931698a
      Glenn Morris authored
      * lisp/bookmark.el (bookmark-search-delay):
      * lisp/cus-start.el (vertical-centering-font-regexp):
      * lisp/ps-mule.el (ps-mule-font-info-database-default):
      * lisp/ps-print.el (ps-default-fg, ps-default-bg):
      * lisp/type-break.el (type-break-good-break-interval):
      * lisp/whitespace.el (whitespace-indentation-regexp)
      (whitespace-space-after-tab-regexp):
      * lisp/emacs-lisp/testcover.el (testcover-1value-functions)
      (testcover-noreturn-functions, testcover-progn-functions)
      (testcover-prog1-functions):
      * lisp/emulation/viper-init.el (viper-emacs-state-cursor-color):
      * lisp/erc/erc-desktop-notifications.el (erc-notifications-icon):
      * lisp/eshell/em-glob.el (eshell-glob-translate-alist):
      * lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images):
      * lisp/gnus/gnus-async.el (gnus-async-post-fetch-function):
      * lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties):
      * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl):
      * lisp/gnus/gnus-notifications.el (gnus-notifications-timeout):
      * lisp/gnus/gnus-picon.el (gnus-picon-properties):
      * lisp/gnus/gnus-util.el (gnus-completion-styles):
      * lisp/gnus/gnus.el (gnus-other-frame-resume-function):
      * lisp/gnus/message.el (message-user-organization-file)
      (message-cite-reply-position):
      * lisp/gnus/nnir.el (nnir-summary-line-format)
      (nnir-retrieve-headers-override-function):
      * lisp/gnus/shr-color.el (shr-color-visible-luminance-min):
      * lisp/gnus/shr.el (shr-blocked-images):
      * lisp/gnus/spam-report.el (spam-report-resend-to):
      * lisp/gnus/spam.el (spam-summary-exit-behavior):
      * lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function):
      * lisp/play/tetris.el (tetris-tty-colors):
      * lisp/progmodes/cpp.el (cpp-face-default-list):
      * lisp/progmodes/flymake.el (flymake-allowed-file-name-masks):
      * lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program)
      (idlwave-help-browser-generic-args):
      * lisp/progmodes/make-mode.el (makefile-special-targets-list):
      * lisp/progmodes/python.el (python-shell-virtualenv-path):
      * lisp/progmodes/verilog-mode.el (verilog-active-low-regexp)
      (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
      (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
      (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
      * lisp/textmodes/reftex-vars.el (reftex-format-label-function):
      * lisp/textmodes/remember.el (remember-diary-file):
      Fix custom types.
      
      * lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list):
      Fix value.
      
      * lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.
      a931698a
  13. 11 Feb, 2013 1 commit
    • Stefan Monnier's avatar
      Clean up read_key_sequence a bit; reread active keymaps after first event. · 99d0d6dc
      Stefan Monnier authored
      * src/keyboard.c (read_char, read_char_x_menu_prompt)
      (read_char_minibuf_menu_prompt):
      Replace nmaps+maps with a single `map' arg.
      (follow_key): Operate on a single map.
      (active_maps): New function.
      (test_undefined): Also return true for nil bindings.
      (read_key_sequence): Use active_maps to replace the arrays of keymaps with
      a single (composed) keymap.  Remember `first_event' to choose the right
      set of active keymaps.  Recompute the set of keymaps after receiving
      the first event.  Remove GOBBLE_FIRST_EVENT.
      (syms_of_keyboard): Remove inhibit_local_menu_bar_menus.
      * src/keyboard.h (read_char): Update declaration.
      * src/lread.c (read_filtered_event): Adjust call to read_char.
      * lisp/cus-start.el (all): Remove inhibit-local-menu-bar-menus.
      99d0d6dc
  14. 05 Feb, 2013 1 commit
    • Jan Djärv's avatar
      * lisp/cus-start.el (all): Add ns-use-native-fullscreen. · 6871e574
      Jan Djärv authored
      * src/nsmenu.m (update_frame_tool_bar): Check for negative tool bar
      height.
      
      * src/nsterm.h (HAVE_NATIVE_FS): Define if OSX => 10.7.
      (EmacsView): Add fs_is_native, fsIsNative, isFullscreen and
      updateCollectionBehaviour.
      
      * src/nsterm.m (NEW_STYLE_FS): Remove.
      (ns_last_use_native_fullscreen): New variable.
      (x_make_frame_visible): Replace NEW_STYLE_FS with isFullscreen.
      (x_set_window_size): Do not take title bar and tool bar into account
      if isFullscreen returns YES.
      (ns_fullscreen_hook): Replace NEW_STYLE_FS with isFullscreen.
      (check_native_fs): New function.
      (ns_select, ns_read_socket): Call check_native_fs if HAVE_NATIVE_FS.
      (ns_term_init): Remove NEW_STYLE_FS.
      (updateFrameSize:, windowWillResize:toSize:): Only adjust for title bar
      and tool bar if isFullscreen returns NO.
      (windowDidResize:): Replace NEW_STYLE_FS with fsIsNative.
      (initFrameFromEmacs:): Initialize fs_is_native.  Replace NEW_STYLE_FS
      with HAVE_NATIVE_FS.
      (window:willUseFullScreenPresentationOptions:): New method.
      (windowDidEnterFullScreen:): Replace NEW_STYLE_FS with fsIsNative.
      Hide toolbar if not enabled.
      (windowDidExitFullScreen:): Call updateCollectionBehaviour.
      Restore tool bar if enabled, hide it otherwise (Bug#13444).
      (fsIsNative, isFullscreen, updateCollectionBehaviour): New methods.
      (toggleFullScreen:): If fs_is_native, call toggleFullScreen on
      window.  Do no set FRAME_EXTERNAL_TOOL_BAR (f) to 0.
      Check FRAME_EXTERNAL_TOOL_BAR (f) before restoring
      FRAME_TOOLBAR_HEIGHT (f).  Call updateFrameSize when going non-fs.
      (syms_of_nsterm): Add ns-use-native-fullscreen.
      6871e574
  15. 13 Jan, 2013 1 commit
  16. 11 Jan, 2013 1 commit
  17. 10 Jan, 2013 1 commit
    • Dmitry Antipov's avatar
      Omit buffer_slot_type_mismatch and use generic predicates to enforce · 58cc0a01
      Dmitry Antipov authored
      the type of per-buffer values where appropriate.
      * src/lisp.h (struct Lisp_Buffer_Objfwd): Rename slottype member to
      predicate, which is how it's really used now.  Adjust comment.
      * src/buffer.h (buffer_slot_type_mismatch): Remove prototype.
      * src/buffer.c (buffer_slot_type_mismatch): Remove.
      (DEFVAR_PER_BUFFER, defvar_per_buffer): Rename type argument to
      predicate.  Adjust comment.
      (syms_of_buffer): Use Qsymbolp for major-mode.  Use Qintegerp for
      fill-column, left-margin, tab-width, buffer-saved-size,
      left-margin-width, right-margin-width, left-fringe-width,
      right-fringe-width, scroll-bar-width and buffer-display-count.
      Use Qstringp for default-directory, buffer-file-name,
      buffer-file-truename and buffer-auto-save-file-name.  Use Qfloatp for
      scroll-up-aggressively and scroll-down-aggressively.  Use Qnumberp for
      line-spacing.
      * src/data.c (store_symval_forwarding): Adjust to call the predicate.
      * lisp/cus-start.el (toplevel): Only allow float values for
      scroll-up-aggressively and scroll-down-aggressively.
      Allow any number for line-spacing.
      58cc0a01
  18. 01 Jan, 2013 1 commit
  19. 03 Nov, 2012 1 commit
  20. 23 Oct, 2012 1 commit
  21. 08 Oct, 2012 1 commit
  22. 25 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Use declare forms, where possible, to mark obsolete functions. · 59f7af81
      Chong Yidong authored
      * lisp/allout.el (allout-passphrase-hint-string): Likewise.
      (allout-init): Use a declare form to mark obsolete.
      
      * lisp/calendar/calendar.el (calendar-version):
      * lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
      (icalendar-convert-diary-to-ical):
      * lisp/cus-edit.el (custom-mode):
      * lisp/ansi-color.el (ansi-color-unfontify-region):
      * lisp/international/latin1-disp.el (latin1-char-displayable-p):
      * lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
      * lisp/progmodes/which-func.el (which-func-update-1): Use
      define-obsolete-function-alias.
      
      * lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
      this function obsolete.
      
      * lisp/calendar/cal-x.el (calendar-two-frame-setup)
      (calendar-only-one-frame-setup, calendar-one-frame-setup):
      * lisp/calendar/calendar.el (american-calendar, european-calendar)
      (calendar-for-loop):
      * lisp/comint.el (comint-dynamic-simple-complete)
      (comint-dynamic-complete-as-filename, comint-unquote-filename):
      * lisp/desktop.el (desktop-load-default):
      * lisp/dired-x.el (dired-omit-here-always)
      (dired-hack-local-variables, dired-default-directory):
      * lisp/emacs-lisp/derived.el (derived-mode-class):
      * lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
      * lisp/emacs-lock.el (toggle-emacs-lock):
      * lisp/epa.el (epa-display-verify-result):
      * lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
      (epg-passphrase-callback-function):
      * lisp/eshell/esh-util.el (eshell-for):
      * lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
      (eshell-add-to-window-buffer-names):
      * lisp/files.el (locate-file-completion):
      * lisp/imenu.el (imenu-example--create-c-index)
      (imenu-example--create-lisp-index)
      (imenu-example--lisp-extract-index-name)
      (imenu-example--name-and-position):
      * lisp/international/mule-cmds.el (princ-list):
      * lisp/international/mule-diag.el (decode-codepage-char):
      * lisp/international/mule-util.el (detect-coding-with-priority):
      * lisp/iswitchb.el (iswitchb-read-buffer):
      * lisp/mail/mailalias.el (mail-complete):
      * lisp/mail/sendmail.el (mail-sent-via):
      * lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
      (mouse-major-mode-menu):
      * lisp/password-cache.el (password-read-and-add):
      * lisp/pcomplete.el (pcomplete-parse-comint-arguments):
      * lisp/progmodes/sh-script.el (sh-maybe-here-document):
      * lisp/replace.el (query-replace-regexp-eval):
      * lisp/savehist.el (savehist-load):
      * lisp/simple.el (choose-completion-delete-max-match):
      * lisp/term.el (term-dynamic-simple-complete):
      * lisp/vc/ediff-init.el (ediff-check-version):
      * lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
      * lisp/vc/vc.el (vc-diff-switches-list):
      * lisp/view.el (view-return-to-alist-update): Likewise.
      
      * lisp/iswitchb.el (iswitchb-read-buffer): Move code of
      iswitchb-define-mode-map here, and delete that obsolete function.
      
      * lisp/subr.el (eval-next-after-load, makehash, insert-string)
      (assoc-ignore-representation, assoc-ignore-case): Use declare to
      mark obsolete.
      (mode-line-inverse-video): Variable deleted.
      
      * lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
      this applies to functions.
      
      * lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.
      
      * lisp/international/mule-util.el (string-to-sequence): Remove.
      
      * lisp/net/newst-backend.el (newsticker-cache-filename):
      * lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
      incorrect obsolescence declaration.
      
      * lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
      font-lock-reference-face.
      
      * lisp/url/url-parse.el (url-recreate-url-attributes):
      * lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
      obsolete.
      
      * src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
      59f7af81
  23. 22 Sep, 2012 1 commit
    • Martin Rudalics's avatar
      Make Temp Buffer Resize Mode less intrusive (Bug#1806). · 8e17c9ba
      Martin Rudalics authored
      * window.c (Fsplit_window_internal): Handle only Qt value of
      Vwindow_combination_limit separately.
      (Qtemp_buffer_resize): New symbol.
      (Vwindow_combination_limit): New default value.  Rewrite
      doc-string.
      * cus-start.el (window-combination-limit): Add new optional
      values.
      * window.el (temp-buffer-window-show)
      (window--try-to-split-window): Obey new values of
      window-combination-limit.
      (split-window): Test window-combination-limit for t instead of
      non-nil.
      (display-buffer-at-bottom): New buffer display action function.
      * help.el (temp-buffer-resize-regexps): New option.
      (temp-buffer-resize-mode): Rewrite doc-string.
      (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
      Don't resize reused window.  Suggested by Glen Morris.
      8e17c9ba
  24. 15 Aug, 2012 1 commit
  25. 03 Jun, 2012 1 commit
    • Glenn Morris's avatar
      tool-bar-style doc fixes · 0c3461de
      Glenn Morris authored
      * lisp/cus-start.el (tool-bar-style, tool-bar-max-label-size): Fix :version.
      
      * src/xdisp.c (tool-bar-style): Doc fix.
      0c3461de
  26. 25 May, 2012 1 commit
  27. 10 May, 2012 1 commit
    • Dave Abrahams's avatar
      Add the option to not create lockfiles · 836d29b3
      Dave Abrahams authored
      * src/filelock.c (syms_of_filelock): New boolean create-lockfiles.
      (lock_file): If create_lockfiles is 0, do nothing.
      
      * lisp/cus-start.el (create-lockfiles): Add it.
      
      Fixes: debbugs:11227
      836d29b3
  28. 02 May, 2012 1 commit
    • Chong Yidong's avatar
      Add customization data to several built-in variables. · 2bc356d7
      Chong Yidong authored
      * lisp/cus-start.el (gc-cons-percentage, exec-suffixes)
      (dos-display-scancodes, dos-hyper-key, dos-super-key)
      (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
      (make-cursor-line-fully-visible, void-text-area-pointer)
      (font-list-limit): Add customization data.
      
      * doc/lispref/display.texi (Font Lookup):
      * doc/lispref/frames.texi (Pointer Shape):
      * doc/lispref/processes.texi (Subprocess Creation): Use defopt for options.
      2bc356d7
  29. 01 May, 2012 1 commit
  30. 10 Apr, 2012 1 commit
  31. 07 Mar, 2012 1 commit
  32. 04 Mar, 2012 1 commit
  33. 07 Feb, 2012 1 commit
    • Glenn Morris's avatar
      imagemagick-render-type fixes · af008560
      Glenn Morris authored
      * src/image.c (imagemagick-render-type): Change it from a lisp object
      to an integer.  Move the doc here from the lisp manual.
      Treat all values not equal to 0 the same.
      
      * doc/lispref/display.texi (ImageMagick Images):
      Move most details of imagemagick-render-type to the variable's doc.
      
      * lisp/cus-start.el (imagemagick-render-type): Add it.
      af008560
  34. 11 Jan, 2012 1 commit
  35. 05 Jan, 2012 1 commit
  36. 17 Nov, 2011 1 commit
    • Martin Rudalics's avatar
      Rename window-splits to window-combination-resize. · a0c2d0ae
      Martin Rudalics authored
      * window.c (Vwindow_splits): Rename to
      Vwindow_combination_resize.  Suggested by Juri Linkov.
      (Fsplit_window_internal): Use Vwindow_combination_resize instead
      of Vwindow_splits.
      * window.el (window-resize, delete-window, split-window):
      Replace window-splits by window-combination-resize.
      * cus-start.el (window-splits): Replace by
      window-combination-resize.
      * windows.texi (Resizing Windows, Splitting Windows)
      (Deleting Windows): Use term window-combination-resize instead
      of window-splits.
      a0c2d0ae
  37. 16 Nov, 2011 1 commit
    • Martin Rudalics's avatar
      Rename window-nest to window-combination-limit. · b6f67890
      Martin Rudalics authored
      * window.h (window): Rename slot "nest" to "combination_limit".
      * window.c (Fwindow_nest): Rename to Fwindow_combination_limit.
      (Fset_window_nest): Rename to Fset_window_combination_limit.
      (Vwindow_nest): Rename to Vwindow_combination_limit.
      (recombine_windows, make_parent_window, make_window)
      (Fsplit_window_internal, saved_window)
      (Fset_window_configuration, save_window_save): Rename all
      occurrences of window_nest to window_combination_limit.
      * window.el (split-window, window-state-get-1)
      (window-state-put-1, window-state-put-2): Rename occurrences of
      window-nest to window-combination-limit.
      * cus-start.el (window-nest): Rename to
      window-combination-limit.
      * windows.texi (Resizing Windows, Splitting Windows): Rename
      occurrences of window-nest to window-combination-limit.
      b6f67890
  38. 07 Oct, 2011 1 commit