diff options
| author | Miles Bader | 2006-09-05 02:54:22 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-09-05 02:54:22 +0000 |
| commit | af6ea8ad8d62810d901561ae4a56d89f22ebacf0 (patch) | |
| tree | 02ee24f2f69b71a0690c99a5b007becf76077f74 /lispref | |
| parent | 76e590a3f4d983dbbbf9e1a1bbd7753e251c64a6 (diff) | |
| parent | 750a6cf4b21da81c1b451b8f4dc898127954c133 (diff) | |
| download | emacs-af6ea8ad8d62810d901561ae4a56d89f22ebacf0.tar.gz emacs-af6ea8ad8d62810d901561ae4a56d89f22ebacf0.zip | |
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 414-422)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 128-130)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-108
Diffstat (limited to 'lispref')
| -rw-r--r-- | lispref/ChangeLog | 41 | ||||
| -rw-r--r-- | lispref/buffers.texi | 12 | ||||
| -rw-r--r-- | lispref/display.texi | 7 | ||||
| -rw-r--r-- | lispref/makefile.w32-in | 3 | ||||
| -rw-r--r-- | lispref/modes.texi | 7 | ||||
| -rw-r--r-- | lispref/nonascii.texi | 5 | ||||
| -rw-r--r-- | lispref/os.texi | 19 | ||||
| -rw-r--r-- | lispref/processes.texi | 2 |
8 files changed, 89 insertions, 7 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index cc3ccac3c7a..78e5e6d88cf 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,3 +1,44 @@ | |||
| 1 | 2006-09-04 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * processes.texi (Accepting Output): Explain SECONDS=0 for | ||
| 4 | accept-process-output. | ||
| 5 | |||
| 6 | * os.texi (Idle Timers): Explain why timer functions should not | ||
| 7 | loop until (input-pending-p). | ||
| 8 | |||
| 9 | 2006-09-02 Eli Zaretskii <eliz@gnu.org> | ||
| 10 | |||
| 11 | * makefile.w32-in (usermanualdir): New variable. | ||
| 12 | (elisp.dvi): Use it. | ||
| 13 | |||
| 14 | 2006-09-01 Eli Zaretskii <eliz@gnu.org> | ||
| 15 | |||
| 16 | * buffers.texi (Buffer Modification): Fix last change. | ||
| 17 | |||
| 18 | 2006-09-01 Chong Yidong <cyd@stupidchicken.com> | ||
| 19 | |||
| 20 | * buffers.texi (Buffer Modification): Document | ||
| 21 | buffer-chars-modified-tick. | ||
| 22 | |||
| 23 | 2006-08-31 Richard Stallman <rms@gnu.org> | ||
| 24 | |||
| 25 | * modes.texi (Syntactic Font Lock): Mention specific faces once again. | ||
| 26 | |||
| 27 | 2006-08-31 Richard Bielawski <RBielawski@moneygram.com> (tiny change) | ||
| 28 | |||
| 29 | * modes.texi (Syntactic Font Lock): | ||
| 30 | Mention font-lock-syntactic-face-function | ||
| 31 | instead of specific faces. | ||
| 32 | |||
| 33 | 2006-08-29 Chong Yidong <cyd@stupidchicken.com> | ||
| 34 | |||
| 35 | * display.texi (Images): Add xrref to display-images-p. | ||
| 36 | |||
| 37 | 2006-08-28 Kenichi Handa <handa@m17n.org> | ||
| 38 | |||
| 39 | * nonascii.texi (Lisp and Coding Systems): Fix description of | ||
| 40 | detect-coding-region. | ||
| 41 | |||
| 1 | 2006-08-27 Michael Olson <mwolson@gnu.org> | 42 | 2006-08-27 Michael Olson <mwolson@gnu.org> |
| 2 | 43 | ||
| 3 | * processes.texi (Transaction Queues): Remove stray quote | 44 | * processes.texi (Transaction Queues): Remove stray quote |
diff --git a/lispref/buffers.texi b/lispref/buffers.texi index 46a886eaea6..3b9750f00a2 100644 --- a/lispref/buffers.texi +++ b/lispref/buffers.texi | |||
| @@ -573,7 +573,6 @@ Don't use this function in programs, since it prints a message in the | |||
| 573 | echo area; use @code{set-buffer-modified-p} (above) instead. | 573 | echo area; use @code{set-buffer-modified-p} (above) instead. |
| 574 | @end deffn | 574 | @end deffn |
| 575 | 575 | ||
| 576 | @c Emacs 19 feature | ||
| 577 | @defun buffer-modified-tick &optional buffer | 576 | @defun buffer-modified-tick &optional buffer |
| 578 | This function returns @var{buffer}'s modification-count. This is a | 577 | This function returns @var{buffer}'s modification-count. This is a |
| 579 | counter that increments every time the buffer is modified. If | 578 | counter that increments every time the buffer is modified. If |
| @@ -581,6 +580,17 @@ counter that increments every time the buffer is modified. If | |||
| 581 | The counter can wrap around occasionally. | 580 | The counter can wrap around occasionally. |
| 582 | @end defun | 581 | @end defun |
| 583 | 582 | ||
| 583 | @defun buffer-chars-modified-tick &optional buffer | ||
| 584 | This function returns @var{buffer}'s character-change modification-count. | ||
| 585 | Changes to text properties leave this counter unchanged; however, each | ||
| 586 | time text is inserted or removed from the buffer, the counter is reset | ||
| 587 | to the value that would be returned @code{buffer-modified-tick}. | ||
| 588 | By comparing the values returned by two @code{buffer-chars-modified-tick} | ||
| 589 | calls, you can tell whether a character change occurred in that buffer | ||
| 590 | in between the calls. If @var{buffer} is @code{nil} (or omitted), the | ||
| 591 | current buffer is used. | ||
| 592 | @end defun | ||
| 593 | |||
| 584 | @node Modification Time | 594 | @node Modification Time |
| 585 | @comment node-name, next, previous, up | 595 | @comment node-name, next, previous, up |
| 586 | @section Comparison of Modification Time | 596 | @section Comparison of Modification Time |
diff --git a/lispref/display.texi b/lispref/display.texi index e762c14a7f0..5865f9c6854 100644 --- a/lispref/display.texi +++ b/lispref/display.texi | |||
| @@ -3564,6 +3564,13 @@ If @var{window} is @code{nil}, the selected window is used. | |||
| 3564 | descriptor, then use it as a display specifier in the @code{display} | 3564 | descriptor, then use it as a display specifier in the @code{display} |
| 3565 | property of text that is displayed (@pxref{Display Property}). | 3565 | property of text that is displayed (@pxref{Display Property}). |
| 3566 | 3566 | ||
| 3567 | Emacs is usually able to display images when it is run on a | ||
| 3568 | graphical terminal. Images cannot be displayed in a text terminal, on | ||
| 3569 | certain graphical terminals that lack the support for this, or if | ||
| 3570 | Emacs is compiled without image support. You can use the function | ||
| 3571 | @code{display-images-p} to determine if images can in principle be | ||
| 3572 | displayed (@pxref{Display Feature Testing}). | ||
| 3573 | |||
| 3567 | Emacs can display a number of different image formats; some of them | 3574 | Emacs can display a number of different image formats; some of them |
| 3568 | are supported only if particular support libraries are installed on | 3575 | are supported only if particular support libraries are installed on |
| 3569 | your machine. In some environments, Emacs can load image | 3576 | your machine. In some environments, Emacs can load image |
diff --git a/lispref/makefile.w32-in b/lispref/makefile.w32-in index 0b4c080b956..7da88058bd5 100644 --- a/lispref/makefile.w32-in +++ b/lispref/makefile.w32-in | |||
| @@ -23,6 +23,7 @@ | |||
| 23 | srcdir = . | 23 | srcdir = . |
| 24 | 24 | ||
| 25 | infodir = $(srcdir)/../info | 25 | infodir = $(srcdir)/../info |
| 26 | usermanualdir = $(srcdir)/../man | ||
| 26 | 27 | ||
| 27 | # Redefine `TEX' if `tex' does not invoke plain TeX. For example: | 28 | # Redefine `TEX' if `tex' does not invoke plain TeX. For example: |
| 28 | # TEX=platex | 29 | # TEX=platex |
| @@ -108,7 +109,7 @@ $(infodir)/elisp: $(srcs) | |||
| 108 | $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi | 109 | $(MAKEINFO) -I. -I$(srcdir) -o $(infodir)/elisp $(srcdir)/elisp.texi |
| 109 | 110 | ||
| 110 | elisp.dvi: $(srcs) | 111 | elisp.dvi: $(srcs) |
| 111 | $(texinputdir) $(TEX) $(srcdir)/elisp.texi | 112 | $(texinputdir) $(TEX) -I $(usermanualdir) $(srcdir)/elisp.texi |
| 112 | 113 | ||
| 113 | clean: | 114 | clean: |
| 114 | - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | 115 | - $(DEL) *.toc *.aux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ |
diff --git a/lispref/modes.texi b/lispref/modes.texi index f8afcd8a829..68aeace5c38 100644 --- a/lispref/modes.texi +++ b/lispref/modes.texi | |||
| @@ -2897,9 +2897,10 @@ directives in C. | |||
| 2897 | Syntactic fontification uses the syntax table to find comments and | 2897 | Syntactic fontification uses the syntax table to find comments and |
| 2898 | string constants (@pxref{Syntax Tables}). It highlights them using | 2898 | string constants (@pxref{Syntax Tables}). It highlights them using |
| 2899 | @code{font-lock-comment-face} and @code{font-lock-string-face} | 2899 | @code{font-lock-comment-face} and @code{font-lock-string-face} |
| 2900 | (@pxref{Faces for Font Lock}). There are several variables that | 2900 | (@pxref{Faces for Font Lock}), or whatever |
| 2901 | affect syntactic fontification; you should set them by means of | 2901 | @code{font-lock-syntactic-face-function} chooses. There are several |
| 2902 | @code{font-lock-defaults} (@pxref{Font Lock Basics}). | 2902 | variables that affect syntactic fontification; you should set them by |
| 2903 | means of @code{font-lock-defaults} (@pxref{Font Lock Basics}). | ||
| 2903 | 2904 | ||
| 2904 | @defvar font-lock-keywords-only | 2905 | @defvar font-lock-keywords-only |
| 2905 | Non-@code{nil} means Font Lock should not do syntactic fontification; | 2906 | Non-@code{nil} means Font Lock should not do syntactic fontification; |
diff --git a/lispref/nonascii.texi b/lispref/nonascii.texi index b22a162bb2e..ba001ca72db 100644 --- a/lispref/nonascii.texi +++ b/lispref/nonascii.texi | |||
| @@ -882,8 +882,9 @@ decreasing priority. But if @var{highest} is non-@code{nil}, then the | |||
| 882 | return value is just one coding system, the one that is highest in | 882 | return value is just one coding system, the one that is highest in |
| 883 | priority. | 883 | priority. |
| 884 | 884 | ||
| 885 | If the region contains only @acronym{ASCII} characters, the value | 885 | If the region contains only @acronym{ASCII} characters except for such |
| 886 | is @code{undecided} or @code{(undecided)}, or a variant specifying | 886 | ISO-2022 control characters ISO-2022 as @code{ESC}, the value is |
| 887 | @code{undecided} or @code{(undecided)}, or a variant specifying | ||
| 887 | end-of-line conversion, if that can be deduced from the text. | 888 | end-of-line conversion, if that can be deduced from the text. |
| 888 | @end defun | 889 | @end defun |
| 889 | 890 | ||
diff --git a/lispref/os.texi b/lispref/os.texi index f6682548e5b..edf5833bf42 100644 --- a/lispref/os.texi +++ b/lispref/os.texi | |||
| @@ -1578,6 +1578,25 @@ Here's an example: | |||
| 1578 | @end smallexample | 1578 | @end smallexample |
| 1579 | @end defun | 1579 | @end defun |
| 1580 | 1580 | ||
| 1581 | Some idle timer functions in user Lisp packages have a loop that | ||
| 1582 | does a certain amount of processing each time around, and exits when | ||
| 1583 | @code{(input-pending-p)} is non-@code{nil}. That approach seems very | ||
| 1584 | natural but has two problems: | ||
| 1585 | |||
| 1586 | @itemize | ||
| 1587 | @item | ||
| 1588 | It blocks out all process output (since Emacs accepts process output | ||
| 1589 | only while waiting). | ||
| 1590 | |||
| 1591 | @item | ||
| 1592 | It blocks out any idle timers that ought to run during that time. | ||
| 1593 | @end itemize | ||
| 1594 | |||
| 1595 | @noindent | ||
| 1596 | To avoid these problems, don't use that technique. Instead, write | ||
| 1597 | such idle timers to reschedule themselves after a brief pause, using | ||
| 1598 | the method in the @code{timer-function} example above. | ||
| 1599 | |||
| 1581 | @node Terminal Input | 1600 | @node Terminal Input |
| 1582 | @section Terminal Input | 1601 | @section Terminal Input |
| 1583 | @cindex terminal input | 1602 | @cindex terminal input |
diff --git a/lispref/processes.texi b/lispref/processes.texi index f957ebcac4b..dbc2486f5f6 100644 --- a/lispref/processes.texi +++ b/lispref/processes.texi | |||
| @@ -1308,6 +1308,8 @@ subprocess output. | |||
| 1308 | 1308 | ||
| 1309 | The argument @var{seconds} need not be an integer. If it is a floating | 1309 | The argument @var{seconds} need not be an integer. If it is a floating |
| 1310 | point number, this function waits for a fractional number of seconds. | 1310 | point number, this function waits for a fractional number of seconds. |
| 1311 | If @var{seconds} is 0, the function accepts whatever output is | ||
| 1312 | pending but does not wait. | ||
| 1311 | 1313 | ||
| 1312 | @c Emacs 22.1 feature | 1314 | @c Emacs 22.1 feature |
| 1313 | If @var{process} is a process, and the argument @var{just-this-one} is | 1315 | If @var{process} is a process, and the argument @var{just-this-one} is |