From b41d21eaa1d371318963080aa381f1173a5db866 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 3 Oct 2022 23:06:15 +0200 Subject: [PATCH] ; * etc/NEWS: Minor copy editing. --- etc/NEWS | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 05e05afc8ea..f21acaf2075 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -484,7 +484,7 @@ This variable lets you remap the default modes (e.g. 'perl-mode' or 'LaTeX-mode') without having to use 'defalias', which can have undesirable side effects. This applies to all modes specified via 'auto-mode-alist', file-local -variables, etc... +variables, etc. --- ** Emacs now supports Unicode Standard version 15.0. @@ -529,10 +529,6 @@ increase and decrease the font size globally. Additionally, the user option 'global-text-scale-adjust-resizes-frames' controls whether the frames are resized when the font size is changed. -+++ -** New function 'file-name-parent-directory'. -Get the parent directory of a file. - ** New config variable 'syntax-wholeline-max' to reduce the cost of long lines. This variable is used by some operations (mostly syntax-propertization and font-locking) to treat lines longer than this variable as if they @@ -643,7 +639,7 @@ If non-nil, this option allows scrolling a window while dragging text around without a scroll wheel. +++ -*** 'mouse-drag-copy-region' can now be 'non-empty'. +*** 'mouse-drag-copy-region' can now be 'non-empty' (the Lisp symbol). This inhibits putting empty strings onto the kill ring. +++ @@ -677,7 +673,9 @@ yes/no question before executing. The new function 'command-query' is a convenient method of making commands disabled in this way. --- -** 'count-lines' will now report buffer totals if given a prefix. +** 'count-words' will now report buffer totals if given a prefix. +Without a prefix, it will only report the word count for the narrowed +part of the buffer. +++ ** 'count-words' will now report sentence count when used interactively. @@ -722,11 +720,6 @@ This value stands for the value of the corresponding attribute of the 'default' face. It can be used to reset attribute values produced by inheriting from other faces. -+++ -** New function 'buffer-text-pixel-size'. -This is similar to 'window-text-pixel-size', but can be used when the -buffer isn't displayed. - +++ ** New X resource: "borderThickness". This controls the thickness of the external borders of the menu bars @@ -3602,6 +3595,10 @@ a valid key sequence according to 'key-valid-p'. ** New function 'file-name-split'. This returns a list of all the components of a file name. ++++ +** New function 'file-name-parent-directory'. +This returns the parent directory of a file name. + +++ ** New macro 'with-undo-amalgamate'. It records a particular sequence of operations as a single undo step. @@ -3804,6 +3801,11 @@ It no longer depends on edmacro.el and cl-lib.el. This function returns t if point is on a valid image, and nil otherwise. ++++ +** New function 'buffer-text-pixel-size'. +This is similar to 'window-text-pixel-size', but can be used when the +buffer isn't displayed. + +++ ** New function 'string-pixel-width'. This returns the width of a string in pixels. This can be useful when -- 2.39.2