diff options
| author | Eli Zaretskii | 2024-12-14 09:39:59 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2024-12-14 09:39:59 -0500 |
| commit | 567566ca081d059bfadd9684a3d35c371fa746a3 (patch) | |
| tree | 84603f2725d138d3633d45f3213ab263c0ebff4d | |
| parent | fd021c07606264a73cd4c1f6fa6fe80a756defe0 (diff) | |
| parent | 6942599dbb24c1a469e3d3708df83692b49e4af8 (diff) | |
| download | emacs-567566ca081d059bfadd9684a3d35c371fa746a3.tar.gz emacs-567566ca081d059bfadd9684a3d35c371fa746a3.zip | |
Merge from origin/emacs-30
6942599dbb2 ; * etc/PROBLEMS: Document problem with menu-bar backgrou...
488801baf7d * lisp/time-stamp.el: Limit field width to two digits.
34bedcd58d7 ; * lisp/progmodes/executable.el: Remove stale comment (b...
327d3e56f6e ; * etc/TODO: Add an item for improving defgroups.
7ae9ccae0ca ; * lisp/net/rcirc.el (rcirc-next-active-buffer): Doc fix...
3e51be94ae6 ; Fix :version tag in browse-url
dffd4a50c64 Revert "Attempt to install package first when upgrading"
fbcb357b9db Fix 'gnus-select-method' custom type
6fd5e02cb9b Fix typo in maps.texi
872a7336dc0 ; * etc/DEBUG: Mention "handle SIGINT" on MS-Windows.
b4bcbabf95c * doc/misc/tramp.texi (FUSE-based methods): Fix sshfs ref...
f8da72b41cd Improve gnus.texi indexing
4a090bd7eab ; * lisp/net/eww.el (eww-browse-with-external-browser): F...
59fa0b1dd6e ; Improve doc strings in compile.el
3d8e49c41a6 Attempt to install package first when upgrading
# Conflicts:
# lisp/net/browse-url.el
# lisp/net/eww.el
| -rw-r--r-- | doc/lispref/maps.texi | 2 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 2 | ||||
| -rw-r--r-- | doc/misc/tramp.texi | 8 | ||||
| -rw-r--r-- | etc/DEBUG | 5 | ||||
| -rw-r--r-- | etc/PROBLEMS | 6 | ||||
| -rw-r--r-- | etc/TODO | 18 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 11 | ||||
| -rw-r--r-- | lisp/net/rcirc.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 22 | ||||
| -rw-r--r-- | lisp/progmodes/executable.el | 7 | ||||
| -rw-r--r-- | lisp/time-stamp.el | 2 |
11 files changed, 62 insertions, 24 deletions
diff --git a/doc/lispref/maps.texi b/doc/lispref/maps.texi index 6ae98da49c7..f1a7fe258d5 100644 --- a/doc/lispref/maps.texi +++ b/doc/lispref/maps.texi | |||
| @@ -30,7 +30,7 @@ A sparse keymap for subcommands of the prefix @kbd{C-x a}.@* | |||
| 30 | @xref{Defining Abbrevs,,, emacs, The GNU Emacs Manual}. | 30 | @xref{Defining Abbrevs,,, emacs, The GNU Emacs Manual}. |
| 31 | 31 | ||
| 32 | @item button-buffer-map | 32 | @item button-buffer-map |
| 33 | A sparse keymap useful for buffers containing buffers.@* | 33 | A sparse keymap useful for buffers containing buttons.@* |
| 34 | You may want to use this as a parent keymap. @xref{Buttons}. | 34 | You may want to use this as a parent keymap. @xref{Buttons}. |
| 35 | 35 | ||
| 36 | @item button-map | 36 | @item button-map |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 71d548f3cee..200b68d2059 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -14374,6 +14374,8 @@ where you would put a @samp{SOCKS} wrapper for instance. | |||
| 14374 | @vindex nntp-address | 14374 | @vindex nntp-address |
| 14375 | The address of the @acronym{NNTP} server. | 14375 | The address of the @acronym{NNTP} server. |
| 14376 | 14376 | ||
| 14377 | @cindex nntps | ||
| 14378 | @cindex snews | ||
| 14377 | @item nntp-port-number | 14379 | @item nntp-port-number |
| 14378 | @vindex nntp-port-number | 14380 | @vindex nntp-port-number |
| 14379 | Port number to connect to the @acronym{NNTP} server. The default is | 14381 | Port number to connect to the @acronym{NNTP} server. The default is |
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index e1d50972583..943f6da7b04 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -1572,10 +1572,10 @@ for accessing the system storage, you should use it. | |||
| 1572 | 1572 | ||
| 1573 | @vindex tramp-sshfs-program | 1573 | @vindex tramp-sshfs-program |
| 1574 | On local hosts which have installed the @command{sshfs} client for | 1574 | On local hosts which have installed the @command{sshfs} client for |
| 1575 | mounting a file system based on @command{sftp}, this method can be | 1575 | mounting a file system based on the @command{sftp} subsystem of |
| 1576 | used, see | 1576 | @command{ssh}, this method can be used, see |
| 1577 | @uref{https://github.com/libfuse/sshfs/blob/master/README.rst/}. If | 1577 | @uref{https://github.com/libfuse/sshfs/blob/master/README.md}. If the |
| 1578 | the @command{sshfs} program isn't found in your @env{PATH} environment | 1578 | @command{sshfs} program isn't found in your @env{PATH} environment |
| 1579 | variable, you can tell @value{tramp} its absolute path via the user | 1579 | variable, you can tell @value{tramp} its absolute path via the user |
| 1580 | option @code{tramp-sshfs-program}. | 1580 | option @code{tramp-sshfs-program}. |
| 1581 | 1581 | ||
| @@ -283,7 +283,10 @@ breakpoints in advance. GDB 13.1 changed the way C-c and C-BREAK are | |||
| 283 | handled on Windows, so with those newer versions, you don't need the | 283 | handled on Windows, so with those newer versions, you don't need the |
| 284 | "set new-console 1" setting to be able to interrupt Emacs by typing | 284 | "set new-console 1" setting to be able to interrupt Emacs by typing |
| 285 | C-c or C-BREAK into the console window from which you started Emacs | 285 | C-c or C-BREAK into the console window from which you started Emacs |
| 286 | and where you interact with GDB. | 286 | and where you interact with GDB. Instead, make sure that SIGINT will |
| 287 | stop Emacs under the debugger: | ||
| 288 | |||
| 289 | (gdb) handle SIGINT stop nopass | ||
| 287 | 290 | ||
| 288 | ** Examining Lisp object values. | 291 | ** Examining Lisp object values. |
| 289 | 292 | ||
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 30506b3c87a..8de12a78613 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -1588,6 +1588,12 @@ https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22000, | |||
| 1588 | https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22898 and | 1588 | https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22898 and |
| 1589 | https://lists.gnu.org/r/emacs-devel/2016-07/msg00154.html. | 1589 | https://lists.gnu.org/r/emacs-devel/2016-07/msg00154.html. |
| 1590 | 1590 | ||
| 1591 | *** In Emacs built with GTK+ toolkit, menu-bar background becomes transparent. | ||
| 1592 | |||
| 1593 | This happens when 'alpha-background' is less than 100. This is due a | ||
| 1594 | GTK limitation, for which no workaround is currently known, | ||
| 1595 | unfortunately. | ||
| 1596 | |||
| 1591 | *** Metacity: Resizing Emacs or ALT-Tab causes X to be unresponsive. | 1597 | *** Metacity: Resizing Emacs or ALT-Tab causes X to be unresponsive. |
| 1592 | 1598 | ||
| 1593 | This happens sometimes when using Metacity. Resizing Emacs or ALT-Tab:bing | 1599 | This happens sometimes when using Metacity. Resizing Emacs or ALT-Tab:bing |
| @@ -35,6 +35,24 @@ is not always true. | |||
| 35 | 35 | ||
| 36 | * High Priority Items | 36 | * High Priority Items |
| 37 | 37 | ||
| 38 | ** Overhaul the customization groups. | ||
| 39 | The goal is to present new Emacs users with a reasonable and useful | ||
| 40 | hierarchy of customization groups, thus allowing them to easily find a | ||
| 41 | customization options they are looking for, by going down this | ||
| 42 | hierarchy. | ||
| 43 | |||
| 44 | The current customization groups (see "M-x customize-group RET RET") and | ||
| 45 | their hierarchy are sporadic and do not systematically cover all the | ||
| 46 | areas and domains of Emacs features. They need to be extensively | ||
| 47 | re-thought and overhauled. One idea is to take the top-level chapters | ||
| 48 | of the Emacs user manual and use those as customization groups, then | ||
| 49 | define sub-groups using the sections. Sub-sections could then be used | ||
| 50 | where a third level of groups makes sense. The place to define this | ||
| 51 | hierarchy is mainly in cus-edit.el. | ||
| 52 | |||
| 53 | Once the two- or three-level hierarchy of defgroups is defined, all the | ||
| 54 | defcustom's should be audited and their groups redefined if necessary. | ||
| 55 | |||
| 38 | ** Things related to elpa.gnu.org. | 56 | ** Things related to elpa.gnu.org. |
| 39 | We need to figure out how to best include GNU ELPA packages in the | 57 | We need to figure out how to best include GNU ELPA packages in the |
| 40 | Emacs tarball before doing any of the items below. | 58 | Emacs tarball before doing any of the items below. |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 62a090bd9df..0d0e678309f 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -1402,9 +1402,14 @@ this variable. I think." | |||
| 1402 | (string :tag "Address") | 1402 | (string :tag "Address") |
| 1403 | (repeat :tag "Options" | 1403 | (repeat :tag "Options" |
| 1404 | :inline t | 1404 | :inline t |
| 1405 | (list :format "%v" | 1405 | (radio |
| 1406 | variable | 1406 | (list :tag "Single var" :format "%v" |
| 1407 | (sexp :tag "Value")))))) | 1407 | variable |
| 1408 | (sexp :tag "Value")) | ||
| 1409 | (list :tag "Multiple var" :format "%v" | ||
| 1410 | variable | ||
| 1411 | variable | ||
| 1412 | (sexp :tag "Value"))))))) | ||
| 1408 | 1413 | ||
| 1409 | (gnus-redefine-select-method-widget) | 1414 | (gnus-redefine-select-method-widget) |
| 1410 | 1415 | ||
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index c41e2ec153f..33e4008fc0b 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -2448,7 +2448,8 @@ This function does not alter the INPUT string." | |||
| 2448 | 2448 | ||
| 2449 | (defun rcirc-next-active-buffer (arg) | 2449 | (defun rcirc-next-active-buffer (arg) |
| 2450 | "Switch to the next rcirc buffer with activity. | 2450 | "Switch to the next rcirc buffer with activity. |
| 2451 | With prefix ARG, go to the next low priority buffer with activity." | 2451 | With prefix ARG, go to the next low priority buffer with activity. |
| 2452 | When there are no buffers with activity, bury all rcirc buffers." | ||
| 2452 | (interactive "P") | 2453 | (interactive "P") |
| 2453 | (let* ((pair (rcirc-split-activity rcirc-activity)) | 2454 | (let* ((pair (rcirc-split-activity rcirc-activity)) |
| 2454 | (lopri (car pair)) | 2455 | (lopri (car pair)) |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index ac1042e21e6..6784a12fd63 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -61,16 +61,18 @@ If nil, use Emacs default." | |||
| 61 | 61 | ||
| 62 | (defcustom compilation-transform-file-match-alist | 62 | (defcustom compilation-transform-file-match-alist |
| 63 | '(("/bin/[a-z]*sh\\'" nil)) | 63 | '(("/bin/[a-z]*sh\\'" nil)) |
| 64 | "Alist of regexp/replacements to alter file names in compilation errors. | 64 | "Alist of regexp/replacements to alter file names in compiler messages. |
| 65 | If the replacement is nil, the file will not be considered an error | 65 | If the replacement is nil, the matching message will not be considered |
| 66 | after all. If not nil, it should be a regexp replacement string. | 66 | an error or warning. If not nil, it should be a replacement string |
| 67 | for the matched regexp. | ||
| 67 | 68 | ||
| 68 | When a replacement regexp is specified, the value of the file name used | 69 | If a non-nil replacement is specified, the value of the matched file name |
| 69 | to locate the error is changed, but the compilation buffer still | 70 | used to locate the warning or error is modified using the replacement, but |
| 70 | displays the original value. | 71 | the compilation buffer still displays the original value. |
| 71 | 72 | ||
| 72 | For example, to prepend a subdirectory \"bar/\" to all file names, add | 73 | For example, to prepend a subdirectory \"bar/\" to all file names in |
| 73 | an entry matching \"\\\\=`\" and a replacement regexp of \"bar/\", i.e.: | 74 | compiler messages, add an entry matching \"\\\\=`\" and a replacement |
| 75 | string of \"bar/\", i.e.: | ||
| 74 | 76 | ||
| 75 | (\"\\\\=`\" \"bar/\") | 77 | (\"\\\\=`\" \"bar/\") |
| 76 | 78 | ||
| @@ -803,10 +805,10 @@ Alternatively, FACE can evaluate to a property list of the | |||
| 803 | form (face FACE PROP1 VAL1 PROP2 VAL2 ...), in which case all the | 805 | form (face FACE PROP1 VAL1 PROP2 VAL2 ...), in which case all the |
| 804 | listed text properties PROP# are given values VAL# as well. | 806 | listed text properties PROP# are given values VAL# as well. |
| 805 | 807 | ||
| 806 | After identifying errors and warnings determined by this | 808 | After identifying compilation errors and warnings determined by this |
| 807 | variable, the `compilation-transform-file-match-alist' variable | 809 | variable, the `compilation-transform-file-match-alist' variable |
| 808 | is then consulted. It allows further transformations of the | 810 | is then consulted. It allows further transformations of the |
| 809 | matched file names, and weeding out false positives." | 811 | matched file names, and ignoring false positives." |
| 810 | :type '(repeat (choice (symbol :tag "Predefined symbol") | 812 | :type '(repeat (choice (symbol :tag "Predefined symbol") |
| 811 | (sexp :tag "Error specification"))) | 813 | (sexp :tag "Error specification"))) |
| 812 | :link `(file-link :tag "example file" | 814 | :link `(file-link :tag "example file" |
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el index cb4a5eedb80..97baf86e017 100644 --- a/lisp/progmodes/executable.el +++ b/lisp/progmodes/executable.el | |||
| @@ -43,10 +43,9 @@ | |||
| 43 | ;; It also allows debugging scripts, with an adaptation of compile, as far | 43 | ;; It also allows debugging scripts, with an adaptation of compile, as far |
| 44 | ;; as interpreters give out meaningful error messages. | 44 | ;; as interpreters give out meaningful error messages. |
| 45 | 45 | ||
| 46 | ;; Modes that use this should nconc `executable-map' to the end of their own | 46 | ;; Modes that use this should nconc `executable-font-lock-keywords' to |
| 47 | ;; keymap and `executable-font-lock-keywords' to the end of their own font | 47 | ;; the end of their own font lock keywords. Their mode-setting commands |
| 48 | ;; lock keywords. Their mode-setting commands should call | 48 | ;; should call `executable-set-magic'. |
| 49 | ;; `executable-set-magic'. | ||
| 50 | 49 | ||
| 51 | ;;; Code: | 50 | ;;; Code: |
| 52 | 51 | ||
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el index 50d75ecac01..c9f451cb8cc 100644 --- a/lisp/time-stamp.el +++ b/lisp/time-stamp.el | |||
| @@ -569,6 +569,8 @@ and all `time-stamp-format' compatibility." | |||
| 569 | (setq field-width "1" flag-minimize t)) | 569 | (setq field-width "1" flag-minimize t)) |
| 570 | ((eq cur-char ?_) | 570 | ((eq cur-char ?_) |
| 571 | (setq field-width "2" flag-pad-with-spaces t)))) | 571 | (setq field-width "2" flag-pad-with-spaces t)))) |
| 572 | (if (> (string-to-number field-width) 99) | ||
| 573 | (setq field-width (if flag-pad-with-zeros "099" "99"))) | ||
| 572 | (setq field-result | 574 | (setq field-result |
| 573 | (cond | 575 | (cond |
| 574 | ((eq cur-char ?%) | 576 | ((eq cur-char ?%) |