emacs.git
12 months agoUpdate debian/changelog for 29.4+1-4 release
Sean Whitton [Sun, 8 Dec 2024 05:39:50 +0000 (13:39 +0800)]
Update debian/changelog for 29.4+1-4 release

12 months agoDisable flymake included-c-header-files test to fix build w/ gcc-14
Sean Whitton [Sun, 8 Dec 2024 05:03:52 +0000 (13:03 +0800)]
Disable flymake included-c-header-files test to fix build w/ gcc-14

Closes: #1074936
12 months agoDisable flymake included-c-header-files test to fix build w/ gcc-14
Sean Whitton [Sun, 8 Dec 2024 04:58:28 +0000 (12:58 +0800)]
Disable flymake included-c-header-files test to fix build w/ gcc-14

12 months agoSuggest emacs-editing-major-modes
Sean Whitton [Sun, 8 Dec 2024 01:42:10 +0000 (09:42 +0800)]
Suggest emacs-editing-major-modes

13 months ago00debian.el: Use setopt, not setq
Sean Whitton [Thu, 14 Nov 2024 06:14:26 +0000 (14:14 +0800)]
00debian.el: Use setopt, not setq

13 months ago00debian.el: Mark file with 'lexical-binding: t'
Sean Whitton [Thu, 14 Nov 2024 06:13:24 +0000 (14:13 +0800)]
00debian.el: Mark file with 'lexical-binding: t'

13 months agoAdjust debian/changelog for UNRELEASED 29.4+1-4 development
Sean Whitton [Thu, 14 Nov 2024 06:12:34 +0000 (14:12 +0800)]
Adjust debian/changelog for UNRELEASED 29.4+1-4 development

17 months agoUpdate debian/changelog for 29.4+1-3 release
Rob Browning [Sat, 29 Jun 2024 20:46:59 +0000 (15:46 -0500)]
Update debian/changelog for 29.4+1-3 release

17 months agoMark dired-test-bug27243-02 as unstable for now
Rob Browning [Sat, 29 Jun 2024 19:11:38 +0000 (14:11 -0500)]
Mark dired-test-bug27243-02 as unstable for now

This appears to be a known issue:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#64
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#115

Add 0017-Mark-dired-test-bug27243-02-as-unstable-for-now.patch to
address it.

17 months agoMark dired-test-bug27243-02 as unstable for now
Rob Browning [Sat, 29 Jun 2024 16:01:56 +0000 (11:01 -0500)]
Mark dired-test-bug27243-02 as unstable for now

This appears to be a known issue:

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#64
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27243#115

Sample failure:

  Test dired-test-bug27243-02 backtrace:
    signal(ert-test-failed (((should (eq (point) pt1)) :form (eq 176 179
    ert-fail(((should (eq (point) pt1)) :form (eq 176 179) :value nil))
    #f(compiled-function () #<bytecode -0xdd3f9b8b64b2928>)()
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name dired-test-bug27243-02 :documentation
    ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [...
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    command-line-1(("-L" ":/<<PKGBUILDDIR>>/debian/
    command-line()
    normal-top-level()
  Test dired-test-bug27243-02 condition:
      (ert-test-failed
       ((should
         (eq
          (point)
          pt1))
        :form
        (eq 176 179)
        :value nil))
     FAILED   5/16  dired-test-bug27243-02 (0.010115 sec) at ../../build-src/test/lisp/dired-tests.el:189

Bug: https://debbugs.gnu.org/27243
Forwarded: not-needed

17 months agoAdjust debian/changelog for UNRELEASED 29.4+1-3 development
Rob Browning [Sat, 29 Jun 2024 15:52:11 +0000 (10:52 -0500)]
Adjust debian/changelog for UNRELEASED 29.4+1-3 development

17 months agoUpdate debian/changelog for 29.4+1-2
Sean Whitton [Tue, 25 Jun 2024 05:21:03 +0000 (13:21 +0800)]
Update debian/changelog for 29.4+1-2

17 months agoMerge commit 'e3a5feeb70756cbd82e1c811cf0c7aaabff3cd70' into deb/emacs/d/sid/master
Sean Whitton [Tue, 25 Jun 2024 05:19:07 +0000 (13:19 +0800)]
Merge commit 'e3a5feeb70756cbd82e1c811cf0c7aaabff3cd70' into deb/emacs/d/sid/master

17 months agoUpdate debian/changelog for 29.4+1-1 release
Rob Browning [Tue, 25 Jun 2024 00:34:57 +0000 (19:34 -0500)]
Update debian/changelog for 29.4+1-1 release

17 months agoUpdate debian/copyright for 29.4
Rob Browning [Tue, 25 Jun 2024 00:33:16 +0000 (19:33 -0500)]
Update debian/copyright for 29.4

17 months agoMerge upstream version 29.4
Rob Browning [Sun, 23 Jun 2024 22:23:15 +0000 (17:23 -0500)]
Merge upstream version 29.4

Closes: 1074137
17 months agoChange native-comp-async-report-warnings-errors to silent
Sean Whitton [Thu, 28 Mar 2024 05:24:49 +0000 (13:24 +0800)]
Change native-comp-async-report-warnings-errors to silent

We have had numerous bug reports across packages about this bothering
users.

17 months agoChange native-comp-async-jobs-number default to 1
Sean Whitton [Tue, 29 Aug 2023 08:08:55 +0000 (09:08 +0100)]
Change native-comp-async-jobs-number default to 1

17 months agoPatch project-vc-recognizes-git test for Debian build
Sean Whitton [Mon, 31 Jul 2023 08:26:48 +0000 (09:26 +0100)]
Patch project-vc-recognizes-git test for Debian build

17 months agoRename to 'inhibit-automatic-native-compilation'
Lars Ingebrigtsen [Mon, 3 Oct 2022 17:49:53 +0000 (19:49 +0200)]
Rename to 'inhibit-automatic-native-compilation'

The following upstream patch has been backported:

  Rename to inhibit-automatic-native-compilation

  * src/comp.c (maybe_defer_native_compilation):
  (syms_of_comp):
  * lisp/startup.el (inhibit-native-compilation):
  (normal-top-level):
  * lisp/progmodes/elisp-mode.el (emacs-lisp-native-compile-and-load):
  * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Rename
  inhibit-native-compilation to inhibit-automatic-native-compilation.

Origin: upstream, commit f97993ee667f9be7589825f3a4fbc095d6944ec6
Forwarded: not-needed

17 months agoAdd 'inhibit-native-compilation'
Lars Ingebrigtsen [Mon, 3 Oct 2022 13:26:04 +0000 (15:26 +0200)]
Add 'inhibit-native-compilation'

The following upstream patch has been backported:

  Add new variable 'inhibit-native-compilation'

  * lisp/startup.el (normal-top-level): Set
  inhibit-native-compilation from environment variable.

  * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Don't write
  trampolines to disk.

  * lisp/progmodes/elisp-mode.el
  (emacs-lisp-native-compile-and-load): Adjust.

  * src/comp.c (syms_of_comp): New variable
  inhibit-native-compilation.
  (maybe_defer_native_compilation): Use it.

Origin: upstream, commit: 5fec9182dbeffa88cef6651d8c798ef9665d6681
Forwarded: not-needed

17 months agoMark flaky test process-tests/multiple-threads-waiting as unstable
Sean Whitton [Tue, 15 Nov 2022 23:26:59 +0000 (16:26 -0700)]
Mark flaky test process-tests/multiple-threads-waiting as unstable

It times out:

     passed  22/28  process-tests/fd-setsize-no-crash/make-serial-process (0.021449 sec)
  make[5]: *** [Makefile:182: src/process-tests.log] Error 134
    GEN      src/regex-emacs-tests.log
    GEN      src/search-tests.log
    GEN      src/syntax-tests.log
    GEN      src/textprop-tests.log
    GEN      src/thread-tests.log
    GEN      src/timefns-tests.log
    GEN      src/undo-tests.log
    GEN      src/xdisp-tests.log
    GEN      src/xfaces-tests.log
    GEN      src/xml-tests.log
  make[5]: Leaving directory '/<<PKGBUILDDIR>>/debian/build-gtk/test'
  make[4]: [Makefile:335: check-doit] Error 2 (ignored)

  SUMMARY OF TEST RESULTS
  -----------------------
  Files examined: 375
  Ran 5408 tests, 28 failed to run, 5273 results as expected, 0 unexpected, 135 skipped
  1 files did not finish:
    src/process-tests.log
  make[4]: *** [Makefile:336: check-doit] Error 2

17 months agoMark test-undo-region as unstable
Sean Whitton [Tue, 15 Nov 2022 22:54:41 +0000 (15:54 -0700)]
Mark test-undo-region as unstable

It is repeatedly failing on Debian's arch:all autobuilders, though
seemingly nowhere else:

     passed  40/44  simple-transpose-subr (0.000396 sec)
  Test test-undo-region backtrace:
    signal(ert-test-failed (((should (= (length (delq nil (undo-make-sel
    ert-fail(((should (= (length (delq nil (undo-make-selective-list 1 9
    #f(compiled-function () #<bytecode 0x52f126616d2cdbd>)()
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name test-undo-region :documentation nil :
    ert-run-or-rerun-test(#s(ert--stats :selector ... :tests ... :test-m
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    command-line-1(("-L" ":/<<PKGBUILDDIR>>/debian/build
    command-line()
    normal-top-level()
  Test test-undo-region condition:
      (ert-test-failed
       ((should
         (=
   (length ...)
   2))
        :form
        (= 3 2)
        :value nil))
     FAILED  41/44  test-undo-region (0.000185 sec)

17 months agopdumper: set DUMP_RELOC_ALIGNMENT_BITS=1 for m68k
John Paul Adrian Glaubitz [Sat, 24 Sep 2022 18:37:18 +0000 (13:37 -0500)]
pdumper: set DUMP_RELOC_ALIGNMENT_BITS=1 for m68k

Before the change builds would fail like this:

  (...)
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/vc/vc-hooks.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/vc/ediff-hook.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/uniquify.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/electric.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/emacs-lisp/eldoc.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/cus-start.el (source)...
  Loading /<<BUILDDIR>>/emacs-27.1+1/debian/build-src/lisp/tooltip.el (source)...
  Finding pointers to doc strings...
  Finding pointers to doc strings...done
  Dumping under the name bootstrap-emacs.pdmp
  dumping fingerprint: 7b5c59c589dc151eb1e4269bd83fbe809616b5cb9bb5c80014d5b560b391dfb6
  dump relocation out of range

[rlb@defaultvalue.org: create commit message]

Origin: debian
Bug: https://bugs.gnu.org/44531
Bug-Debian: http://bugs.debian.org/1019130
Forwarded: not-needed

17 months agoMark vc-bzr-test-fauilt-bzr-autoloads as unstable for now
Rob Browning [Sun, 16 Dec 2018 23:13:36 +0000 (17:13 -0600)]
Mark vc-bzr-test-fauilt-bzr-autoloads as unstable for now

Currently the test fails like this:

  Running 3 tests (2018-12-17 12:17:43-0600)
     passed  1/3  vc-bzr-test-bug9726
  Mark set
  Press C-c C-c when you are done editing.
  Enter a change comment.  Type C-c C-c when done
     passed  2/3  vc-bzr-test-bug9781
  Falling back on "slow" status detection ((file-missing "Opening input file" "No such file or directory" "/tmp/vc-bzr-testVlgmsb/bzr/.bzr/checkout/dirstate"))
  Error: (error "Running bzr status --no-classify loaddefs.el...FAILED (status 3)")
  Warnings in `bzr' output: bzr: ERROR: invalid header line: ''

  Error: (error "Running bzr status --no-classify loaddefs.el...FAILED (status 3)")
  Warnings in `bzr' output: bzr: ERROR: invalid header line: ''

  Test vc-bzr-test-faulty-bzr-autoloads backtrace:
    logand(nil 128)
    vc-mode-line("/tmp/vc-bzr-testVlgmsb/bzr/loaddefs.el" Bzr)
    vc-refresh-state()
    run-hooks(find-file-hook)
    after-find-file(t t)
    find-file-noselect-1(#<buffer loaddefs.el> "/tmp/vc-bzr-testVlgmsb/b
    find-file-noselect("/tmp/vc-bzr-testVlgmsb/bzr/loaddefs.el")
    autoload-find-generated-file()
    update-directory-autoloads("/tmp/vc-bzr-testVlgmsb/bzr/")
    (progn (update-directory-autoloads default-directory) t)
    (setq value-35 (progn (update-directory-autoloads default-directory)
    (unwind-protect (setq value-35 (progn (update-directory-autoloads de
    (if (unwind-protect (setq value-35 (progn (update-directory-autoload
    (let (form-description-36) (if (unwind-protect (setq value-35 (progn
    (let ((value-35 (gensym "ert-form-evaluation-aborted-"))) (let (form
    (progn (call-process vc-bzr-program nil nil nil "init") (let ((temp-
    (unwind-protect (progn (call-process vc-bzr-program nil nil nil "ini
    (let* ((homedir (make-temp-file "vc-bzr-test" t)) (bzrdir (expand-fi
    (lambda nil (let* ((fn-30 (function executable-find)) (args-31 (cond
    ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
    ert-run-test(#s(ert-test :name vc-bzr-test-faulty-bzr-autoloads :doc
    ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
    ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
    ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
    ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
    eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
    command-line-1(("-L" ":/home/locke/tmp/main-26.1/debian/build-src/te
    command-line()
    normal-top-level()
  Test vc-bzr-test-faulty-bzr-autoloads condition:
      (wrong-type-argument number-or-marker-p nil)
     FAILED  3/3  vc-bzr-test-faulty-bzr-autoloads

  Ran 3 tests, 2 results as expected, 1 unexpected (2018-12-17 12:17:46-0600)

  1 unexpected results:
     FAILED  vc-bzr-test-faulty-bzr-autoloads

17 months agoKill gpg agent in package-test.el to avoid a race
Rob Browning [Mon, 10 Oct 2016 22:35:56 +0000 (17:35 -0500)]
Kill gpg agent in package-test.el to avoid a race

package-test.el should no longer fail during clean up.

* Previously a delete-directories call raced with the gpg agent's own
  cleanup process (presumably triggered by the first deletion of one of
  the agent's sockets).  As a result, it looks like the agent might
  delete one of its sockets after delete-directories had decided to
  delete the socket, but before it made the attempt, causing an
  exception.

* To fix the problem, explicitly ask gpg-connect-agent to kill the agent
  before attempting to delete the gnupg home directory, and then delete
  via "rm -rf" to ignore any vanishing files.

17 months agoDon't try to build src/macuvs.h (via IVD_Sequences.txt)
Rob Browning [Wed, 22 Oct 2014 00:10:17 +0000 (19:10 -0500)]
Don't try to build src/macuvs.h (via IVD_Sequences.txt)

These are OS X specific, and were removed for now, due to uncertainty
over the licensing.

17 months agoModify the output of (version) to indicate Debian modifications
Rob Browning [Tue, 5 Apr 2011 03:46:28 +0000 (22:46 -0500)]
Modify the output of (version) to indicate Debian modifications

The output of (version) has been modified to indicate Debian modifications.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
17 months agoAdjust documentation references for Debian
Rob Browning [Tue, 5 Apr 2011 03:46:25 +0000 (22:46 -0500)]
Adjust documentation references for Debian

Various documentation references have been adjusted for Debian.

References to /usr/local/... have been changed to /usr/... as
appropriate, etc.

17 months agoRemove files that appear to be incompatible with the DFSG
Rob Browning [Tue, 5 Apr 2011 03:46:24 +0000 (22:46 -0500)]
Remove files that appear to be incompatible with the DFSG

Files that appear to be incompatible with the DFSG have been removed.

A number of files have been removed from this package because their
licenses are not compatible with the Debian Free Software Guidelines
(DFSG), or because it wasn't completely clear that their licenses are
compatible.

In particular, all of the files which are covered under the GFDL and
have invariant sections have been removed in accordance with this
General Resolution: http://www.debian.org/vote/2006/vote_001.

The files that have been removed, but still appear to be
distributable, have been moved to packages in Debian's non-free
section.

Author: Rob Browning <rlb@defaultvalue.org>
Added-by: Rob Browning <rlb@defaultvalue.org>
Status: new

17 months agoRun debian-startup and set debian-emacs-flavor
Rob Browning [Tue, 5 Apr 2011 03:46:22 +0000 (22:46 -0500)]
Run debian-startup and set debian-emacs-flavor

Emacs runs debian-startup and sets debian-emacs-flavor.

* Emacs runs debian-startup during the startup process unless
  site-run-file is false.

* The global variable debian-emacs-flavor is bound to 'emacs.

Author: Rob Browning <rlb@defaultvalue.org>

17 months agoPrefer /usr/share/info/emacs/
Rob Browning [Sun, 7 Apr 2013 20:03:05 +0000 (15:03 -0500)]
Prefer /usr/share/info/emacs/

Emacs prefers /usr/share/info/emacs to /usr/share/info.

The value of Info-default-directory-list has been augmented via
lisp/info.el to include /usr/share/info/emacs before /usr/share/info.

17 months agorecord new upstream branch
Rob Browning [Sun, 23 Jun 2024 22:18:37 +0000 (17:18 -0500)]
record new upstream branch

17 months agoMerge upstream version 29.4
Rob Browning [Sun, 23 Jun 2024 22:01:06 +0000 (17:01 -0500)]
Merge upstream version 29.4

17 months agoAdjust debian/changelog for UNRELEASED 29.4+1-1 development
Rob Browning [Sat, 22 Jun 2024 21:48:15 +0000 (16:48 -0500)]
Adjust debian/changelog for UNRELEASED 29.4+1-1 development

17 months agoRelease Emacs 29.4
Stefan Kangas [Sat, 22 Jun 2024 16:18:06 +0000 (18:18 +0200)]
Release Emacs 29.4

* ChangeLog.4:
* etc/HISTORY: Update files for Emacs 29.4.

17 months agoList Andrea Corallo as co-maintainer in ack.texi
Stefan Kangas [Sat, 18 May 2024 17:14:21 +0000 (19:14 +0200)]
List Andrea Corallo as co-maintainer in ack.texi

* doc/emacs/ack.texi (Acknowledgments): List Andrea Corallo as
co-maintainer from 29.3 onwards.

17 months ago* admin/MAINTAINERS: Add myself in (co-)maintainers.
Andrea Corallo [Wed, 15 May 2024 17:17:30 +0000 (19:17 +0200)]
* admin/MAINTAINERS: Add myself in (co-)maintainers.

17 months ago; * lisp/ldefs-boot.el: Regenerated for Emacs 29.4
Stefan Kangas [Sat, 22 Jun 2024 00:30:27 +0000 (02:30 +0200)]
; * lisp/ldefs-boot.el: Regenerated for Emacs 29.4

17 months agoBump Emacs version to 29.4
Stefan Kangas [Fri, 21 Jun 2024 23:16:59 +0000 (01:16 +0200)]
Bump Emacs version to 29.4

17 months agoUpdate files for Emacs 29.4
Stefan Kangas [Fri, 21 Jun 2024 23:13:01 +0000 (01:13 +0200)]
Update files for Emacs 29.4

* ChangeLog.4:
* etc/AUTHORS: Update for Emacs 29.4.

17 months ago* admin/authors.el: Update for Emacs 29.4
Stefan Kangas [Fri, 21 Jun 2024 23:06:05 +0000 (01:06 +0200)]
* admin/authors.el: Update for Emacs 29.4

17 months ago* etc/NEWS: Update for Emacs 29.4
Stefan Kangas [Fri, 21 Jun 2024 14:03:20 +0000 (16:03 +0200)]
* etc/NEWS: Update for Emacs 29.4

17 months agoorg-link-expand-abbrev: Do not evaluate arbitrary unsafe Elisp code
Ihor Radchenko [Fri, 21 Jun 2024 13:45:25 +0000 (15:45 +0200)]
org-link-expand-abbrev: Do not evaluate arbitrary unsafe Elisp code

* lisp/org/ol.el (org-link-expand-abbrev): Refuse expanding %(...)
link abbrevs that specify unsafe function.  Instead, display a
warning, and do not expand the abbrev.  Clear all the text properties
from the returned link, to avoid any potential vulnerabilities caused
by properties that may contain arbitrary Elisp.

17 months agoUpdate Tramp version (don't merge to master)
Michael Albinus [Fri, 21 Jun 2024 13:41:19 +0000 (15:41 +0200)]
Update Tramp version (don't merge to master)

* lisp/net/trampver.el (customize-package-emacs-version-alist):
Adapt Tramp version integrated in Emacs 29.4.

17 months ago* admin/emacs-shell-lib: Backport to Bash 4.4 or older.
Stefan Kangas [Thu, 20 Jun 2024 21:12:31 +0000 (23:12 +0200)]
* admin/emacs-shell-lib: Backport to Bash 4.4 or older.

17 months agoFix bug#49289 also for other auth-source backends
Michael Albinus [Tue, 18 Jun 2024 14:43:53 +0000 (16:43 +0200)]
Fix bug#49289 also for other auth-source backends

* lisp/auth-source.el (auth-info-password): Revert commit 59261e6f4fe.
(auth-source-secrets-create, auth-source-plstore-create):
Search also for :user.  (Bug#49289)

18 months agoFix auth-info-password
Michael Albinus [Wed, 12 Jun 2024 08:24:34 +0000 (10:24 +0200)]
Fix auth-info-password

* lisp/auth-source.el (auth-info-password): :secret can be a
cascaded function.

18 months ago; * lisp/mail/rmail.el (rmail-get-new-mail-hook): Doc fix.
Eli Zaretskii [Sun, 9 Jun 2024 17:56:39 +0000 (20:56 +0300)]
; * lisp/mail/rmail.el (rmail-get-new-mail-hook): Doc fix.

18 months ago; Minor fixes in ELisp manual
Eli Zaretskii [Sat, 8 Jun 2024 18:06:51 +0000 (21:06 +0300)]
; Minor fixes in ELisp manual

* doc/lispref/searching.texi (Regexp Search): Caveat about using
'search-spaces-regexp'.  (Bug#71429)
* doc/lispref/help.texi (Keys in Documentation): Fix markup.

18 months ago; * doc/emacs/help.texi (Help, Apropos): Improve text and indexing.
Eli Zaretskii [Sat, 8 Jun 2024 11:10:10 +0000 (14:10 +0300)]
; * doc/emacs/help.texi (Help, Apropos): Improve text and indexing.

18 months agoFix treesit-parse-string crash (bug#71012)
Yuan Fu [Sat, 1 Jun 2024 17:33:18 +0000 (10:33 -0700)]
Fix treesit-parse-string crash (bug#71012)

Parsing a large file with treesit-parse-string and then printing the
returned node crashes Emacs, because with-temp-buffer kills the temp
buffer when treesit-parse-string returns, and print.c tries to access
the node's position in the killed buffer.

* lisp/treesit.el (treesit-parse-string): Don't use with-temp-buffer.

18 months agoCheck for buffer liveness when accessing tree-sitter node (bug#71012)
Yuan Fu [Sat, 1 Jun 2024 17:20:48 +0000 (10:20 -0700)]
Check for buffer liveness when accessing tree-sitter node (bug#71012)

* src/treesit.h (treesit_node_buffer_live_p): Declare function.
* src/print.c (print_vectorlike): Print node without position if
buffer is killed.
* src/treesit.c (treesit_node_buffer_live_p): New function.
(treesit_check_node): Add buffer liveness check.
(syms_of_treesit): New error treesit-node-buffer-killed.

18 months agoImprove documentation of case-conversion commands
Eli Zaretskii [Tue, 28 May 2024 12:39:13 +0000 (15:39 +0300)]
Improve documentation of case-conversion commands

* doc/emacs/text.texi (Case): Include the commands with negative
arguments.  (Bug#71220)

18 months ago; Fix typos
Stefan Kangas [Mon, 27 May 2024 08:11:15 +0000 (10:11 +0200)]
; Fix typos

18 months ago; Fix markup in manuals
Eli Zaretskii [Sun, 26 May 2024 06:49:52 +0000 (09:49 +0300)]
; Fix markup in manuals

* doc/emacs/files.texi (Visiting):
* doc/lispref/processes.texi (Filter Functions, Sentinels): Fix
markup and punctuation.  Reported by Andrés Ramírez
<rrandresf@hotmail.com>.

18 months agoAvoid assertion violations in displaying under 'outline-minor-mode'
Eli Zaretskii [Sat, 25 May 2024 11:23:43 +0000 (14:23 +0300)]
Avoid assertion violations in displaying under 'outline-minor-mode'

* src/xdisp.c (init_from_display_pos): Initialize BYTEPOS
correctly, since 'init_iterator' no longer computes it from
CHARPOS as needed.  This fixes a change made on Mar 13, 2013.
(Bug#71194)

18 months agoImprove documentation of 'no-special-glyphs' frame parameter
Eli Zaretskii [Sat, 25 May 2024 10:22:45 +0000 (13:22 +0300)]
Improve documentation of 'no-special-glyphs' frame parameter

* doc/lispref/frames.texi (Layout Parameters): Document
limitations of support for 'no-special-glyphs' frame parameter.
(Bug#71163)
* doc/lispref/display.texi (Truncation): Update for when
'fringe-mode' is off.

18 months agoFix Python font lock of chained assignment statement
kobarity [Fri, 24 May 2024 13:50:12 +0000 (22:50 +0900)]
Fix Python font lock of chained assignment statement

* lisp/progmodes/python.el
(python-font-lock-keywords-maximum-decoration): Allow chaining
of single assignment statements.
* test/lisp/progmodes/python-tests.el
(python-font-lock-assignment-statement-20): New test.
(Bug#71093)

18 months agoFix example in Calc manual
Brad Knotwell [Fri, 24 May 2024 07:00:37 +0000 (00:00 -0700)]
Fix example in Calc manual

* doc/misc/calc.texi (Defining Simple Commands): Fix typo in
command names.  (Bug#71166)

Copyright-paperwork-exempt: yes

18 months agoAvoid crashes on MS-Windows due to invalid UNC file names
Eli Zaretskii [Wed, 22 May 2024 11:10:53 +0000 (14:10 +0300)]
Avoid crashes on MS-Windows due to invalid UNC file names

* src/w32.c (parse_root): Avoid crashes due to invalid (too short)
UNC names, such as "\\".  (Bug#70914)

* test/src/fileio-tests.el (fileio-tests-invalid-UNC): New test.

18 months ago; * lisp/face-remap.el (text-scale-adjust): Doc fix.
Eli Zaretskii [Tue, 21 May 2024 12:40:51 +0000 (15:40 +0300)]
; * lisp/face-remap.el (text-scale-adjust): Doc fix.

18 months ago; Improve documentation of backing up files
Eli Zaretskii [Tue, 21 May 2024 12:34:50 +0000 (15:34 +0300)]
; Improve documentation of backing up files

* doc/emacs/files.texi (Backup Copying): Mention that
'backup-by-copying' is safer.  Document 'file-precious-flag'.
(Bug#71074)

19 months ago; * doc/lispintro/emacs-lisp-intro.texi (nthcdr): Whitespace (bug#71033).
Eli Zaretskii [Sat, 18 May 2024 11:38:29 +0000 (14:38 +0300)]
; * doc/lispintro/emacs-lisp-intro.texi (nthcdr): Whitespace (bug#71033).

19 months agoDocument :box attribute caveats when used on display strings
Eli Zaretskii [Sat, 18 May 2024 09:15:21 +0000 (12:15 +0300)]
Document :box attribute caveats when used on display strings

* doc/lispref/display.texi (Replacing Specs, Face Attributes):
Mention special considerations when a display string has a
':box' face attribute identical to the surrounding buffer text.
Suggested by JD Smith <jdtsmith@gmail.com>.  (Bug#70637)

19 months agoImprove documentation of 'movemail'
Eli Zaretskii [Sat, 18 May 2024 06:12:54 +0000 (09:12 +0300)]
Improve documentation of 'movemail'

* doc/emacs/rmail.texi (Movemail): Fix the name of the Mailutils
manual in the printed version.  Add index entries.  Move the
description of remote mailboxes to...
(Remote Mailboxes): ...here, to avoid duplication.

19 months agoReplace incorrect link in Rmail chapter of Emacs manual
Jakub Ječmínek [Fri, 17 May 2024 20:07:33 +0000 (22:07 +0200)]
Replace incorrect link in Rmail chapter of Emacs manual

* doc/emacs/rmail.texi (Movemail): Fix cross-reference to a node
in the Mailutils manual.  (Bug#71018)

19 months ago; * doc/lispref/parsing.texi (Parsing Program Source): Improve indexing.
Eli Zaretskii [Fri, 17 May 2024 16:03:39 +0000 (19:03 +0300)]
; * doc/lispref/parsing.texi (Parsing Program Source): Improve indexing.

19 months ago; Improve documentation of 'set-fontset-font'
Eli Zaretskii [Fri, 17 May 2024 07:18:35 +0000 (10:18 +0300)]
; Improve documentation of 'set-fontset-font'

* doc/lispref/display.texi (Fontsets):
* src/fontset.c (Fset_fontset_font): Doc fix (bug#70993).

19 months agoREADME.source: Some wordsmithing
Sean Whitton [Thu, 16 May 2024 16:06:27 +0000 (17:06 +0100)]
README.source: Some wordsmithing

19 months agoREADME.source: Restore a newline removed by a previous change
Sean Whitton [Thu, 16 May 2024 16:04:59 +0000 (17:04 +0100)]
README.source: Restore a newline removed by a previous change

19 months ago; * doc/emacs/search.texi (Word Search): Add index entry.
Eli Zaretskii [Thu, 16 May 2024 15:42:43 +0000 (18:42 +0300)]
; * doc/emacs/search.texi (Word Search): Add index entry.

19 months agoUpdate debian/changelog for 29.3+1-3 release
Rob Browning [Wed, 15 May 2024 05:47:35 +0000 (00:47 -0500)]
Update debian/changelog for 29.3+1-3 release

19 months agodebian: only install GSettings schema in pgtk build
Xiyue Deng [Wed, 13 Mar 2024 17:22:46 +0000 (10:22 -0700)]
debian: only install GSettings schema in pgtk build

Move /usr/share/glib-2.0/schemas/org.gnu.emacs.defaults.gschema.xml
from emacs-common to emacs-pgtk so that it won't trigger the addition
of a gsettings dependency for flavors that don't use it.

Closes: 1050393
19 months agodebian/README.source: add rationale
Rob Browning [Sun, 12 May 2024 19:51:33 +0000 (14:51 -0500)]
debian/README.source: add rationale

19 months ago; * src/window.c (Fwindow_scroll_bars): Doc fix.
Eli Zaretskii [Mon, 13 May 2024 05:00:38 +0000 (08:00 +0300)]
; * src/window.c (Fwindow_scroll_bars): Doc fix.

19 months agoAdjust debian/changelog for UNRELEASED 1:29.3+1-3 development
Rob Browning [Sun, 12 May 2024 21:01:47 +0000 (16:01 -0500)]
Adjust debian/changelog for UNRELEASED 1:29.3+1-3 development

19 months ago; Fix doc strings of two scroll-bar functions.
Eli Zaretskii [Sat, 11 May 2024 05:29:22 +0000 (08:29 +0300)]
; Fix doc strings of two scroll-bar functions.

* lisp/scroll-bar.el (toggle-horizontal-scroll-bar): Fix typo and
wording.  (Bug#70864).
(toggle-scroll-bar): Fix wording.

19 months ago; * doc/emacs/frames.texi (Scroll Bars): Improve formatting.
Eli Zaretskii [Fri, 10 May 2024 05:52:33 +0000 (08:52 +0300)]
; * doc/emacs/frames.texi (Scroll Bars): Improve formatting.

19 months ago; * lisp/textmodes/ispell.el (ispell-message): Add commentary.
Eli Zaretskii [Thu, 9 May 2024 17:44:52 +0000 (20:44 +0300)]
; * lisp/textmodes/ispell.el (ispell-message): Add commentary.

19 months ago; * etc/PROBLEMS: Document macOS problems with Emacs.clr (bug#70836).
Eli Zaretskii [Thu, 9 May 2024 06:05:22 +0000 (09:05 +0300)]
; * etc/PROBLEMS: Document macOS problems with Emacs.clr (bug#70836).

19 months ago; * doc/misc/auth.texi (The Unix password store): Fix variable name.
Illia Ostapyshyn [Fri, 3 May 2024 17:27:15 +0000 (19:27 +0200)]
; * doc/misc/auth.texi (The Unix password store): Fix variable name.

(Bug#70767)

Copyright-paperwork-exempt: yes

19 months ago; Advertise scroll bars some more
Eli Zaretskii [Wed, 8 May 2024 13:44:05 +0000 (16:44 +0300)]
; Advertise scroll bars some more

* doc/emacs/display.texi (Scrolling, Horizontal Scrolling):
Mention the scroll bars as alternative means of scrolling.

19 months agoAvoid errors in 'image-dired-tag-thumbnail'
Eli Zaretskii [Wed, 8 May 2024 13:13:27 +0000 (16:13 +0300)]
Avoid errors in 'image-dired-tag-thumbnail'

* lisp/image/image-dired.el (image-dired-tag-thumbnail)
(image-dired-tag-thumbnail-remove): Move here from
image-dired-tags.el.  (Bug#70821)

19 months ago; * doc/lispref/commands.texi (Event Mod): Add motivation (bug#70596).
Eli Zaretskii [Thu, 2 May 2024 09:20:09 +0000 (12:20 +0300)]
; * doc/lispref/commands.texi (Event Mod): Add motivation (bug#70596).

19 months ago; Update description of 'mail-mode'
Eli Zaretskii [Tue, 30 Apr 2024 13:04:26 +0000 (16:04 +0300)]
; Update description of 'mail-mode'

* doc/emacs/sending.texi (Mail Methods): More accurate description
of mail-mode's deficiencies.

19 months agoFix last change
Eli Zaretskii [Sat, 27 Apr 2024 19:12:14 +0000 (22:12 +0300)]
Fix last change

* test/lisp/progmodes/csharp-mode-tests.el
(csharp-ts-mode-test-indentation): If need to skip the tree-sitter
test, do so silently.  (Bug#70345)

19 months ago; Skip 'csharp-ts-mode' test if grammar is missing
john muhl [Sat, 27 Apr 2024 14:55:42 +0000 (09:55 -0500)]
; Skip 'csharp-ts-mode' test if grammar is missing

* test/lisp/progmodes/csharp-mode-tests.el
(csharp-ts-mode-test-indentation): Skip test instead of
failing.  (Bug#70345)

19 months agogrammar fix
Sean Whitton [Sat, 27 Apr 2024 13:11:44 +0000 (14:11 +0100)]
grammar fix

19 months agoDocument our workflows in README.source
Sean Whitton [Sat, 27 Apr 2024 12:56:49 +0000 (13:56 +0100)]
Document our workflows in README.source

19 months agoFix a typo in Introduction to Emacs Lisp (bug#70571).
Brad Howes [Thu, 25 Apr 2024 16:39:02 +0000 (18:39 +0200)]
Fix a typo in Introduction to Emacs Lisp (bug#70571).

Copyright-paperwork-exempt: yes

19 months agoFix last change
Eli Zaretskii [Thu, 25 Apr 2024 15:59:25 +0000 (18:59 +0300)]
Fix last change

* test/lisp/progmodes/csharp-mode-tests.el
(csharp-ts-mode-test-indentation): Move the test to here.
* test/lisp/progmodes/csharp-ts-mode-tests.el: Remove file.
* test/lisp/progmodes/csharp-ts-mode-resources/indent.erts: Move
to test/lisp/progmodes/csharp-mode-resources/indent-ts.erts.

19 months agoFix indentation of if/else in 'csharp-ts-mode' (bug#70345)
Jacob Leeming [Mon, 22 Apr 2024 08:49:15 +0000 (09:49 +0100)]
Fix indentation of if/else in 'csharp-ts-mode' (bug#70345)

* lisp/progmodes/csharp-mode.el (csharp-ts-mode--indent-rules):
Fix indentation rules for 'if' and 'else'.

* test/lisp/progmodes/csharp-ts-mode-tests.el:
* test/lisp/progmodes/csharp-ts-mode-resources/indent.erts: New
test files.

Copyright-paperwork-exempt: yes

19 months ago; * etc/PROBLEMS: Document crashes due to tree-sitter ABI (bug#70438).
Eli Zaretskii [Thu, 25 Apr 2024 09:39:36 +0000 (12:39 +0300)]
; * etc/PROBLEMS: Document crashes due to tree-sitter ABI (bug#70438).

19 months ago* build-aux/make-info-dir: Avoid bashism (bug#70484).
Ulrich Müller [Tue, 23 Apr 2024 05:37:17 +0000 (07:37 +0200)]
* build-aux/make-info-dir: Avoid bashism (bug#70484).

19 months agoImprove documentation of selection and navigation in *xref* buffers
Eli Zaretskii [Tue, 23 Apr 2024 07:40:50 +0000 (10:40 +0300)]
Improve documentation of selection and navigation in *xref* buffers

* doc/emacs/maintaining.texi (Looking Up Identifiers): More
detailed description of 'xref-auto-jump-to-first-definition'.
Improve indexing.  Describe the use of 'next-error' and
'previous-error' in conjunction with the *xref* buffer.
(Identifier Search): More detailed description of
'xref-auto-jump-to-first-xref'.  Describe the use of 'next-error'
and 'previous-error'.

19 months agoFix Widget manual typos, markup and omissions (bug#70502)
Stephen Berman [Mon, 22 Apr 2024 09:32:10 +0000 (11:32 +0200)]
Fix Widget manual typos, markup and omissions (bug#70502)

* doc/misc/widget.texi (Widgets and the Buffer): Correct typos and
texinfo markup, add equivalent key bindings and make minor changes
in wording.
(Customization): Correct names of two faces and add documentation
of remaining widget faces.

19 months ago; Document bookmark fringe mark in the user manual
Eli Zaretskii [Mon, 22 Apr 2024 07:37:18 +0000 (10:37 +0300)]
; Document bookmark fringe mark in the user manual

* doc/emacs/regs.texi (Bookmarks): Document
'bookmark-fringe-mark'.

19 months agoFix python-ts-mode built-in functions and attributes (bug#70478)
Prateek Sharma [Fri, 19 Apr 2024 20:36:17 +0000 (02:06 +0530)]
Fix python-ts-mode built-in functions and attributes (bug#70478)

* lisp/progmodes/python.el (python--treesit-settings): Change the
treesitter query to fetch the correct type of node for built-in
functions and attributes and highlight them with corresponding
font-lock face.

19 months agoFix markup and indexing in the Calendar chapter of user manual
Eli Zaretskii [Sun, 21 Apr 2024 16:49:14 +0000 (19:49 +0300)]
Fix markup and indexing in the Calendar chapter of user manual

* doc/emacs/calendar.texi (Calendar Unit Motion)
(Scroll Calendar, Writing Calendar Files, Holidays)
(Sunrise/Sunset, Lunar Phases, Calendar Systems)
(To Other Calendar, Displaying the Diary, Date Formats)
(Adding to Diary, Special Diary Entries): Fix markup, style, and
indexing.