Pip Cet
174a0b7642
* configure.ac (D8): Fix typo.
2024-07-14 05:47:39 +00:00
Po Lu
c56e837a10
; * src/android.c (setEmacsParams): Delete unused variable.
2024-07-14 12:51:48 +08:00
Po Lu
b00fc31dd1
Do not set LD_LIBRARY_PATH during Android initialization
...
* doc/emacs/android.texi (Android Environment): Adjust
documentation to match.
* java/org/gnu/emacs/EmacsNoninteractive.java (main1): New
function. Remove initialization of EmacsNative hither.
(main): Acquire an ApplicationInfo or LoadedApk, as the case may
be on the host system, derive a ClassLoader from the result, and
load and call `main1' from within this class loader.
* src/android-emacs.c (main):
* src/android.c (setEmacsParams): Do not override
LD_LIBRARY_PATH or set EMACS_LD_LIBRARY_PATH. This enables
Emacs to execute subprocesses in certain "fortified" Android
systems, amongst other things.
2024-07-14 12:46:23 +08:00
Jonas Bernoulli
04bf3172f0
; Set Transient's version
2024-07-13 21:59:20 +02:00
john muhl
e6f78485aa
; Fix typos in 'which-key-mode' (bug#72093)
...
* lisp/which-key.el (which-key-preserve-window-configuration):
Correct spelling of "taken".
(which-key--create-pages): Correct spelling of "widths".
(which-key--start-paging-timer): Correct spelling of
"secondary".
2024-07-13 18:50:07 +03:00
Raffael Stocker
a6c78ccf5f
; * src/w32fns.c (Fw32_notification_close): Fix typo (bug#72091).
2024-07-13 15:19:46 +03:00
Eli Zaretskii
febafe3788
* test/lisp/wdired-tests.el (wdired-test-bug34915): Fix for MS-Windows.
2024-07-13 15:06:43 +03:00
Peter Oliver
846b79b6d0
Fix 'wdired-test-unfinished-edit-01'
...
* test/lisp/wdired-tests.el (wdired-test-unfinished-edit-01):
Don't modify the random directory name if, by chance, it happens
to contain the substring "foo" anywhere but immediately after the
slash. (Bug#72073)
2024-07-13 13:36:42 +03:00
Eli Zaretskii
bc154cba13
; * src/search.c (Fre_search_forward): Clarify doc string (bug#71879).
2024-07-13 13:22:01 +03:00
Vincenzo Pupillo
53291e3d46
Fontify destructor in c++-ts-mode
...
* lisp/progmodes/c-ts-mode.el (c-ts-mode--font-lock-settings):
Add a rule for destructors. (Bug#71872)
2024-07-13 13:01:44 +03:00
F. Jason Park
d77f8a3475
Fix invalid defcustom type for erc-buffers option
...
* lisp/erc/erc.el (erc-ensure-target-buffer-on-privmsg): Change
invalid inner `choice' to a `const' for the third-state `status'
variant, which is new in ERC 5.6 and Emacs 30. Thanks to Mattias
Engdegård for catching this.
2024-07-12 14:51:36 -07:00
Eshel Yaron
d68a4ea3ec
; Fix 'ibuffer-do-isearch{-regexp}'
...
* lisp/ibuf-ext.el (ibuffer-do-isearch)
(ibuffer-do-isearch-regexp): Use 'defun' instead of
'define-ibuffer-op'. (Bug#71927)
2024-07-12 11:05:56 +02:00
Eli Zaretskii
8b1a0f8695
Fix infloop in 'shell-resync-dirs'
...
* lisp/shell.el (shell-eval-command): Fix detection of newline
after last output line. (Bug#71896)
(shell-resync-dirs): Make sure the inner loop never infloops.
Suggested by Troy Hinckley <troyhinckley@dabrev.com>.
2024-07-12 09:58:53 +03:00
Eli Zaretskii
ce13eee5ab
; * src/image.c (free_image_cache): Add assertion. (Bug#71929)
2024-07-12 09:39:39 +03:00
Po Lu
b22ab99f0a
Render more Android functions safe to execute in a batch session
...
* src/androidfns.c (Fx_display_mm_width, Fx_display_mm_height)
(Fandroid_display_monitor_attributes_list)
(Fandroid_external_storage_available_p)
(Fandroid_request_storage_access): Verify that a display
connection or service object is available.
* src/androidselect.c (Fandroid_get_clipboard)
(Fandroid_browse_url_internal, Fandroid_get_clipboard_targets)
(Fandroid_get_clipboard_data, Fandroid_notifications_notify):
Moderate tone of error messages.
2024-07-12 14:31:33 +08:00
Po Lu
a5ef9e2568
Document means of executing Emacs from unrelated Android applications
...
* doc/emacs/android.texi (Android Environment): Document
significance, effect and purpose of EMACS_CLASS_PATH and
EMACS_LD_LIBRARY_PATH, and the utility of `pm path
org.gnu.emacs'.
2024-07-12 11:59:25 +08:00
Jim Porter
0de0056fd6
Don't emit a prompt in Eshell when a background command is killed
...
* lisp/eshell/esh-cmd.el (eshell-resume-command): Check for
background-ness before resetting the prompt.
* test/lisp/eshell/esh-cmd-tests.el
(esh-cmd-test/background/simple-command): Make the regexp a bit
stricter.
(esh-cmd-test/background/kill): New test.
2024-07-11 16:39:35 -07:00
Daniel Martín
ec1e300a21
Fix reference from buffer-stale-function docstring
...
* lisp/files.el (buffer-stale-function): Fix reference to a
non-existent Info node in doc string. (Bug#72049)
2024-07-11 07:45:07 +03:00
Po Lu
e0b271e279
Take precautions against ill-formed content URIs
...
* java/org/gnu/emacs/EmacsService.java (openContentUri)
(checkContentUri): Verify that URIs derived from user-provided
file names can be parsed before attempting to open them.
2024-07-11 11:38:41 +08:00
Dmitry Gutov
9331ab056a
etags-regen-mode: Handle TAGS buffer being killed
...
* lisp/progmodes/etags-regen.el (etags-regen--visit-table):
Use kill-buffer-hook to ensure a refresh if the TAGS buffer is
killed manually (bug#71727).
(etags-regen--tags-cleanup):
Bind the hook var to nil to avoid an infloop.
2024-07-11 03:49:28 +03:00
F. Jason Park
ef3f26ec02
; Tag ERC multiline blanks test as :expensive
...
* test/lisp/erc/erc-tests.el
(erc--check-prompt-input-for-multiline-blanks): Move message-capturing
business outside of primary fixture. Extend subprocess sleep duration
to 5m. Delete some unreachable code. (Bug#72004)
2024-07-10 15:50:26 -07:00
Robert Pluim
945335fec1
Improve 'put-image' documentation
...
* doc/lispref/display.texi (Showing Images): Mention that it returns the
created overlay.
* lisp/image.el (put-image): And here.
2024-07-10 16:08:29 +02:00
Robert Pluim
c38d5cc3b2
Improve 'set-fontset-font' documentation
...
* doc/emacs/mule.texi (Modifying Fontsets): Add an 'emoji' example.
2024-07-10 16:08:29 +02:00
Michael Albinus
7de4dbea08
Adapt Tramp's "run0" method
...
* doc/misc/tramp.texi (Inline methods):
* etc/NEWS: Adapt "run0" entry.
* lisp/net/tramp-sh.el (tramp-enable-run0-method): Adapt "run0"
arguments.
2024-07-10 11:58:22 +02:00
Andrea Corallo
871585db4c
* test/src/sqlite-tests.el (sqlite-execute-batch): Declare to wave warning.
2024-07-10 10:24:46 +02:00
Stefan Kangas
5cf8d60e0d
Capitalize "Dired" and "Lisp" in docstrings
...
* lisp/desktop.el (desktop-no-desktop-file-hook):
* lisp/dired-x.el (dired-mark-sexp):
* lisp/dired.el (dired-make-directory-clickable)
(dired-map-over-marks, dired-file-name-at-point)
(dired-save-positions, dired-buffers-for-dir)
(dired-buffers-for-dir-or-subdir, dired-fun-in-all-buffers)
(dired-remove-entry, dired-delete-entry, dired-jump):
* lisp/files.el (save-buffer):
* lisp/find-dired.el (find-ls-option):
* lisp/hilit-chg.el:
* lisp/locate.el (locate-mode):
* lisp/msb.el (msb-dired-item-handler, msb-sort-by-directory):
* lisp/printing.el (pr-ps-printer-alist, pr-ps-utility-alist):
* lisp/uniquify.el (uniquify-trailing-separator-p):
* lisp/wdired.el (wdired, wdired-change-to-dired-mode, wdired-exit):
* lisp/woman.el (woman-dired-define-keys, woman-dired-find-file):
Capitalize "Dired" and "Lisp" in docstrings. Found with checkdoc.
2024-07-10 00:36:19 +02:00
Jim Porter
37475c9af7
Document Eshell entry points
...
* doc/misc/eshell.texi (Entry Points): New chapter.
(Scripts): Move under Entry Points. Expand documentation.
2024-07-09 10:03:35 -07:00
Po Lu
8350ebd22e
Fix bug#71929
...
* src/image.c (free_image_cache): Unconditionally release image
cache, as this function is only called with its existence
already established.
* src/xfaces.c (free_frame_faces): Clear FRAME_IMAGE_CACHE (f).
(bug#71929)
2024-07-09 22:02:22 +08:00
Stefan Kangas
8f96e0064f
; Change imap-shell-host docstring to mention SSH
...
* lisp/net/imap.el (imap-shell-host): Doc fix; mention SSH instead of
rlogin.
2024-07-09 14:09:45 +02:00
Po Lu
671ad83026
Fix bug#70697 with respect to fringe bitmaps
...
* src/pgtkterm.c (pgtk_draw_fringe_bitmap): Always call
`fill_background_by_face' for clearing backgrounds of fringe
bitmaps. (bug#70697)
2024-07-09 14:10:07 +08:00
Po Lu
15c591bad6
Fix byte-compiler warning in calc.el
...
* lisp/calc/calc.el
(calc-embedded-open-close-new-formula-alist): Remove previously
introduced quotation marks, as they bring the width of the doc
string past 80.
2024-07-09 09:35:16 +08:00
Stefan Monnier
dce31372a6
editorconfig-core-handle.el: Fix regressions in fnmatch handling
...
* lisp/editorconfig-core-handle.el
(editorconfig-core-handle-get-properties-hash): Fix computation of
relative file name.
(editorconfig-core-handle--fnmatch-p): Handle the case when `pattern`
doesn't have a `/` but does match the `/` character.
2024-07-08 17:09:31 -04:00
Stefan Kangas
ed2986494c
Checkdoc fixes in url/*.el
...
* lisp/url/url-util.el (url-query-key-value-allowed-chars):
* lisp/url/url.el (url-retrieve-synchronously): Checkdoc fixes.
2024-07-08 17:49:14 +02:00
Stefan Kangas
846c0e10ff
Checkdoc fixes in term/*.el
...
* lisp/term/android-win.el (android-clear-preedit-text):
* lisp/term/pgtk-win.el (featurep):
* lisp/term/x-win.el (x-clear-preedit-text): Checkdoc fixes.
2024-07-08 17:47:21 +02:00
Stefan Kangas
3977aa0756
Checkdoc fixes in mh-e/*.el
...
* lisp/mh-e/mh-e.el (mh-tool-bar):
* lisp/mh-e/mh-folder.el (mh-folder-mode):
* lisp/mh-e/mh-search.el (mh-pick-menu, mh-search-mode):
* lisp/mh-e/mh-show.el (mh-show-mode): Checkdoc fixes.
2024-07-08 17:39:51 +02:00
Stefan Kangas
521f740d01
Checkdoc fixes in calc/*.el
...
* lisp/calc/calc.el (calc-embedded-open-close-new-formula-alist):
Checkdoc fixes.
2024-07-08 17:24:54 +02:00
Stefan Kangas
336aa6ab17
Checkdoc fixes in textmodes/*.el
...
* lisp/textmodes/ispell.el (ispell-command-loop):
* lisp/textmodes/mhtml-mode.el (mhtml--construct-submode):
* lisp/textmodes/page-ext.el (pages-set-delimiter):
* lisp/textmodes/refbib.el (r2b-get-field, r2b-put-field):
* lisp/textmodes/refer.el (refer-cache-bib-files):
* lisp/textmodes/reftex-index.el (reftex-index-phrase-selection-or-word):
(reftex-index-phrases-mode):
* lisp/textmodes/table.el (table-insert, table--fill-region-strictly):
Checkdoc fixes.
2024-07-08 17:24:54 +02:00
Stefan Kangas
e19fd6a22d
Checkdoc fixes in gnus/*.el
...
* lisp/gnus/gnus-agent.el (gnus-agent-enable-expiration)
(gnus-agent-with-refreshed-group, gnus-agentize)
(gnus-agent-fetch-headers, gnus-agent-update-files-total-fetched-for)
(gnus-agent-update-view-total-fetched-for):
* lisp/gnus/gnus-art.el (gnus-article-address-banner-alist)
(gnus-default-article-saver, gnus-mime-view-part-as-charset)
(gnus-block-private-groups, gnus-article-edit-mode):
* lisp/gnus/gnus-dired.el (gnus-dired-mode, gnus-dired-attach)
(gnus-dired-find-file-mailcap, gnus-dired-print):
* lisp/gnus/gnus-msg.el (gnus-summary-attach-article):
* lisp/gnus/gnus-score.el (gnus-home-score-file):
* lisp/gnus/gnus-search.el (gnus-search-ignored-newsgroups)
(gnus-search-mu-switches, gnus-search-mu-remove-prefix)
(gnus-search-thread):
* lisp/gnus/gnus-sieve.el (gnus-sieve-string-list):
* lisp/gnus/message.el (message-beginning-of-line):
* lisp/gnus/mm-url.el:
* lisp/gnus/mm-view.el (mm-w3m-setup, mm-setup-w3m):
* lisp/gnus/mml-sec.el (mml-signencrypt-style):
* lisp/gnus/nndiary.el:
* lisp/gnus/nnimap.el (nnimap-server-port, nnimap-use-namespaces)
(nnimap-expunge):
* lisp/gnus/nnmail.el (nnmail-incoming-coding-system):
(nnmail-ignore-broken-references):
* lisp/gnus/nnmairix.el (nnmairix-default-group):
* lisp/gnus/nntp.el (nntp-report):
* lisp/gnus/nnvirtual.el (nnvirtual-update-read-and-marked):
(nnvirtual-partition-sequence):
* lisp/gnus/spam-stat.el (spam-stat-process-directory-age)
(spam-stat-last-saved-at, spam-stat-save):
* lisp/gnus/spam.el (spam-enter-ham-BBDB, spam-check-BBDB):
Checkdoc fixes.
2024-07-08 17:10:40 +02:00
Stefan Kangas
7350457c79
Checkdoc fixes in eshell/*.el
...
* lisp/eshell/em-elecslash.el:
* lisp/eshell/em-extpipe.el:
* lisp/eshell/em-pred.el (eshell-get-delimited-modifier-argument):
* lisp/eshell/esh-cmd.el (eshell--unmark-deferrable)
(eshell-named-command-hook):
* lisp/eshell/esh-module.el (eshell-module--feature-name):
* lisp/eshell/esh-util.el (eshell-find-delimiter): Checkdoc fixes.
2024-07-08 16:51:05 +02:00
Stefan Kangas
23c1ba81dd
Checkdoc fixes in emulation/*.el
...
* lisp/emulation/cua-base.el:
* lisp/emulation/viper-mous.el (viper-parse-mouse-key):
* lisp/emulation/viper.el (viper-major-mode-modifier-list):
Checkdoc fixes.
2024-07-08 16:43:27 +02:00
Stefan Kangas
c85f67a66d
Checkdoc fixes in erc/*.el
...
* lisp/erc/erc-backend.el (erc-server-parameters):
* lisp/erc/erc-button.el (erc-button--display-error-with-buttons):
* lisp/erc/erc-dcc.el (erc-dcc-member):
* lisp/erc/erc-fill.el (erc-fill-wrap-refill-buffer):
* lisp/erc/erc-speedbar.el (erc-speedbar--last-ran):
* lisp/erc/erc-stamp.el (erc-stamp--current-time):
* lisp/erc/erc-track.el (erc-make-mode-line-buffer-name):
* lisp/erc/erc.el (erc-interactive-display, erc-modules, erc-cmd-CLEAR)
(erc-update-current-channel-member, erc--format-user-modes)
(erc-check-text-conversion): Checkdoc fixes.
2024-07-08 16:41:02 +02:00
Stefan Kangas
e392382e2e
Checkdoc fixes in vc/*.el
...
* lisp/vc/ediff-init.el (ediff-start-narrowed)
(ediff-buffer-values-orig-A, ediff-buffer-values-orig-B)
(ediff-buffer-values-orig-C, ediff-buffer-values-orig-Ancestor):
* lisp/vc/ediff-mult.el:
* lisp/vc/ediff-ptch.el (ediff-get-patch-buffer):
* lisp/vc/emerge.el (emerge-before-flag, emerge-after-flag):
* lisp/vc/vc-dav.el (vc-dav-checkin):
* lisp/vc/vc-git.el (vc-git-command):
* lisp/vc/vc-hg.el (vc-hg-command):
* lisp/vc/vc-src.el (vc-src-command):
* lisp/vc/vc-svn.el (vc-svn-command):
* lisp/vc/vc.el (vc-checkin): Checkdoc fixes.
2024-07-08 16:29:08 +02:00
Stefan Kangas
ef7364b070
Checkdoc fixes in emacs-lisp/*.el
...
* lisp/emacs-lisp/bytecomp.el (byte-compile-free-vars-warn)
(byte-compile-out):
* lisp/emacs-lisp/eldoc.el (eldoc-documentation-functions):
* lisp/emacs-lisp/find-func.el (find-ert-deftest-regexp):
* lisp/emacs-lisp/macroexp.el (byte-compile-form-stack):
Checkdoc fixes.
2024-07-08 14:30:37 +02:00
Stefan Kangas
5fe1ae0e84
Checkdoc fixes in mail/*.el
...
* lisp/mail/feedmail.el (feedmail-mail-send-hook-splitter)
(feedmail-queue-runner-message-sender):
* lisp/mail/mail-extr.el (mail-extr-nuke-outside-range):
* lisp/mail/rmail.el (rmail-automatic-folder-directives)
(rmail-summary-displayed):
* lisp/mail/rmailmm.el (rmail-mime-searching):
* lisp/mail/sendmail.el (mail-mode):
* lisp/mail/supercite.el (sc-mail-last-header-nuked-p): Checkdoc fixes.
2024-07-08 14:24:33 +02:00
Stefan Kangas
e43e9d0998
Checkdoc fixes in net/*.el
...
* lisp/net/ange-ftp.el:
* lisp/net/dictionary.el (dictionary-tool-bar-map):
* lisp/net/eudc.el (eudc-translate-query)
(eudc-translate-attribute-list)
(eudc-format-inline-expansion-result, eudc-bookmark-server):
* lisp/net/eww.el (eww-check-text-conversion):
* lisp/net/rcirc.el (rcirc-server-name):
* lisp/net/tramp-adb.el (tramp-adb-handle-get-remote-uid):
* lisp/net/tramp-cmds.el (tramp-recompile-elpa-command-completion-p):
* lisp/net/tramp-crypt.el (tramp-crypt-command-completion-p):
* lisp/net/tramp-message.el (tramp-debug-buffer-command-completion-p):
* lisp/net/tramp-sh.el (tramp-use-connection-share):
* lisp/net/tramp.el (tramp-command-completion-p): Checkdoc fixes.
2024-07-08 14:10:46 +02:00
Stefan Kangas
4c6e9f5b00
Improve use-package-vc-valid-keywords docstring format
...
* lisp/use-package/use-package-core.el
(use-package-vc-valid-keywords): Improve docstring format.
2024-07-08 14:03:17 +02:00
Stefan Kangas
928180f32b
; * etc/TODO: New item on installing Magit.
2024-07-08 14:00:26 +02:00
Eli Zaretskii
c193a702dc
; Improve a recent change to the documentation
...
* lisp/emacs-lisp/comp.el (native-comp-debug):
* doc/lispref/compile.texi (Native-Compilation Variables): Improve
wording.
2024-07-08 14:48:25 +03:00
Stefan Kangas
6ebc5d5c27
; Delete fixed item from etc/TODO: "proced on macOS"
...
The 'process-attributes' function is supported since Emacs 26.1, and
proced seems to be fully working.
* etc/TODO: Delete fixed item: "proced on macOS".
2024-07-08 12:50:35 +02:00
Stefan Kangas
7b2778e3a3
; Delete fixed NS bug from etc/TODO
...
* etc/TODO: Delete fixed NS bug with 'mouse-avoidance-mode'.
Ref: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=17439#43
2024-07-08 12:50:30 +02:00