aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-05-14 13:58:01 +0000
committerRichard M. Stallman2005-05-14 13:58:01 +0000
commita61d42f160ba901bc39d42ca056752f83d6779b6 (patch)
tree357bef758dfc1d6b77a780b448ff95e2ebb3e079
parente72e58336c289479f808ea19996e6f68de21032f (diff)
downloademacs-a61d42f160ba901bc39d42ca056752f83d6779b6.tar.gz
emacs-a61d42f160ba901bc39d42ca056752f83d6779b6.zip
Rearrangements and cleanups.
-rw-r--r--etc/NEWS198
1 files changed, 105 insertions, 93 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 5d3867d529c..eae7f67eead 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -677,14 +677,8 @@ elements are deleted.
677When the file is maintained under version control, that information 677When the file is maintained under version control, that information
678appears between the position information and the major mode. 678appears between the position information and the major mode.
679 679
680*** Easy to overlook single character negation is now font-locked.
681You can use the new variable `font-lock-negation-char-face' and the face of
682the same name to customize this. Currently the cc-modes, sh-script-mode,
683cperl-mode and make-mode support this.
684
685+++ 680+++
686*** Control characters and escape glyphs are now shown in the new 681*** New face `escape-glyph' highlights control characters and escape glyphs.
687escape-glyph face.
688 682
689+++ 683+++
690*** Non-breaking space and hyphens are now prefixed with an escape 684*** Non-breaking space and hyphens are now prefixed with an escape
@@ -820,6 +814,16 @@ font-lock now highlights any such open-paren-in-column-zero in bold-red
820if it is inside a string or a comment, to indicate that it can cause 814if it is inside a string or a comment, to indicate that it can cause
821trouble with fontification and/or indentation. 815trouble with fontification and/or indentation.
822 816
817+++
818*** New standard font-lock face `font-lock-preprocessor-face'.
819
820*** New standard font-lock face `font-lock-comment-delimiter-face'.
821
822*** Easy to overlook single character negation is now font-locked.
823You can use the new variable `font-lock-negation-char-face' and the face of
824the same name to customize this. Currently the cc-modes, sh-script-mode,
825cperl-mode and make-mode support this.
826
823--- 827---
824*** The default settings for JIT stealth lock parameters are changed. 828*** The default settings for JIT stealth lock parameters are changed.
825The default value for the user option jit-lock-stealth-time is now 16 829The default value for the user option jit-lock-stealth-time is now 16
@@ -3921,35 +3925,38 @@ number P is represented as a five element vector [A B C D P], and the
3921printable string returned for this vector is "A.B.C.D:P". See the doc 3925printable string returned for this vector is "A.B.C.D:P". See the doc
3922string for other formatting options. 3926string for other formatting options.
3923 3927
3924*** By default, the function process-contact still returns (HOST SERVICE) 3928*** `process-contact' has an optional KEY argument.
3925for a network process. Using the new optional KEY arg, the complete list 3929
3926of network process properties or a specific property can be selected. 3930Depending on this argument, you can get the complete list of network
3931process properties or a specific property. Using :local or :remote as
3932the KEY, you get the address of the local or remote end-point.
3927 3933
3928Using :local and :remote as the KEY, the address of the local or 3934An Inet address is represented as a 5 element vector, where the first
3929remote end-point is returned. An Inet address is represented as a 5 39354 elements contain the IP address and the fifth is the port number.
3930element vector, where the first 4 elements contain the IP address and
3931the fifth is the port number.
3932 3936
3933*** Network processes can now be stopped and restarted with 3937*** New functions `stop-process' and `continue-process'.
3934`stop-process' and `continue-process'. For a server process, no
3935connections are accepted in the stopped state. For a client process,
3936no input is received in the stopped state.
3937 3938
3938*** New function network-interface-list. 3939These functions stop and restart communication through a network
3940connection. For a server process, no connections are accepted in the
3941stopped state. For a client process, no input is received in the
3942stopped state.
3943
3944*** New function `network-interface-list'.
3939 3945
3940This function returns a list of network interface names and their 3946This function returns a list of network interface names and their
3941current network addresses. 3947current network addresses.
3942 3948
3943*** New function network-interface-info. 3949*** New function `network-interface-info'.
3944 3950
3945This function returns the network address, hardware address, current 3951This function returns the network address, hardware address, current
3946status, and other information about a specific network interface. 3952status, and other information about a specific network interface.
3947 3953
3948*** The sentinel is now called when a network process is deleted with 3954*** Deleting a network process with `delete-process' calls the sentinel.
3949delete-process. The status message passed to the sentinel for a 3955
3950deleted network process is "deleted". The message passed to the 3956The status message passed to the sentinel for a deleted network
3951sentinel when the connection is closed by the remote peer has been 3957process is "deleted". The message passed to the sentinel when the
3952changed to "connection broken by remote peer". 3958connection is closed by the remote peer has been changed to
3959"connection broken by remote peer".
3953 3960
3954** Using window objects: 3961** Using window objects:
3955 3962
@@ -3962,7 +3969,7 @@ header line.
3962+++ 3969+++
3963*** New function `window-body-height'. 3970*** New function `window-body-height'.
3964 3971
3965This is like window-height but does not count the mode line 3972This is like `window-height' but does not count the mode line
3966or the header line. 3973or the header line.
3967 3974
3968+++ 3975+++
@@ -3989,7 +3996,7 @@ return window edges in units of pixels, rather than columns and lines.
3989selected window without impacting the order of `buffer-list'. 3996selected window without impacting the order of `buffer-list'.
3990 3997
3991+++ 3998+++
3992*** `select-window' takes an optional second argument `norecord'. 3999*** `select-window' takes an optional second argument NORECORD.
3993 4000
3994This is like `switch-to-buffer'. 4001This is like `switch-to-buffer'.
3995 4002
@@ -4016,12 +4023,12 @@ identifing the bitmap such as `left-truncation or `continued-line'.
4016*** New function `destroy-fringe-bitmap' deletes a fringe bitmap 4023*** New function `destroy-fringe-bitmap' deletes a fringe bitmap
4017or restores a built-in one to its default value. 4024or restores a built-in one to its default value.
4018 4025
4019*** New function `set-fringe-bitmap-face' can now be used to set a 4026*** New function `set-fringe-bitmap-face' specifies the face to be
4020specific face to be used for a specific fringe bitmap. The face is 4027used for a specific fringe bitmap. The face is automatically merged
4021automatically merged with the `fringe' face, so normally, the face 4028with the `fringe' face, so normally, the face should only specify the
4022should only specify the foreground color of the bitmap. 4029foreground color of the bitmap.
4023 4030
4024*** There are new display properties, `left-fringe; and `right-fringe', 4031*** There are new display properties, `left-fringe' and `right-fringe',
4025that can be used to show a specific bitmap in the left or right fringe 4032that can be used to show a specific bitmap in the left or right fringe
4026bitmap of the display line. 4033bitmap of the display line.
4027 4034
@@ -4164,7 +4171,7 @@ If the `line-spacing' property is a float or cons, the line spacing
4164is calculated as specified above for the `line-height' property. 4171is calculated as specified above for the `line-height' property.
4165 4172
4166+++ 4173+++
4167*** The buffer local line-spacing variable can now have a float value, 4174*** The buffer local `line-spacing' variable can now have a float value,
4168which is used as a height relative to the default frame line height. 4175which is used as a height relative to the default frame line height.
4169 4176
4170+++ 4177+++
@@ -4214,7 +4221,7 @@ For example, to align to the center of the left-margin, use
4214 4221
4215If no specific base offset is set for alignment, it is always relative 4222If no specific base offset is set for alignment, it is always relative
4216to the left edge of the text area. For example, :align-to 0 in a 4223to the left edge of the text area. For example, :align-to 0 in a
4217header-line aligns with the first text column in the text area. 4224header line aligns with the first text column in the text area.
4218 4225
4219The value of the form `(NUM . EXPR)' is the value of NUM multiplied by 4226The value of the form `(NUM . EXPR)' is the value of NUM multiplied by
4220the value of the expression EXPR. For example, (2 . in) specifies a 4227the value of the expression EXPR. For example, (2 . in) specifies a
@@ -4240,10 +4247,10 @@ supported on text terminals.
4240**** New display property (slice X Y WIDTH HEIGHT) can be used with 4247**** New display property (slice X Y WIDTH HEIGHT) can be used with
4241an image property to display only a specific slice of the image. 4248an image property to display only a specific slice of the image.
4242 4249
4243**** Function insert-image has new optional fourth arg to 4250**** Function `insert-image' has new optional fourth arg to
4244specify image slice (X Y WIDTH HEIGHT). 4251specify image slice (X Y WIDTH HEIGHT).
4245 4252
4246**** New function insert-sliced-image inserts a given image as a 4253**** New function `insert-sliced-image' inserts a given image as a
4247specified number of evenly sized slices (rows x columns). 4254specified number of evenly sized slices (rows x columns).
4248 4255
4249+++ 4256+++
@@ -4262,7 +4269,7 @@ When the mouse pointer is above a hot-spot area of an image, the
4262PLIST of that hot-spot is consulted; if it contains a `help-echo' 4269PLIST of that hot-spot is consulted; if it contains a `help-echo'
4263property it defines a tool-tip for the hot-spot, and if it contains 4270property it defines a tool-tip for the hot-spot, and if it contains
4264a `pointer' property, it defines the shape of the mouse cursor when 4271a `pointer' property, it defines the shape of the mouse cursor when
4265it is over the hot-spot. See the variable 'void-area-text-pointer' 4272it is over the hot-spot. See the variable `void-area-text-pointer'
4266for possible pointer shapes. 4273for possible pointer shapes.
4267 4274
4268When you click the mouse when the mouse pointer is over a hot-spot, 4275When you click the mouse when the mouse pointer is over a hot-spot,
@@ -4290,38 +4297,37 @@ controlled/overriden via the `pointer' text property.
4290** Mouse event enhancements: 4297** Mouse event enhancements:
4291 4298
4292+++ 4299+++
4293*** Mouse clicks on fringes now generates left-fringe or right-fringes 4300*** Mouse events for clicks on window fringes now specify `left-fringe'
4294events, rather than a text area click event. 4301or `right-fringe' as the area.
4295 4302
4296+++ 4303+++
4297*** Mouse clicks in the left and right marginal areas now includes a 4304*** All mouse events now include a buffer position regardless of where
4298sensible buffer position corresponding to the first character in the 4305you clicked. For mouse clicks in window margins and fringes, this is
4299corresponding text row. 4306a sensible buffer position corresponding to the surrounding text.
4300 4307
4301+++ 4308+++
4302*** Function `mouse-set-point' now works for events outside text area. 4309*** `posn-point' now returns buffer position for non-text area events.
4303
4304+++
4305*** Mouse events now includes buffer position for all event types.
4306 4310
4307+++ 4311+++
4308*** `posn-point' now returns buffer position for non-text area events. 4312*** Function `mouse-set-point' now works for events outside text area.
4309 4313
4310+++ 4314+++
4311*** New function `posn-area' returns window area clicked on (nil means 4315*** New function `posn-area' returns window area clicked on (nil means
4312text area). 4316text area).
4313 4317
4314+++ 4318+++
4315*** Mouse events include actual glyph column and row for all event types. 4319*** Mouse events include actual glyph column and row for all event types
4320and all areas.
4316 4321
4317+++ 4322+++
4318*** New function `posn-actual-col-row' returns actual glyph coordinates. 4323*** New function `posn-actual-col-row' returns the actual glyph coordinates
4324of the mouse event position.
4319 4325
4320+++ 4326+++
4321*** Mouse events can now include image object in addition to string object. 4327*** Mouse events can now indicate an image object clicked on.
4322 4328
4323+++ 4329+++
4324*** Mouse events include relative x and y pixel coordinates relative to 4330*** Mouse events include relative X and Y pixel coordinates relative to
4325the top left corner of the object (image or character) clicked on. 4331the top left corner of the object (image or character) clicked on.
4326 4332
4327+++ 4333+++
@@ -4329,19 +4335,20 @@ the top left corner of the object (image or character) clicked on.
4329(image or character) clicked on. 4335(image or character) clicked on.
4330 4336
4331+++ 4337+++
4332*** New functions 'posn-object', 'posn-object-x-y', and 4338*** New functions 'posn-object', 'posn-object-x-y', 'posn-object-width-height'.
4333'posn-object-width-height' return the image or string object of a mouse 4339
4334click, the x and y pixel coordinates relative to the top left corner 4340These return the image or string object of a mouse click, the X and Y
4335of that object, and the total width and height of that object. 4341pixel coordinates relative to the top left corner of that object, and
4342the total width and height of that object.
4336 4343
4337** Text property and overlay changes: 4344** Text property and overlay changes:
4338 4345
4339+++ 4346+++
4340*** Arguments for remove-overlays are now optional, so that you can 4347*** Arguments for `remove-overlays' are now optional, so that you can
4341remove all overlays in the buffer by just calling (remove-overlays). 4348remove all overlays in the buffer with just (remove-overlays).
4342 4349
4343+++ 4350+++
4344*** New variable char-property-alias-alist. 4351*** New variable `char-property-alias-alist'.
4345 4352
4346This variable allows you to create alternative names for text 4353This variable allows you to create alternative names for text
4347properties. It works at the same level as `default-text-properties', 4354properties. It works at the same level as `default-text-properties',
@@ -4356,9 +4363,10 @@ whose cdr is the overlay in which the property was found, or nil if
4356it was found as a text property or not found at all. 4363it was found as a text property or not found at all.
4357 4364
4358+++ 4365+++
4359*** The new function remove-list-of-text-properties is almost the same 4366*** The new function `remove-list-of-text-properties'.
4360as `remove-text-properties'. The only difference is that it takes a 4367
4361list of property names as argument rather than a property list. 4368It is like `remove-text-properties' except that it takes a list of
4369property names as argument rather than a property list.
4362 4370
4363** Face changes 4371** Face changes
4364 4372
@@ -4371,12 +4379,12 @@ is now the preferred method for defining default faces in a way that
4371makes a good use of the capabilities of the display. 4379makes a good use of the capabilities of the display.
4372 4380
4373+++ 4381+++
4374*** New function display-supports-face-attributes-p can be used to test 4382*** New function `display-supports-face-attributes-p' can be used to test
4375whether a given set of face attributes is actually displayable. 4383whether a given set of face attributes is actually displayable.
4376 4384
4377A new predicate `supports' has also been added to the `defface' face 4385A new predicate `supports' has also been added to the `defface' face
4378specification language, which can be used to do this test for faces 4386specification language, which can be used to do this test for faces
4379defined with defface. 4387defined with `defface'.
4380 4388
4381--- 4389---
4382*** The special treatment of faces whose names are of the form `fg:COLOR' 4390*** The special treatment of faces whose names are of the form `fg:COLOR'
@@ -4404,10 +4412,11 @@ whether the given face displays differently from the default face or
4404not (previously it did only a very cursory check). 4412not (previously it did only a very cursory check).
4405 4413
4406+++ 4414+++
4407*** `face-attribute', `face-foreground', `face-background', and 4415*** `face-attribute', `face-foreground', `face-background', `face-stipple'.
4408`face-stipple' now accept a new optional argument, INHERIT, which 4416
4409controls how face inheritance is used when determining the value of a 4417These now accept a new optional argument, INHERIT, which controls how
4410face attribute. 4418face inheritance is used when determining the value of a face
4419attribute.
4411 4420
4412+++ 4421+++
4413*** New functions `face-attribute-relative-p' and `merge-face-attribute' 4422*** New functions `face-attribute-relative-p' and `merge-face-attribute'
@@ -4422,9 +4431,6 @@ releases of Emacs, the order was the opposite. This change was made
4422so that :inherit face lists operate identically to face lists in text 4431so that :inherit face lists operate identically to face lists in text
4423`face' properties. 4432`face' properties.
4424 4433
4425+++
4426*** New standard font-lock face `font-lock-preprocessor-face'.
4427
4428--- 4434---
4429*** `set-fontset-font', `fontset-info', `fontset-font' now operate on 4435*** `set-fontset-font', `fontset-info', `fontset-font' now operate on
4430the default fontset if the argument NAME is nil.. 4436the default fontset if the argument NAME is nil..
@@ -4442,11 +4448,11 @@ new variable `char-property-alias-alist'.
4442+++ 4448+++
4443*** font-lock can manage arbitrary text-properties beside `face'. 4449*** font-lock can manage arbitrary text-properties beside `face'.
4444 4450
4445*** the FACENAME returned in `font-lock-keywords' can be a list of the 4451**** the FACENAME returned in `font-lock-keywords' can be a list of the
4446form (face FACE PROP1 VAL1 PROP2 VAL2 ...) so you can set other 4452form (face FACE PROP1 VAL1 PROP2 VAL2 ...) so you can set other
4447properties than `face'. 4453properties than `face'.
4448 4454
4449*** `font-lock-extra-managed-props' can be set to make sure those 4455**** `font-lock-extra-managed-props' can be set to make sure those
4450extra properties are automatically cleaned up by font-lock. 4456extra properties are automatically cleaned up by font-lock.
4451 4457
4452--- 4458---
@@ -4478,8 +4484,12 @@ declaration will give the buffer XML or SGML mode, based on the new
4478var `magic-mode-alist'. 4484var `magic-mode-alist'.
4479 4485
4480+++ 4486+++
4481*** Major mode functions now run the new normal hook 4487*** Use the new function `run-mode-hooks' to run the major mode's mode hook.
4482`after-change-major-mode-hook', at their very end, after the mode hooks. 4488
4489+++
4490*** All major mode functions should now run the new normal hook
4491`after-change-major-mode-hook', at their very end, after the mode
4492hooks. `run-mode-hooks' does this automatically.
4483 4493
4484--- 4494---
4485*** If a major mode function has a non-nil `no-clone-indirect' 4495*** If a major mode function has a non-nil `no-clone-indirect'
@@ -4509,7 +4519,7 @@ and simply passes them to `defcustom', if applicable.
4509+++ 4519+++
4510*** `minor-mode-list' now holds a list of minor mode commands. 4520*** `minor-mode-list' now holds a list of minor mode commands.
4511 4521
4512--- 4522+++
4513*** `define-global-minor-mode'. 4523*** `define-global-minor-mode'.
4514 4524
4515This is a new name for what was formerly called 4525This is a new name for what was formerly called
@@ -4519,9 +4529,10 @@ This is a new name for what was formerly called
4519 4529
4520+++ 4530+++
4521*** The new function `called-interactively-p' does what many people 4531*** The new function `called-interactively-p' does what many people
4522have mistakenly believed `interactive-p' did: it returns t if the 4532have mistakenly believed `interactive-p' to do: it returns t if the
4523calling function was called through `call-interactively'. This should 4533calling function was called through `call-interactively'.
4524only be used when you cannot solve the problem by adding a new 4534
4535Only use this when you cannot solve the problem by adding a new
4525INTERACTIVE argument to the command. 4536INTERACTIVE argument to the command.
4526 4537
4527+++ 4538+++
@@ -4570,8 +4581,8 @@ current file redefined it).
4570defined. For a variable, it records just the variable name. 4581defined. For a variable, it records just the variable name.
4571 4582
4572+++ 4583+++
4573*** The function symbol-file can now search specifically for function or 4584*** The function `symbol-file' can now search specifically for function,
4574variable definitions. 4585variable or face definitions.
4575 4586
4576+++ 4587+++
4577*** `provide' and `featurep' now accept an optional second argument 4588*** `provide' and `featurep' now accept an optional second argument
@@ -4586,10 +4597,11 @@ than 3 levels of nesting.
4586+++ 4597+++
4587** Byte compiler changes: 4598** Byte compiler changes:
4588 4599
4589*** The byte-compiler now displays the actual line and character 4600*** The byte compiler now displays the actual line and character
4590position of errors, where possible. Additionally, the form of its 4601position of errors, where possible. Additionally, the form of its
4591warning and error messages have been brought more in line with the 4602warning and error messages have been brought into line with GNU standards
4592output of other GNU tools. 4603for these. As a result, you can use next-error and friends on the
4604compilation output buffer.
4593 4605
4594*** The new macro `with-no-warnings' suppresses all compiler warnings 4606*** The new macro `with-no-warnings' suppresses all compiler warnings
4595inside its body. In terms of execution, it is equivalent to `progn'. 4607inside its body. In terms of execution, it is equivalent to `progn'.
@@ -4665,7 +4677,7 @@ the time it takes to convert the format.
4665wasteful. 4677wasteful.
4666 4678
4667--- 4679---
4668*** set-buffer-file-coding-system now takes an additional argument, 4680*** `set-buffer-file-coding-system' now takes an additional argument,
4669NOMODIFY. If it is non-nil, it means don't mark the buffer modified. 4681NOMODIFY. If it is non-nil, it means don't mark the buffer modified.
4670 4682
4671+++ 4683+++
@@ -4692,7 +4704,7 @@ it is read from a file without decoding.
4692hash tables defined by the Lisp function `define-translation-hash-table'. 4704hash tables defined by the Lisp function `define-translation-hash-table'.
4693 4705
4694--- 4706---
4695*** New function quail-find-key returns a list of keys to type in the 4707*** New function `quail-find-key' returns a list of keys to type in the
4696current input method to input a character. 4708current input method to input a character.
4697 4709
4698** Mode line changes: 4710** Mode line changes:
@@ -4700,7 +4712,7 @@ current input method to input a character.
4700+++ 4712+++
4701*** New function `format-mode-line'. 4713*** New function `format-mode-line'.
4702 4714
4703This returns the mode-line or header-line of the selected (or a 4715This returns the mode line or header line of the selected (or a
4704specified) window as a string with or without text properties. 4716specified) window as a string with or without text properties.
4705 4717
4706+++ 4718+++
@@ -4762,13 +4774,13 @@ debugging output on the stderr file handle to a file.
4762+++ 4774+++
4763*** A number of hooks have been renamed to better follow the conventions: 4775*** A number of hooks have been renamed to better follow the conventions:
4764 4776
4765find-file-hooks to find-file-hook, 4777`find-file-hooks' to `find-file-hook',
4766find-file-not-found-hooks to find-file-not-found-functions, 4778`find-file-not-found-hooks' to `find-file-not-found-functions',
4767write-file-hooks to write-file-functions, 4779`write-file-hooks' to `write-file-functions',
4768write-contents-hooks to write-contents-functions, 4780`write-contents-hooks' to `write-contents-functions',
4769x-lost-selection-hooks to x-lost-selection-functions, 4781`x-lost-selection-hooks' to `x-lost-selection-functions',
4770x-sent-selection-hooks to x-sent-selection-functions, 4782`x-sent-selection-hooks' to `x-sent-selection-functions',
4771delete-frame-hook to delete-frame-functions. 4783`delete-frame-hook' to `delete-frame-functions'.
4772 4784
4773In each case the old name remains as an alias for the moment. 4785In each case the old name remains as an alias for the moment.
4774 4786