1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

1111 Commits

Author SHA1 Message Date
Chong Yidong
fb5b8aca99 Updates to Display chapter of Lisp manual.
* doc/lispref/display.texi (The Echo Area): Add xref to Output Streams.
(Displaying Messages): Improve doc of message.
(Echo Area Customization, Invisible Text): Copyedits.
(Invisible Text): Mention that spec comparison is done with eq.
(Width): Improve doc of char-width.
(Faces): Recommend using symbol instead of string for face name.
Minor clarifications.
(Defining Faces): Copyedits.  Update face example.
(Attribute Functions): Mark set-face-foreground etc as commands.
(Face Remapping): Mention text-scale-adjust.  Clarify
face-remapping-alist and related docs.
(Face Functions): Don't document make-face or copy-face.

* lisp/faces.el (make-face, make-empty-face, copy-face):
* lisp/face-remap.el (face-remap-add-relative, face-remap-set-base):
Doc fixes.

* src/xfaces.c (Vface_remapping_alist): Doc fix.
2012-03-21 15:02:13 +08:00
Chong Yidong
025de85b07 Update doc to reflect new non-nil value of redisplay-dont-pause.
* doc/lispref/display.texi (Forcing Redisplay): Various rewrites to reflect
new value of redisplay-dont-pause.
(Truncation): Copyedits.

* src/dispnew.c (Fredisplay, Vredisplay_preemption_period): Update doc
to reflect default non-nil value of redisplay-dont-pause.
2012-03-20 16:52:11 +08:00
Glenn Morris
a5656eae9d os.texi "Startup Summary" small changes
* doc/lispref/os.texi (Startup Summary):
Don't mention initial-buffer-choice = t.
Add summary table of some relevant command-line options.
2012-03-20 00:44:03 -07:00
Chong Yidong
d15aac6820 Copyedits for Internals and OS chapters of Lisp manual.
* doc/lispref/internals.texi (Building Emacs, Garbage Collection): Copyedits.
(Writing Emacs Primitives): Re-organize discussion of functions
with variable Lisp arguments are handled.  Delete an obsolete
remark, previously tagged as FIXME.

* doc/lispref/os.texi (Idle Timers): Minor clarification.
(Idle Timers): Link to Time of Day for description of time list.
2012-03-18 23:02:12 +08:00
Glenn Morris
b59af54981 lispref/os.texi edits
* doc/lispref/os.texi (System Interface): Flow control was removed.
(Startup Summary): General update.
(Init File): Don't mention compiling it.
2012-03-17 17:23:20 -07:00
Chong Yidong
986bd52a31 Misc manual updates.
* doc/emacs/package.texi (Package Installation): Document use of
package-initialize in init file.

* doc/lispref/os.texi (Startup Summary): Mention package loading.
(Init File): Don't refer to .emacs in section title.  Copyedits.
(Terminal-Specific): Give a realistic example.
(Command-Line Arguments): Reference Entering Emacs instead of
repeating the spiel about not restarting Emacs.
(Time of Day): Discuss time representation at beginning of node.
(Sound Output): Copyedits.

* doc/lispref/package.texi (Packaging Basics): Document package-initialize.
2012-03-17 19:11:08 +08:00
Eli Zaretskii
f761251a43 Add an index entry for "minibuffer-only frame".
doc/lispref/frames.texi (Initial Parameters): Add an index entry for
 minibuffer-only frame.
2012-03-17 11:19:02 +02:00
Glenn Morris
da98623081 Doc fixes for view-mode and special major-modes
Ref: http://debbugs.gnu.org/10650

* doc/lispref/modes.texi (Major Mode Conventions):
Mention the strange (IMO) relationship between View mode and special modes.

* lisp/view.el (view-buffer, view-buffer-other-window)
(view-buffer-other-frame): Doc fixes re special mode-class.
2012-03-15 21:40:20 -04:00
Paul Eggert
f003f29445 Spelling fixes. 2012-03-12 15:35:55 -07:00
Chong Yidong
66c5eebd41 * src/editfns.c (Fconstrain_to_field): Doc fix.
* doc/lispref/text.texi (Fields): Minor copyedit.

Fixes: debbugs:9452
2012-03-12 00:27:36 +08:00
Chong Yidong
2cc775f91d Doc fixes for save-window-excursion.
* lisp/subr.el (save-window-excursion): Doc fix.

* doc/lispref/windows.texi (Window Configurations): save-window-excursion is
now a macro.

* doc/lispref/display.texi (Temporary Displays): with-output-to-temp-buffer is
now a macro.

Fixes: debbugs:9979
2012-03-12 00:10:07 +08:00
Eli Zaretskii
83a96c0872 Warn against using `length' to compute display width of a string.
doc/lispref/strings.texi (String Basics):
 doc/lispref/sequences.texi (Sequence Functions): Mention that `length' is
 not appropriate for computing the string width on display; add a
 cross-reference to the description of `string-width'.  (Bug#10978)
2012-03-10 11:55:54 +02:00
Eli Zaretskii
310a820fc0 Minor change of wording in ELisp manual's "Autoloading" node.
doc/lispref/eval.texi (Autoloading): Minor change of wording.
2012-03-10 11:30:21 +02:00
Chong Yidong
bc44be50ba * loading.texi (Autoload): Explicitly state which forms are processed specially.
Fixes: debbugs:7783
2012-03-10 12:00:13 +08:00
Chong Yidong
83ef8187f4 Fixes for Mouse Menu node.
* doc/lispref/keymaps.texi (Mouse Menus): Describe non-toolkit behavior as the
non-default situation.  Describe one-submenu exception.

* doc/lispref/nonascii.texi (Character Properties): Copyedits.

Fixes: debbugs:7695
2012-03-10 11:27:10 +08:00
Chong Yidong
483ab23014 More updates to Text chapter of Lisp manual.
* doc/lispref/text.texi (Mode-Specific Indent): Document new behavior of
indent-for-tab-command.  Document tab-always-indent.
(Special Properties): Copyedits.
(Checksum/Hash): Improve secure-hash doc.  Do not recommend MD5.
(Parsing HTML/XML): Rename from Parsing HTML.  Update doc of
libxml-parse-html-region.
2012-03-08 13:27:03 +08:00
Glenn Morris
eaa6bc3c1c Tiny clarification for markers.texi
* doc/lispref/markers.texi (The Mark):
Tiny clarification re command loop and activate-mark-hook.
2012-03-07 00:33:11 -08:00
Glenn Morris
a9685db74e lispref/markers.texi small change
* doc/lispref/markers.texi (Overview of Markers):
Reword garbage collection, add cross-ref.
2012-03-06 23:43:14 -08:00
Glenn Morris
00e84de025 lispref/markers.texi small addition
* doc/lispref/markers.texi (The Region):
Briefly mention use-empty-active-region and region-active-p.
2012-03-06 23:37:36 -08:00
Chong Yidong
67cd45a2b4 Minor updates to Markers and Text chapters of Lisp manual.
* doc/lispref/markers.texi (The Mark): Fix typo.
(The Region): Copyedits.

* doc/lispref/text.texi (Buffer Contents): Don't duplicate explanation of
region arguments from Text node.  Put doc of obsolete var
buffer-substring-filters back, since it is referred to.
(Low-Level Kill Ring): Yank now uses clipboard instead of primary
selection by default.
2012-03-07 13:36:33 +08:00
Glenn Morris
2ad809416d Small lispref/markers.texi edits
* doc/lispref/markers.texi (Overview of Markers): Copyedits.
(Creating Markers): Update approximate example buffer size.
(The Mark): Don't mention uninteresting return values.
2012-03-06 21:51:40 -05:00
Chong Yidong
ef959d3a0c * doc/lispref/positions.texi (Text Lines): Document count-words. 2012-03-05 14:12:17 +08:00
Chong Yidong
a08a07e339 Update Frames chapter of Lisp manager. Document clipboard manager.
* doc/emacs/killing.texi (Clipboard): Document clipboard manager.

* doc/lispref/windows.texi (Basic Windows, Coordinates and Windows)
(Coordinates and Windows):
* display.texi (Refresh Screen, Line Height, Face Attributes)
(Overlay Arrow, Beeping, Glyphless Chars): Likewise.

* doc/lispref/frames.texi (Frames): Remove little-used "terminal frame" and
"window frame" terminology.
(Frame Parameters, Font and Color Parameters, Initial Parameters)
(Size and Position, Visibility of Frames): Callers changed.
(Frames): Clarify which terminals in framep are graphical.
(Initial Parameters): --geometry is not the only option which adds
to initial-frame-alist.
(Position Parameters): Note that icon-left and icon-top are for
old window managers only.
(Size Parameters): Sizes are in characters even on graphical
displays.
(Management Parameters): Note that window-id and outer-window-id
can't really be changed, and that auto-raise isn't always obeyed.
(Cursor Parameters): Document cursor-type explicitly.
(Size and Position): The aliases set-screen-height and
set-screen-width have been deleted.
(Visibility of Frames): Mention "minimization".

* doc/lispref/os.texi (Startup Summary): Minor clarifications.
(Startup Summary, Suspending Emacs): Standardize on "text
terminal" terminology.
2012-03-04 14:50:18 +08:00
Glenn Morris
ea16568d87 Checked lispref/abbrevs.texi
* doc/lispref/abbrevs.texi: Small copyedits throughout.
(Abbrev Mode): Remove this section, folding it into the top-level.
(Abbrev Tables): Don't mention irrelevant return values.
(Abbrev Expansion): Add cross-ref for wrapper hooks.
(Standard Abbrev Tables): Emacs Lisp mode now has its own table.
(Abbrev Table Properties): Update nil :regexp description.

* lisp/abbrev.el (copy-abbrev-table, abbrev-table-p)
(abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
(expand-abbrev, define-abbrev-table): Doc fixes.

* admin/FOR-RELEASE: Related markup.
2012-03-03 18:45:04 -08:00
Glenn Morris
7d2d7cc065 Checked lispref/internals.texi, somewhat
* doc/lispref/internals.texi: (Writing Emacs Primitives):
Update Fcoordinates_in_window_p and For example definitions.
Give examples of things with non-nil interactive args.  Mention eval_sub.
Remove old info about strings and GCPRO.  Mention cus-start.el.
(Buffer Internals, Window Internals, Process Internals):
Misc small updates and fixes for fields.

* admin/FOR-RELEASE: Related markup.
2012-03-03 14:13:28 -08:00
Glenn Morris
01a6dcc883 lispref/internals.texi Memory Usage tiny change
* doc/lispref/internals.texi: (Memory Usage): Copyedit.

* src/alloc.c (misc-objects-consed): Doc fix.
2012-03-02 20:18:09 -08:00
Glenn Morris
999dd33306 lispref/internals.texi Pure Storage updates
* doc/lispref/internals.texi: (Pure Storage): Small changes.
* src/alloc.c (Fgarbage_collect): Doc fix.
2012-03-02 19:59:22 -08:00
Glenn Morris
5906db459f * doc/lispref/internals.texi (Building Emacs): Typo fix, I think. 2012-03-02 19:33:41 -08:00
Glenn Morris
520f242512 Some lispref/internals.texi updates
* doc/lispref/internals.texi: Change @appendix section commands to @section
(both forms are equivalent; just being consistent with the rest of lispref).
(Building Emacs): Say less about CANNOT_DUMP platforms.
Replace deleted eval-at-startup with custom-initialize-delay.
* etc/NEWS: Mention eval-at-startup.
2012-03-02 21:45:21 -05:00
Glenn Morris
b3134b95a5 Checked lispref/tips.texi
* doc/lispref/tips.texi: Copyedits.
(Coding Conventions): Mention autoloads.
Combine partially duplicated macro items.  Fix xref.
Refer to Library Headers for copyright notice.
(Programming Tips): edit-options is long-obsolete.
(Compilation Tips): Mention loading bytecomp for byte-compile props.
(Warning Tips): Mention declare-function.
(Documentation Tips): Remove old info.
(Comment Tips): Mention comment-dwim, not indent-for-comment.
(Library Headers): General update.

* admin/FOR-RELEASE: Related markup.
2012-03-02 20:29:55 -05:00
Glenn Morris
98e5ebdf0d * doc/lispref/README: Small updates. Use outline-mode. 2012-03-01 22:01:40 -05:00
Glenn Morris
6945faa62f Tiny change for lispref "Reverting"
* doc/lispref/backups.texi (Reverting):
Un-duplicate revert-buffer-in-progress-p, and relocate entry.
Mention buffer-stale-function.
* doc/emacs/arevert-xtra.texi: Comment.
2012-03-01 22:00:15 -05:00
Glenn Morris
4186e87785 Standardize some lispref menu entries. 2012-03-01 21:54:47 -05:00
Glenn Morris
2064cc6ade Checked lispref/hooks.texi
* doc/lispref/hooks.texi (Standard Hooks): General update.
Put related hooks together.

* doc/lispref/commands.texi (Keyboard Macros):
Remove cross-ref to Standard Hooks.

* doc/lispref/modes.texi (Hooks): Tweak cross-ref description.
Remove non-standard file-local fill-column (2010-05-13T03:55:46Z!rgm@gnu.org).

* admin/FOR-RELEASE: Related markup.
2012-03-01 21:52:40 -05:00
Michael Albinus
7272fbf3f6 * files.texi (Kinds of Files): The return value of file-equal-p is
unspecified, if FILE1 or FILE2 does not exist.
2012-03-01 09:21:32 +01:00
Glenn Morris
90db9af941 * doc/lispref/hooks.texi (Standard Hooks): Remove mode-specific hooks.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00702.html
2012-02-29 23:31:15 -08:00
Glenn Morris
53a1239b31 Update lispref/maps.texi
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00702.html

* doc/lispref/maps.texi (Standard Keymaps): General update.
Remove mode-specific maps, talk about the more general keymaps.
* doc/lispref/help.texi (Help Functions): Add vindex for Helper-help-map.
* doc/lispref/keymaps.texi (Active Keymaps): Minor rephrasing.
* admin/FOR-RELEASE: Related markup.
2012-02-29 23:29:48 -08:00
Glenn Morris
775b55af35 Use "" quotes in menus
This is already used in most places. ``...'' does not get specially
converted by texinfo in @menu descriptions.

* doc/emacs/emacs.texi, doc/emacs/help.texi, doc/emacs/text.texi:
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
* doc/misc/sem-user.texi, doc/misc/url.texi, doc/misc/woman.texi:
Use "" quotes in menus.
2012-02-29 00:11:23 -08:00
Juanma Barranquero
bf7f9bc5e2 Fix ChangeLog typos. 2012-02-28 13:36:39 +01:00
thierry volpiatto
96b4930127 * lisp/files.el (file-equal-p): renamed from `files-equal-p'.
Now return nil when one or both files doesn't exists.
(file-subdir-of-p): Now only top directory must exists,
return nil if it doesn't.
(copy-directory): No need to test with `file-subdir-of-p' after creating dir.
* tramp.el (tramp-file-name-for-operation): Rename `files-equal-p' to `file-equal-p'.
* files.texi: Rename `files-equal-p' to `file-equal-p'.
2012-02-28 10:28:52 +01:00
Glenn Morris
44e97401cd Standardize possessive apostrophe usage in manuals, docs, and comments
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
2012-02-28 00:17:21 -08:00
Glenn Morris
edb3ac8c3a * doc/lispref/makefile.w32-in (srcs): Remove locals.texi. 2012-02-27 23:30:20 -08:00
Glenn Morris
e3c73f1ed0 ChangeLog for previous change 2012-02-27 20:17:54 -08:00
Glenn Morris
2915737190 Remove lispref/locals.texi
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00702.html

* doc/lispref/locals.texi: Remove file.
* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
Don't include locals.texi.  Remove menu entry.
* doc/lispref/errors.texi, doc/lispref/maps.texi: Adjust node pointers.
* doc/lispref/internals.texi (Buffer Internals):
Remove cross-refs to locals.texi.
* doc/lispref/Makefile.in (srcs): Remove locals.texi.

* admin/FOR-RELEASE: Related markup.
2012-02-27 20:17:02 -08:00
Glenn Morris
1383d930d5 * doc/lispref/frames.texi (Mouse Position): Fix cross-ref. 2012-02-27 20:01:56 -08:00
Chong Yidong
431ee44bbe More updates for Buffers and Files chapters of Lisp manual.
* doc/emacs/buffers.texi (Creating Buffers): Clarify that
generate-new-buffer uses generate-new-buffer-names.
(Killing Buffers): Remove bogus example duplicating buffer-live-p.

* doc/emacs/files.texi (Directory Names): Index entry for file name abbreviations.
(Relative File Names, File Name Expansion): Refer to it.
(Locating Files): Move locate-user-emacs-file documentation to
Standard File Names.
(Standard File Names): Add locate-user-emacs-file; update examples.
2012-02-27 15:26:13 +08:00
Michael Albinus
6a11ec9d5c * files.texi (Magic File Names): Add files-equal-p and file-subdir-of-p. 2012-02-26 10:41:13 +01:00
Chong Yidong
fa9a085539 * doc/misc/ediff.texi (Quick Help Commands): Add a couple of index entries.
Fixes: debbugs:10834
2012-02-26 17:29:50 +08:00
Chong Yidong
9a4888c093 Code and doc fixes for file-subdir-of-p and files-equal-p.
* lisp/files.el (files-equal-p): Doc fix.
(file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
and quit the loop once a mismatch is found.

* doc/lispref/files.texi (Kinds of Files): Improve documentation of
files-equal-p and file-subdir-of-p.
2012-02-26 17:08:19 +08:00
Glenn Morris
f0e751b92f * doc/lispref/intro.texi (Acknowledgements): Small changes. 2012-02-25 18:25:07 -08:00