Merge branch 'master' into feature/igc

This commit is contained in:
Helmut Eller 2026-01-02 21:01:55 +01:00
commit 5e04f62085
3581 changed files with 24313 additions and 15277 deletions

2
.gitattributes vendored
View file

@ -1,6 +1,6 @@
# Attributes of Emacs files in the Git repository.
# Copyright 2015-2025 Free Software Foundation, Inc.
# Copyright 2015-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

2
.gitignore vendored
View file

@ -1,6 +1,6 @@
# Files that Git should ignore in the Emacs source directory.
# Copyright 2009-2025 Free Software Foundation, Inc.
# Copyright 2009-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,4 +1,4 @@
# Copyright (C) 2021-2025 Free Software Foundation, Inc.
# Copyright (C) 2021-2026 Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#

View file

@ -1,4 +1,4 @@
Copyright (C) 2006-2025 Free Software Foundation, Inc.
Copyright (C) 2006-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
* How developers contribute to GNU Emacs
@ -136,9 +136,10 @@ command to index them; for instance, use @vindex for variables and
https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Predefined-Indices.html
or run the shell command 'info "(texinfo)Predefined Indices"'.
We prefer American English both in doc strings and in the manuals.
That includes both spelling (e.g., "behavior", not "behaviour") and
the convention of leaving 2 spaces between sentences.
We prefer American English in doc strings, manuals, NEWS entries, text
of messages, and identifier names. That includes both spelling (e.g.,
"behavior", not "behaviour") and the convention of leaving 2 spaces
between sentences.
For more specific tips on Emacs's doc style, see
https://www.gnu.org/software/emacs/manual/html_node/elisp/Documentation-Tips.html

View file

@ -14700,7 +14700,7 @@
;; coding: utf-8
;; End:
Copyright (C) 1993-1999, 2001-2025 Free Software Foundation, Inc.
Copyright (C) 1993-1999, 2001-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -35788,7 +35788,7 @@ See ChangeLog.1 for earlier changes.
;; coding: utf-8
;; End:
Copyright (C) 2015-2025 Free Software Foundation, Inc.
Copyright (C) 2015-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -5864,7 +5864,7 @@
* doc/lispref/symbols.texi (Shorthand, Exceptions): New
subsubsection.
* src/lread.c (read1): Exempt punctionation-only symbols from
* src/lread.c (read1): Exempt punctuation-only symbols from
oblookup_considering_shorthand.
* test/lisp/progmodes/elisp-mode-tests.el
@ -74080,7 +74080,7 @@
* lisp/emacs-lisp/bytecomp.el (byte-compile-associative): Rename to...
(byte-compile-variadic-numeric): ...this function and simplify,
fixing incorrect comments. The 3-arg strength reduction is now
always done in the optimisers and is no longer needed here.
always done in the optimizers and is no longer needed here.
(byte-compile-min-max): New function.
(byte-compile-minus): Simplify, remove incorrect comment, and use
byte-compile-variadic-numeric.
@ -115589,7 +115589,7 @@
* lisp/progmodes/hideif.el (hide-ifdef-mode-prefix-key): Make into
a defcustom since it seems like this is something that should be
user-customisable (bug#8922).
user-customizable (bug#8922).
2019-08-21 Lars Ingebrigtsen <larsi@gnus.org>
@ -131651,7 +131651,7 @@
cache.
(c-parse-ps-state-below): Use the new function c-state-semi-trim-cache.
(c-before-change-check-<>-operators): Check simply for < or > in the
neighbourhood before doing more expensive processing.
neighborhood before doing more expensive processing.
(c-maybe-re-mark-raw-string): Give a backward search limit to an operation
which was needlessly lacking one.
@ -237355,7 +237355,7 @@ See ChangeLog.2 for earlier changes.
;; coding: utf-8
;; End:
Copyright (C) 2015-2025 Free Software Foundation, Inc.
Copyright (C) 2015-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -4161,7 +4161,7 @@
2024-07-15 Michael Albinus <michael.albinus@gmx.de>
Adapt tressitter tests on EMBA
Adapt treesitter tests on EMBA
* test/infra/Makefile.in (TREE-SITTER-FILES): Simplify.
@ -31670,7 +31670,7 @@
Slight funcall_subr optimization
* src/eval.c (funcall_subr): Help the compiler by reducing aliasing
problems, and compensate for a missed-optimisation bug in LLVM where
problems, and compensate for a missed-optimization bug in LLVM where
switches sometimes forget to use variable range information (reported
in https://github.com/llvm/llvm-project/issues/76085).
@ -41085,7 +41085,7 @@
2023-09-27 Wilhelm H Kirschbaum <wkirschbaum@gmail.com>
Fix treesit-langauge-at-point for elixir-ts-mode.
Fix treesit-language-at-point for elixir-ts-mode.
The treesit-language-at-point function is only suppose to query the
host language.
@ -63312,7 +63312,7 @@
Use memcpy for loading unaligned words on platforms where this can be
done efficiently. This guards against problems arising from future
compiler autovectorisation improvements that might cause instructions
compiler autovectorization improvements that might cause instructions
that require aligned addresses to be emitted, and should also work
with an address sanitizer enabled.
@ -75655,7 +75655,7 @@
but never did so because of a coding mistake (eq instead of equal),
found by a recently added warning. They weren't actually needed
thanks to the optimiser's fixpoint iteration: we eventually get the
thanks to the optimizer's fixpoint iteration: we eventually get the
same results through
(if X nil t) -> (if (not X) t nil) -> (if (not X) t) -> (not X)
@ -75904,7 +75904,7 @@
but never did so because of a coding mistake (eq instead of equal),
found by a recently added warning. They weren't actually needed
thanks to the optimiser's fixpoint iteration: we eventually get the
thanks to the optimizer's fixpoint iteration: we eventually get the
same results through
(if X nil t) -> (if (not X) t nil) -> (if (not X) t) -> (not X)
@ -98166,7 +98166,7 @@
but never did so because of a coding mistake (eq instead of equal),
found by a recently added warning. They weren't actually needed
thanks to the optimiser's fixpoint iteration: we eventually get the
thanks to the optimizer's fixpoint iteration: we eventually get the
same results through
(if X nil t) -> (if (not X) t nil) -> (if (not X) t) -> (not X)
@ -99787,7 +99787,7 @@
Replace `|` with `||` to explicitly introduce sequence points since
the variables, `length` and `nskip`, are mutated more than once.
The `|` was just a weak attempt at micro-optimisation in any case;
The `|` was just a weak attempt at micro-optimization in any case;
sorry about that.
2022-12-05 Yuan Fu <casouri@gmail.com>
@ -105719,7 +105719,7 @@
* src/treesit.c (treesit_find_override_name)
(treesit_load_language_push_for_each_suffix, treesit_load_language)
(Ftreesit_langauge_available_p, treesit_record_change)
(Ftreesit_language_available_p, treesit_record_change)
(make_treesit_parser, make_treesit_node, make_treesit_query)
(Ftreesit_parser_create, Ftreesit_parser_delete, Ftreesit_parser_list)
(treesit_check_range_argument, Ftreesit_parser_included_ranges)
@ -110037,7 +110037,7 @@
Better signal data for treesit-load-language-error
* src/treesit.c (ts_load_language): Better formatted signal data,
(Ftreesit_langauge_available_p): Optionally return the signal data if
(Ftreesit_language_available_p): Optionally return the signal data if
language not available.
* doc/lispref/parsing.texi: Document the signal data in detail.
@ -110153,7 +110153,7 @@
* src/treesit.h (struct Lisp_TS_Query): Add two new field.
* src/treesit.c (ts_load_language): Return signal symbol and data
rather than signaling itself.
(Ftreesit_langauge_available_p)
(Ftreesit_language_available_p)
(Ftreesit_parser_create): Update usage of ts_load_language
(make_ts_query): Now returns a lisp object.
@ -140625,7 +140625,7 @@
Fix drag-and-drop of files with multibyte filenames
* lisp/dired.el (dired-mouse-drag): Fix re-signalling of errors.
* lisp/dired.el (dired-mouse-drag): Fix re-signaling of errors.
* lisp/select.el (xselect-convert-to-filename):
(xselect-convert-to-text-uri-list):
@ -154980,7 +154980,7 @@
* doc/misc/ses.texi (The Basics): Document that ses-jump may be
customized.
(Customizing @acronym{SES}): Document new customisations for ses-jump.
(Customizing @acronym{SES}): Document new customizations for ses-jump.
* lisp/ses.el (ses-jump-cell-name-function)
(ses-jump-prefix-function): New defcustoms.
@ -157179,7 +157179,7 @@
Make eshell link faces more distinctive on 8-color displays
* lisp/eshell/em-ls.el (eshell-ls-directory):
(eshell-ls-symlink): Make the faces be distinctive on 8-colour
(eshell-ls-symlink): Make the faces be distinctive on 8-color
displays (bug#43615).
2022-03-22 dickmao <dick.r.chiang@gmail.com>
@ -167362,7 +167362,7 @@
2022-01-24 Mattias Engdegård <mattiase@acm.org>
Byte code arity check micro-optimisation
Byte code arity check micro-optimization
* src/bytecode.c (exec_byte_code): Slight simplification.
@ -185159,7 +185159,7 @@
(gen-clean): Delete it.
* admin/unidata/README (https): Note the source for the Unicode
file that has emoji categorisations.
file that has emoji categorizations.
* admin/unidata/emoji-test.txt: Import another Unicode file.
@ -193726,7 +193726,7 @@
use-package--foo--pre-config-hook
use-package--foo--post-config-hook
This should make config customisations more predictable (for example, spacemacs
This should make config customizations more predictable (for example, spacemacs
uses these hooks extensively to allow 'layers' to be customized).
I got rid of the "special" default value for :config, because it doesn't seem to
@ -199850,7 +199850,7 @@
Instead of testing the length of each form passed to :custom-face,
the sanity check would test the number of forms passed to :custom-face,
causing it to fail when more than 2 face customisations are used.
causing it to fail when more than 2 face customizations are used.
Fixes https://github.com/jwiegley/use-package/issues/600.
@ -203628,7 +203628,7 @@ See ChangeLog.3 for earlier changes.
;; coding: utf-8
;; End:
Copyright (C) 2022-2025 Free Software Foundation, Inc.
Copyright (C) 2022-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -1467,7 +1467,7 @@ See ChangeLog.4 for earlier changes.
;; coding: utf-8
;; End:
Copyright (C) 2025 Free Software Foundation, Inc.
Copyright (C) 2025-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -7261,7 +7261,7 @@ and those made after the Android port was installed.
;; coding: utf-8
;; End:
Copyright (C) 2023-2025 Free Software Foundation, Inc.
Copyright (C) 2023-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
# Build Emacs from a fresh tarball or version-control checkout.
# Copyright (C) 2011-2025 Free Software Foundation, Inc.
# Copyright (C) 2011-2026 Free Software Foundation, Inc.
#
# This file is part of GNU Emacs.
#

View file

@ -1,5 +1,5 @@
GNU Emacs Installation Guide
Copyright (C) 1992, 1994, 1996-1997, 2000-2025 Free Software Foundation,
Copyright (C) 1992, 1994, 1996-1997, 2000-2026 Free Software Foundation,
Inc.
See the end of the file for license conditions.

View file

@ -107,7 +107,7 @@ You can display that file in Emacs with 'C-h C-d', or just read it with
any program that can display text files, such as Less.
Copyright (C) 2002-2025 Free Software Foundation, Inc.
Copyright (C) 2002-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
### @configure_input@
# Copyright (C) 1992-2025 Free Software Foundation, Inc.
# Copyright (C) 1992-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

2
README
View file

@ -1,4 +1,4 @@
Copyright (C) 2001-2025 Free Software Foundation, Inc.
Copyright (C) 2001-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.

View file

@ -2577,7 +2577,7 @@
;; coding: utf-8
;; End:
Copyright (C) 2001-2025 Free Software Foundation, Inc.
Copyright (C) 2001-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -10,6 +10,7 @@ The (co-)maintainers of Emacs are:
Eli Zaretskii <eliz@gnu.org>
Stefan Kangas <stefankangas@gmail.com>
Andrea Corallo <acorallo@gnu.org>
Sean Whitton <spwhitton@spwhitton.name>
Richard Stallman <rms@gnu.org>
(Richard Stallman is one of the Emacs maintainers,
@ -252,8 +253,12 @@ Sean Whitton
test/lisp/vc/*
Stephane Marks
lisp/system-taskbar.el
lisp/emacs-lisp/vtable.el
Elías Gabriel Pérez
lisp/progmodes/hideshow.el
==============================================================================
2. Areas that someone is willing to maintain, although he would not
necessarily mind if someone else was the official maintainer.

View file

@ -1,4 +1,4 @@
Copyright (C) 2001-2025 Free Software Foundation, Inc.
Copyright (C) 2001-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.

View file

@ -1,6 +1,6 @@
;;; admin.el --- utilities for Emacs administration -*- lexical-binding: t; -*-
;; Copyright (C) 2001-2025 Free Software Foundation, Inc.
;; Copyright (C) 2001-2026 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
/* Allocate X colors. Used for testing with dense colormaps.
Copyright (C) 2001-2025 Free Software Foundation, Inc.
Copyright (C) 2001-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
;;; authors.el --- utility for maintaining Emacs's AUTHORS file -*- lexical-binding: t; -*-
;; Copyright (C) 2000-2025 Free Software Foundation, Inc.
;; Copyright (C) 2000-2026 Free Software Foundation, Inc.
;; Author: Gerd Moellmann <gerd@gnu.org>
;; Maintainer: emacs-devel@gnu.org
@ -251,6 +251,7 @@ files.")
("Rodney J. Whitby" "Rod Whitby")
("Roland B. Roberts" "Roland B Roberts" "Roland Roberts")
("Ron Schnell" "Ronnie Schnell")
("Rudolf Adamkovič" "rudolf@adamkovic\\.org" "salutis@me\\.com")
("Rudolf Schlatte" "Rudi Schlatte")
("Rui-Tao Dong" "Rui-Tao Dong ~{6-HpLN~}")
("Ryan Thompson" "Ryan .*rct@thompsonclan")

View file

@ -1,7 +1,7 @@
#!/bin/bash
### automerge - automatically merge the Emacs release branch to master
## Copyright (C) 2018-2025 Free Software Foundation, Inc.
## Copyright (C) 2018-2026 Free Software Foundation, Inc.
## Author: Glenn Morris <rgm@gnu.org>
## Maintainer: Stefan Kangas <stefankangas@gmail.com>

View file

@ -1,7 +1,7 @@
#! /usr/bin/perl
# Build Emacs in several different configurations.
# Copyright (C) 2001-2025 Free Software Foundation, Inc.
# Copyright (C) 2001-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
### @configure_input@
# Copyright (C) 2015-2025 Free Software Foundation, Inc.
# Copyright (C) 2015-2026 Free Software Foundation, Inc.
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
# National Institute of Advanced Industrial Science and Technology (AIST)

View file

@ -1,6 +1,6 @@
#!/bin/sh
# Copyright (C) 2015-2025 Free Software Foundation, Inc.
# Copyright (C) 2015-2026 Free Software Foundation, Inc.
# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
# National Institute of Advanced Industrial Science and Technology (AIST)

View file

@ -1,4 +1,4 @@
Copyright (C) 2009-2025 Free Software Foundation, Inc.
Copyright (C) 2009-2026 Free Software Foundation, Inc.
Copyright (C) 2009, 2010, 2011
National Institute of Advanced Industrial Science and Technology (AIST)
Registration Number H13PRO009

View file

@ -1,7 +1,7 @@
#!/bin/bash
### check-man-pages - check man pages for errors
## Copyright (C) 2022-2025 Free Software Foundation, Inc.
## Copyright (C) 2022-2026 Free Software Foundation, Inc.
## Author: Stefan Kangas <stefankangas@gmail.com>

View file

@ -1,6 +1,6 @@
;;; cus-test.el --- tests for custom types and load problems -*- lexical-binding: t; -*-
;; Copyright (C) 1998, 2000, 2002-2025 Free Software Foundation, Inc.
;; Copyright (C) 1998, 2000, 2002-2026 Free Software Foundation, Inc.
;; Author: Markus Rost <rost@math.uni-bielefeld.de>
;; Created: 13 Sep 1998

View file

@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (C) 2001-2025 Free Software Foundation, Inc.
# Copyright (C) 2001-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,7 +1,7 @@
#!/bin/bash
### emacs-shell-lib - shared code for Emacs shell scripts
## Copyright (C) 2022-2025 Free Software Foundation, Inc.
## Copyright (C) 2022-2026 Free Software Foundation, Inc.
## Author: Stefan Kangas <stefankangas@gmail.com>

View file

@ -1,6 +1,6 @@
#!/bin/bash
# Copyright (C) 2022-2025 Free Software Foundation, Inc.
# Copyright (C) 2022-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
;;; find-gc.el --- detect functions that call the garbage collector -*- lexical-binding: t; -*-
;; Copyright (C) 1992, 2001-2025 Free Software Foundation, Inc.
;; Copyright (C) 1992, 2001-2026 Free Software Foundation, Inc.
;; Maintainer: emacs-devel@gnu.org

View file

@ -6,7 +6,7 @@
### default options, on a GNU/Linux computer and with GCC; see below),
### are skipped.
## Copyright (C) 2022-2025 Free Software Foundation, Inc.
## Copyright (C) 2022-2026 Free Software Foundation, Inc.
## This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
;;; gitmerge.el --- help merge one Emacs branch into another -*- lexical-binding: t; -*-
;; Copyright (C) 2010-2025 Free Software Foundation, Inc.
;; Copyright (C) 2010-2026 Free Software Foundation, Inc.
;; Authors: David Engster <deng@randomsample.de>
;; Stefan Monnier <monnier@iro.umontreal.ca>

View file

@ -1,6 +1,6 @@
### @configure_input@
## Copyright (C) 2013-2025 Free Software Foundation, Inc.
## Copyright (C) 2013-2026 Free Software Foundation, Inc.
## This file is part of GNU Emacs.

View file

@ -1,5 +1,5 @@
;;; c.by -- LL grammar for C/C++ language specification
;; Copyright (C) 1999-2025 Free Software Foundation, Inc.
;; Copyright (C) 1999-2026 Free Software Foundation, Inc.
;;
;; Author: Eric M. Ludlam <zappo@gnu.org>
;; David Ponce <david@dponce.com>

View file

@ -1,6 +1,6 @@
;;; semantic-grammar.wy -- LALR grammar of Semantic input grammars
;;
;; Copyright (C) 2002-2025 Free Software Foundation, Inc.
;; Copyright (C) 2002-2026 Free Software Foundation, Inc.
;;
;; Author: David Ponce <david@dponce.com>
;; Created: 26 Aug 2002

View file

@ -1,6 +1,6 @@
;;; java-tags.wy -- Semantic LALR grammar for Java
;; Copyright (C) 2002-2025 Free Software Foundation, Inc.
;; Copyright (C) 2002-2026 Free Software Foundation, Inc.
;;
;; Author: David Ponce <david@dponce.com>
;; Created: 26 Aug 2002

View file

@ -1,6 +1,6 @@
;;; javascript-jv.wy -- LALR grammar for Javascript
;; Copyright (C) 2005-2025 Free Software Foundation, Inc.
;; Copyright (C) 2005-2026 Free Software Foundation, Inc.
;; Copyright (C) 1998-2011 Ecma International.
;; Author: Joakim Verona

View file

@ -1,6 +1,6 @@
;;; make.by -- BY notation for Makefiles.
;; Copyright (C) 1999-2025 Free Software Foundation, Inc.
;; Copyright (C) 1999-2026 Free Software Foundation, Inc.
;;
;; Author: Eric M. Ludlam <zappo@gnu.org>
;; David Ponce <david@dponce.com>

View file

@ -1,6 +1,6 @@
;;; python.wy -- LALR grammar for Python
;; Copyright (C) 2002-2025 Free Software Foundation, Inc.
;; Copyright (C) 2002-2026 Free Software Foundation, Inc.
;; Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
;; 2009, 2010 Python Software Foundation; All Rights Reserved

View file

@ -1,6 +1,6 @@
;;; scheme.by -- Scheme BNF language specification
;; Copyright (C) 2001-2025 Free Software Foundation, Inc.
;; Copyright (C) 2001-2026 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
;;; srecode-template.wy --- Semantic Recoder Template parser
;; Copyright (C) 2005-2025 Free Software Foundation, Inc.
;; Copyright (C) 2005-2026 Free Software Foundation, Inc.
;; Author: Eric M. Ludlam <zappo@gnu.org>
;; Keywords: syntax

View file

@ -1,6 +1,6 @@
;;; last-chance.el --- dangling deterrence -*- lexical-binding: t; -*-
;; Copyright (C) 2016-2025 Free Software Foundation, Inc.
;; Copyright (C) 2016-2026 Free Software Foundation, Inc.
;; Author: Thien-Thi Nguyen <ttn@gnu.org>
;; Maintainer: emacs-devel@gnu.org

View file

@ -2,7 +2,7 @@
# Build Emacs with various options for profiling, debugging,
# with and without warnings enabled etc.
# Copyright (C) 2001-2025 Free Software Foundation, Inc.
# Copyright (C) 2001-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,7 +1,7 @@
#!/bin/bash
### make-manuals - create the Emacs manuals to upload to the gnu.org website
## Copyright 2018-2025 Free Software Foundation, Inc.
## Copyright 2018-2026 Free Software Foundation, Inc.
## Author: Glenn Morris <rgm@gnu.org>
## Maintainer: emacs-devel@gnu.org

View file

@ -4,7 +4,7 @@
#
# admin/merge-gnulib
# Copyright 2012-2025 Free Software Foundation, Inc.
# Copyright 2012-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.
@ -61,7 +61,7 @@ AVOIDED_MODULES='
localcharset locale-h localename-unsafe-limited lock
mbrtowc mbsinit memchr mkdir msvc-inval msvc-nothrow nl_langinfo
openat-die opendir pthread-h raise
save-cwd select setenv sigprocmask stat std-gnu11 stdarg-h
save-cwd select setenv sigprocmask stat std-gnu11 stdarg-h strncpy
threadlib tzset unsetenv utime utime-h
wchar-h wcrtomb wctype wctype-h
'

View file

@ -4,7 +4,7 @@
#
# admin/merge-pkg-config
# Copyright 2014-2025 Free Software Foundation, Inc.
# Copyright 2014-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,4 +1,4 @@
Copyright (C) 2007-2025 Free Software Foundation, Inc.
Copyright (C) 2007-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
@ -7,7 +7,7 @@ NOTES ON COPYRIGHTS AND LICENSES
Some terminology:
A "copyright notice" consists of one or a few lines of this format:
"Copyright (C) 2007-2025 Free Software Foundation, Inc."
"Copyright (C) 2007-2026 Free Software Foundation, Inc."
A "license notice" is a statement of permissions, and is usually much
longer, eg the text "GNU Emacs is free software...".

View file

@ -1,6 +1,6 @@
-*- mode: outline; coding: utf-8 -*-
Copyright (C) 2019-2025 Free Software Foundation, Inc.
Copyright (C) 2019-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
NOTES FOR EMACS CONTINUOUS BUILD ON EMBA

View file

@ -1,6 +1,6 @@
-*- mode: outline; coding: utf-8 -*-
Copyright (C) 2013-2025 Free Software Foundation, Inc.
Copyright (C) 2013-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
NOTES FOR EMACS CONTINUOUS BUILD ON HYDRA

View file

@ -1,5 +1,5 @@
Installation instructions for Android
Copyright (C) 2023-2025 Free Software Foundation, Inc.
Copyright (C) 2023-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
@ -453,7 +453,7 @@ See http://docs.oracle.com/en/java/javase/19/docs/specs/jni/intro.html
for more details.
Java does not support `goto' statements, which it defines as reserved
identifiers but does not assign any syntatic role. If you are in a
identifiers but does not assign any syntactic role. If you are in a
position where you must exercise `goto' to exit a block prematurely, you
may define the block and exit it with a named `break' statement, thus:

View file

@ -1,6 +1,6 @@
-*- coding: utf-8; mode: text; -*-
Copyright (C) 2007-2025 Free Software Foundation, Inc.
Copyright (C) 2007-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
From README.multi-tty in the multi-tty branch.

View file

@ -54,8 +54,8 @@ We do not intend to "git merge" from scratch branches, so force-pushes
are tolerated, as well as commits with poor style, incomplete commit
messages, etc.
We do expect to "git merge" from feature branches so: no force push,
and no commits that don't have a proper commit message.
We do expect to "git merge" from feature branches so no force pushes.
Also cf. "Long-lived feature branches" in admin/notes/git-workflow.
Automatic tests are run for feature/* branches on EMBA.
See: https://emba.gnu.org/emacs/emacs/-/pipelines

View file

@ -1,6 +1,6 @@
-*-mode: text; coding: utf-8;-*-
Copyright (C) 2002-2025 Free Software Foundation, Inc.
Copyright (C) 2002-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
Importing a new Unicode Standard version into Emacs

View file

@ -1,6 +1,6 @@
-*- outline -*-
Copyright (C) 2013-2025 Free Software Foundation, Inc.
Copyright (C) 2013-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
NOTES FOR EMACS WWW PAGES

View file

@ -9,22 +9,18 @@ results for plausibility, then commit them.
A few known problems with the build-aux/update-copyright script:
. it doesn't update config.bat, msdos/depfiles.bat,
nt/configure.bat, etc/tutorials/TUTORIAL.cn,
etc/tutorials/TUTORIAL.el_GR, etc/tutorials/TUTORIAL.he,
because the "Copyright" statement begins in these files
after a prefix that is more than 5 characters long
. it doesn't update etc/tutorials/TUTORIAL.nl,
etc/tutorials/TUTORIAL.ro, and msdos/autogen/Makefile.in,
for some reason
. it doesn't update config.bat, msdos/depfiles.bat, nt/configure.bat,
etc/tutorials/TUTORIAL.el_GR, etc/tutorials/TUTORIAL.he, because the
"Copyright" statement begins in these files after a prefix that is
more than 5 characters long
. it doesn't update the second Copyright notice, the one that gets
output into PDF and PS, in etc/refcards/ru-refcard.tex
. it doesn't update the copyright year down in the output of
lib-src/rcs2log and msdos/sed2v2.inp
. it doesn't update etc/refcards/gnus-refcard.tex, doc/misc/org.org,
nt/emacs.rc.in, and nt/emacsclient.rc.in, because their Copyright
statements have a non-standard format
. several README files under etc/images/, and also
etc/refcards/README, msdos/README, and nt/icons/README aren't
updated either
. several README files under etc/images/ aren't updated either
. the copyright notices for headers generated by configure.ac and
exec/configure.ac are not updated as the files already bear notices
above them

View file

@ -1,4 +1,4 @@
Copyright (C) 2001-2025 Free Software Foundation, Inc.
Copyright (C) 2001-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
Emacs for Windows

View file

@ -1,4 +1,4 @@
Copyright (C) 2001-2025 Free Software Foundation, Inc.
Copyright (C) 2001-2026 Free Software Foundation, Inc.
See the end of the file for license conditions.
Precompiled Distributions of

View file

@ -1,6 +1,6 @@
#!/usr/bin/python3
## Copyright (C) 2017-2025 Free Software Foundation, Inc.
## Copyright (C) 2017-2026 Free Software Foundation, Inc.
## This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
#!/bin/bash
## Copyright (C) 2017-2025 Free Software Foundation, Inc.
## Copyright (C) 2017-2026 Free Software Foundation, Inc.
## This file is part of GNU Emacs.

View file

@ -1,7 +1,7 @@
#!/bin/sh
### quick-install-emacs --- do a halfway-decent job of installing emacs quickly
## Copyright (C) 2001-2025 Free Software Foundation, Inc.
## Copyright (C) 2001-2026 Free Software Foundation, Inc.
## Author: Miles Bader <miles@gnu.org>

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
### run-codespell - run codespell on Emacs
## Copyright (C) 2023-2025 Free Software Foundation, Inc.
## Copyright (C) 2023-2026 Free Software Foundation, Inc.
## Author: Stefan Kangas <stefankangas@gmail.com>

View file

@ -1,6 +1,6 @@
;;; syncdoc-type-hierarchy.el--- -*- lexical-binding: t -*-
;; Copyright (C) 2023-2025 Free Software Foundation, Inc.
;; Copyright (C) 2023-2026 Free Software Foundation, Inc.
;; Author: Andrea Corallo <acorallo@gnu.org>
;; Keywords: documentation

View file

@ -1,6 +1,6 @@
;;; treesit-admin.el --- Tree-sitter related admin scripts -*- lexical-binding: t; -*-
;; Copyright (C) 2024-2025 Free Software Foundation, Inc.
;; Copyright (C) 2024-2026 Free Software Foundation, Inc.
;; Maintainer: 付禹安 (Yuan Fu) <casouri@gmail.com>
;; Keywords: maint

View file

@ -1,6 +1,6 @@
### @configure_input@
# Copyright (C) 2012-2025 Free Software Foundation, Inc.
# Copyright (C) 2012-2026 Free Software Foundation, Inc.
# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011
# National Institute of Advanced Industrial Science and Technology (AIST)

View file

@ -1,6 +1,6 @@
#!/usr/bin/awk -f
## Copyright (C) 2015-2025 Free Software Foundation, Inc.
## Copyright (C) 2015-2026 Free Software Foundation, Inc.
## Author: Glenn Morris <rgm@gnu.org>
## Maintainer: emacs-devel@gnu.org

View file

@ -1,6 +1,6 @@
#!/usr/bin/awk -f
## Copyright (C) 2020, 2022-2025 Free Software Foundation, Inc.
## Copyright (C) 2020, 2022-2026 Free Software Foundation, Inc.
## Author: Robert Pluim <rpluim@gmail.com>

View file

@ -1,6 +1,6 @@
;;; unidata-gen.el --- Create files containing character property data -*- lexical-binding:t -*-
;; Copyright (C) 2008-2025 Free Software Foundation, Inc.
;; Copyright (C) 2008-2026 Free Software Foundation, Inc.
;; Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011
;; National Institute of Advanced Industrial Science and Technology (AIST)

View file

@ -1,6 +1,6 @@
;;; uvs.el --- utility for UVS (format 14) cmap subtables in OpenType fonts -*- lexical-binding:t -*-
;; Copyright (C) 2014-2025 Free Software Foundation, Inc.
;; Copyright (C) 2014-2026 Free Software Foundation, Inc.
;; Author: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>

View file

@ -7,7 +7,7 @@
# By default, this script uses the local-time calendar year.
# Set the UPDATE_COPYRIGHT_YEAR environment variable to override the default.
# Copyright 2013-2025 Free Software Foundation, Inc.
# Copyright 2013-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
### update_autogen - update some auto-generated files in the Emacs tree
## Copyright (C) 2011-2025 Free Software Foundation, Inc.
## Copyright (C) 2011-2026 Free Software Foundation, Inc.
## Author: Glenn Morris <rgm@gnu.org>
## Maintainer: Stefan Kangas <stefankangas@gmail.com>

View file

@ -2,7 +2,7 @@
### upload-manuals - upload the Emacs manuals to the gnu.org website
## Copyright 2018-2025 Free Software Foundation, Inc.
## Copyright 2018-2026 Free Software Foundation, Inc.
## Author: Glenn Morris <rgm@gnu.org>
## Maintainer: emacs-devel@gnu.org

View file

@ -1,7 +1,7 @@
#!/bin/sh
### autogen.sh - tool to help build Emacs from a repository checkout
## Copyright (C) 2011-2025 Free Software Foundation, Inc.
## Copyright (C) 2011-2026 Free Software Foundation, Inc.
## Author: Glenn Morris <rgm@gnu.org>
## Maintainer: emacs-devel@gnu.org

View file

@ -1,6 +1,6 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright 1992-2025 Free Software Foundation, Inc.
# Copyright 1992-2026 Free Software Foundation, Inc.
# shellcheck disable=SC2006,SC2268 # see below for rationale
@ -60,7 +60,7 @@ version="\
GNU config.guess ($timestamp)
Originally written by Per Bothner.
Copyright 1992-2025 Free Software Foundation, Inc.
Copyright 1992-2026 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."

View file

@ -1,6 +1,6 @@
#! /bin/sh
# Configuration validation subroutine script.
# Copyright 1992-2025 Free Software Foundation, Inc.
# Copyright 1992-2026 Free Software Foundation, Inc.
# shellcheck disable=SC2006,SC2268,SC2162 # see below for rationale
@ -76,7 +76,7 @@ Report bugs and patches to <config-patches@gnu.org>."
version="\
GNU config.sub ($timestamp)
Copyright 1992-2025 Free Software Foundation, Inc.
Copyright 1992-2026 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."

View file

@ -1,7 +1,7 @@
#!/bin/sh
# Check the format of GNU Emacs change log entries.
# Copyright 2014-2025 Free Software Foundation, Inc.
# Copyright 2014-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
# Check the file list of GNU Emacs change log entries for each commit SHA.
# Copyright 2023-2025 Free Software Foundation, Inc.
# Copyright 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,7 +1,7 @@
#!/bin/sh
# Check the file list of GNU Emacs change log entries after committing.
# Copyright 2023-2025 Free Software Foundation, Inc.
# Copyright 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,7 +1,7 @@
#!/bin/sh
# Check file names in git commits for GNU Emacs.
# Copyright 2014-2025 Free Software Foundation, Inc.
# Copyright 2014-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,7 +1,7 @@
#!/bin/sh
# Check the file list of GNU Emacs change log entries before pushing.
# Copyright 2023-2025 Free Software Foundation, Inc.
# Copyright 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,7 +1,7 @@
#!/bin/sh
# Check the format of GNU Emacs change log entries.
# Copyright 2019-2025 Free Software Foundation, Inc.
# Copyright 2019-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -3,7 +3,7 @@
# Convert git log output to ChangeLog format.
# Copyright (C) 2008-2025 Free Software Foundation, Inc.
# Copyright (C) 2008-2026 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

View file

@ -2,7 +2,7 @@
# Convert git log output to ChangeLog format for GNU Emacs.
# Copyright (C) 2014-2025 Free Software Foundation, Inc.
# Copyright (C) 2014-2026 Free Software Foundation, Inc.
# Author: Paul Eggert

View file

@ -2,7 +2,7 @@
### make-info-dir - create info/dir, for systems without install-info
## Copyright (C) 2013-2025 Free Software Foundation, Inc.
## Copyright (C) 2013-2026 Free Software Foundation, Inc.
## Author: Glenn Morris <rgm@gnu.org>
## Maintainer: emacs-devel@gnu.org

View file

@ -2,7 +2,7 @@
# Generate or update a C file containing an increasing counter
# variable.
#
# Copyright (C) 2023-2025 Free Software Foundation, Inc.
# Copyright (C) 2023-2026 Free Software Foundation, Inc.
#
# This file is part of GNU Emacs. GNU Emacs is free software: you can
# redistribute it and/or modify it under the terms of the GNU General

View file

@ -8,7 +8,7 @@ VERSION='2025-06-10 02:42'; # UTC
# If you change this file with Emacs, please let the write hook
# do its job. Otherwise, update this string manually.
# Copyright (C) 2002-2025 Free Software Foundation, Inc.
# Copyright (C) 2002-2026 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

View file

@ -2,7 +2,7 @@
# Convert a MSYS path list to Windows-native format.
# Status is zero if successful, nonzero otherwise.
# Copyright (C) 2013-2025 Free Software Foundation, Inc.
# Copyright (C) 2013-2026 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

View file

@ -1,5 +1,5 @@
# ndk-build-helper-1.mk -- Helper for ndk-build.m4.
# Copyright (C) 2023-2025 Free Software Foundation, Inc.
# Copyright (C) 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.
# GNU Emacs is free software: you can redistribute it and/or modify

View file

@ -1,5 +1,5 @@
# ndk-build-helper-2.mk -- Helper for ndk-build.m4.
# Copyright (C) 2023-2025 Free Software Foundation, Inc.
# Copyright (C) 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.
# GNU Emacs is free software: you can redistribute it and/or modify

View file

@ -1,5 +1,5 @@
# ndk-build-helper-3.mk -- Helper for ndk-build.m4.
# Copyright (C) 2023-2025 Free Software Foundation, Inc.
# Copyright (C) 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.
# GNU Emacs is free software: you can redistribute it and/or modify

View file

@ -1,4 +1,4 @@
# Copyright (C) 2023-2025 Free Software Foundation, Inc.
# Copyright (C) 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.
# GNU Emacs is free software: you can redistribute it and/or modify

View file

@ -1,5 +1,5 @@
# ndk-build-helper.mk -- Helper for ndk-build.m4.
# Copyright (C) 2023-2025 Free Software Foundation, Inc.
# Copyright (C) 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.
# GNU Emacs is free software: you can redistribute it and/or modify

View file

@ -3,7 +3,7 @@
# Update an FSF copyright year list to include the current year.
# Copyright (C) 2009-2025 Free Software Foundation, Inc.
# Copyright (C) 2009-2026 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@ -47,8 +47,8 @@
# Each file's copyright statement must be formatted correctly in
# order to be recognized. For example, each of these is fine:
#
# Copyright @copyright{} 1990-2005, 2007-2009, 2025 Free Software Foundation,
# Inc.
# Copyright @copyright{} 1990-2005, 2007-2009, 2025-2026 Free Software
# Foundation, Inc.
#
# # Copyright (C) 1990-2005, 2007-2009 Free Software
# # Foundation, Inc.

View file

@ -1,7 +1,7 @@
#!/bin/sh
# Write into $1/subdirs.el a list of subdirs of directory $1.
# Copyright (C) 1994-1995, 1997, 1999, 2001-2025 Free Software
# Copyright (C) 1994-1995, 1997, 1999, 2001-2026 Free Software
# Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,7 +1,7 @@
@echo off
rem ----------------------------------------------------------------------
rem Configuration script for MSDOS
rem Copyright (C) 1994-1999, 2001-2025 Free Software Foundation, Inc.
rem Copyright (C) 1994-1999, 2001-2026 Free Software Foundation, Inc.
rem This file is part of GNU Emacs.

View file

@ -4,7 +4,7 @@ dnl autoconf
dnl in the directory containing this script.
dnl If you changed any AC_DEFINES, also run autoheader.
dnl
dnl Copyright (C) 1994-1996, 1999-2025 Free Software Foundation, Inc.
dnl Copyright (C) 1994-1996, 1999-2026 Free Software Foundation, Inc.
dnl
dnl This file is part of GNU Emacs.
dnl
@ -1593,9 +1593,6 @@ fi
#### Choose a compiler.
dnl Don't bother to test for C89.
AC_DEFUN([_AC_PROG_CC_C89], [$2])
dnl Sets GCC=yes if using gcc.
AC_PROG_CC([gcc cc cl clang "$XCRUN gcc" "$XCRUN clang"])
@ -1604,11 +1601,6 @@ if test -n "$XCRUN"; then
test -n "$AR" && export AR
fi
dnl Emacs needs C99 or later.
gl_PROG_CC_C99
AC_PROG_CC_C_O
if test x$GCC = xyes; then
test "x$GCC_TEST_OPTIONS" != x && CC="$CC $GCC_TEST_OPTIONS"
fi
@ -1821,7 +1813,6 @@ AS_IF([test $gl_gcc_warnings = no],
nw="$nw -Wformat-overflow=2" # False alarms due to GCC bug 110333
nw="$nw -Woverlength-strings" # Not a problem these days
nw="$nw -Wvla" # Emacs uses <vla.h>.
nw="$nw -Wunused-const-variable=2" # lisp.h declares const objects.
nw="$nw -Winline" # OK to ignore 'inline'
nw="$nw -Wstrict-overflow" # OK to optimize assuming that
# signed overflow has undefined behavior
@ -2972,16 +2963,24 @@ if test "${HAVE_NS}" = yes; then
fi
AC_CACHE_CHECK(
[if the Objective C compiler defaults to C99],
[emacs_cv_objc_c99],
[AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([], [[for (int i = 0;;);]])],
[emacs_cv_objc_c99=yes],
[emacs_cv_objc_c99=no])])
[for C99-or-better flag for Objective C compiler],
[emacs_cv_objc_c99_or_better],
[save_OBJCFLAGS=$OBJCFLAGS
for emacs_cv_objc_c99_or_better in \
'none needed' -std=gnu23 -std=gnu17 -std=gnu11 -std=gnu99 ''
do
AS_CASE([$emacs_cv_objc_c99_or_better],
['none needed'], [],
[-*], [OBJCFLAGS="$save_OBJCFLAGS $emacs_cv_objc_c99_or_better"],
[continue])
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM([], [[for (int i = 0;;);]])],
[break])
done
OBJCFLAGS=$save_OBJCFLAGS])
AS_CASE([$emacs_cv_objc_c99_or_better],
[-*], [GNU_OBJC_CFLAGS="$GNU_OBJC_CFLAGS $emacs_cv_objc_c99_or_better"])
if test x$emacs_cv_objc_c99 = xno ; then
GNU_OBJC_CFLAGS="$GNU_OBJC_CFLAGS -std=c99"
fi
AC_LANG_POP([Objective C])
fi
@ -3261,9 +3260,19 @@ AC_CACHE_CHECK(
fi])
doug_lea_malloc=$emacs_cv_var_doug_lea_malloc
AC_CHECK_ALIGNOF([int])
AC_CHECK_ALIGNOF([long])
AC_CHECK_ALIGNOF([long long])
AC_CHECK_ALIGNOF([EMACS_INT],
[[#include <limits.h>
#include <stddef.h>
#include <stdint.h>
#if INTPTR_MAX <= INT_MAX && !defined WIDE_EMACS_INT
typedef int EMACS_INT;
#elif INTPTR_MAX <= LONG_MAX && !defined WIDE_EMACS_INT
typedef long int EMACS_INT;
#elif INTPTR_MAX <= LLONG_MAX
typedef long long int EMACS_INT;
#endif
]])
AC_CHECK_SIZEOF([long])
AC_CACHE_CHECK([for struct alignment],
@ -3282,46 +3291,50 @@ if test "$emacs_cv_struct_alignment" = yes; then
structure to an N-byte boundary.])
fi
dnl Work around a glitch if aclocal is invoked outside of autogen.sh.
dnl Such an invocation generates an aclocal.m4 that lacks m4/stdalign.m4.
dnl The following hack checks the otherwise-uninvolved macro gl_STDALIGN_H
dnl so that the hack itself does not generate a diagnostic.
m4_divert_push([KILL])
m4_ifdef([gl_STDALIGN_H], [], [m4_include([m4/stdalign.m4])])
m4_divert_pop([KILL])
dnl Check for alignas now rather than waiting for gl_INIT to do it,
dnl as the system_malloc=no test below needs $gl_cv_header_working_stdalign_h.
dnl Do not simply call gl_INIT here, as the ac_cv_func_pthread_sigmask=yes
dnl assignment below affects how gl_INIT works.
dnl Instead, call gl_ALIGNASOF, the only part of gl_INIT needed here.
dnl Then make gl_ALIGNASOF a no-op so gl_INIT does not duplicate its code.
gl_ALIGNASOF
AC_DEFUN([gl_ALIGNASOF])
system_malloc=yes
# If it appears as if the system malloc can't be trusted to return
# adequately positioned memory, enable the GNU malloc, which more
# consistently provides allocations at low addresses, as is required for
# the pdumper to load dump files at a representable location.
AS_IF([test "$with_pdumper" = "yes" && test "$with_wide_int" != "yes"],
AC_CHECK_HEADERS([stdalign.h])
[AC_CACHE_CHECK([whether alignas is required yet unavailable],
[emacs_cv_alignas_unavailable],
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#ifdef HAVE_STDALIGN_H
#include <stdalign.h>
#endif
#include <limits.h>
]], [[
#define IDEAL_GCALIGNMENT 8
#if INTPTR_MAX <= INT_MAX && !defined WIDE_EMACS_INT
# define ALIGNOF_EMACS_INT ALIGNOF_INT
# elif INTPTR_MAX <= LONG_MAX && !defined WIDE_EMACS_INT
# define ALIGNOF_EMACS_INT ALIGNOF_LONG
# elif INTPTR_MAX <= LLONG_MAX
# define ALIGNOF_EMACS_INT ALIGNOF_LONG_LONG
# else
# error "INTPTR_MAX too large"
#endif
AS_CASE([$emacs_cv_struct_alignment%$gl_cv_header_working_stdalign_h%$with_wide_int%$ac_cv_alignof_EMACS_INT%$with_pdumper],
[*%*%*%*%*%*],
[AC_MSG_ERROR([configuration values cannot contain '%'])],
#if (ALIGNOF_EMACS_INT < IDEAL_GCALIGNMENT && !defined alignas \
&& !defined HAVE_STRUCT_ATTRIBUTE_ALIGNED \
&& !defined __alignas_is_defined \
&& __STDC_VERSION__ < 202311 && __cplusplus < 201103)
#error "!USE_LSB_TAG required"
#endif
]])], [emacs_cv_alignas_unavailable=no],
[emacs_cv_alignas_unavailable=yes])])
AS_IF([test "$emacs_cv_alignas_unavailable" = "yes"],
[system_malloc=no
AC_MSG_WARN([The GNU memory manager will be enabled as your system
does not guarantee that the portable dumper can allocate memory at a suitably
low address.])])])
dnl There is no problem in most situations, i.e.:
[dnl if emacs_cv_struct_alignment
yes%* \
dnl or if gl_cv_header_working_stdalign_h
| *%yes*%*%*%* \
dnl or if with_wide_int (as in practice tag bits are high-order)
| *%*%yes%*%* \
dnl or if EMACS_INT's alignment is at least 8.
| *%*%*%8%* | *%*%*%[1-9]?*%*],
[],
dnl Otherwise, if using the portable dumper, enable GNU malloc.
[*%yes],
[system_malloc=no
AC_MSG_WARN([The GNU memory manager will be enabled as your system
does not guarantee that the portable dumper can allocate memory
at a suitably low address.])])
dnl This must be before the test of $ac_cv_func_sbrk below.
AC_CHECK_FUNCS_ONCE([sbrk])
@ -3432,6 +3445,12 @@ if test "$ac_cv_header_pthread_h" && test "$opsys" != "mingw32"; then
done])
if test "$emacs_cv_pthread_lib" != no; then
AC_DEFINE([HAVE_PTHREAD], [1], [Define to 1 if you have POSIX threads.])
m4_foreach([emacs_type],
[[max_align_t], [pthread_cond_t], [pthread_mutex_t]],
[AC_CHECK_ALIGNOF(emacs_type,
[[#include <stddef.h>
#include <pthread.h>
]])])
case $emacs_cv_pthread_lib in
-*) LIB_PTHREAD=$emacs_cv_pthread_lib;;
esac
@ -4473,7 +4492,16 @@ if test "$with_xwidgets" != "no"; then
dnl FIXME: Check framework WebKit2
dnl WEBKIT_REQUIRED=M.m.p
WEBKIT_LIBS="-Wl,-framework -Wl,WebKit"
WEBKIT_CFLAGS="-I/System/Library/Frameworks/WebKit.framework/Headers"
WEBKIT_HEADERS="/System/Library/Frameworks/WebKit.framework/Headers"
if test -z "$xcsdkdir" -a -n "$XCRUN" -a ! -d "${WEBKIT_HEADERS}"; then
dnl WebKit headers not found. Try Xcode SDK dir if it is sane.
xcsdkdir=`$XCRUN --show-sdk-path 2>/dev/null`
case $xcsdkdir in
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
xcsdkdir="" ;;
esac
fi
WEBKIT_CFLAGS="-I${xcsdkdir}${WEBKIT_HEADERS}"
HAVE_WEBKIT="yes"
HAVE_XWIDGETS=$HAVE_WEBKIT
XWIDGETS_OBJ="xwidget.o"
@ -7156,7 +7184,7 @@ fi
version=$PACKAGE_VERSION
copyright="Copyright (C) 2025 Free Software Foundation, Inc."
copyright="Copyright (C) 2026 Free Software Foundation, Inc."
AC_DEFINE_UNQUOTED([COPYRIGHT], ["$copyright"],
[Short copyright string for this version of Emacs.])
AC_SUBST([copyright])
@ -7388,7 +7416,7 @@ if test "$with_features" = no && test "$enable_acl" != yes; then
enable_acl=no
fi
# Configure gnulib. Although this does not affect CFLAGS or LIBS permanently.
# Configure gnulib. Although this does not affect CFLAGS or LIBS permanently,
# it temporarily reverts them to their pre-pkg-config values,
# because gnulib needs to work with both src (which uses the
# pkg-config stuff) and lib-src (which does not). For example, gnulib
@ -7402,7 +7430,6 @@ CFLAGS=$pre_PKG_CONFIG_CFLAGS
LIBS="$LIB_PTHREAD $pre_PKG_CONFIG_LIBS"
gl_ASSERT_NO_GNULIB_POSIXCHECK
gl_ASSERT_NO_GNULIB_TESTS
gl_EEMALLOC
gl_INIT
CFLAGS=$SAVE_CFLAGS
LIBS=$SAVE_LIBS
@ -7537,7 +7564,7 @@ AC_SUBST([WINDOW_SYSTEM_OBJ])
AH_TOP([/* GNU Emacs site configuration template file.
Copyright (C) 1988-2025 Free Software Foundation, Inc.
Copyright (C) 1988-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
### @configure_input@
# Copyright (C) 2023-2025 Free Software Foundation, Inc.
# Copyright (C) 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
/* Replacement langinfo.h file for building GNU Emacs on Android.
Copyright (C) 2023-2025 Free Software Foundation, Inc.
Copyright (C) 2023-2026 Free Software Foundation, Inc.
This file is part of GNU Emacs.

View file

@ -1,6 +1,6 @@
### @configure_input@
# Copyright 2023-2025 Free Software Foundation, Inc.
# Copyright 2023-2026 Free Software Foundation, Inc.
# This file is part of GNU Emacs.

Some files were not shown because too many files have changed in this diff Show more