diff options
| author | Stefan Monnier | 2025-02-05 20:21:03 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2025-02-05 20:21:03 -0500 |
| commit | 1f4a26df862917c956e79fc2ca111caebf895623 (patch) | |
| tree | 1992020c1b0a7c68fd3d9f0f0cab343b1cc67c09 | |
| parent | d10acd16c90afe9fc8534fcd174397b7c403eda9 (diff) | |
| parent | 5c36b4126533764bb8b90413f274d766e1a6f0d6 (diff) | |
| download | emacs-1f4a26df862917c956e79fc2ca111caebf895623.tar.gz emacs-1f4a26df862917c956e79fc2ca111caebf895623.zip | |
Merge remote-tracking branch 'origin/emacs-30'
| -rw-r--r-- | doc/lispref/frames.texi | 7 | ||||
| -rw-r--r-- | doc/misc/org.org | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/track-changes.el | 4 | ||||
| -rw-r--r-- | lisp/frame.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 4 | ||||
| -rw-r--r-- | lisp/which-key.el | 2 | ||||
| -rw-r--r-- | src/fileio.c | 4 | ||||
| -rw-r--r-- | test/lisp/proced-tests.el | 9 |
8 files changed, 25 insertions, 11 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi index e30d1c99820..bc2d6b07ae8 100644 --- a/doc/lispref/frames.texi +++ b/doc/lispref/frames.texi | |||
| @@ -427,7 +427,12 @@ Name of the physical monitor as @var{string}. | |||
| 427 | 427 | ||
| 428 | @item source | 428 | @item source |
| 429 | Source of the multi-monitor information as @var{string}; | 429 | Source of the multi-monitor information as @var{string}; |
| 430 | e.g., @samp{XRandR 1.5}, @samp{XRandr} or @samp{Xinerama}. | 430 | on X, it could be @samp{XRandR 1.5}, @samp{XRandr}, @samp{Xinerama}, |
| 431 | @samp{Gdk}, or @samp{fallback}. The last value of @samp{source} means | ||
| 432 | that Emacs was built without GTK and without XRandR or Xinerama | ||
| 433 | extensions, in which case the information about multiple physical | ||
| 434 | monitors will be provided as if they all as a whole formed a single | ||
| 435 | monitor. | ||
| 431 | @end table | 436 | @end table |
| 432 | 437 | ||
| 433 | @var{x}, @var{y}, @var{width}, and @var{height} are integers. | 438 | @var{x}, @var{y}, @var{width}, and @var{height} are integers. |
diff --git a/doc/misc/org.org b/doc/misc/org.org index 363a95fa65c..26cb46cf13c 100644 --- a/doc/misc/org.org +++ b/doc/misc/org.org | |||
| @@ -3403,7 +3403,7 @@ options: | |||
| 3403 | 3403 | ||
| 3404 | | Link Type | Example | | 3404 | | Link Type | Example | |
| 3405 | |------------+--------------------------------------------------------------------| | 3405 | |------------+--------------------------------------------------------------------| |
| 3406 | | http | =https://staff.science.uva.nl/c.dominik/= | | 3406 | | http | =http://orgmode.org/= | |
| 3407 | | https | =https://orgmode.org/= | | 3407 | | https | =https://orgmode.org/= | |
| 3408 | | doi | =doi:10.1000/182= | | 3408 | | doi | =doi:10.1000/182= | |
| 3409 | | file | =file:/home/dominik/images/jupiter.jpg= | | 3409 | | file | =file:/home/dominik/images/jupiter.jpg= | |
diff --git a/lisp/emacs-lisp/track-changes.el b/lisp/emacs-lisp/track-changes.el index 25c9ad7c859..125314fa814 100644 --- a/lisp/emacs-lisp/track-changes.el +++ b/lisp/emacs-lisp/track-changes.el | |||
| @@ -372,7 +372,9 @@ and re-enable the TRACKER corresponding to ID." | |||
| 372 | track-changes--state)) | 372 | track-changes--state)) |
| 373 | ;; Nothing to do. | 373 | ;; Nothing to do. |
| 374 | nil) | 374 | nil) |
| 375 | (cl-assert (not (memq id track-changes--clean-trackers))) | 375 | ;; ID may still be in `track-changes--clean-trackers' if |
| 376 | ;; `after-change-functions' was skipped. | ||
| 377 | ;;(cl-assert (not (memq id track-changes--clean-trackers))) | ||
| 376 | (cl-assert (<= (point-min) beg end (point-max))) | 378 | (cl-assert (<= (point-min) beg end (point-max))) |
| 377 | ;; Update the tracker's state *before* running `func' so we don't risk | 379 | ;; Update the tracker's state *before* running `func' so we don't risk |
| 378 | ;; mistakenly replaying the changes in case `func' exits non-locally. | 380 | ;; mistakenly replaying the changes in case `func' exits non-locally. |
diff --git a/lisp/frame.el b/lisp/frame.el index a55fcb41ce1..e66270130d2 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -2543,6 +2543,10 @@ details depend on the platform and environment. | |||
| 2543 | The `source' attribute describes the source from which the | 2543 | The `source' attribute describes the source from which the |
| 2544 | information was obtained. On X, this may be one of: \"Gdk\", | 2544 | information was obtained. On X, this may be one of: \"Gdk\", |
| 2545 | \"XRandR 1.5\", \"XRandr\", \"Xinerama\", or \"fallback\". | 2545 | \"XRandR 1.5\", \"XRandr\", \"Xinerama\", or \"fallback\". |
| 2546 | If it is \"fallback\", it means Emacs was built without GTK | ||
| 2547 | and without XrandR or Xinerama extensions, in which case the | ||
| 2548 | information about multiple physical monitors will be provided | ||
| 2549 | as if they all as a whole formed a single monitor. | ||
| 2546 | 2550 | ||
| 2547 | A frame is dominated by a physical monitor when either the | 2551 | A frame is dominated by a physical monitor when either the |
| 2548 | largest area of the frame resides in the monitor, or the monitor | 2552 | largest area of the frame resides in the monitor, or the monitor |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 89982f0b1ca..5b16e82fc48 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -981,11 +981,11 @@ be controlled by `gnus-treat-body-boundary'." | |||
| 981 | "/usr/share/picons") | 981 | "/usr/share/picons") |
| 982 | "Defines the location of the faces database. | 982 | "Defines the location of the faces database. |
| 983 | For information on obtaining this database of pretty pictures, please | 983 | For information on obtaining this database of pretty pictures, please |
| 984 | see http://www.cs.indiana.edu/picons/ftp/index.html" | 984 | see https://kinzler.com/ftp/faces/picons/" |
| 985 | :version "22.1" | 985 | :version "22.1" |
| 986 | :type '(repeat directory) | 986 | :type '(repeat directory) |
| 987 | :link '(url-link :tag "download" | 987 | :link '(url-link :tag "download" |
| 988 | "http://www.cs.indiana.edu/picons/ftp/index.html") | 988 | "https://kinzler.com/ftp/faces/picons/") |
| 989 | :link '(custom-manual "(gnus)Picons") | 989 | :link '(custom-manual "(gnus)Picons") |
| 990 | :group 'gnus-picon) | 990 | :group 'gnus-picon) |
| 991 | 991 | ||
diff --git a/lisp/which-key.el b/lisp/which-key.el index 45a02955e11..bfeb9da7422 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el | |||
| @@ -2038,7 +2038,7 @@ that width." | |||
| 2038 | (mapcar (pcase-lambda (`(,key ,sep ,desc ,_doc)) | 2038 | (mapcar (pcase-lambda (`(,key ,sep ,desc ,_doc)) |
| 2039 | (concat | 2039 | (concat |
| 2040 | (format col-format key sep desc) | 2040 | (format col-format key sep desc) |
| 2041 | (make-string (- col-desc-width (string-width desc)) ?\s))) | 2041 | (make-string (max (- col-desc-width (string-width desc)) 0) ?\s))) |
| 2042 | col-keys)))) | 2042 | col-keys)))) |
| 2043 | 2043 | ||
| 2044 | (defun which-key--partition-list (n list) | 2044 | (defun which-key--partition-list (n list) |
diff --git a/src/fileio.c b/src/fileio.c index 1832a4c7759..cdf57618af1 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2050,7 +2050,9 @@ the value of this function. | |||
| 2050 | 2050 | ||
| 2051 | If `/~' appears, all of FILENAME through that `/' is discarded. | 2051 | If `/~' appears, all of FILENAME through that `/' is discarded. |
| 2052 | If `//' appears, everything up to and including the first of | 2052 | If `//' appears, everything up to and including the first of |
| 2053 | those `/' is discarded. */) | 2053 | those `/' is discarded. More generally, if a variable substitution |
| 2054 | produces an absolute file name, everything before that file name | ||
| 2055 | is discarded. */) | ||
| 2054 | (Lisp_Object filename) | 2056 | (Lisp_Object filename) |
| 2055 | { | 2057 | { |
| 2056 | char *nm, *p, *x, *endp; | 2058 | char *nm, *p, *x, *endp; |
diff --git a/test/lisp/proced-tests.el b/test/lisp/proced-tests.el index e24163c3884..ecf23c5d037 100644 --- a/test/lisp/proced-tests.el +++ b/test/lisp/proced-tests.el | |||
| @@ -38,10 +38,10 @@ | |||
| 38 | (defun proced--cpu-at-point () | 38 | (defun proced--cpu-at-point () |
| 39 | "Return as an integer the current CPU value at point." | 39 | "Return as an integer the current CPU value at point." |
| 40 | (if (string-suffix-p "nan" (thing-at-point 'sexp)) | 40 | (if (string-suffix-p "nan" (thing-at-point 'sexp)) |
| 41 | (let ((pid (proced-pid-at-point))) | 41 | (ert-skip |
| 42 | (ert-skip | 42 | (format |
| 43 | (format | 43 | "Found NaN value for %%CPU at point for process with PID %s" |
| 44 | "Found NaN value for %%CPU at point for process with PID %d" pid))) | 44 | (substring-no-properties (thing-at-point 'sexp)))) |
| 45 | (thing-at-point 'number))) | 45 | (thing-at-point 'number))) |
| 46 | 46 | ||
| 47 | (defun proced--assert-emacs-pid-in-buffer () | 47 | (defun proced--assert-emacs-pid-in-buffer () |
| @@ -61,6 +61,7 @@ | |||
| 61 | (proced--move-to-column "%CPU") | 61 | (proced--move-to-column "%CPU") |
| 62 | (condition-case err | 62 | (condition-case err |
| 63 | (>= (proced--cpu-at-point) cpu) | 63 | (>= (proced--cpu-at-point) cpu) |
| 64 | (ert-test-skipped (signal (car err) (cdr err))) | ||
| 64 | (error | 65 | (error |
| 65 | (ert-fail | 66 | (ert-fail |
| 66 | (list err (proced--assert-process-valid-cpu-refinement-explainer cpu)))))) | 67 | (list err (proced--assert-process-valid-cpu-refinement-explainer cpu)))))) |