[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/etc/NEWS
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/etc/NEWS |
Date: |
Wed, 20 Apr 2005 12:06:39 -0400 |
Index: emacs/etc/NEWS
diff -c emacs/etc/NEWS:1.1154 emacs/etc/NEWS:1.1155
*** emacs/etc/NEWS:1.1154 Wed Apr 20 10:47:03 2005
--- emacs/etc/NEWS Wed Apr 20 16:06:39 2005
***************
*** 2754,2765 ****
* Lisp Changes in Emacs 22.1
! ---
! ** easy-mmode-define-global-mode has been renamed to
! define-global-minor-mode. The old name remains as an alias.
+++
! ** The new function `filter-buffer-substring' extracts a buffer
substring, passes it through a set of filter functions, and returns
the filtered substring. It is used instead of `buffer-substring' or
`delete-and-extract-region' when copying text into a user-accessible
--- 2754,2763 ----
* Lisp Changes in Emacs 22.1
! ** New functions, macros, and commands
+++
! *** The new function `filter-buffer-substring' extracts a buffer
substring, passes it through a set of filter functions, and returns
the filtered substring. It is used instead of `buffer-substring' or
`delete-and-extract-region' when copying text into a user-accessible
***************
*** 2770,2775 ****
--- 2768,2848 ----
text.
+++
+ *** (while-no-input BODY...) runs BODY, but only so long as no input
+ arrives. If the user types or clicks anything, BODY stops as if a
+ quit had occurred. while-no-input returns the value of BODY, if BODY
+ finishes. It returns nil if BODY was aborted.
+
+ +++
+ *** New function `looking-back' checks whether a regular expression matches
+ the text before point. Specifying the LIMIT argument bounds how far
+ back the match can start; this is a way to keep it from taking too long.
+
+ +++
+ *** New functions `make-progress-reporter', `progress-reporter-update',
+ `progress-reporter-force-update', `progress-reporter-done', and
+ `dotimes-with-progress-reporter' provide a simple and efficient way for
+ a command to present progress messages for the user.
+
+ +++
+ *** The new primitive `get-internal-run-time' returns the processor
+ run time used by Emacs since start-up.
+
+ +++
+ *** The new function `called-interactively-p' does what many people
+ have mistakenly believed `interactive-p' did: it returns t if the
+ calling function was called through `call-interactively'. This should
+ only be used when you cannot add a new "interactive" argument to the
+ command.
+
+ +++
+ *** The new function `assoc-string' replaces `assoc-ignore-case' and
+ `assoc-ignore-representation', which are still available, but have
+ been declared obsolete.
+
+ ---
+ *** New function quail-find-key returns a list of keys to type in the
+ current input method to input a character.
+
+ +++
+ *** New functions posn-at-point and posn-at-x-y return
+ click-event-style position information for a given visible buffer
+ position or for a given window pixel coordinate.
+
+ +++
+ *** The new primitive `set-file-times' sets a file's access and
+ modification times. Magic file name handlers can handle this
+ operation.
+
+ +++
+ *** The new function syntax-after returns the syntax code
+ of the character after a specified buffer position, taking account
+ of text properties as well as the character code.
+
+ *** `syntax-class' extracts the class of a syntax code (as returned
+ by syntax-after).
+
+ +++
+ *** New function `line-number-at-pos' returns line number of current
+ line in current buffer, or if optional buffer position is given, line
+ number of corresponding line in current buffer.
+
+ +++
+ *** New function `macroexpand-all' expands all macros in a form.
+ It is similar to the Common-Lisp function of the same name.
+ One difference is that it guarantees to return the original argument
+ if no expansion is done, which may be tested using `eq'.
+
+ +++
+ *** New macro with-local-quit temporarily sets inhibit-quit to nil for use
+ around potentially blocking or long-running code in timers
+ and post-command-hooks.
+
+ ---
+ ** easy-mmode-define-global-mode has been renamed to
+ define-global-minor-mode. The old name remains as an alias.
+
+ +++
** An element of buffer-undo-list can now have the form (apply FUNNAME
. ARGS), where FUNNAME is a symbol other than t or nil. That stands
for a high-level change that should be undone by evaluating (apply
***************
*** 2801,2828 ****
function used by the new `mouse-1-click-follows-link' functionality.
+++
- ** (while-no-input BODY...) runs BODY, but only so long as no input
- arrives. If the user types or clicks anything, BODY stops as if a
- quit had occurred. while-no-input returns the value of BODY, if BODY
- finishes. It returns nil if BODY was aborted.
-
- +++
** `set-auto-mode' now gives the interpreter magic line (if present)
precedence over the file name. Likewise an <?xml or <!DOCTYPE declaration
will give the buffer XML or SGML mode, based on the new var
`magic-mode-alist'.
- +++
- ** New function `looking-back' checks whether a regular expression matches
- the text before point. Specifying the LIMIT argument bounds how far
- back the match can start; this is a way to keep it from taking too long.
-
- +++
- ** New functions `make-progress-reporter', `progress-reporter-update',
- `progress-reporter-force-update', `progress-reporter-done', and
- `dotimes-with-progress-reporter' provide a simple and efficient way for
- a command to present progress messages for the user.
-
---
** To manipulate the File menu using easy-menu, you must specify the
proper name "file". In previous Emacs versions, you had to specify
--- 2874,2884 ----
***************
*** 2851,2877 ****
NOMODIFY. If it is non-nil, it means don't mark the buffer modified.
+++
- ** The new function syntax-after returns the syntax code
- of the character after a specified buffer position, taking account
- of text properties as well as the character code.
-
- +++
- ** The new primitive `get-internal-run-time' returns the processor
- run time used by Emacs since start-up.
-
- +++
- ** The new function `called-interactively-p' does what many people
- have mistakenly believed `interactive-p' did: it returns t if the
- calling function was called through `call-interactively'. This should
- only be used when you cannot add a new "interactive" argument to the
- command.
-
- +++
- ** The new function `assoc-string' replaces `assoc-ignore-case' and
- `assoc-ignore-representation', which are still available, but have
- been declared obsolete.
-
- +++
** An interactive specification may now use the code letter 'U' to get
the up-event that was discarded in case the last key sequence read for a
previous 'k' or 'K' argument was a down-event; otherwise nil is used.
--- 2907,2912 ----
***************
*** 2930,2944 ****
undo-outer-limit, garbage collection empties it. This is to prevent
it from using up the available memory and choking Emacs.
- ---
- ** New function quail-find-key returns a list of keys to type in the
- current input method to input a character.
-
- +++
- ** New functions posn-at-point and posn-at-x-y return
- click-event-style position information for a given visible buffer
- position or for a given window pixel coordinate.
-
+++
** skip-chars-forward and skip-chars-backward now handle
character classes such as [:alpha:], along with individual characters
--- 2965,2970 ----
***************
*** 2953,2963 ****
** The function `eql' is now available without requiring the CL package.
+++
- ** The new primitive `set-file-times' sets a file's access and
- modification times. Magic file name handlers can handle this
- operation.
-
- +++
** The display space :width and :align-to text properties are now
supported on text terminals.
--- 2979,2984 ----
***************
*** 3081,3091 ****
position. The cursor may now be placed on any character of such
strings by giving that character a non-nil `cursor' text property.
- +++
- ** New macro with-local-quit temporarily sets inhibit-quit to nil for use
- around potentially blocking or long-running code in timers
- and post-command-hooks.
-
** The first face specification element in a defface can specify
`default' instead of frame classification. Then its attributes act as
defaults that apply to all the subsequent cases (and may be overridden
--- 3102,3107 ----
***************
*** 3143,3153 ****
'overlay-arrow-fringe-bitmap' will be used.
+++
- ** New function `line-number-at-pos' returns line number of current
- line in current buffer, or if optional buffer position is given, line
- number of corresponding line in current buffer.
-
- +++
** The default value of `sentence-end' is now defined using the new
variable `sentence-end-without-space' which contains such characters
that end a sentence without following spaces.
--- 3159,3164 ----
***************
*** 3165,3176 ****
implemented (such as "*") are no longer accepted.
+++
- ** New function `macroexpand-all' expands all macros in a form.
- It is similar to the Common-Lisp function of the same name.
- One difference is that it guarantees to return the original argument
- if no expansion is done, which may be tested using `eq'.
-
- +++
** New function `delete-dups' destructively removes `equal' duplicates
from a list. Of several `equal' occurrences of an element in the list,
the first one is kept.
--- 3176,3181 ----
- [Emacs-diffs] Changes to emacs/etc/NEWS, (continued)
- [Emacs-diffs] Changes to emacs/etc/NEWS, Jan Djärv, 2005/04/10
- [Emacs-diffs] Changes to emacs/etc/NEWS, Richard M . Stallman, 2005/04/10
- [Emacs-diffs] Changes to emacs/etc/NEWS, Richard M . Stallman, 2005/04/11
- [Emacs-diffs] Changes to emacs/etc/NEWS, YAMAMOTO Mitsuharu, 2005/04/12
- [Emacs-diffs] Changes to emacs/etc/NEWS, Jan Djärv, 2005/04/12
- [Emacs-diffs] Changes to emacs/etc/NEWS, Luc Teirlinck, 2005/04/12
- [Emacs-diffs] Changes to emacs/etc/NEWS, Luc Teirlinck, 2005/04/17
- [Emacs-diffs] Changes to emacs/etc/NEWS, Kim F . Storm, 2005/04/19
- [Emacs-diffs] Changes to emacs/etc/NEWS, Kim F . Storm, 2005/04/19
- [Emacs-diffs] Changes to emacs/etc/NEWS, Kenichi Handa, 2005/04/20
- [Emacs-diffs] Changes to emacs/etc/NEWS,
Stefan Monnier <=
- [Emacs-diffs] Changes to emacs/etc/NEWS, Lute Kamstra, 2005/04/21
- [Emacs-diffs] Changes to emacs/etc/NEWS, Kim F . Storm, 2005/04/21
- [Emacs-diffs] Changes to emacs/etc/NEWS, Nick Roberts, 2005/04/22
- [Emacs-diffs] Changes to emacs/etc/NEWS, Nick Roberts, 2005/04/22
- [Emacs-diffs] Changes to emacs/etc/NEWS, Nick Roberts, 2005/04/22
- [Emacs-diffs] Changes to emacs/etc/NEWS, Eli Zaretskii, 2005/04/23
- [Emacs-diffs] Changes to emacs/etc/NEWS, Richard M . Stallman, 2005/04/23
- [Emacs-diffs] Changes to emacs/etc/NEWS, Richard M . Stallman, 2005/04/23
- [Emacs-diffs] Changes to emacs/etc/NEWS, Eli Zaretskii, 2005/04/23
- [Emacs-diffs] Changes to emacs/etc/NEWS, Eli Zaretskii, 2005/04/24