]> git.eshelyaron.com Git - emacs.git/log
emacs.git
2 years agoRemove Lisp_Symbol::external
Gerd Möllmann [Thu, 20 Oct 2022 08:21:34 +0000 (10:21 +0200)]
Remove Lisp_Symbol::external

2 years agoRemove unused function prototype from lisp.h
Gerd Möllmann [Thu, 20 Oct 2022 07:19:17 +0000 (09:19 +0200)]
Remove unused function prototype from lisp.h

2 years agoChange package symbol table layout
Gerd Möllmann [Thu, 20 Oct 2022 07:15:20 +0000 (09:15 +0200)]
Change package symbol table layout

The symbol table now stored symbol as key, and symbol
status (:internal, :external) as values.

Quite some changes due to that.

2 years agoFix some warnings
Gerd Möllmann [Wed, 19 Oct 2022 15:00:35 +0000 (17:00 +0200)]
Fix some warnings

2 years agohash_remove_from_table returns bool
Gerd Möllmann [Wed, 19 Oct 2022 14:39:05 +0000 (16:39 +0200)]
hash_remove_from_table returns bool

* src/fns.c (hash_remove_from_table): Return true if something was
deleted.
* src/lisp.h: Change declaration.

2 years agoFix intern-soft
Gerd Möllmann [Wed, 19 Oct 2022 14:34:50 +0000 (16:34 +0200)]
Fix intern-soft

* src/pkg.c (conflicting_package): Remove unused function.
(pkg_emacs_intern_soft): If checking a symbol, return non-nil only if
we found exactly that symbol.

2 years agoFix missing ')'
Gerd Möllmann [Wed, 19 Oct 2022 14:34:20 +0000 (16:34 +0200)]
Fix missing ')'

2 years agoRestore obarray.el to return vectors
Gerd Möllmann [Wed, 19 Oct 2022 14:15:08 +0000 (16:15 +0200)]
Restore obarray.el to return vectors

2 years agoNew predefined hash table test for string-equal
Gerd Möllmann [Wed, 19 Oct 2022 05:17:33 +0000 (07:17 +0200)]
New predefined hash table test for string-equal

* src/fns.c (cmpfn_string_equal): New.
(hashfn_string_equal): New.
(hashtest_string_equal): New.
(Fmake_hash_table): Recognize test type Qstring_equal.
(syms_of_fns): DEFSYM Qstring_qual.

2 years agoMove more package stuff to Lisp
Gerd Möllmann [Tue, 18 Oct 2022 16:31:58 +0000 (18:31 +0200)]
Move more package stuff to Lisp

2 years agoMove make-package to Lisp
Gerd Möllmann [Tue, 18 Oct 2022 14:49:47 +0000 (16:49 +0200)]
Move make-package to Lisp

* lisp/emacs-lisp/pkg.el: Implement make-package.
* lisp/obarray.el (obarray-make): Use make-%package.
* src/pkg.c: Various changes to move make-package to Lisp.

2 years agoMake faces work with keywords not having : in symbol names
Gerd Möllmann [Tue, 18 Oct 2022 13:09:26 +0000 (15:09 +0200)]
Make faces work with keywords not having : in symbol names

* src/xfaces.c (set_lface_from_font): Use LISP_SYMBOL_NAME.
(merge_face_vectors): Use LISP_SYMBOL_NAME.
(merge_face_ref): Use SYMBOL_KEYWORD_P instead of checking ':'.
(gui_supports_face_attributes_p): Use LISP_SYMBOL_NAME.

2 years agoAdd amcros for keyword symbols
Gerd Möllmann [Tue, 18 Oct 2022 13:07:47 +0000 (15:07 +0200)]
Add amcros for keyword symbols

* src/lisp.h (SYMBOL_KEYWORD_P): Returns true if symbol is a keyword.
(LISP_SYMBOL_NAME): Basically the same as Fsymbol_name, a shortcut.
* src/data.c (Fsymbol_name): Use SYMBOL_KEYWORD_P.
* src/pkg.c (pkg_intern_keyword): Use SYMBOL_KEYWORD_P.

2 years agoMake internals of Lisp_Package visible to Lisp
Gerd Möllmann [Tue, 18 Oct 2022 12:36:01 +0000 (14:36 +0200)]
Make internals of Lisp_Package visible to Lisp

Done to be able to do as much as possible from Lisp.

* src/lisp.h (Lisp_Package): Rename used_packages to use_list.
* src/pkg.c: Rename used_packages to use_list.
(Fpackage_percent_name): (Fpackage_percent_set_name):
(Fpackage_percent_nicknames):
(Fpackage_percent_set_nicknames):
(Fpackage_percent_use_list):
(Fpackage_percent_set_use_list):
(Fpackage_percent_shadowing_symbols):
(Fpackage_percent_set_shadowing_symbols):
(Fpackage_percent_symbols): New functions for getting and setting
internals of Lisp_Package.
(syms_of_pkg): defsubr them.

2 years agoWork on defpackage
Gerd Möllmann [Tue, 18 Oct 2022 11:21:20 +0000 (13:21 +0200)]
Work on defpackage

2 years agoIncrease default symbol-table sizes
Gerd Möllmann [Tue, 18 Oct 2022 10:49:33 +0000 (12:49 +0200)]
Increase default symbol-table sizes

* src/pkg.c (Fpackage_symbols): New function.
(syms_of_pkg): defsubr it.
(init_pkg_once): Up symbol table sizes.

2 years agoDEFVAR some variables
Gerd Möllmann [Tue, 18 Oct 2022 10:33:35 +0000 (12:33 +0200)]
DEFVAR some variables

* src/lisp.h: Remove extern declarations for some vars.
* src/pkg.c (syms_of_pkg): DEFVAR_LISP_NOPRO some variables.
*package*, *package-registry*, *emacs-package*,
*keyword-package*, package-prefixes

2 years agoSupport specifying package size
Gerd Möllmann [Tue, 18 Oct 2022 07:52:41 +0000 (09:52 +0200)]
Support specifying package size

2 years agoRevert some unimportant changes
Gerd Möllmann [Tue, 18 Oct 2022 06:55:11 +0000 (08:55 +0200)]
Revert some unimportant changes

2 years agoPartially revert "Remove obarrays"
Gerd Möllmann [Tue, 18 Oct 2022 06:35:41 +0000 (08:35 +0200)]
Partially revert "Remove obarrays"

2 years agoMore scribbling
Gerd Möllmann [Tue, 18 Oct 2022 06:31:44 +0000 (08:31 +0200)]
More scribbling

2 years agoRevert "Dpn't assume symbol-name of keywords starts with colon"
Gerd Möllmann [Tue, 18 Oct 2022 06:31:19 +0000 (08:31 +0200)]
Revert "Dpn't assume symbol-name of keywords starts with colon"

This reverts commit bb6b5db2b7af3f1aaf8866d4dd6ce944d10244f8.

2 years agoAdd cö-symbol-name
Gerd Möllmann [Tue, 18 Oct 2022 06:28:28 +0000 (08:28 +0200)]
Add cö-symbol-name

2 years agoRevert "Use make-package instead of make-vector"
Gerd Möllmann [Tue, 18 Oct 2022 06:28:13 +0000 (08:28 +0200)]
Revert "Use make-package instead of make-vector"

This reverts commit 072e89afa119c0e35321edfb8bc0dfff89b6960d.

2 years agoFix printing uninterned symbols
Gerd Möllmann [Tue, 18 Oct 2022 05:59:29 +0000 (07:59 +0200)]
Fix printing uninterned symbols

2 years agosymbol-name returning ':' for keywords
Gerd Möllmann [Tue, 18 Oct 2022 05:58:45 +0000 (07:58 +0200)]
symbol-name returning ':' for keywords

* src/data.c (Fsymbol_name): Return a name starting with ':' for
keywords.

2 years agoRecognize vectors as obarrays
Gerd Möllmann [Mon, 17 Oct 2022 13:24:35 +0000 (15:24 +0200)]
Recognize vectors as obarrays

* lisp/obarray.el (obarray-make): Ignore parameter.
(obarray-size): Ignore parameter.
(obarrayp): Accept vectors.

2 years agoFix printing symbols
Gerd Möllmann [Mon, 17 Oct 2022 13:24:21 +0000 (15:24 +0200)]
Fix printing symbols

2 years agoFake obarrays
Gerd Möllmann [Mon, 17 Oct 2022 10:49:33 +0000 (12:49 +0200)]
Fake obarrays

2 years agoFix printing of confusing symbol names
Gerd Möllmann [Mon, 17 Oct 2022 09:29:56 +0000 (11:29 +0200)]
Fix printing of confusing symbol names

2 years agoMerge remote-tracking branch 'origin/master' into pkg
Gerd Möllmann [Mon, 17 Oct 2022 08:12:35 +0000 (10:12 +0200)]
Merge remote-tracking branch 'origin/master' into pkg

2 years agoMore scribbling
Gerd Möllmann [Mon, 17 Oct 2022 08:12:07 +0000 (10:12 +0200)]
More scribbling

2 years agoAllow intern with ":xyz" again
Gerd Möllmann [Mon, 17 Oct 2022 08:05:50 +0000 (10:05 +0200)]
Allow intern with ":xyz" again

2 years agoHandle packages in completion
Gerd Möllmann [Sun, 16 Oct 2022 14:35:56 +0000 (16:35 +0200)]
Handle packages in completion

* lisp/minibuffer.el (completion-table-with-context): Add packagep
case.
* src/minibuf.c (Ftry_completion, Fall_completions),
Ftest_completion): Take into account that predicate functions used
with packages are the same that were used for obarrays.

2 years agoSome scribbling
Gerd Möllmann [Sun, 16 Oct 2022 12:13:54 +0000 (14:13 +0200)]
Some scribbling

2 years agointern-soft with ':' trick
Gerd Möllmann [Sun, 16 Oct 2022 12:10:13 +0000 (14:10 +0200)]
intern-soft with ':' trick

* src/lread.c (Fintern): Move everything to pkg.c
* src/pkg.c (pkg_emacs_intern): Handle ':' in symbol names.
(pkg_emacs_intern_soft): Ditto.

2 years agoMapatoms differently
Gerd Möllmann [Sun, 16 Oct 2022 07:25:01 +0000 (09:25 +0200)]
Mapatoms differently

Also, assume that in some cases, (intern ":xy") means that old code
wants to intern a keyword.

2 years agoWorkaround for something Stefan missed
Gerd Möllmann [Sun, 16 Oct 2022 06:01:58 +0000 (08:01 +0200)]
Workaround for something Stefan missed

See comment there for an explanation.

* src/alloc.c (xmake_pure_vector): Former make_pure_vector.
(init_vectors): Use it to allocate zero_vecgtor.

2 years agosrc/alloc.c: Remove all uses of `pure_alloc`
Stefan Monnier [Fri, 1 Jul 2022 18:36:49 +0000 (14:36 -0400)]
src/alloc.c: Remove all uses of `pure_alloc`

First step of removal of the purespace: stop using it.
The more delicate parts are the handling of 0-length strings and
vectors which we used to allocate in purespace but now need to be
allocated elsewhere, but the existing code makes us work harder to
allocate them in the normal way.

* src/alloc.c: Remove all uses of `pure_alloc`.
(init_strings): Alloc empty strings in the normal heap.
(init_vectors): Allocate the zero_vector in the normal heap.
(make_pure_string, make_pure_c_string, pure_cons): Rewrite to create
normal heap objects.
(find_string_data_in_pure, make_pure_float, make_pure_bignum)
(make_pure_vector, purecopy_hash_table): Delete functions.
(purecopy): Return without purecopying.

2 years agoUse build_pure_c_string
Gerd Möllmann [Sat, 15 Oct 2022 13:44:05 +0000 (15:44 +0200)]
Use build_pure_c_string

* src/pkg.c (init_pkg_once): Use build_pure_c_string instead of
build_string.

2 years agoConsider shorthands out of scope
Gerd Möllmann [Sat, 15 Oct 2022 13:10:36 +0000 (15:10 +0200)]
Consider shorthands out of scope

* lisp/loadup.el ("emacs-lisp/shorthands"): Comment out.

2 years agoBlabla
Gerd Möllmann [Sat, 15 Oct 2022 12:16:27 +0000 (14:16 +0200)]
Blabla

* src/lread.c (Fintern): Remove comment.
* src/pkg.c (pkg_emacs_intern_soft): Don't assume *package* if
a vector was passed in for a package.  Assert instead elsewhere.

2 years agoDpn't assume symbol-name of keywords starts with colon
Gerd Möllmann [Sat, 15 Oct 2022 12:14:57 +0000 (14:14 +0200)]
Dpn't assume symbol-name of keywords starts with colon

* lisp/emacs-lisp/cl-seq.el (cl--parsing-keywords):
Don't substring the keyword symbol name.

2 years agoUse make-package instead of make-vector
Gerd Möllmann [Sat, 15 Oct 2022 12:13:56 +0000 (14:13 +0200)]
Use make-package instead of make-vector

* lisp/cedet/semantic/lex.el (semantic-lex-make-type-table):
Don't use obarray functionality.

2 years agoRemove Lisp_Symbol::next pointer
Gerd Möllmann [Sat, 15 Oct 2022 11:03:58 +0000 (13:03 +0200)]
Remove Lisp_Symbol::next pointer

* src/lisp.h (struct Lisp_Symbol): Remvoe next field.
(next_free_symbol, set_next_free_symbol): New.
(set_symbol_next): Remove.
* src/alloc.c (init_symbol): symbol_free_list done differently.
* src/pdumper.c (dump_symbol): Don't dump Lisp_Symbol::next.

2 years agoRemove obarrays
Gerd Möllmann [Sat, 15 Oct 2022 11:03:31 +0000 (13:03 +0200)]
Remove obarrays

* lisp/emacs-lisp/eldoc.el (eldoc-message-commands): Make a package
instead of an obarray-vector.
* src/doc.c (Fsnarf_documentation): Don't use oblookup.
* src/eval.c (Fsignal): Debuggin helper code.
* src/font.c (font_intern_prop):  Don't use oblookup.
* src/lisp.h (intern_c_string): Delete inline function, use the one
in fread.c.
* src/lread.c: Remove everything realted to obarray, except Vobarray,
which is now set to Vemacs_package.
* src/minibuf.c (Ftry_completion, Fall_completions, Ftest_completion):
Accept packages.
* src/pkg.c: Adapted to other changes.

2 years agoUse packages instead of obarrays in obarray.el
Gerd Möllmann [Fri, 14 Oct 2022 14:21:03 +0000 (16:21 +0200)]
Use packages instead of obarrays in obarray.el

2 years agoInitialize package system earlier
Gerd Möllmann [Fri, 14 Oct 2022 13:46:22 +0000 (15:46 +0200)]
Initialize package system earlier

2 years agoMapping over symbols in a package, mapatoms
Gerd Möllmann [Fri, 14 Oct 2022 11:15:24 +0000 (13:15 +0200)]
Mapping over symbols in a package, mapatoms

2 years agoDon't register packages in make-package
Gerd Möllmann [Fri, 14 Oct 2022 10:57:45 +0000 (12:57 +0200)]
Don't register packages in make-package

2 years agoRemove Lisp_Symbol::interned
Gerd Möllmann [Fri, 14 Oct 2022 08:51:50 +0000 (10:51 +0200)]
Remove Lisp_Symbol::interned

2 years agoCan now pdumg withput warnings from cl-defstruct
Gerd Möllmann [Thu, 13 Oct 2022 13:18:50 +0000 (15:18 +0200)]
Can now pdumg withput warnings from cl-defstruct

2 years agoRevert the escaping of symbol names in lisp files
Gerd Möllmann [Thu, 13 Oct 2022 11:38:18 +0000 (13:38 +0200)]
Revert the escaping of symbol names in lisp files

2 years agoCan now pdump
Gerd Möllmann [Thu, 13 Oct 2022 11:17:29 +0000 (13:17 +0200)]
Can now pdump

2 years agoMore symbol reading
Gerd Möllmann [Wed, 12 Oct 2022 13:45:56 +0000 (15:45 +0200)]
More symbol reading

2 years agoIntern keywords differently
Gerd Möllmann [Wed, 12 Oct 2022 11:53:07 +0000 (13:53 +0200)]
Intern keywords differently

Instead of something like (intern (format ":%s" ...)) do
(intern (format "%s" :keyword).  Likewise in C.

2 years agoAnd more fixes
Gerd Möllmann [Tue, 11 Oct 2022 11:17:03 +0000 (13:17 +0200)]
And more fixes

2 years agoFixing stuff
Gerd Möllmann [Mon, 10 Oct 2022 13:13:20 +0000 (15:13 +0200)]
Fixing stuff

2 years agoCheck for keywords differently
Gerd Möllmann [Mon, 10 Oct 2022 12:07:51 +0000 (14:07 +0200)]
Check for keywords differently

2 years agoRead symbols differently
Gerd Möllmann [Mon, 10 Oct 2022 12:05:14 +0000 (14:05 +0200)]
Read symbols differently

2 years agoMore stuff in pkg.c
Gerd Möllmann [Mon, 10 Oct 2022 12:03:18 +0000 (14:03 +0200)]
More stuff in pkg.c

2 years agoPrint symbols differently
Gerd Möllmann [Mon, 10 Oct 2022 12:02:26 +0000 (14:02 +0200)]
Print symbols differently

2 years agoDon't fix symbols here
Gerd Möllmann [Mon, 10 Oct 2022 12:01:19 +0000 (14:01 +0200)]
Don't fix symbols here

2 years agoDon't use symbols that look package-qualified
Gerd Möllmann [Mon, 10 Oct 2022 11:58:31 +0000 (13:58 +0200)]
Don't use symbols that look package-qualified

2 years agoAdd xprint command
Gerd Möllmann [Mon, 10 Oct 2022 11:52:26 +0000 (13:52 +0200)]
Add xprint command

2 years agoBasic functionality for packages
Gerd Möllmann [Wed, 5 Oct 2022 14:15:20 +0000 (16:15 +0200)]
Basic functionality for packages

Lisp packages exist and can be dumped and loaded.  Two standard
packages "emacs" and "keyword".  Some package functions and variables
of CLHS.

Symbols have a package slot.  Built-in symbols before loaodup get
packages emacs or keyword.

Dumping and loading.

Some tests.

* src/pkg.c: New file for Lisp packages.
* src/Makefile.in (base_obj): Add pkg.c.
* test/src/pkg-tests.el: New file.
* src/lisp.h: Add Lisp_Package.
* etc/emacs_lldb.py: Add Lisp_Package.
* src/data.c (Ftype_of): Handle packages.
(syms_of_data): Add Qpackage.
* src/emacs.c (main): Initialize pkg.c, fix built-in symbols.
* src/fns.c (check_hash_table, get_key_arg): Make externally visible.
* src/pdumper.c (dump_vectorlike): Handle packages.
* src/print.c: Print packages, print symbols with packages.

2 years ago; * lisp/battery.el (battery-bsd-apm): No need for `executable-find'.
Manuel Giraud [Thu, 6 Oct 2022 14:03:34 +0000 (16:03 +0200)]
; * lisp/battery.el (battery-bsd-apm): No need for `executable-find'.

2 years agoPass correct environment name to `reftex-label'
Arash Esbati [Thu, 6 Oct 2022 17:45:44 +0000 (19:45 +0200)]
Pass correct environment name to `reftex-label'

* lisp/textmodes/tex-mode.el (latex-block-body-alist): Pass
"figure" to `reftex-label' when inserting a figure float.
(bug#58329)

2 years agoetc/NEWS: Fix typo in seq-keep entry.
Lars Ingebrigtsen [Thu, 6 Oct 2022 12:56:47 +0000 (14:56 +0200)]
etc/NEWS: Fix typo in seq-keep entry.

2 years agoReplace aging OpenPGP artifacts in gnus' mml-sec tests.
Justus Winter [Wed, 5 Oct 2022 10:36:39 +0000 (12:36 +0200)]
Replace aging OpenPGP artifacts in gnus' mml-sec tests.

This replaces the old OpenPGPv4 keys that are used in the test suite
with more modern OpenPGPv4 keys.

Having old cryptographic artifacts in the test suite presents a
problem once the old algorithms are rejected by contemporary
implementations (bug#58301).

2 years agoReplace aging OpenPGP artifacts in the package-resources tests.
Justus Winter [Fri, 16 Sep 2022 10:24:26 +0000 (12:24 +0200)]
Replace aging OpenPGP artifacts in the package-resources tests.

This replaces the old OpenPGPv4 key that is used in the test suite
with a more modern OpenPGPv4 key.  The key is the Alice key from
https://datatracker.ietf.org/doc/draft-bre-openpgp-samples/.  All
cryptographic artifacts in the test suite are updated accordingly.

Having old cryptographic artifacts in the test suite presents a
problem once the old algorithms are rejected by contemporary
implementations.

2 years agoReplace aging OpenPGP artifacts in the epg tests.
Justus Winter [Fri, 16 Sep 2022 10:24:14 +0000 (12:24 +0200)]
Replace aging OpenPGP artifacts in the epg tests.

This replaces the old OpenPGPv4 key that is used in the test suite
with a more modern OpenPGPv4 key.  The key is the Alice key from
https://datatracker.ietf.org/doc/draft-bre-openpgp-samples/.  All
cryptographic artifacts in the test suite are updated accordingly.

Having old cryptographic artifacts in the test suite presents a
problem once the old algorithms are rejected by contemporary
implementations.

2 years agoFix epg's reliance on an implicit GnuPG command.
Justus Winter [Fri, 16 Sep 2022 10:23:39 +0000 (12:23 +0200)]
Fix epg's reliance on an implicit GnuPG command.

Previously, epg invoked GnuPG without an explicit command to verify
signatures.  Make that operation explicit.  Happily, this aligns how
gpg and gpgsm is invoked, so it actually makes the code simpler.

2 years agoFix BSD battery mode over TRAMP (bug#58307)
Manuel Giraud [Thu, 6 Oct 2022 12:46:39 +0000 (14:46 +0200)]
Fix BSD battery mode over TRAMP (bug#58307)

* lisp/battery.el (battery--call-process-to-string): Simple wrapper
to `call-process' that outputs to a string.
(battery-bsd-apm): Use it instead of `shell-command-to-string'
(bug#58307).

2 years agoFix calling `package-reinstall' just after quick initialization.
Matt Armstrong [Thu, 6 Oct 2022 12:08:20 +0000 (14:08 +0200)]
Fix calling `package-reinstall' just after quick initialization.

* lisp/emacs-lisp/package.el (package-reinstall): call
`package--archives-initialize', just like `package-install' does.
This populates `package-alist', and so fixes calling
`package-reinstall' as the first thing done after package "quick
init" (Bug#53527).

2 years agoAdd missing staticpro (bug#58327)
Gerd Möllmann [Thu, 6 Oct 2022 08:18:59 +0000 (10:18 +0200)]
Add missing staticpro (bug#58327)

* src/window.c (init_window_once): staticpro old_selected_window.

2 years agoInhibit GC in probably_quit (bug#58042)
Gerd Möllmann [Thu, 6 Oct 2022 07:09:04 +0000 (09:09 +0200)]
Inhibit GC in probably_quit (bug#58042)

2 years ago* etc/NEWS: Document how to continue using 'linum'. (Bug#58220)
Stefan Kangas [Thu, 6 Oct 2022 06:54:54 +0000 (08:54 +0200)]
* etc/NEWS: Document how to continue using 'linum'.  (Bug#58220)

2 years ago; * src/xterm.c (x_term_init): Fix typo.
Po Lu [Thu, 6 Oct 2022 02:57:43 +0000 (10:57 +0800)]
; * src/xterm.c (x_term_init): Fix typo.

2 years agoMinor fixes to IM locale handling
Po Lu [Thu, 6 Oct 2022 02:55:25 +0000 (10:55 +0800)]
Minor fixes to IM locale handling

* lisp/term/x-win.el (x-get-input-coding-system): Translate locales.
* src/xterm.c (x_term_init): If the X library doesn't support
the current locale, don't set up input methods.

2 years agoFix nsmenu crash when exiting popup dialog
Po Lu [Thu, 6 Oct 2022 02:52:34 +0000 (10:52 +0800)]
Fix nsmenu crash when exiting popup dialog

* src/nsmenu.m (pop_down_menu): Do not discard menu items here.
(ns_popup_dialog): Call discard_menu_items after
unuse_menu_items.  (bug#58296)

2 years ago* etc/NEWS: Add instructions for replacing 'linum'. (Bug#58220)
Stefan Kangas [Wed, 5 Oct 2022 23:32:59 +0000 (01:32 +0200)]
* etc/NEWS: Add instructions for replacing 'linum'.  (Bug#58220)

2 years ago* lisp/repeat.el (repeat-exit): Add autoload cookie.
Juri Linkov [Wed, 5 Oct 2022 19:47:42 +0000 (22:47 +0300)]
* lisp/repeat.el (repeat-exit): Add autoload cookie.

2 years ago* etc/tutorials/TUTORIAL.uk: Fix typos.
Juri Linkov [Wed, 5 Oct 2022 19:43:12 +0000 (22:43 +0300)]
* etc/tutorials/TUTORIAL.uk: Fix typos.

2 years agoAdapt Tramp manual
Michael Albinus [Wed, 5 Oct 2022 15:11:33 +0000 (17:11 +0200)]
Adapt Tramp manual

* doc/misc/tramp.texi (Inline methods): Method "kubernetes" does
not support user names.

2 years agoNew command 'world-clock-copy-time-as-kill'
Stefan Kangas [Wed, 5 Oct 2022 14:33:18 +0000 (16:33 +0200)]
New command 'world-clock-copy-time-as-kill'

* lisp/time.el (world-clock-copy-time-as-kill): New command.
(world-clock-mode-map): Bind above new command to "w".

2 years agoAdd face help-key-binding in help-char echo
Stefan Kangas [Wed, 5 Oct 2022 13:23:39 +0000 (15:23 +0200)]
Add face help-key-binding in help-char echo

* src/keyboard.c (echo_add_key): Add help-key-binding face to the
"?" key in 'help-char' echo.  (Bug#57906)
(syms_of_keyboard) <Qhelp_key_binding>: New DEFSYM.

2 years ago; * lisp/files.el (find-file-noselect): Minor simplification.
Stefan Kangas [Wed, 5 Oct 2022 13:08:01 +0000 (15:08 +0200)]
; * lisp/files.el (find-file-noselect): Minor simplification.

2 years agoFix bug in "macintization" of x_draw_glyph_string
Po Lu [Wed, 5 Oct 2022 00:31:44 +0000 (08:31 +0800)]
Fix bug in "macintization" of x_draw_glyph_string

* src/nsterm.m (ns_draw_stretch_glyph_string): Restore text decoration
drawing code ommitted during "macintization" to convert the X function
into NS code.  Reported by Qiantan Hong <qthong@stanford.edu>.

2 years agoAdd tramp-kubernetes integration
Filipp Gunbin [Tue, 4 Oct 2022 23:46:40 +0000 (02:46 +0300)]
Add tramp-kubernetes integration

* doc/misc/tramp.texi (Inline methods): Add kubernetes.
(Customizing Methods): Remove kubernetes-tramp.
* etc/NEWS: Mention new Tramp method "kubernetes".
* lisp/net/tramp-compat.el (kubernetes-tramp): Warn if that package is
used.
* lisp/net/tramp-container.el (tramp-kubernetes-program): New
defcustom.
(tramp-kubernetes-method): New defconst.
(tramp-kubernetes--completion-function): New function.

2 years agoRename lisp/net/tramp-docker.el to lisp/net/tramp-container.el
Filipp Gunbin [Tue, 4 Oct 2022 23:16:36 +0000 (02:16 +0300)]
Rename lisp/net/tramp-docker.el to lisp/net/tramp-container.el

2 years agoAdd comment explaining gcc_jit_context_new_bitcast usage.
Vibhav Pant [Tue, 4 Oct 2022 19:31:50 +0000 (01:01 +0530)]
Add comment explaining gcc_jit_context_new_bitcast usage.

2 years agoAddress styling comments.
Vibhav Pant [Sun, 2 Oct 2022 16:45:33 +0000 (22:15 +0530)]
Address styling comments.

2 years agocomp.c: Add declaration for gcc_jit_type_is_pointer.
Vibhav Pant [Tue, 27 Sep 2022 18:01:06 +0000 (23:31 +0530)]
comp.c: Add declaration for gcc_jit_type_is_pointer.

2 years agosrc/comp.c: Use libgccjit's bitcast API for type coercion, when available.
Vibhav Pant [Tue, 27 Sep 2022 17:08:45 +0000 (22:38 +0530)]
src/comp.c: Use libgccjit's bitcast API for type coercion, when available.

* (type_to_cast_index, define_type_punning, define_cast_from_to,
define_cast_functions): Define functions when
gcc_jit_context_new_bitcast is not available.

* (emit_coerce): Use gcc_jit_context_new_bitcast to coerce types, when
available.

2 years agoPut all seq.el news into one section
Lars Ingebrigtsen [Tue, 4 Oct 2022 19:46:09 +0000 (21:46 +0200)]
Put all seq.el news into one section

2 years agoAdd 'seq-keep'
Lars Ingebrigtsen [Tue, 4 Oct 2022 19:44:52 +0000 (21:44 +0200)]
Add 'seq-keep'

* doc/lispref/sequences.texi (Sequence Functions): Document it.
* lisp/emacs-lisp/seq.el (seq-keep): New function (bug#58278).

2 years ago; * lisp/simple.el (cursor-face-highlight-mode): Doc fix.
Eli Zaretskii [Tue, 4 Oct 2022 19:25:20 +0000 (22:25 +0300)]
; * lisp/simple.el (cursor-face-highlight-mode): Doc fix.

2 years agoAdd method description for podman in Tramp
Brian Cully [Tue, 4 Oct 2022 19:19:05 +0000 (21:19 +0200)]
Add method description for podman in Tramp

* doc/misc/tramp.texi (Inline methods): Adapt docker method.
Describe podman method.

2 years agoMerge from origin/emacs-28
Stefan Kangas [Tue, 4 Oct 2022 18:04:19 +0000 (20:04 +0200)]
Merge from origin/emacs-28

a78af3018e * src/emacs.c (load_pdump): Propery handle case when execu...

# Conflicts:
# src/emacs.c