1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-12 16:23:57 +00:00
Commit Graph

498 Commits

Author SHA1 Message Date
Reuben Thomas
bfcb151a96 Remove unnecessary manual advice about eval-after-load (Bug#7986).
* loading.texi (Hooks for Loading): Remove unnecessary manual advice
about eval-after-load.
2011-02-08 19:28:06 -05:00
Glenn Morris
233ba4d924 Merge from emacs-23; up to 2010-05-26T14:19:15Z!monnier@iro.umontreal.ca. 2011-02-05 14:30:14 -08:00
Chong Yidong
a41c866068 Last remaining doc additions required by 23.3.
* doc/emacs/maintaining.texi (VC Change Log): Document vc-log-incoming and
vc-log-outgoing.
(Merging): Document vc-find-conflicted-file.

* doc/emacs/rmail.texi (Rmail Display): Document Rmail MIME support more
accurately.

* doc/lispref/commands.texi (Accessing Mouse): Note that a header line is not
included in the row of posn-col-row.

* etc/NEWS: Remove +++ and --- lines.
2011-02-05 01:13:36 -05:00
Chong Yidong
e0dd683709 * modes.texi (Major Mode Conventions): Add face guidelines.
(Faces for Font Lock): List faces in order of prominence.
2011-02-02 15:44:19 -05:00
Paul Eggert
a4180391ac format-time-string now supports subsecond time stamp resolution 2011-01-31 23:23:48 -08:00
Chong Yidong
14beddf471 Merge changes from emacs-23 branch 2011-01-31 18:54:50 -05:00
Eli Zaretskii
bf3dae7ec3 Fix doc/*/makefile.w32-in according to 2011-01-23T10:22:21Z!wl@gnu.org-2011-01-23T10:38:14Z!wl@gnu.org.
doc/lispref/makefile.w32-in (texinfodir): New variable.
 (usermanualdir): Remove as redundant with $(emacsdir).
 (MAKEINFO): Remove options, leave only program name.
 (MAKEINFO_OPTS): New variable.
 (texinputdir, $(infodir)/elisp): Use $(MAKEINFO_OPTS).
 doc/emacs/makefile.w32-in (MAKEINFO): Remove options, leave only program name.
 (MAKEINFO_OPTS): New variable.
 (ENVADD, $(infodir)/emacs): Use $(MAKEINFO_OPTS).
 (emacs.html): New target.
 (clean): Remove emacs.html.
 doc/misc/makefile.w32-in (MAKEINFO): Remove options, leave only program name.
 (MAKEINFO_OPTS): New variable.
 (ENVADD, $(infodir)/emacs): Use $(MAKEINFO_OPTS).
 ($(infodir)/info, $(infodir)/ccmode, $(infodir)/ada-mode)
 ($(infodir)/pcl-cvs, $(infodir)/eshell, $(infodir)/cl)
 ($(infodir)/dbus, $(infodir)/dired-x, $(infodir)/ediff)
 ($(infodir)/flymake, $(infodir)/forms, $(infodir)/gnus)
 ($(infodir)/message, $(infodir)/emacs-mime, $(infodir)/sieve)
 ($(infodir)/pgg, $(infodir)/mh-e, $(infodir)/reftex)
 ($(infodir)/remember, $(infodir)/sasl, $(infodir)/sc)
 ($(infodir)/vip, $(infodir)/viper, $(infodir)/widget)
 ($(infodir)/efaq, $(infodir)/autotype, $(infodir)/calc)
 ($(infodir)/idlwave, $(infodir)/eudc, $(infodir)/ebrowse)
 ($(infodir)/woman, $(infodir)/speedbar, $(infodir)/tramp)
 ($(infodir)/ses, $(infodir)/smtpmail, $(infodir)/org)
 ($(infodir)/url, $(infodir)/newsticker, $(infodir)/nxml-mode)
 ($(infodir)/rcirc, $(infodir)/erc, $(infodir)/ert)
 ($(infodir)/epa, $(infodir)/mairix-el, $(infodir)/auth)
 ($(infodir)/eieio, $(infodir)/ede, $(infodir)/semantic)
 ($(infodir)/edt): Use $(MAKEINFO_OPTS).
2011-01-29 16:48:19 +02:00
Chong Yidong
61db307fee Shorten menu description of "Other Display Specs" lispref node (Bug#7816).
* vol1.texi (Top):
* vol2.texi (Top):
* elisp.texi (Top):
* display.texi (Display Property): Shorten the menu description of
the "Other Display Specs" node.
2011-01-28 14:19:36 -05:00
Chong Yidong
7427eb9754 Add two cindex entries to Lisp manual (Bug#7805).
* keymaps.texi (Defining Menus): Add "menu item" and "extended
menu item" concept index entries.
2011-01-28 12:37:07 -05:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
06d8ace515 Merge from emacs-23.
Note setting of CANNOT_DUMP on ia64 hpux is still to be merged manually.
2011-01-24 19:47:47 -08:00
Chong Yidong
e6cf7a8272 * loading.texi (Library Search): Document list-load-path-shadows (Bug#7757). 2011-01-23 15:34:12 -05:00
Werner LEMBERG
a8e1e9ee62 * Makefile.in (MAKEINFO): Now controlled by `configure'.
(MAKEINFO_OPTS): New variable.  Use it where appropriate.
(ENVADD): New variable to control texi2dvi and texi2pdf.
2011-01-23 11:22:21 +01:00
Chong Yidong
3f066f54dd Remove outdated paragraph from Lisp manual (Bug#7780).
* doc/lispref/searching.texi (Regexp Special): Remove outdated discussion of
character sets.
2011-01-22 20:12:25 -05:00
Chong Yidong
28a881534e * frames.texi (Pop-Up Menus): Document where menu title comes from (Bug#7684). 2011-01-22 15:25:23 -05:00
Glenn Morris
4d265b4d76 Doc fix for make-text-button.
* doc/lispref/display.texi (Making Buttons): Mention limitation of text buttons.

* lisp/button.el (make-text-button): Doc fix.  (See bug#7881)
2011-01-22 12:10:17 -08:00
Glenn Morris
362b9d483c Merge from emacs-23 branch. 2011-01-15 12:03:38 -08:00
Stefan Monnier
3fa173b4d9 * lisp/subr.el (eval-after-load): Fix timing for features.
(declare-function, undefined, insert-for-yank)
(replace-regexp-in-string): Follow checkdoc's recommendations.
* doc/lispref/loading.texi (Hooks for Loading): Adjust doc of eval-after-load.

Fixes: debbugs:7769
2011-01-10 22:23:04 -05:00
Chong Yidong
c40b51e0ff Move directory-abbrev-alist doc from Lispref to Emacs manual.
* doc/emacs/files.texi (File Aliases): Move directory-abbrev-alist doc from Lisp
manual.  Explain why directory-abbrev-alist elements should be anchored
(Bug#7777).

* doc/lispref/files.texi (Directory Names): Move directory-abbrev-alist doc to
Emacs manual.
2011-01-08 17:01:13 -05:00
Chong Yidong
ad2d9b0e33 Explain why directory-abbrev-alist should be anchored (Bug#7777).
* files.texi (Directory Names): Explain why directory-abbrev-alist
elements should be anchored (Bug#7777).
2011-01-08 16:37:20 -05:00
Eli Zaretskii
4320be4251 Fix bug #7777 with documentation of directory-abbrev-alist.
lisp/files.el (directory-abbrev-alist): Doc fix.
 doc/lispref/files.texi (Directory Names): Explain why FROM in
 directory-abbrev-alist should begin with \`.
2011-01-07 17:55:13 +02:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Chong Yidong
7c420169ba Merge changes from emacs-23 branch 2011-01-02 15:31:19 -05:00
Eli Zaretskii
2e4ab21153 More fallout from fixing bug #7587.
src/xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
 the basic faces are supported.
 doc/lispref/modes.texi (Emulating Mode Line): Fix last change.
 etc/NEWS: Remove the entry about format-mode-line accepting only
 basic faces.
2010-12-25 12:14:48 +02:00
Stefan Monnier
80b33766d4 * doc/lispref/keymaps.texi (Simple Menu Items, Extended Menu Items):
Remove mention of the key-binding-data cache since we don't use it
any more.
* doc/lispref/modes.texi (Derived Modes): Mention prog-mode.

Fixes: debbugs:7542
2010-12-18 11:28:15 -05:00
Eli Zaretskii
287e63bb58 Fallout from fixing bug #7587.
doc/lispref/modes.texi (Emulating Mode Line): Update documentation of
 format-mode-line according to changes that fixed bug #7587.

 etc/NEWS: Mention the incompatible change in format-mode-line wrt its
 FACE argument.
2010-12-18 10:53:28 +02:00
Glenn Morris
e1115396be ChangeLog whitespace fix. 2010-12-13 09:19:58 -08:00
Stefan Monnier
f49d1f52b2 Merge from emacs-23 2010-12-13 10:27:36 -05:00
Eli Zaretskii
4bb49a92aa Fallout from bug #7563.
processes.texi (Shell Arguments):
 strings.texi (Creating Strings): Don't mention "shell commands";
 make it explicit that `split-string-and-unquote' and
 `combine-and-quote-strings' are mainly for working with arguments
 to call-process and start-process.
2010-12-11 20:45:53 +02:00
Eli Zaretskii
3c73e30e34 Fix bug #7563 with docs of split-string-and-unquote.
processes.texi (Shell Arguments): Fix documentation of
 `split-string-and-unquote'.  Add indexing.
2010-12-11 11:41:45 +02:00
Glenn Morris
ec1b9b17fa Make verify-visited-file-modtime default to the current buffer.
* src/fileio.c (Fverify_visited_file_modtime): Default to current buffer.
* doc/lispref/buffers.texi (Modification Time):
verify-visited-file-modtime now defaults to the current buffer.
2010-12-07 19:45:45 -08:00
Stefan Monnier
5dcb4c4e5d * doc/lispref/modes.texi (Auto-Indentation): New section to document SMIE.
(Major Mode Conventions):
* doc/lispref/text.texi (Mode-Specific Indent): Refer to it.
2010-12-07 14:44:38 -05:00
Eli Zaretskii
bdef6a7740 display.texi (Other Display Specs): Document left-fringe and right-fringe
display specs.
2010-12-04 18:01:30 +02:00
Stefan Monnier
769741e3d1 * doc/lispref/backups.texi (Making Backups):
* doc/lispref/modes.texi (Example Major Modes): Use recommended coding style.
(Major Mode Basics, Derived Modes): Encourge more strongly use of
define-derived-mode.  Mention completion-at-point-functions.
2010-12-01 17:42:36 -05:00
Chong Yidong
07976ae3b8 Merge changes from emacs-23 branch 2010-11-27 15:04:57 -05:00
Eli Zaretskii
8547874a7c Fix and document components of mouse event position.
src/keyboard.c (make_lispy_position): Put a meaningful value in yret
 when the click is on the header or mode line.
 doc/lispref/commands.texi (Click Events): Document the values of X, Y and
 COL, ROW in the event's position, when the click is on the header or
 mode line, on the fringes, or in the margins.
2010-11-26 20:15:09 +02:00
Chong Yidong
3e99b8257b Document byte-to-string in Lisp manual.
* objects.texi (Symbol Type):
* text.texi (Near Point):
* help.texi (Help Functions):
* functions.texi (Mapping Functions): Use string instead of
char-to-string in examples.

* nonascii.texi (Converting Representations): Document
byte-to-string.

* strings.texi (Creating Strings): Don't mention semi-obsolete
function char-to-string.
(String Conversion): Shorten discussion of semi-obsolete function
string-to-char.  Link to Converting Representations.
2010-11-21 13:07:47 -05:00
Chong Yidong
ec8a6295a0 Document some Emacs 23.3 changes in manuals.
* doc/emacs/macos.texi (Mac / GNUstep Basics): Document
ns-right-alternate-modifier.

* doc/lispref/numbers.texi (Float Basics): Document float-e and float-pi.

* doc/lispref/symbols.texi (Creating Symbols): Using unintern without an
obarray arg is now obsolete.

* doc/lispref/text.texi (Kill Functions, Kill Functions)
(Low-Level Kill Ring, Low-Level Kill Ring): Remove obsolete
YANK-HANDLER args.

* doc/lispref/variables.texi (Defining Variables): Change "pi" example to
"float-pi".
2010-11-20 14:52:20 -05:00
Stefan Monnier
4a47c27573 Merge from emacs-23 2010-11-17 22:54:14 -05:00
Eli Zaretskii
0eb025fb55 Fix and document display of glyphless characters.
src/xdisp.c (set_cursor_from_row): Fix cursor positioning on
 zero-width characters.
 (syms_of_xdisp) <glyphless-char-display>: Doc fix.
 src/.gdbinit (pgx): Adapt to latest changes in `struct glyph'.
 src/w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the
 box before drawing the glyphs inside it.
 src/dispextern.h (enum glyphless_display_method): Rename
 GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE.  All
 users changed.
 src/term.c (append_glyphless_glyph, produce_glyphless_glyph): Fix
 comments.
 (produce_glyphless_glyph): Enclose "U+nnnn" and "empty box"
 whitespace in "[]", to simulate a box.  Don't use uninitialized
 variable `width'.
 lisp/international/characters.el (glyphless-char-display-control):
 Renamed from glyphless-char-control; all users changed.  Doc fix.
 Signal an error if display method is not one of the recognized
 symbols.
 doc/emacs/rmail.texi (Rmail Coding): Characters with no fonts are not
 necessarily displayed as empty boxes.
 doc/emacs/mule.texi (Language Environments, Fontsets): Characters with no
 fonts are not necessarily displayed as empty boxes.
 doc/emacs/display.texi (Text Display): Document display of glyphless
 characters.
 doc/lispref/display.texi (Usual Display): Characters with no fonts are not
 necessarily displayed as empty boxes.
 etc/NEWS: Document display of glyphless characters.
2010-11-13 15:29:31 +02:00
Eli Zaretskii
5b05d75ba7 customize.texi (Composite Types): Lower-case index entry. 2010-11-12 19:03:57 +02:00
Eli Zaretskii
c7926fe29b Fix bug #7346: document load-file-name.
src/lread.c (Fload): Mention `load-in-progress' and `load-file-name'.
 doc/lispref/loading.texi (How Programs Do Loading): Document `load-file-name'.
2010-11-12 18:35:35 +02:00
Glenn Morris
cde08ac929 * doc/lispref/text.texi (Kill Functions, Low-Level Kill Ring): Small fixes. 2010-11-10 00:42:42 -08:00
Chong Yidong
2699a55464 Merge changes from emacs-23 branch 2010-10-31 10:40:01 -04:00
Glenn Morris
8289f37b64 doc/Makefile fixes related to inclusion of emacsver.texi.
* doc/lispref/Makefile.in (elisp.dvi, elisp.pdf): Also include $emacsdir.

* doc/misc/Makefile.in (MAKEINFO, ENVADD): Add $emacsdir to include path.
(($(infodir)/calc, calc.dvi, calc.pdf): Depend on emacsver.texi.
($(infodir)/efaq): Remove -I option now in $MAKEINFO.
2010-10-28 00:21:43 -07:00
Glenn Morris
aab705a2a8 Fix treatment of menu-bar-files-menu.
* lisp/menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
rather than just an unused variable that inherits from the real one.

* doc/lispref/maps.texi (Standard Keymaps): Update File menu description.
2010-10-26 21:06:52 -07:00
Juanma Barranquero
5793a7bc13 Fix some ChangeLog entries. 2010-10-25 02:04:44 +02:00
Chong Yidong
0c382083b6 Merge changes from emacs-23 2010-10-24 17:36:09 -04:00
Glenn Morris
17284e3024 Replace digest-doc and sorted-doc C programs with Lisp commands.
* lib-src/digest-doc.c, lib-src/sorted-doc.c: Remove files.
* lib-src/Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
(digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
* lib-src/makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
(install): Don't install digest-doc.exe or sorted-doc.exe.

* lisp/help-fns.el (doc-file-to-man, doc-file-to-info): New commands.

* doc/lispref/help.texi (Documentation Basics): Remove mentions of
digest-doc and sorted-doc.

* INSTALL, nt/README, nt/README.W32: Do not mention digest-doc and sorted-doc.

* etc/NEWS: Mention this change.
2010-10-22 19:46:06 -07:00
Eli Zaretskii
89baa1df69 Document values of window-system and deprecate its use as predicate.
src/frame.c (Fframep, Fwindow_system): Deprecate use as a predicate.
 Document all values.
 src/dispnew.c (syms_of_display) <initial-window-system, window-system>:
 Deprecate use as a boolean flag.  Document all values.
 src/display.texi (Window Systems): Deprecate use of window-system as
 a predicate.
2010-10-22 12:35:31 +02:00