From 3970f4ac405516ad3d1aba5079c0754ec1dc5da1 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Mon, 7 Dec 2020 11:55:29 +0100 Subject: Add new variable to selectively suppress backtraces in batch mode. * src/eval.c (syms_of_eval): Define new variable 'backtrace-on-error-noninteractive' to selectively enable backtrace printing in batch mode. (signal_or_quit): Use it. * etc/NEWS: Document new variable. * test/src/eval-tests.el (eval-tests/backtrace-in-batch-mode/inhibit): New unit test. --- etc/NEWS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 8390c82c98b..a30355f20db 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -193,7 +193,9 @@ These functions return the connection local value of the respective variables. This can be used for remote hosts. ** Emacs now prints a backtrace when signaling an error in batch mode. This -makes debugging Emacs Lisp scripts run in batch mode easier. +makes debugging Emacs Lisp scripts run in batch mode easier. If you +want to disable this behavior, set 'backtrace-on-error-noninteractive' +to nil. * Editing Changes in Emacs 28.1 -- cgit v1.2.1 From ff5a3c74fc45c80f2c8c272f259dbba84b7c3f66 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 7 Dec 2020 13:53:24 +0100 Subject: Allow inhibiting the instructions on how to close emacsclient frames * doc/emacs/misc.texi (Invoking emacsclient): Document it. * lisp/server.el (server-client-instructions): New variable. (server-execute): Use it. --- etc/NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index a30355f20db..34f7d30c845 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -287,6 +287,14 @@ the buffer cycles the whole buffer between "only top-level headings", * Changes in Specialized Modes and Packages in Emacs 28.1 +** Emacs Server + ++++ +*** New user option 'server-client-instructions'. +When emacsclient connects, Emacs will (by default) output a message +about how to exit the client frame. If 'server-client-instructions' +is set to nil, this message is inhibited. + ** Python mode *** 'C-c C-r' can now be used on arbitrary regions. -- cgit v1.2.1 From b218c8b6b587d4f0629cbe81bf2dba95d07844d0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 7 Dec 2020 15:40:23 +0100 Subject: Allow shutting down Emacs even if there are errors in kill-emacs-hook * lisp/subr.el (run-hook-query-error-with-timeout): New function (bug#28542). * src/emacs.c (Fkill_emacs): Use it to allow exiting Emacs even if there are errors in kill-emacs-hook. (syms_of_emacs): Define the symbol. --- etc/NEWS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 34f7d30c845..49d66cc449e 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1365,6 +1365,13 @@ This new command (bound to 'C-c C-l') regenerates the current hunk. ** Miscellaneous +--- +*** Errors in 'kill-emacs-hook' no longer prevents Emacs from shutting down. +If a function in that hook signals an error in an interactive Emacs, +the user will be prompted whether to continue or not. If the user +doesn't answer within five seconds, Emacs will continue shutting down +anyway. + --- *** iso-transl is now preloaded. This means that keystrokes like 'Alt-[' are defined by default, -- cgit v1.2.1 From 6e0080e755b460adc7a1fda74e26f83cb342b6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=ADn?= Date: Mon, 7 Dec 2020 17:01:35 +0100 Subject: Add commands xref-next-group and xref-prev-group * lisp/progmodes/xref.el (xref-next-group): New command that navigates to the first item of the next xref group (typically a file). (xref-prev-group): New command that navigates to the first item of the next xref group (typically a file). (xref--xref-buffer-mode-map): Bound the new commands to 'N' and 'P', respectively. * doc/emacs/maintaining.texi (Xref Commands): Document the new commands in the Emacs manual. * etc/NEWS: Announce them (bug#45089). --- etc/NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 49d66cc449e..c80325cb240 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1205,6 +1205,11 @@ So far Grep and ripgrep are supported. ripgrep seems to offer better performance in certain cases, in particular for case-insensitive searches. ++++ +*** New commands 'xref-prev-group' and 'xref-next-group'. +These commands are bound respectively to 'P' and 'N', and navigate to +the first item of the previous or next group in the "*xref*" buffer. + ** json.el --- -- cgit v1.2.1 From 1537a8c86351e3225dcf30dc9402de1a5675fdca Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Mon, 7 Dec 2020 16:06:14 +0000 Subject: ; Fix recent typos/wording in NEWS and server.el --- etc/NEWS | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index c80325cb240..d796a4cdbcd 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1371,11 +1371,10 @@ This new command (bound to 'C-c C-l') regenerates the current hunk. ** Miscellaneous --- -*** Errors in 'kill-emacs-hook' no longer prevents Emacs from shutting down. +*** Errors in 'kill-emacs-hook' no longer prevent Emacs from shutting down. If a function in that hook signals an error in an interactive Emacs, -the user will be prompted whether to continue or not. If the user -doesn't answer within five seconds, Emacs will continue shutting down -anyway. +the user will be prompted on whether to continue. If the user doesn't +answer within five seconds, Emacs will continue shutting down anyway. --- *** iso-transl is now preloaded. -- cgit v1.2.1 From 26b198cef987dc087994c8ce8bf852c4a37dbca0 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 8 Dec 2020 18:43:09 +0200 Subject: Improve documentation of 'backtrace-on-error-noninteractive' * src/eval.c (syms_of_eval) : Format the doc string according to conventions. * etc/NEWS: Improve formatting and wording of the entry describing 'backtrace-on-error-noninteractive. --- etc/NEWS | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index d796a4cdbcd..f2fd9fb1386 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -192,10 +192,10 @@ have been replaced with "chat.freenode.net" throughout Emacs. These functions return the connection local value of the respective variables. This can be used for remote hosts. -** Emacs now prints a backtrace when signaling an error in batch mode. This -makes debugging Emacs Lisp scripts run in batch mode easier. If you -want to disable this behavior, set 'backtrace-on-error-noninteractive' -to nil. +** Emacs now prints a backtrace when signaling an error in batch mode. +This makes debugging Emacs Lisp scripts run in batch mode easier. To +get back the old behavior, set the new variable +'backtrace-on-error-noninteractive' to a nil value. * Editing Changes in Emacs 28.1 -- cgit v1.2.1 From ef711b1556f83c9aa841fec9927672245408fc9c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Tue, 8 Dec 2020 17:57:10 +0100 Subject: Make hexl scrolling commands work more like the normal ones * lisp/hexl.el (hexl-scroll-down): (hexl-scroll-up): Heed `next-screen-context-lines' (bug#7031). --- etc/NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index f2fd9fb1386..83fe7a349e3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1370,6 +1370,12 @@ This new command (bound to 'C-c C-l') regenerates the current hunk. ** Miscellaneous +--- +*** 'hexl-mode' scrolling commands now heed 'next-screen-context-lines'. +Previously, 'hexl-scroll-down' and 'hexl-scroll-up' would scroll +up/down an entire window, but they now work more like the standard +scrolling commands. + --- *** Errors in 'kill-emacs-hook' no longer prevent Emacs from shutting down. If a function in that hook signals an error in an interactive Emacs, -- cgit v1.2.1 From c0b3e38d7ce92a09e84b5bd570e92fdf2074618a Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 9 Dec 2020 11:52:59 +0100 Subject: Update publicsuffix.txt from upstream * etc/publicsuffix.txt: Update from https://publicsuffix.org/list/public_suffix_list.dat dated 2020-11-30 21:57:25 UTC. --- etc/publicsuffix.txt | 108 +++++++++++++++++++++++++++++---------------------- 1 file changed, 62 insertions(+), 46 deletions(-) (limited to 'etc') diff --git a/etc/publicsuffix.txt b/etc/publicsuffix.txt index bcde6728b5c..1ede2b929a0 100644 --- a/etc/publicsuffix.txt +++ b/etc/publicsuffix.txt @@ -1152,7 +1152,7 @@ gov.gr // gs : https://en.wikipedia.org/wiki/.gs gs -// gt : http://www.gt/politicas_de_registro.html +// gt : https://www.gt/sitio/registration_policy.php?lang=en gt com.gt edu.gt @@ -4703,6 +4703,7 @@ nl // Norid geographical second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-b/ // Norid category second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-c/ // Norid category second-level domains managed by parties other than Norid : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-d/ +// RSS feed: https://teknisk.norid.no/en/feed/ no // Norid category second level domains : https://www.norid.no/en/om-domenenavn/regelverk-for-no/vedlegg-c/ fhs.no @@ -7110,7 +7111,7 @@ org.zw // newGTLDs -// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2020-10-08T17:45:32Z +// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2020-11-30T20:26:10Z // This list is auto-generated, don't edit it manually. // aaa : 2015-02-26 American Automobile Association, Inc. aaa @@ -7328,7 +7329,7 @@ author // auto : 2014-11-13 XYZ.COM LLC auto -// autos : 2014-01-09 DERAutos, LLC +// autos : 2014-01-09 XYZ.COM LLC autos // avianca : 2015-01-08 Avianca Holdings S.A. @@ -7337,7 +7338,7 @@ avianca // aws : 2015-06-25 Amazon Registry Services, Inc. aws -// axa : 2013-12-19 AXA SA +// axa : 2013-12-19 AXA Group Operations SAS axa // azure : 2014-12-18 Microsoft Corporation @@ -7478,7 +7479,7 @@ bmw // bnpparibas : 2014-05-29 BNP Paribas bnpparibas -// boats : 2014-12-04 DERBoats, LLC +// boats : 2014-12-04 XYZ.COM LLC boats // boehringer : 2015-07-09 Boehringer Ingelheim International GmbH @@ -7517,7 +7518,7 @@ bot // boutique : 2013-11-14 Binky Moon, LLC boutique -// box : 2015-11-12 .BOX INC. +// box : 2015-11-12 Intercap Registry Inc. box // bradesco : 2014-12-18 Banco Bradesco S.A. @@ -8501,7 +8502,7 @@ homedepot // homegoods : 2015-07-16 The TJX Companies, Inc. homegoods -// homes : 2014-01-09 DERHomes, LLC +// homes : 2014-01-09 XYZ.COM LLC homes // homesense : 2015-07-16 The TJX Companies, Inc. @@ -8651,9 +8652,6 @@ java // jcb : 2014-11-20 JCB Co., Ltd. jcb -// jcp : 2015-04-23 JCP Media, Inc. -jcp - // jeep : 2015-07-30 FCA US LLC. jeep @@ -9077,7 +9075,7 @@ moscow // moto : 2015-06-04 Motorola Trademark Holdings, LLC moto -// motorcycles : 2014-01-09 DERMotorcycles, LLC +// motorcycles : 2014-01-09 XYZ.COM LLC motorcycles // mov : 2014-01-30 Charleston Road Registry Inc. @@ -9242,7 +9240,7 @@ one // ong : 2014-03-06 Public Interest Registry ong -// onl : 2013-09-16 I-Registry Ltd. +// onl : 2013-09-16 iRegistry GmbH onl // online : 2015-01-15 DotOnline Inc. @@ -9539,7 +9537,7 @@ reviews // rexroth : 2015-06-18 Robert Bosch GMBH rexroth -// rich : 2013-11-21 I-Registry Ltd. +// rich : 2013-11-21 iRegistry GmbH rich // richardli : 2015-05-14 Pacific Century Asset Management (HK) Limited @@ -9758,9 +9756,6 @@ show // showtime : 2015-08-06 CBS Domains Inc. showtime -// shriram : 2014-01-23 Shriram Capital Ltd. -shriram - // silk : 2015-06-25 Amazon Registry Services, Inc. silk @@ -10073,7 +10068,7 @@ travelers // travelersinsurance : 2015-03-26 Travelers TLD, LLC travelersinsurance -// trust : 2014-10-16 NCC Group Domain Services, Inc. +// trust : 2014-10-16 UNR Corp. trust // trv : 2015-03-26 Travelers TLD, LLC @@ -10595,7 +10590,7 @@ vermögensberatung // xyz : 2013-12-05 XYZ.COM LLC xyz -// yachts : 2014-01-09 DERYachts, LLC +// yachts : 2014-01-09 XYZ.COM LLC yachts // yahoo : 2015-04-02 Yahoo! Domain Services Inc. @@ -10680,12 +10675,6 @@ barsy.ca // Submitted by Werner Kaltofen kasserver.com -// Algorithmia, Inc. : algorithmia.com -// Submitted by Eli Perelman -*.algorithmia.com -!teams.algorithmia.com -!test.algorithmia.com - // Altervista: https://www.altervista.org // Submitted by Carlo Cannas altervista.org @@ -10868,6 +10857,10 @@ bnr.la // Submitted by Paul Crowder blackbaudcdn.net +// Blatech : http://www.blatech.net +// Submitted by Luke Bratch +of.je + // Boomla : https://boomla.com // Submitted by Tibor Halter boomla.net @@ -10981,10 +10974,6 @@ c.la // Submitted by B. Blechschmidt certmgr.org -// Citrix : https://citrix.com -// Submitted by Alex Stoddard -xenapponazure.com - // Civilized Discourse Construction Kit, Inc. : https://www.discourse.org/ // Submitted by Rishabh Nambiar & Michael Brown discourse.group @@ -11073,10 +11062,6 @@ cloudns.pro cloudns.pw cloudns.us -// Cloudeity Inc : https://cloudeity.com -// Submitted by Stefan Dimitrov -cloudeity.net - // CNPY : https://cnpy.gdn // Submitted by Angelo Gladding cnpy.gdn @@ -11537,6 +11522,10 @@ ddnss.org definima.net definima.io +// DigitalOcean : https://digitalocean.com/ +// Submitted by Braxton Huggins +ondigitalocean.app + // dnstrace.pro : https://dnstrace.pro/ // Submitted by Chris Partridge bci.dnstrace.pro @@ -11802,6 +11791,10 @@ ukco.me // submitted by Koen Van Isterdael mydobiss.com +// FH Muenster : https://www.fh-muenster.de +// Submitted by Robin Naundorf +fh-muenster.io + // Filegear Inc. : https://www.filegear.com // Submitted by Jason Zhu filegear.me @@ -11872,6 +11865,7 @@ usercontent.jp gentapps.com gentlentapis.com lab.ms +cdn-edges.net // GitHub, Inc. // Submitted by Patrick Toomey @@ -11931,9 +11925,10 @@ pagespeedmobilizer.com publishproxy.com withgoogle.com withyoutube.com -cloudfunctions.net +*.gateway.dev cloud.goog translate.goog +cloudfunctions.net blogspot.ae blogspot.al @@ -12056,6 +12051,10 @@ ravendb.me development.run ravendb.run +// Hong Kong Productivity Council: https://www.hkpc.org/ +// Submitted by SECaaS Team +secaas.hk + // HOSTBIP REGISTRY : https://www.hostbip.com/ // Submitted by Atanunu Igbunuroghene bpl.biz @@ -12165,7 +12164,7 @@ iserv.dev // Submitted by Yuji Minagawa iobb.net -//Jelastic, Inc. : https://jelastic.com/ +// Jelastic, Inc. : https://jelastic.com/ // Submited by Ihor Kolodyuk mel.cloudlets.com.au cloud.interhostsolutions.be @@ -12180,6 +12179,9 @@ jele.cloud it1.eur.aruba.jenv-aruba.cloud it1.jenv-aruba.cloud it1-eur.jenv-arubabiz.cloud +oxa.cloud +tn.oxa.cloud +uk.oxa.cloud primetel.cloud uk.primetel.cloud ca.reclaim.cloud @@ -12250,6 +12252,7 @@ jelastic.regruhosting.ru enscaled.sg jele.site jelastic.team +orangecloud.tn j.layershift.co.uk phx.enscaled.us mircloud.us @@ -12327,10 +12330,6 @@ co.technology // Submitted by Greg Holland app.lmpm.com -// Linki Tools UG : https://linki.tools -// Submitted by Paulo Matos -linkitools.space - // linkyard ldt: https://www.linkyard.ch/ // Submitted by Mario Siegenthaler linkyard.cloud @@ -12369,7 +12368,6 @@ swidnik.pl // Lug.org.uk : https://lug.org.uk // Submitted by Jon Spriggs -uklugs.org glug.org.uk lug.org.uk lugs.org.uk @@ -12446,11 +12444,17 @@ eu.meteorapp.com co.pl // Microsoft Corporation : http://microsoft.com -// Submitted by Mostafa Elzeiny +// Submitted by Mitch Webster *.azurecontainer.io azurewebsites.net azure-mobile.net cloudapp.net +azurestaticapps.net +centralus.azurestaticapps.net +eastasia.azurestaticapps.net +eastus2.azurestaticapps.net +westeurope.azurestaticapps.net +westus2.azurestaticapps.net // minion.systems : http://minion.systems // Submitted by Robert Böttinger @@ -12492,19 +12496,22 @@ cust.retrosnub.co.uk ui.nabu.casa // Names.of.London : https://names.of.london/ -// Submitted by James Stevens or +// Submitted by James Stevens or pony.club of.fashion -on.fashion -of.football in.london of.london +from.marketing +with.marketing for.men +repair.men and.mom for.mom for.one +under.one for.sale -of.work +that.win +from.work to.work // NCTU.ME : https://nctu.me/ @@ -12824,6 +12831,12 @@ mypep.link // Submitted by Kenneth Van Alstyne perspecta.cloud +// PE Ulyanov Kirill Sergeevich : https://airy.host +// Submitted by Kirill Ulyanov +lk3.ru +ra-ru.ru +zsew.ru + // Planet-Work : https://www.planet-work.com/ // Submitted by Frédéric VANNIÈRE on-web.fr @@ -12885,6 +12898,10 @@ byen.site // Submitted by Kor Nielsen pubtls.org +// QOTO, Org. +// Submitted by Jeffrey Phillips Freeman +qoto.io + // Qualifio : https://qualifio.com/ // Submitted by Xavier De Cock qualifioapp.com @@ -12970,7 +12987,6 @@ hzc.io // Revitalised Limited : http://www.revitalised.co.uk // Submitted by Jack Price wellbeingzone.eu -ptplus.fit wellbeingzone.co.uk // Rochester Institute of Technology : http://www.rit.edu/ @@ -13344,7 +13360,7 @@ wafflecell.com // Submitted by Fajar Sodik idnblogger.com indowapblog.com -bloghp.id +bloger.id wblog.id wbq.me fastblog.net -- cgit v1.2.1 From 303f0a19cc6b819dd4dc750aa278ca8563d3b64b Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Wed, 9 Dec 2020 21:16:03 +0200 Subject: Support highlighting of ripgrep output (bug#44983) * etc/grep.txt: Add ripgrep samples. * lisp/progmodes/grep.el (grep-match-regexp): Highlight ripgrep matches too. (grep-regexp-alist): Remove $ to highlight ripgrep binary file matches. --- etc/grep.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc') diff --git a/etc/grep.txt b/etc/grep.txt index 19a3b4b47b7..3dc4aac3c89 100644 --- a/etc/grep.txt +++ b/etc/grep.txt @@ -85,6 +85,12 @@ git --no-pager grep -inH -p -e "org-element-map" lisp/org/org.el=20969=(defun org-fill-paragraph (&optional justify) lisp/org/org.el:21047: (org-element-map +* ripgrep + +rg -nH --color always --no-heading -e grep-match-regexp +lisp/progmodes/grep.el:608: (while (re-search-forward grep-match-regexp end 1) +Binary file emacs.info matches (found "\u{0}" byte around offset 2222525) + * unknown greps grep -nH -e "xyzxyz" ../info/* -- cgit v1.2.1 From 14ffab8263eb219fe0c49ad4e0a3476316c542c0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 11 Dec 2020 14:25:20 +0100 Subject: Add a new function `button-buttonize' * doc/lispref/display.texi (Manipulating Buttons): Document it. * lisp/button.el (button-buttonize): Implement it. --- etc/NEWS | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 83fe7a349e3..f2772843e76 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1368,6 +1368,21 @@ This face is used for error messages from 'diff'. *** New command 'diff-refresh-hunk'. This new command (bound to 'C-c C-l') regenerates the current hunk. +** Buttons + ++++ +*** New minor mode 'button-mode'. +This minor mode does nothing else than install 'button-buffer-map' as +a minor mode map (which binds the 'TAB' / 'S-TAB' key bindings to navigate +to buttons), and can be used in any view-mode-like buffer that has +buttons in it. + ++++ +*** New utility function 'button-buttonize'. +This function takes a string and returns a string propertized in a way +that makes it a valid button. + + ** Miscellaneous --- @@ -1480,13 +1495,6 @@ both modes are on). This works like 'report-emacs-bug', but is more geared towards sending patches to the Emacs issue tracker. -+++ -*** New minor mode 'button-mode'. -This minor mode does nothing else than install 'button-buffer-map' as -a minor mode map (which binds the 'TAB' / 'S-TAB' key bindings to navigate -to buttons), and can be used in any view-mode-like buffer that has -buttons in it. - --- *** 'icomplete-show-matches-on-no-input' behavior change. Previously, choosing a different completion with commands like 'C-.' -- cgit v1.2.1 From 9d598ef93cbebe59f1d3a91f4fda35d3e00f36a9 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 11 Dec 2020 14:30:44 +0100 Subject: Add new function 'image-cache-size' * src/image.c (Fimage_cache_size): New defun. (image_frame_cache_size): New function. --- etc/NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index f2772843e76..befcf08cec3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1089,6 +1089,10 @@ If 'shr-width' is non-nil, it overrides this variable. ** Images ++++ +*** New function 'image-cache-size'. +This function returns the size of the current image cache, in bytes. + --- *** Animated images stop automatically under high CPU pressure sooner. Previously, an animated image would stop animating if any single image -- cgit v1.2.1 From aa7e5ce651b1872180e8da94ac80fbc25e33eec0 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 11 Dec 2020 14:40:20 +0100 Subject: Add new function `object-intervals' * doc/lispref/text.texi (Examining Properties): Document it. * src/fns.c (Fobject_intervals): New defun. (collect_interval): New function. --- etc/NEWS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index befcf08cec3..1640e277987 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1389,6 +1389,12 @@ that makes it a valid button. ** Miscellaneous ++++ +*** New function 'object-intervals'. +This function returns a copy of the list of intervals (i.e., text +properties) in the object in question (which must either be a string +or a buffer). + --- *** 'hexl-mode' scrolling commands now heed 'next-screen-context-lines'. Previously, 'hexl-scroll-down' and 'hexl-scroll-up' would scroll -- cgit v1.2.1 From 004d7e97e2c54c1089a776055ffd173d132fe5ae Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 11 Dec 2020 14:49:53 +0100 Subject: Add a new command `memory-report' * doc/lispref/internals.texi (Garbage Collection): Document it. * lisp/emacs-lisp/memory-report.el: New package. --- etc/NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 1640e277987..33cc2c30a08 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -275,6 +275,11 @@ preserving markers, properties and overlays. The new variable number of seconds that 'revert-buffer-with-fine-grain' should spend trying to be non-destructive. ++++ +** New command 'memory-report'. +This command opens a new buffer called "*Memory Report*" and gives a +summary of where Emacs is using memory currently. + ** Outline +++ -- cgit v1.2.1 From 78607f21b51cef7456d8075e67e3a1de5cf47483 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 11 Dec 2020 19:06:55 -0500 Subject: * lisp/play/dunnet.el: Make it so loading the file is harmless Move comments into docstrings while at it. (dun-batch): New function. --- etc/NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 33cc2c30a08..26e4b8514fc 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -292,6 +292,10 @@ the buffer cycles the whole buffer between "only top-level headings", * Changes in Specialized Modes and Packages in Emacs 28.1 +** Loading dunnet.el in batch mode doesn't start the game any more +Instead you need to do 'emacs -f dun-batch' to start the game in +batch mode. + ** Emacs Server +++ -- cgit v1.2.1 From dba74cb5ec1c1abfbee236bbcf811b023bb19d4f Mon Sep 17 00:00:00 2001 From: Pankaj Jangid Date: Sat, 12 Dec 2020 11:47:12 +0100 Subject: Allow customizing the Gnus summary thread indicators * doc/misc/gnus.texi (Summary Buffer Lines): Document them. * lisp/gnus/gnus-sum.el (gnus-summary-prepare-threads): Use them. * lisp/gnus/gnus-sum.el (gnus-sum-opening-bracket) (gnus-sum-closing-bracket, gnus-sum-opening-bracket-adopted) (gnus-sum-closing-bracket-adopted): New variables. --- etc/NEWS | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 26e4b8514fc..9aa735da726 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -510,6 +510,19 @@ tags to be considered as well. ** Gnus ++++ +*** New user options to customise the summary line specs %[ and %]. +Four new options introduced in customisation group +'gnus-summary-format'. These are 'gnus-sum-opening-bracket', +'gnus-sum-closing-bracket', 'gnus-sum-opening-bracket-adopted', and +'gnus-sum-closing-bracket-adopted'. Their default values are '[', ']', +'<', '>' respectively. These variables control the appearance of '%[' +and '%]' specs in the summary line format. '%[' will normally display +the value of 'gnus-sum-opening-bracket', but can also be +'gnus-sum-opening-bracket-adopted' for the adopted articles. '%]' will +normally display the value of 'gnus-sum-closing-bracket', but can also +be 'gnus-sum-closing-bracket-adopted' for the adopted articles. + +++ *** New user option 'gnus-paging-select-next'. This controls what happens when using commands like 'SPC' and 'DEL' to -- cgit v1.2.1 From f45ce78c40e37bf2aab83d2d1183ed896c5c1c4c Mon Sep 17 00:00:00 2001 From: Zajcev Evgeny Date: Thu, 3 Dec 2020 18:37:18 +0300 Subject: Explicitly specify svg base_uri using `:base-uri' image property * src/image.c (svg_load): Check `:base-uri' image property to explicitly set base_uri for images embedded into SVG (enum svg_keyword_index): (svg_format): Add :base-uri. * lisp/svg.el (svg-embed-base-uri-image): New function to embed images located relative to images `:base-uri' --- etc/NEWS | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index 9aa735da726..901a432d99e 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1111,6 +1111,18 @@ If 'shr-width' is non-nil, it overrides this variable. ** Images +--- +** Can explicitly specify base_uri for svg images. +':base-uri' image property can be used to explicitly specify base_uri +for embedded images into svg. ':base-uri' is supported for both file +and data svg images. + ++++ +** 'svg-embed-base-uri-image' added to embed images +'svg-embed-base-uri-image' can be used to embed images located +relatively to 'file-name-directory' of the ':base-uri' svg image property. +This works much faster then 'svg-embed'. + +++ *** New function 'image-cache-size'. This function returns the size of the current image cache, in bytes. -- cgit v1.2.1