emacs.git
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 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 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 agoUpdate debian/changelog for 29.3+1-2 release
Sean Whitton [Sat, 20 Apr 2024 06:54:07 +0000 (07:54 +0100)]
Update debian/changelog for 29.3+1-2 release

19 months agoFix installation of desktop files for emacs-nox
Sean Whitton [Sat, 20 Apr 2024 06:36:33 +0000 (07:36 +0100)]
Fix installation of desktop files for emacs-nox

Thanks to Brendan O'Dea for the report and fix.

Closes: #1069294
20 months agod/rules: Enable running tests concurrently
Arto Jantunen [Wed, 3 Apr 2024 06:52:13 +0000 (09:52 +0300)]
d/rules: Enable running tests concurrently

20 months agoChange native-comp-async-report-warnings-errors to silent
Sean Whitton [Thu, 28 Mar 2024 05:25:32 +0000 (13:25 +0800)]
Change native-comp-async-report-warnings-errors to silent

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

20 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.

20 months agoAdjust debian/changelog for UNRELEASED 29.3+1-2 development
Sean Whitton [Thu, 28 Mar 2024 05:21:45 +0000 (13:21 +0800)]
Adjust debian/changelog for UNRELEASED 29.3+1-2 development

20 months agoUpdate debian/changelog for 29.3+1-1 release
Rob Browning [Sun, 24 Mar 2024 21:34:52 +0000 (16:34 -0500)]
Update debian/changelog for 29.3+1-1 release

20 months agoUpdate debian/copyright for 29.3
Rob Browning [Sun, 24 Mar 2024 21:22:50 +0000 (16:22 -0500)]
Update debian/copyright for 29.3

20 months agoMerge upstream version 29.3
Rob Browning [Sun, 24 Mar 2024 21:11:48 +0000 (16:11 -0500)]
Merge upstream version 29.3

Thanks to David Bremner for the report.

Closes: 1067630
20 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

20 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

20 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

20 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

20 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

20 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)

20 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

20 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

20 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.

20 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.

20 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>
20 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.

20 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

20 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>

20 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.

20 months agorecord new upstream branch
Rob Browning [Sun, 24 Mar 2024 21:05:07 +0000 (16:05 -0500)]
record new upstream branch

20 months agoMerge upstream version 29.3
Rob Browning [Sun, 24 Mar 2024 20:56:33 +0000 (15:56 -0500)]
Merge upstream version 29.3

20 months agoAdjust debian/changelog for UNRELEASED 29.3+1-1 development
Rob Browning [Sun, 24 Mar 2024 20:49:49 +0000 (15:49 -0500)]
Adjust debian/changelog for UNRELEASED 29.3+1-1 development

20 months agoUpdate files for Emacs 29.3
Eli Zaretskii [Sun, 24 Mar 2024 13:37:03 +0000 (09:37 -0400)]
Update files for Emacs 29.3

* ChangeLog.4:
* etc/AUTHORS:
* etc/HISTORY: Update for Emacs 29.3.

20 months ago* lisp/ldefs-boot.el: Regenerate.
Eli Zaretskii [Sun, 24 Mar 2024 13:36:24 +0000 (09:36 -0400)]
* lisp/ldefs-boot.el: Regenerate.

20 months agoBump Emacs version to 29.3
Eli Zaretskii [Sun, 24 Mar 2024 13:05:17 +0000 (09:05 -0400)]
Bump Emacs version to 29.3

* README:
* configure.ac:
* nt/README.W32:
* msdos/sed2v2.inp: Bump Emacs version to 29.3.

20 months agoorg--confirm-resource-safe: Fix prompt when prompting in non-file Org buffers
Ihor Radchenko [Fri, 23 Feb 2024 09:56:58 +0000 (12:56 +0300)]
org--confirm-resource-safe: Fix prompt when prompting in non-file Org buffers

* lisp/org/org.el (org--confirm-resource-safe): When called from
non-file buffer, do not put stray "f" in the prompt.

20 months agoorg-file-contents: Consider all remote files unsafe
Ihor Radchenko [Tue, 20 Feb 2024 11:59:20 +0000 (14:59 +0300)]
org-file-contents: Consider all remote files unsafe

* lisp/org/org.el (org-file-contents): When loading files, consider all
remote files (like TRAMP-fetched files) unsafe, in addition to URLs.

20 months agoorg-latex-preview: Add protection when `untrusted-content' is non-nil
Ihor Radchenko [Tue, 20 Feb 2024 09:47:24 +0000 (12:47 +0300)]
org-latex-preview: Add protection when `untrusted-content' is non-nil

* lisp/org/org.el (org--latex-preview-when-risky): New variable
controlling how to handle LaTeX previews in Org files from untrusted
origin.
(org-latex-preview): Consult `org--latex-preview-when-risky' before
generating previews.

This patch adds a layer of protection when LaTeX preview is requested
for an email attachment, where `untrusted-content' is set to non-nil.

20 months ago* lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted.
Ihor Radchenko [Tue, 20 Feb 2024 09:44:30 +0000 (12:44 +0300)]
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Mark contents untrusted.

20 months ago* lisp/files.el (untrusted-content): New variable.
Ihor Radchenko [Tue, 20 Feb 2024 09:43:51 +0000 (12:43 +0300)]
* lisp/files.el (untrusted-content): New variable.

The new variable is to be used when buffer contents comes from untrusted
source.

20 months agoorg-macro--set-templates: Prevent code evaluation
Ihor Radchenko [Tue, 20 Feb 2024 09:19:46 +0000 (12:19 +0300)]
org-macro--set-templates: Prevent code evaluation

* lisp/org/org-macro.el (org-macro--set-templates): Get rid of any
risk to evaluate code when `org-macro--set-templates' is called as a
part of major mode initialization.  This way, no code evaluation is
ever triggered when user merely opens the file or when
`mm-display-org-inline' invokes Org major mode to fontify mime part
preview in email messages.

20 months ago* admin/authors.el (authors-aliases): Add ignored authors.
Eli Zaretskii [Sun, 24 Mar 2024 12:36:44 +0000 (08:36 -0400)]
* admin/authors.el (authors-aliases): Add ignored authors.

20 months ago* etc/NEWS: Update for Emacs 29.3
Eli Zaretskii [Sun, 24 Mar 2024 12:19:29 +0000 (08:19 -0400)]
* etc/NEWS: Update for Emacs 29.3

20 months ago; * lisp/keymap.el (key-parse): Fix processing of "[TAB]". (Bug#69893)
Eli Zaretskii [Thu, 21 Mar 2024 20:12:40 +0000 (22:12 +0200)]
; * lisp/keymap.el (key-parse): Fix processing of "[TAB]".  (Bug#69893)

20 months ago; Improve documentation of 'backup-by-copying'
Eli Zaretskii [Thu, 21 Mar 2024 19:35:24 +0000 (21:35 +0200)]
; Improve documentation of 'backup-by-copying'

* doc/emacs/files.texi (Backup Copying): Recommend
'backup-by-copying' for files on file-hosting services.  (Bug#69930)

20 months ago* Fix missing `comp-files-queue' update (bug#63415).
Andrea Corallo [Wed, 17 May 2023 13:28:46 +0000 (15:28 +0200)]
* Fix missing `comp-files-queue' update (bug#63415).

* lisp/emacs-lisp/comp.el (native--compile-async): Update
`comp-files-queue' for real.

20 months agoClarify description of format-spec truncation
Basil L. Contovounesios [Sun, 17 Mar 2024 12:04:32 +0000 (13:04 +0100)]
Clarify description of format-spec truncation

* doc/lispref/strings.texi (Custom Format Strings): Mention that
precision specifier affects both '<' and '>' truncation (bug#69822).
* lisp/format-spec.el (format-spec, format-spec--do-flags): Use same
terminology as 'format', especially when referring to its behavior.

20 months agoMore accurate documentation of 'rmail-mail-new-frame'
Eli Zaretskii [Thu, 21 Mar 2024 08:55:59 +0000 (10:55 +0200)]
More accurate documentation of 'rmail-mail-new-frame'

* doc/emacs/rmail.texi (Rmail Reply): More accurate documentation
of the effects of 'rmail-mail-new-frame'.  (Bug#69738)

20 months ago; * lisp/calendar/calendar.el: Remove extra space.
Juri Linkov [Thu, 21 Mar 2024 07:49:34 +0000 (09:49 +0200)]
; * lisp/calendar/calendar.el: Remove extra space.

20 months agoFix documentation of M-SPC in user manual
Eli Zaretskii [Wed, 20 Mar 2024 12:45:24 +0000 (14:45 +0200)]
Fix documentation of M-SPC in user manual

* doc/emacs/killing.texi (Deletion): Fix documentation of
'cycle-spacing'.  (Bug#69905)

20 months ago; * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix stray diff marker.
Robert Pluim [Wed, 20 Mar 2024 08:33:37 +0000 (09:33 +0100)]
; * lisp/emacs-lisp/cl-macs.el (cl-labels): Fix stray diff marker.

21 months ago* admin/notes/bugtracker: Minor copyedit.
Michael Albinus [Sun, 17 Mar 2024 12:25:35 +0000 (13:25 +0100)]
* admin/notes/bugtracker: Minor copyedit.

21 months ago; * admin/notes/bugtracker: Minor copyedit.
Eli Zaretskii [Sun, 17 Mar 2024 08:47:41 +0000 (10:47 +0200)]
; * admin/notes/bugtracker: Minor copyedit.

21 months agoTweak regexp for object initializers in csharp-mode (bug#69571)
Theodor Thornhill [Sat, 16 Mar 2024 19:28:10 +0000 (20:28 +0100)]
Tweak regexp for object initializers in csharp-mode (bug#69571)

* lisp/progmodes/csharp-mode.el (csharp-guess-basic-syntax): Add
handling to not consider ended statements as object init openers.
* test/lisp/progmodes/csharp-mode-resources/indent.erts: New test
resources.
* test/lisp/progmodes/csharp-mode-tests.el: Add test for this particular
issue.

21 months ago`term-mode': mention the keymap to add keybindings to
Konstantin Kharlamov [Sat, 16 Mar 2024 10:24:34 +0000 (13:24 +0300)]
`term-mode': mention the keymap to add keybindings to

A user typically expects a keymap for mode `foo' to be called
`foo-mode-map'.  term-mode has `term-mode-map' too, but for
user-defined bindings to have effect they have to be put to
`term-raw-map' instead.  So let's mention that.
* lisp/term.el (term-mode) (term-mode-map) (term-raw-map): Mention
the keymaps to add keybindings to for `term-mode'.  (Bug#69786)

21 months agoFix 'shortdoc-copy-function-as-kill'
Eli Zaretskii [Sat, 16 Mar 2024 11:07:52 +0000 (13:07 +0200)]
Fix 'shortdoc-copy-function-as-kill'

* lisp/emacs-lisp/shortdoc.el (shortdoc-copy-function-as-kill):
Fix handling of functions with no arguments.  (Bug#69720)

21 months agoImprove documentation of 'edebug-print-*' variables
Eli Zaretskii [Sat, 16 Mar 2024 10:42:16 +0000 (12:42 +0200)]
Improve documentation of 'edebug-print-*' variables

* lisp/emacs-lisp/edebug.el (edebug-print-length)
(edebug-print-level): Fix doc strings and customization labels.
Suggested by Matt Trzcinski <matt@excalamus.com>.  (Bug#69745)

21 months ago; Fix 'usage:' keyword in Ffile_name_concat doc.
Basil L. Contovounesios [Fri, 15 Mar 2024 23:19:43 +0000 (00:19 +0100)]
; Fix 'usage:' keyword in Ffile_name_concat doc.

21 months ago; * CONTRIBUTE: Ask not to use non-ASCII unless necessary.
Eli Zaretskii [Fri, 15 Mar 2024 11:29:31 +0000 (13:29 +0200)]
; * CONTRIBUTE: Ask not to use non-ASCII unless necessary.

21 months ago; * src/lread.c (maybe_swap_for_eln): Clarify warning message.
Eli Zaretskii [Thu, 14 Mar 2024 19:08:36 +0000 (21:08 +0200)]
; * src/lread.c (maybe_swap_for_eln): Clarify warning message.

21 months ago; Fix bibtex-biblatex-field-alist docstring typo.
Basil L. Contovounesios [Tue, 12 Mar 2024 21:47:45 +0000 (22:47 +0100)]
; Fix bibtex-biblatex-field-alist docstring typo.

21 months ago; * doc/lispref/control.texi (Conditionals): Add missing paren (bug#69742).
Arash Esbati [Tue, 12 Mar 2024 11:53:32 +0000 (12:53 +0100)]
; * doc/lispref/control.texi (Conditionals): Add missing paren (bug#69742).

21 months agoFix 'with-sqlite-transaction'
F. Jason Park [Mon, 11 Mar 2024 03:13:42 +0000 (20:13 -0700)]
Fix 'with-sqlite-transaction'

* lisp/sqlite.el (with-sqlite-transaction): Tuck misplaced body
of else form back into feature-test control structure whence it
escaped.  (Bug#67142)

* test/lisp/sqlite-tests.el: New file to accompany
test/src/sqlite-tests.el.

21 months ago; * doc/emacs/files.texi (Image Mode): Fix typo (bug#69671).
Eli Zaretskii [Sat, 9 Mar 2024 09:40:27 +0000 (11:40 +0200)]
; * doc/emacs/files.texi (Image Mode): Fix typo (bug#69671).

21 months ago; Improve documentation of 'minibuffer-allow-text-properties'
Eli Zaretskii [Fri, 8 Mar 2024 13:06:37 +0000 (15:06 +0200)]
; Improve documentation of 'minibuffer-allow-text-properties'

* doc/lispref/minibuf.texi (Text from Minibuffer): Document the
default value of 'minibuffer-allow-text-properties'.

21 months ago; Improve documentation of image properties
Eli Zaretskii [Thu, 7 Mar 2024 08:11:44 +0000 (10:11 +0200)]
; Improve documentation of image properties

* lisp/image.el (create-image, image-property): Add to do strings
link to description of image properties in ELisp manual.

* doc/lispref/display.texi (Defining Images): Fix example and add
cross-reference to where image properties are described.
(Image Descriptors): Add index entry.

21 months ago; * src/composite.c (composition_compute_stop_pos): Add comment.
Eli Zaretskii [Mon, 4 Mar 2024 15:09:29 +0000 (17:09 +0200)]
; * src/composite.c (composition_compute_stop_pos): Add comment.

21 months ago; * src/buffer.c (Fmake_indirect_buffer): Doc fix.
Eli Zaretskii [Fri, 1 Mar 2024 08:32:32 +0000 (10:32 +0200)]
; * src/buffer.c (Fmake_indirect_buffer): Doc fix.

21 months agoFix typos in vnvni.el.
Dan Jacobson [Fri, 1 Mar 2024 04:44:44 +0000 (12:44 +0800)]
Fix typos in vnvni.el.

* lisp/leim/quail/vnvni.el ("vietnamese-vni"): Fix typos.  (Bug#69485)

Copyright-paperwork-exempt: yes

21 months ago; * lisp/vc/vc.el (vc-clone): Fix wording of doc string.
Eli Zaretskii [Tue, 27 Feb 2024 13:11:58 +0000 (15:11 +0200)]
; * lisp/vc/vc.el (vc-clone): Fix wording of doc string.

21 months agoAvoid assertion violations in bidi.c
Eli Zaretskii [Tue, 27 Feb 2024 11:12:15 +0000 (13:12 +0200)]
Avoid assertion violations in bidi.c

* src/bidi.c (bidi_resolve_brackets): Move assertion about
'resolved_level' to where it belongs.  This avoids unnecessary
aborts when the character is not a bracket type and doesn't need
BPA resolution.  (Bug#69421)

21 months agoFix Breaks/Replaces by prepending missing epoch
Sean Whitton [Tue, 27 Feb 2024 01:27:19 +0000 (09:27 +0800)]
Fix Breaks/Replaces by prepending missing epoch

21 months agoUpdate debian/changelog for 29.2+1-1 release
Sean Whitton [Mon, 26 Feb 2024 08:57:05 +0000 (16:57 +0800)]
Update debian/changelog for 29.2+1-1 release

21 months agodebian/control: Add Breaks/Replaces for emacsclient package move
Sean Whitton [Mon, 26 Feb 2024 05:06:29 +0000 (13:06 +0800)]
debian/control: Add Breaks/Replaces for emacsclient package move

21 months agod/copyright: Updates for Emacs 29.2
Sean Whitton [Mon, 26 Feb 2024 04:25:09 +0000 (12:25 +0800)]
d/copyright: Updates for Emacs 29.2

21 months agoMerge upstream version 29.2
Sean Whitton [Mon, 26 Feb 2024 04:15:08 +0000 (12:15 +0800)]
Merge upstream version 29.2

21 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

21 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

21 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

21 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

21 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

21 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)

21 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

21 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

21 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.

21 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.

21 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>
21 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.

21 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

21 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>

21 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.

21 months agorecord new upstream branch
Sean Whitton [Mon, 26 Feb 2024 04:10:59 +0000 (12:10 +0800)]
record new upstream branch

21 months agoMerge upstream version 29.2
Sean Whitton [Mon, 26 Feb 2024 04:06:42 +0000 (12:06 +0800)]
Merge upstream version 29.2

21 months agoAdjust debian/changelog for UNRELEASED 29.2+1-1 development
Sean Whitton [Mon, 26 Feb 2024 03:40:22 +0000 (11:40 +0800)]
Adjust debian/changelog for UNRELEASED 29.2+1-1 development

21 months ago* lisp/files.el (hack-one-local-variable): Use `set-auto-mode-0`
Stefan Monnier [Sun, 25 Feb 2024 16:35:44 +0000 (11:35 -0500)]
* lisp/files.el (hack-one-local-variable): Use `set-auto-mode-0`

This fixes bug#69373.

21 months agoFix infinite recursion in gdb-mi.el
Eli Zaretskii [Sat, 24 Feb 2024 13:12:57 +0000 (15:12 +0200)]
Fix infinite recursion in gdb-mi.el

* lisp/progmodes/gdb-mi.el: (gdb-clear-partial-output)
(gdb-clear-inferior-io):  Set inhibit-read-only, to avoid
signaling errors in process filter.  (Bug#69327)

21 months agoFix 'help-quick-toggle'
Eli Zaretskii [Sat, 24 Feb 2024 09:59:30 +0000 (11:59 +0200)]
Fix 'help-quick-toggle'

* lisp/help.el (help-quick-sections): Fix "kill-region" command.
Add a doc string.  (Bug#69345)

21 months ago; * admin/authors.el (authors-aliases): Fix last change.
Eli Zaretskii [Sat, 24 Feb 2024 07:32:06 +0000 (09:32 +0200)]
; * admin/authors.el (authors-aliases): Fix last change.

21 months ago; Normalize Morgan Smith's attributions.
Morgan Smith [Sat, 24 Feb 2024 00:03:13 +0000 (19:03 -0500)]
; Normalize Morgan Smith's attributions.