1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
Commit graph

248 commits

Author SHA1 Message Date
Glenn Morris
b83798031c Doc updates re window-setup-hook
* lisp/startup.el (window-setup-hook): Doc fix.

* doc/lispref/display.texi (Window Systems): Remove window-setup-hook.

* doc/lispref/os.texi (Startup Summary, Init File):
Improve description of window-setup-hook.
(Terminal-Specific): Update window-setup-hook cross-reference.

* doc/lispref/hooks.texi (Standard Hooks):
Update window-setup-hook cross-reference.
2014-06-06 00:19:23 -07:00
Glenn Morris
137dcb47fb Document incompatible overlay priority change
* doc/lispref/display.texi (Overlay Properties): Update re priority. 

* etc/NEWS: Related edit.

Fixes: debbugs:17234
2014-06-05 23:45:16 -07:00
Eli Zaretskii
1e046d37a4 Fix bug #17511 with unclear documentation of line-move-ignore-invisible.
lisp/simple.el (line-move-ignore-invisible): Doc fix.

 doc/lispref/display.texi (Invisible Text): Clarify the description of
 line-move-ignore-invisible.
2014-05-17 11:58:17 +03:00
Stefan Monnier
20fa59a004 * src/buffer.c (Foverlays_at): Add argument `sorted'.
* doc/lispref/display.texi (Overlay Properties): Reword the doc of `priority'.
(Finding Overlays): Document new arg of `overlays-at'.
* lisp/obsolete/lucid.el (extent-at):
* lisp/htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
overlays-at.
(hfy-fontify-buffer): Remove unused var `orig-ovls'.
* lisp/ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
arg of overlays-at.  Use `invisible-p'.
2014-04-15 09:21:18 -04:00
Paul Eggert
09b73f0820 Style fixes for floating-point doc.
* commands.texi, customize.texi, display.texi, elisp.texi, files.texi:
* frames.texi, hash.texi, internals.texi, keymaps.texi, lists.texi:
* minibuf.texi, nonascii.texi, numbers.texi, objects.texi, os.texi:
* processes.texi, streams.texi, strings.texi, text.texi:
* variables.texi, windows.texi:
Hyphenate "floating-point" iff it precedes a noun.
Reword to avoid nouns and hyphenation when that's easy.
Prefer "integer" to "integer number" and "is floating point"
to "is a floating point number".
Prefer "@minus{}" to "-" when it's a minus.
2014-03-17 18:19:03 -07:00
Martin Rudalics
b92631bf71 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
* window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
current (Bug#16816, Bug#17007).
(with-current-buffer-window): New macro doing the same as
`with-temp-buffer-window' but with BUFFER-OR-NAME current.
* help.el (help-print-return-message): Warn in doc-string to not
use this in `with-help-window'.
(describe-bindings-internal): Call `describe-buffer-bindings'
from within help buffer.  See Juanma's scenario in (Bug#16816).
(with-help-window): Update doc-string.
* dired.el (dired-mark-pop-up):
* files.el (save-buffers-kill-emacs):
* register.el (register-preview): Use `with-current-buffer-window'
instead of `with-temp-buffer-window'.
* display.texi (Temporary Displays): Rewrite descriptions of
`with-output-to-temp-buffer' and `with-temp-buffer-window'.
* help.texi (Help Functions): Rewrite description of
`with-help-window'.
2014-03-16 10:26:58 +01:00
Dmitry Gutov
480d4f5784 Update `blink-matching-paren' in the manual
* doc/emacs/programs.texi (Matching): Update WRT to the new
`blink-matchin-paren' behavior.

* doc/lispref/display.texi (Blinking): Update WRT to the new
`blink-matchin-paren' behavior.
2014-03-15 05:07:06 +02:00
Martin Rudalics
cfd5e825ae Document pixelwise frame resizing and fix related bug on Windows.
* w32term.c (x_set_window_size): When frame-resize-pixelwise is
nil, always resize character wise to avoid potential loss of the
mode line (Bug#16923 related).
* display.texi (Temporary Displays): Say that
with-temp-buffer-window makes its buffer current.
* frames.texi (Size and Position): Describe new option
`frame-resize-pixelwise'.  Rewrite descriptions of
`set-frame-size', `set-frame-height' and `set-frame-width'.
2014-03-14 11:38:46 +01:00
Martin Rudalics
7e940b6546 Update docs for window dividers and `window-text-pixel-size'.
* xdisp.c (Fwindow_text_pixel_size): Adjust doc-string.
* elisp.texi (Top): Rename section "Width" to "Size of Displayed
Text".
* text.texi (Primitive Indent):
* strings.texi (String Basics):
* sequences.texi (Sequence Functions): Update references
accordingly.
* display.texi (Size of Displayed Text): Rename section from
"Width".  Add description for `window-text-pixel-size'.
(Window Dividers): Reword description of window dividers.
* frames.texi (Layout Parameters): Improve description of window
divider parameters.
* windows.texi (Window Sizes): Add descriptions of
`window-mode-line-height' and `window-header-line-height'.
(Coordinates and Windows): Mention window dividers.
2014-03-09 12:36:51 +01:00
Paul Eggert
1920914a09 Spelling and wording fixes. 2014-03-07 11:12:31 -08:00
Martin Rudalics
e1a2cb1ce5 Various window code related fixes and documentation changes.
* dispnew.c (change_frame_size_1): Add new_lines instead of
new_height, the latter may be still zero if passed as such.
* window.c (Fwindow_pixel_height): Mention bottom divider in
doc-string.
* window.el (window-min-height, window-min-width): Rewrite
doc-strings.
(window-body-size): Add PIXELWISE argument to make it consistent
with its callees.
* display.texi (Window Dividers): New section.
* frames.texi (Layout Parameters): Add right-divider-width and
bottom-divider-width.
* windows.texi (Window Sizes): Redraw schematic and rewrite its
description.  Rewrite descriptions of `window-total-height',
`window-total-width', `window-total-size', `window-body-height',
`window-body-width' and `window-size-fixed'.  Add descriptions
for `window-pixel-height', `window-pixel-width',
`window-min-height' and `window-min-width'.  Remove description
of `window-size-fixed-p' moving part of it to that of
`window-size-fixed'.
(Resizing Windows): Mention dividers when talking about minimum
sizes.
2014-03-05 14:50:48 +01:00
Glenn Morris
3a6e15dd6f * doc/lispref/display.texi (Forcing Redisplay): Mention pre-redisplay-function.
* etc/NEWS: Related markup.
2014-02-28 18:54:08 -08:00
Xue Fuqiao
ecc384ac0a Doc fix for `face-spec-set'.
* doc/lispref/display.texi (Defining Faces): Doc fix for
  `face-spec-set'.

* etc/NEWS: Copyedit.
2014-02-28 12:15:21 +08:00
Xue Fuqiao
eed1c39901 Document some changes about windows.
* doc/lispref/windows.texi (Window Sizes): Document `window-size'.
(Display Action Functions): Document `display-buffer-at-bottom'.
(Window Configurations): Minor fixes.

* doc/lispref/modes.texi (Header Lines): Document `window-header-line-height'.

* doc/lispref/display.texi (Scroll Bars): Document `window-scroll-bar-width'.

* etc/NEWS: Related markup.
2014-02-27 22:10:55 +08:00
Glenn Morris
98bd6b321c Doc updates related to tty-setup-hook
* doc/emacs/custom.texi (Terminal Init):
Replace term-setup-hook with tty-setup-hook.

* doc/lispref/display.texi (Window Systems):
* doc/lispref/hooks.texi (Standard Hooks):
Replace term-setup-hook with tty-setup-hook.

* doc/lispref/os.texi (Startup Summary, Init File, Terminal-Specific):
Replace term-setup-hook with tty-setup-hook, and update.

* doc/misc/edt.texi (Quick start, Starting emulation):
* doc/misc/efaq.texi (Fullscreen mode on MS-Windows)
(Terminal setup code works after Emacs has begun): Update hook details.

* doc/misc/vip.texi (Loading VIP): Fix hook example.

* lisp/faces.el (tty-setup-hook, tty-run-terminal-initialization): Doc fixes.

* lisp/startup.el (term-setup-hook): Doc fix.  Make obsolete.

* lisp/emulation/edt.el: Comment update.

* lisp/term/sun.el (sun-raw-prefix-hooks):
Use tty-setup-hook instead of term-setup-hook.
(terminal-init-sun): Construct message from bytecomp plist.

* lisp/term/wyse50.el (enable-arrow-keys): Doc fix.

* etc/refcards/vipcard.tex: Hook fix.

* etc/NEWS: Related edit.
2014-02-25 00:41:47 -08:00
Lars Ingebrigtsen
981c3e4fcd * display.texi (Blinking): Clarify doc string in example.
Fixes: debbugs:10658
2014-02-08 21:20:54 -08:00
Lars Ingebrigtsen
241781b6fa * display.texi (Face Attributes): Add an index.
Fixes: debbugs:14924
2014-02-07 21:32:54 -08:00
Glenn Morris
314ffdb1d7 Doc changes for cache-long-scans
Ref: http://debbugs.gnu.org/15797#65

* doc/lispref/display.texi (Truncation):
* doc/lispref/positions.texi (Screen Lines): Do not mention cache-long-scans.

* src/buffer.c (cache-long-scans): Doc fix.

* etc/NEWS: Related edit.
2014-02-05 20:27:26 -08:00
Glenn Morris
7b997b1458 Some doc for image-format-suffixes
* doc/lispref/display.texi (ImageMagick Images):
Expand on image-format-suffixes.

* lisp/image.el (image-format-suffixes): Doc fix.

* etc/NEWS: Related markup.
2014-01-22 00:30:00 -08:00
Glenn Morris
f137f4ee19 Fix typo in previous 2014-01-06 23:51:20 -08:00
Glenn Morris
17109647e9 Minor tweak for earlier display.texi change 2014-01-06 23:50:29 -08:00
Glenn Morris
809d2ce4cf * doc/lispref/display.texi (Logging Messages): Copyedits re messages-buffer. 2014-01-06 21:56:17 -05:00
Paul Eggert
b483c5703d Prefer ASCII in doc and comments when the difference does not matter. 2014-01-01 15:13:59 -08:00
Paul Eggert
ba3189039a Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
Chong Yidong
c93525876d Doc updates for several Emacs 24.4 changes.
* doc/lispref/commands.texi (Event Input Misc): Document new arg to
input-pending-p.

* doc/lispref/display.texi (Font Selection): Tweak example.

* doc/lispref/keymaps.texi (Active Keymaps): Re-organize the text.
(Searching Keymaps): Rewrite the pseudo-code for 24.4 changes.
(Controlling Active Maps): Note that set-transient-map uses
overriding-terminal-local-map.

* doc/lispref/nonascii.texi (Specifying Coding Systems): Don't refer to
emacs-mule-dos.
(Lisp and Coding Systems): Describe emacs-mule return value in
modern terms.

* doc/lispref/tips.texi (Coding Conventions): Tweak the coding system tip;
Emacs now uses utf-8 by default for Emacs Lisp source files.

* doc/emacs/glossary.texi (Glossary): Define MULE in modern terms.

* src/keyboard.c (Voverriding_terminal_local_map):
(Voverriding_local_map): Doc fix.

* src/keymap.c (Vemulation_mode_map_alists): Doc fix.
2013-12-25 18:24:52 +08:00
Tassilo Horn
6f1de4d1f1 Document *Messages* buffer changes.
* doc/emacs/buffers.texi: Update list-buffers "screeshop" to show Messages
as major-mode.

* doc/lispref/display.texi: Document `messages-buffer'.
2013-12-20 15:28:01 +01:00
Juanma Barranquero
3629130880 Fix typos in doc files (bug#16089).
* emacs/msdog.texi (Windows Keyboard): Fix typo.

* lispref/display.texi (Progress, Face Remapping):
* lispref/processes.texi (Serial Ports):
* lispref/windows.texi (Recombining Windows): Fix typos.

* misc/dbus.texi (Properties and Annotations): Fix typo.
2013-12-08 16:33:27 +01:00
Eli Zaretskii
8acb09ca61 Documentation followup to last commit.
doc/lispref/display.texi (Truncation): Document that cache-long-scans is now
 non-nil by default.  (Bug#15797)
2013-11-08 12:27:15 +02:00
Xue Fuqiao
cfeda39028 Revert an indexing change.
See http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00193.html
2013-11-06 22:22:02 +08:00
Eli Zaretskii
c67c5132e9 Fix indexing in the lispref manual.
doc/lispref/lists.texi (Rearrangement): Fix indexing.
 doc/lispref/display.texi (Bidirectional Display): Fix indexing.
2013-11-05 19:47:48 +02:00
Xue Fuqiao
95a23e62a9 Another indexing improvement for Unicode. 2013-11-05 19:48:39 +08:00
Xue Fuqiao
5e21526fc5 Improve indexing. 2013-11-05 19:42:58 +08:00
Xue Fuqiao
f5e49f5ba5 * doc/lispref/display.texi (Bidirectional Display): Add an index for UBA. 2013-11-05 19:27:35 +08:00
Xue Fuqiao
29aa2b718c Doc fix.
* doc/lispref/display.texi (Glyphs): Add an index for glyph code.

* src/xdisp.c (syms_of_xdisp): Mention the active display table in doc
string of glyphless-char-display.
2013-11-05 17:00:52 +08:00
Jan Djärv
3c334c1412 Add :distant-foreground to faces.
* doc/lispref/display.texi (Face Attributes): Document :distant-foreground.

* etc/NEWS: Mention :distant-foreground.

* lisp/faces.el (face-x-resources): Add :distant-foreground.
(region): Use :distant-foreground for gtk and ns.

* src/dispextern.h (lface_attribute_index): Add
LFACE_DISTANT_FOREGROUND_INDEX.

* src/xfaces.c: Declare color_distance.
(QCdistant_foreground): New variable.
(NEAR_SAME_COLOR_THRESHOLD): New define.
(load_color2): New function.
(load_color): Call load_color2.
(load_face_colors): Call load_color2 and if distant-color is specified
calculate distant and use distant-color if colors are near.
(LFACE_DISTANT_FOREGROUND): New define.
(merge_face_ref, Finternal_set_lisp_face_attribute)
(Finternal_get_lisp_face_attribute)
(x_supports_face_attributes_p): Handle distant-foreground similar to
foreground.
(syms_of_xfaces): DEFSYM QCdistant_foreground.
2013-11-01 16:47:10 +01:00
Xue Fuqiao
bc5184ab59 * doc/lispref/display.texi (Abstract Display): Improve indexing. 2013-10-30 18:08:11 +08:00
Stefan Monnier
23af34b00c * doc/lispref/display.texi (Selective Display): Discourage the use of explicit
selective display.
2013-10-29 10:49:10 -04:00
Xue Fuqiao
e54711f396 * doc/lispref/display.texi (Abstract Display): Explain the meaning of Ewoc. 2013-10-29 22:36:01 +08:00
Xue Fuqiao
836b431328 Fix a typo. 2013-10-29 22:23:07 +08:00
Xue Fuqiao
3440d80e12 Use @code instead of @var for a normal variable.
* doc/lispref/display.texi (Button Buffer Commands): Use @code instead
  of @var for a normal variable.
2013-10-29 22:15:52 +08:00
Xue Fuqiao
142207c0e6 * doc/lispref/display.texi (Multi-Frame Images): Improve indexing. 2013-10-29 19:58:50 +08:00
Xue Fuqiao
027d950f5c Add an index for multi-frame images.
* doc/lispref/display.texi (Multi-Frame Images): Add an index for multi-frame images.
2013-10-29 19:20:24 +08:00
Xue Fuqiao
64ba53a23c Use @code instead of @var for a normal variable, since @var should
indicate metasyntactic variables.
2013-10-29 18:52:03 +08:00
Xue Fuqiao
81cf3b079a Add an index for image-size.
* doc/lispref/display.texi (Showing Images): Add an index for image-size.
2013-10-29 18:25:35 +08:00
Xue Fuqiao
18c9f8a224 * lisp/image.el (defimage): Doc fix. 2013-10-28 06:53:48 +08:00
Xue Fuqiao
77197f90a0 Comment 2013-10-27 22:12:16 +08:00
Xue Fuqiao
44e0cfaf57 Add an index for image maps. 2013-10-27 21:07:24 +08:00
Xue Fuqiao
3c640e29b8 Add an index for edge-detection algorithms.
* doc/lispref/display.texi (Image Descriptors): Add an index for edge-detection algorithms.
2013-10-27 12:40:16 +08:00
Xue Fuqiao
918a7ad426 Add an index for customizing fringe bitmaps. 2013-10-26 10:25:54 +08:00
Xue Fuqiao
7db9c31e3d * doc/lispref/display.texi (Fringe Indicators): Add indexes for fringe indicators. 2013-10-26 10:20:04 +08:00