1. 01 Feb, 2016 1 commit
    • Martin Rudalics's avatar
      Some corrections in Elisp manual · e639e10a
      Martin Rudalics authored
      * doc/lispref/buffers.texi (Read Only Buffers): Describe optional
      argument POSITION.
      * doc/lispref/debugging.texi (Error Debugging): `debug-on-signal'
      is an option.
      * doc/lispref/display.texi (Refresh Screen): Describe optional
      argument FRAME of `redraw-frame'.
      (Attribute Functions): Describe optional argument CHARACTER of
      `face-font'.
      (Defining Images): `image-load-path' is an option.
      (Beeping): `ring-bell-function' is an option.
      * doc/lispref/frames.texi (Size and Position): The PIXELWISE
      argument of `set-frame-size' is optional.
      (Raising and Lowering): The TERMINAL argument of `tty-top-frame'
      is optional.
      * doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of
      `set-transient-map'.
      * doc/lispref/minibuf.texi (Text from Minibuffer):
      `read-regexp-defaults-function' is an option.
      (Minibuffer Contents): `delete-minibuffer-contents' is a command.
      * doc/lispref/modes.texi (Mode Line Variables):
      `mode-line-position' and `mode-line-modes' are variables, not
      options.
      * doc/lispref/strings.texi (Creating Strings): The START argument
      of `substring' is optional.
      * doc/lispref/text.texi (Buffer Contents): Describe optional
      argument NO-PROPERTIES of `thing-at-point'.
      (User-Level Deletion): Both arguments of
      `delete-trailing-whitespace' are optional.
      (Margins): Use @key{RET} instead of @kbd{RET}.
      * doc/lispref/windows.texi (Display Action Functions): Write
      non-@code{nil} instead of non-nil.
      (Choosing Window Options): The WINDOW arg of
      `split-window-sensibly' is optional.
      (Choosing Window Options): Write non-@code{nil} instead of
      non-nil.
      (Window Start and End): Both args of `window-group-end' are
      optional.
      
      * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS
      to POSITION to keep consisteny with doc-string.
      e639e10a
  2. 29 Jan, 2016 1 commit
  3. 24 Jan, 2016 1 commit
    • Alan Mackenzie's avatar
      Expunge "allow" + infinitive without direct object from source and doc. · fbce4757
      Alan Mackenzie authored
      Do the same for "permit", "enable", and "prevent".
      
      * doc/emacs/mule.texi:
      * doc/lispref/control.texi:
      * doc/lispref/display.texi:
      * doc/lispref/frames.texi:
      * doc/lispref/functions.texi:
      * doc/lispref/nonascii.texi:
      * doc/lispref/streams.texi:
      * doc/lispref/windows.texi:
      * doc/misc/dbus.texi:
      * doc/misc/eww.texi:
      * doc/misc/flymake.texi:
      * doc/misc/octave-mode.texi:
      * doc/misc/org.texi:
      * doc/misc/reftex.texi:
      * doc/misc/tramp.texi:
      * doc/misc/wisent.texi:
      * etc/NEWS:
      * lisp/autorevert.el:
      * lisp/cedet/mode-local.el:
      * lisp/cedet/semantic/senator.el:
      * lisp/cedet/semantic/wisent.el:
      * lisp/dos-fns.el:
      * lisp/frameset.el:
      * lisp/gnus/gnus-agent.el:
      * lisp/gnus/mm-util.el:
      * lisp/international/characters.el:
      * lisp/ldefs-boot.el:
      * lisp/mail/mailclient.el:
      * lisp/man.el:
      * lisp/mh-e/mh-search.el:
      * lisp/net/tramp-cmds.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/org/org-crypt.el:
      * lisp/org/org-element.el:
      * lisp/org/org-feed.el:
      * lisp/org/org.el:
      * lisp/org/ox-ascii.el:
      * lisp/org/ox-icalendar.el:
      * lisp/org/ox-publish.el:
      * lisp/org/ox.el:
      * lisp/play/gamegrid.el:
      * lisp/play/gomoku.el:
      * lisp/progmodes/antlr-mode.el:
      * lisp/progmodes/python.el:
      * lisp/progmodes/vhdl-mode.el:
      * lisp/strokes.el:
      * lisp/textmodes/ispell.el:
      * lisp/tree-widget.el:
      * lisp/vc/pcvs.el:
      * lisp/window.el:
      * src/lisp.h:
      * src/w32.c:
      * src/w32heap.c:
      * src/w32term.c:
      * src/window.c:
      * src/xfaces.c:
      
      Replace solecisms like "This allow to do something" with a correct
      alternative, such as "This allow you to do something", "This allows
      something to be done" or "This allows the doing of something".
      fbce4757
  4. 18 Jan, 2016 1 commit
  5. 16 Jan, 2016 1 commit
  6. 01 Jan, 2016 1 commit
  7. 12 Dec, 2015 1 commit
    • Martin Rudalics's avatar
      Fix frame height calculations with added menu bar on Windows (Bug#22105) · 06f00d39
      Martin Rudalics authored
      * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
      when simultaneously specifying multiple parameters for
      `modify-frame-parameters' that all may change the frame's size.
      * src/w32fns.c (x_set_menu_bar_lines): Don't set
      windows_or_buffers_changed here.
      (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
      with third argument false.
      * src/w32menu.c (set_frame_menubar): Set
      windows_or_buffers_changed here.
      * src/w32term.c (x_set_window_size): Determine third argument of
      AdjustWindowRect from whether the frame has a menu bar and not
      from whether it wants one.
      06f00d39
  8. 11 Dec, 2015 1 commit
    • Eli Zaretskii's avatar
      Clarify documentation of 'modify-frame-parameters' · 1db9d8bd
      Eli Zaretskii authored
      * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
      PARMs" mean for 'modify-frame-parameters'.
      
      * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
      PARMs" mean for this function.  (Bug#22104)
      1db9d8bd
  9. 20 Nov, 2015 1 commit
  10. 25 Sep, 2015 1 commit
    • Eli Zaretskii's avatar
      Avoid non-ASCII decoding errors in Texinfo files · 0d31eeb7
      Eli Zaretskii authored
      * doc/misc/tramp.texi:
      * doc/lispref/strings.texi:
      * doc/lispref/positions.texi:
      * doc/lispref/help.texi:
      * doc/lispref/functions.texi:
      * doc/lispintro/emacs-lisp-intro.texi:
      * doc/emacs/text.texi:
      * doc/emacs/modes.texi:
      * doc/emacs/mini.texi:
      * doc/emacs/display.texi:
      * doc/emacs/custom.texi:
      * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
      Unicode characters and should be decoded as UTF-8.
      * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
      apostrophe unnecessarily.
      0d31eeb7
  11. 17 Sep, 2015 1 commit
  12. 16 Sep, 2015 1 commit
    • Eli Zaretskii's avatar
      Restore some of the quoting in the manuals · 31ff037a
      Eli Zaretskii authored
      * doc/lispref/windows.texi (Coordinates and Windows)
      (Coordinates and Windows):
      * doc/lispref/variables.texi (Lexical Binding)
      (File Local Variables):
      * doc/lispref/text.texi (Format Properties):
      * doc/lispref/symbols.texi (Symbol Components):
      * doc/lispref/strings.texi (Creating Strings):
      * doc/lispref/sequences.texi (Sequence Functions):
      * doc/lispref/searching.texi (Regexp Special, Regexp Search)
      (Search and Replace):
      * doc/lispref/processes.texi (Bindat Spec):
      * doc/lispref/os.texi (Idle Timers):
      * doc/lispref/objects.texi (Basic Char Syntax):
      * doc/lispref/numbers.texi (Float Basics, Random Numbers):
      * doc/lispref/nonascii.texi (Character Properties):
      * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
      (Mode Line Variables):
      * doc/lispref/minibuf.texi (Text from Minibuffer):
      * doc/lispref/loading.texi (Autoload):
      * doc/lispref/keymaps.texi (Controlling Active Maps):
      * doc/lispref/frames.texi (Frame Layout, Size and Position)
      (Size Parameters, Implied Frame Resizing):
      * doc/lispref/files.texi (Changing Files, Magic File Names):
      * doc/lispref/eval.texi (Self-Evaluating Forms):
      * doc/lispref/display.texi (Progress, Abstract Display)
      (Abstract Display Example, Bidirectional Display):
      * doc/lispref/commands.texi (Event Mod):
      * doc/emacs/windows.texi (Displaying Buffers):
      * doc/emacs/trouble.texi (Bug Criteria, Checklist):
      * doc/emacs/text.texi (Enriched Text):
      * doc/emacs/programs.texi (MixedCase Words):
      * doc/emacs/picture-xtra.texi (Insert in Picture)
      (Tabs in Picture):
      * doc/emacs/misc.texi (Emacs Server, Printing):
      * doc/emacs/mini.texi (Minibuffer History):
      * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
      (Pulling / Pushing):
      * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
      * doc/emacs/help.texi (Help, Help Echo):
      * doc/emacs/glossary.texi (Glossary):
      * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
      (Frame Commands):
      * doc/emacs/files.texi (Reverting, Saving, Directories):
      * doc/emacs/entering.texi (Exiting):
      * doc/emacs/emacs.texi (Top):
      * doc/emacs/cmdargs.texi (Window Size X, Icons X):
      * doc/emacs/anti.texi (Antinews): Restore quoting of text where
      appropriate or replace quoting with @dfn.
      * doc/misc/ediff.texi (Window and Frame Configuration):
      * doc/lispref/processes.texi (Network Feature Testing):
      * doc/lispref/display.texi (Display Margins): Quote the phrase
      after "a.k.a." where appropriate.
      31ff037a
  13. 15 Sep, 2015 3 commits
    • Paul Eggert's avatar
      ; Spelling fixes · 691b73f1
      Paul Eggert authored
      691b73f1
    • Paul Eggert's avatar
      Quote “fullboth” when defining it · 332f816d
      Paul Eggert authored
      * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
      and rewrite the containing paragraph, which was awkward.  (Bug#21472).
      332f816d
    • Paul Eggert's avatar
      Quote less in manuals · ef7dbdf5
      Paul Eggert authored
      The manuals often used quotes ``...'' when it is better to use @dfn or
      @code or capitalized words or no quoting at all.  For example, there is
      no need for the `` and '' in “if a variable has one effect for
      @code{nil} values and another effect for ``non-@code{nil}'' values”.
      Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
      unnecessary quoting like this, and to use @dfn etc. instead when called
      for (Bug#21472).
      ef7dbdf5
  14. 13 Sep, 2015 1 commit
    • Eli Zaretskii's avatar
      Fix markup in ELisp manual · fac7dda3
      Eli Zaretskii authored
      * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
      of the 'alpha' parameter value.  (Bug#21470)
      fac7dda3
  15. 09 Sep, 2015 1 commit
    • Paul Eggert's avatar
      Improvements for curved quotes on Linux consule · 6e5d81ff
      Paul Eggert authored
      This should help Emacs work better out-of-the-box on Linux consoles,
      which have only limited support for displaying Unicode characters.
      Also, undo the recent change that caused text-quoting-style to
      affect quote display on terminals, so that the two features are
      independent.  See Alan Mackenzie in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
      Finally, add a style parameter to startup--setup-quote-display,
      so that this function can also be invoked after startup, with
      different styles depending on user preference at the time.
      * configure.ac: Check for linux/kd.h header.
      * doc/emacs/display.texi (Text Display): Document quote display.
      * doc/lispref/display.texi (Active Display Table):
      * etc/NEWS:
      * lisp/startup.el (startup--setup-quote-display, command-line):
      text-quoting-style no longer affects quote display.
      * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
      * lisp/international/mule-util.el (char-displayable-p):
      * lisp/startup.el (startup--setup-quote-display):
      On a text terminal supporting glyph codes, use the reported
      glyph codes instead of the terminal coding system, as this
      is more accurate on the Linux console.
      * lisp/startup.el (startup--setup-quote-display):
      New optional arg STYLE.
      * src/fontset.c (Finternal_char_font):
      Report glyph codes for a text terminal, if they are available.
      Currently this is supported only for the Linux console.
      * src/termhooks.h (struct terminal): New member glyph-code-table.
      * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
      (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
      (terminal_glyph_code): New function.
      6e5d81ff
  16. 05 Sep, 2015 1 commit
  17. 21 Aug, 2015 3 commits
  18. 20 Aug, 2015 1 commit
    • Martin Rudalics's avatar
      Describe frame geometry and related functions in Elisp manual · e68d43eb
      Martin Rudalics authored
      * doc/lispref/display.texi (Size of Displayed Text, Line Height)
      (Showing Images): Update references.
      * doc/lispref/elisp.texi (Top): Update node listing.
      * doc/lispref/frames.texi (Frame Geometry): New node.  Move
      `Size and Position' section here.
      (Size Parameters): Update references.
      (Mouse Position): Update references and nomenclature.  Describe
      new functions `x-mouse-absolute-pixel-position' and
      `x-set-mouse-absolute-pixel-position'.
      * doc/lispref/windows.texi (Window Sizes): Update references.
      (Resizing Windows): Update references.  Move description of
      `fit-frame-to-buffer' here.
      (Coordinates and Windows): Update nomenclature and references.
      Describe new arguments of `window-edges'.  Comment out
      descriptions of `window-left-column', `window-top-line',
      `window-pixel-left' and `window-pixel-top'.  Describe
      `window-absolute-pixel-position'.
      e68d43eb
  19. 30 Jun, 2015 1 commit
    • Eli Zaretskii's avatar
      Don't block changes in mouse pointer inside 'track-mouse' · edd09381
      Eli Zaretskii authored
      * etc/NEWS:
      * doc/lispref/frames.texi (Mouse Tracking): Document the special
      effect of setting 'track-mouse' to 'dragging'.
      
      * lisp/textmodes/artist.el (artist-mouse-draw-continously):
      * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
      * lisp/mouse-drag.el (mouse-drag-throw):
      * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
      to avoid changes in the shape of the mouse pointer.
      
      * src/xdisp.c (define_frame_cursor1): Don't change the mouse
      pointer shape when do_mouse_tracking has the value of 'dragging',
      not just any non-nil value.  (Bug#20934)
      (syms_of_xdisp): DEFSYM 'dragging'.
      edd09381
  20. 19 May, 2015 3 commits
  21. 10 Apr, 2015 1 commit
    • Paul Eggert's avatar
      Minor quoting etc. fixes to lispref manual · a2940cd4
      Paul Eggert authored
      * doc/lispref/tips.texi (Documentation Tips):
      Distinguish more clearly among grave accent, apostrophe,
      and single quote.
      * doc/lispref/README, doc/lispref/buffers.texi:
      * doc/lispref/commands.texi, doc/lispref/control.texi:
      * doc/lispref/customize.texi, doc/lispref/display.texi:
      * doc/lispref/elisp.texi, doc/lispref/files.texi:
      * doc/lispref/frames.texi, doc/lispref/hash.texi:
      * doc/lispref/help.texi, doc/lispref/internals.texi:
      * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
      * doc/lispref/markers.texi, doc/lispref/modes.texi:
      * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
      * doc/lispref/os.texi, doc/lispref/positions.texi:
      * doc/lispref/strings.texi, doc/lispref/syntax.texi:
      * doc/lispref/text.texi, doc/lispref/tips.texi:
      * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
      Use American-style double quoting in ordinary text,
      and quote 'like this' when single-quoting in ASCII text.
      Also, fix some minor spacing issues.
      a2940cd4
  22. 17 Mar, 2015 1 commit
  23. 11 Feb, 2015 2 commits
    • Martin Rudalics's avatar
      Add manual entry for fullscreen-restore parameter. · 061c7e2b
      Martin Rudalics authored
      * frames.texi (Size Parameters): Describe `fullscreen-restore'
      parameter.
      061c7e2b
    • Martin Rudalics's avatar
      Improve toggling fullscreen state of frames. · 02138cb0
      Martin Rudalics authored
      * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
      Rename frame parameter `maximized' to `fullscreen-restore'.
      Restore fullwidth/-height after fullboth state.  Update
      doc-strings.
      * w32term.c (w32_read_socket): In SIZE_MAXIMIZED and
      SIZE_RESTORED cases correctly handle `maximized' value for the
      `fullscreen' parameter.  Don't use the 'maximized' parameter any
      more.
      (w32fullscreen_hook): Include menu bar height when calculating
      new text height in FULLSCREEN_BOTH case.
      * xterm.c (do_ewmh_fullscreen): Handle transition from
      FULLSCREEN_BOTH to FULLSCREEN_MAXIMIZED when
      x_frame_normalize_before_maximize is set.
      * frames.texi (Size Parameters): Update description of
      fullscreen frame parameter.
      02138cb0
  24. 04 Jan, 2015 1 commit
    • Eli Zaretskii's avatar
      More doc fixes for bug#19502 -- make documentation less X-specific. · 5981b4b1
      Eli Zaretskii authored
       doc/lispref/frames.texi (Display Feature Testing): Make the description of
       x-server-version and x-server-vendor less X-specific.
      
       Make doc strings on X and w32 identical.
       src/w32fns.c (Fx_server_version, Fx_server_vendor): Doc fix.
       src/xfns.c (Fx_server_version, Fx_server_vendor): Doc fix.
      5981b4b1
  25. 01 Jan, 2015 2 commits
  26. 23 Dec, 2014 1 commit
    • Eli Zaretskii's avatar
      Improve indexing on the chapter/section/subsection levels. · 20cfd248
      Eli Zaretskii authored
       doc/lispref/windows.texi (Recombining Windows): Index subject of sections.
       doc/lispref/variables.texi (Variables with Restricted Values)
       (Generalized Variables): Index subject of sections.
       doc/lispref/text.texi (Buffer Contents, Examining Properties)
       (Changing Properties, Property Search, Substitution): Index
       subject of sections.
       doc/lispref/syntax.texi (Motion and Syntax, Parsing Expressions)
       (Motion via Parsing, Position Parse, Control Parsing): Index
       subject of sections.
       doc/lispref/strings.texi (Predicates for Strings, Creating Strings)
       (Modifying Strings, Text Comparison): Index subject of sections.
       doc/lispref/searching.texi (Syntax of Regexps, Regexp Special)
       (Regexp Functions, Regexp Functions): Index subject of sections.
       doc/lispref/processes.texi (Subprocess Creation, Process Information): Index
       subject of sections.
       doc/lispref/positions.texi (Screen Lines): Index subject of sections.
       doc/lispref/nonascii.texi (Scanning Charsets, Specifying Coding Systems):
       Index subject of sections.
       doc/lispref/minibuf.texi (Text from Minibuffer, Object from Minibuffer)
       (Multiple Queries, Minibuffer Contents): Index subject of
       sections.
       doc/lispref/markers.texi (Predicates on Markers, Creating Markers)
       (Information from Markers, Moving Markers): Index subject of
       sections.
       doc/lispref/macros.texi (Defining Macros, Problems with Macros): Index
       subject of sections.
       doc/lispref/loading.texi (Loading Non-ASCII, Where Defined): Index subject
       of sections.
       doc/lispref/lists.texi (List-related Predicates, List Variables, Setcar)
       (Setcdr, Plist Access): Index subject of sections.
       doc/lispref/keymaps.texi (Controlling Active Maps, Scanning Keymaps)
       (Modifying Menus): Index subject of sections.
       doc/lispref/help.texi (Accessing Documentation, Help Functions): Index
       subject of sections.
       doc/lispref/hash.texi (Hash Access): Index subject of sections.
       doc/lispref/functions.texi (Core Advising Primitives)
       (Advising Named Functions, Porting old advices): Index subject of
       sections.
       doc/lispref/frames.texi (Creating Frames, Initial Parameters)
       (Position Parameters, Buffer Parameters, Minibuffers and Frames)
       (Pop-Up Menus, Drag and Drop): Index subject of sections.
       doc/lispref/files.texi (Visiting Functions, Kinds of Files)
       (Unique File Names): Index subject of sections.
       doc/lispref/display.texi (Refresh Screen, Echo Area Customization)
       (Warning Variables, Warning Options, Delayed Warnings)
       (Temporary Displays, Managing Overlays, Overlay Properties)
       (Finding Overlays, Size of Displayed Text, Defining Faces)
       (Attribute Functions, Displaying Faces, Face Remapping)
       (Basic Faces, Font Lookup, Fontsets, Replacing Specs)
       (Defining Images, Showing Images): Index subject of sections.
       doc/lispref/debugging.texi (Debugging, Explicit Debug)
       (Invoking the Debugger, Excess Open, Excess Close): Index subject
       of sections.
       doc/lispref/customize.texi (Defining New Types, Applying Customizations)
       (Custom Themes): Index subject of sections.
       doc/lispref/control.texi (Sequencing, Combining Conditions)
       (Processing of Errors, Cleanups): Index subject of sections.
       doc/lispref/compile.texi (Eval During Compile): Index subject of sections.
       doc/lispref/commands.texi (Using Interactive, Distinguish Interactive)
       (Command Loop Info, Classifying Events, Event Mod)
       (Invoking the Input Method): Index subject of sections.
       doc/lispref/buffers.texi (Buffer List, Buffer Gap): Index subject of sections.
       doc/lispref/backups.texi (Making Backups, Numbered Backups, Backup Names)
       (Reverting): Index subject of sections.
       doc/lispref/abbrevs.texi (Abbrev Tables, Defining Abbrevs, Abbrev Files)
       (Abbrev Expansion, Standard Abbrev Tables, Abbrev Properties)
       (Abbrev Table Properties): Index subject of sections.
       doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing)
       (Time Calculations, Idle Timers): Index subject of sections.
      20cfd248
  27. 07 Nov, 2014 1 commit
    • 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
  28. 22 Oct, 2014 1 commit
    • Martin Rudalics's avatar
      Rewrite "Size and Position" section in frames.texi. · 4b63c18a
      Martin Rudalics authored
      * frames.texi (Size Parameters): Replace "frame contents" by
      "frame's text area".  Add reference to Size and Position
      section.
      (Size and Position): Major rewrite.  Add explanations for
      frame's default font, text and display areas.  Add descriptions
      for `set-frame-font', `frame-text-height', `frame-text-width'
      and `frame-inhibit-implied-resize'.
      4b63c18a
  29. 09 Oct, 2014 2 commits
  30. 08 Oct, 2014 2 commits
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Fix bug #18636 with documentation of multi-monitor displays. · 28ec0a87
      Eli Zaretskii authored
       doc/lispref/frames.texi (Multiple Terminals): Improve the description of X
       display names.  Add index entries.
       (Basic Parameters): Add a cross-reference to where X display names
       are described.
       (Position Parameters): Mention that positional parameters of the
       form (+ POS) can be negative if they are on a non-primary monitor
       of a multi-monitor display.
       (Creating Frames): Mention that on multi-monitor displays the
       frame might be positioned differently than specified by the frame
       parameters alist.
      
       lisp/faces.el (display-grayscale-p): Mention in the doc string that
       the argument can be either a display name or a frame.
       lisp/frame.el (display-pixel-height, display-pixel-width)
       (display-mm-height, display-mm-width, display-backing-store)
       (display-save-under, display-planes, display-color-cells)
       (display-visual-class, display-monitor-attributes-list)
       (display-screens): Mention in the doc string that the argument can
       be either a display name or a frame.  Improve the docs of the
       monitor attributes.
      28ec0a87