bug#73023: Obsolete documentation on insert-in-front-hooks (GNU Emacs 29.4)

2024-09-04 Thread Rodrigo Morales
Rodrigo Morales writes: > I believe that the part "these functions receive two arguments, the > beginning and end of the inserted text." is obsolete because functions > in insert-in-front-hooks are passed 4 parameters. In the code block > below, you can see a correct function definition for > ins

bug#73022: 31.0.50; Crash in build_frame_matrix_from_leaf_window after C-x 2 and reducing terminal size

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
Sorry, my last mail went at the wrong address. Reposting. > In particular, I found a case in which an assert fails because the > window row glyph memory is not contained in the frame row glyph > memory. > > It happens in a recent build (99a03ddb2d4) built without X support. > I'm running it in a

bug#72866: [PATCH] Add ediff-copy-all-X-to-Y functions

2024-09-04 Thread Paul Nelson
Hi Robert, > The functionality seems useful. I wonder if it makes more sense to > have them triggered by the prefix arg, eg "C-u b", "C-u a b", > etc. rather than having to keep Ctrl pressed. > > Robert > -- Many thanks for your suggestion. I agree that this is a more elegant approach, which als

bug#72863: 30.0.50; tree-sitter elixir-ts-mode hangs and memory leak on some elixir and heex code

2024-09-04 Thread mail
I can confirm that I never had such problems in heex-ts-mode but only with inline heex in elixir-ts-mode. > On Sep 4, 2024, at 10:39 AM, Wilhelm Kirschbaum wrote: > > > > On Thu, Aug 29, 2024 at 8:14 AM Yuan Fu > wrote: >> >> >> > On Aug 28, 2024, at 10:09 PM, Eli

bug#72986: Disabling menu-bar-mode changes size of new frames

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
>> Thanks. The geometry values are consistent with what you described. >> This seems to be Bug#67654 and Bug#68463 and possibly Bug#65559. When >> you run Emacs from a console or under gdb can you observe whether it >> triggers a >> >> gtk_distribute_natural_allocation: assertion 'extra_space >=

bug#72986: Disabling menu-bar-mode changes size of new frames

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
> Isn't it true that disabling menu-bar-mode from the init file avoids > these problems? In Reuben's second scenario 'menu-bar-mode' is not disabled. The second frame is smaller with the menu bar enabled. martin

bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer

2024-09-04 Thread Madhu
No problem, * Michael Heerdegen <87seug85hh@web.de> Wrote on Wed, 04 Sep 2024 05:25:46 +0200 > Could you please post a recipe and a backtrace for this second problem? ``` emacs -Q -l f.el ``` produces the backtrace in the file backtrace.txt with the match-data clobbered error. At this point

bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer

2024-09-04 Thread Madhu
* Madhu <20240904.142831.1583368143272051709.enom...@meer.net> Wrote on Wed, 04 Sep 2024 14:28:31 +0530 (IST) > produces the backtrace in the file backtrace.txt with the match-data > clobbered error. At this point (i.e. after the error occurs) if I do > "M-x load-library wdired", then a subseque

bug#69097: [PATCH] Add 'kill-region-or-word' command

2024-09-04 Thread Eli Zaretskii
> From: Philip Kaludercic > Cc: spwhit...@spwhitton.name, stefankan...@gmail.com, acora...@gnu.org, > j...@linkov.net, r...@gnu.org, 69...@debbugs.gnu.org > Date: Tue, 03 Sep 2024 16:32:46 + > > I've added the NEWS entry from the last iteration of the patch (now > actually as a patch, n

bug#72986: Disabling menu-bar-mode changes size of new frames

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
On Wed, 4 Sept 2024 at 09:02, martin rudalics wrote: > >> > >> gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed > >> > > > > Yes, both with Emacs 29 and git master produce this message when > > menu-bar-mode is non-nil, and the menu bar is drawn, in both window > sizes

bug#66068: 30.0.50; xwidget-webkit-browse-url makes Emacs abort

2024-09-04 Thread Peter Oliver
If my understanding of this bug is correct, newer versions of WebKitGTK reliably crash Emacs, and no-one has been in touch with the WebKitGTK developers, so there are no plans to fix that. If that’s the case, how about this attached patch to disable this feature with problematic versions of th

bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package

2024-09-04 Thread Eli Zaretskii
> From: John Wiegley > Cc: ste...@stebalien.com, 72...@debbugs.gnu.org > Date: Tue, 03 Sep 2024 15:35:48 -0700 > > > Eli Zaretskii writes: > > >> Perhaps we should avoid auto -hook’ifying the variable name only if the > >> name > >> does not already end in ‘-functions’? > > > Either that

bug#72951: Hideshow support for treesitter

2024-09-04 Thread Eli Zaretskii
Closing.

bug#71289: 30.0.50; cmcheckmagic aborts when tty_write_glyphs writes "Garbage collecting..." in some cases

2024-09-04 Thread Eli Zaretskii
> From: Daniel Clemente > Date: Wed, 4 Sep 2024 06:09:50 + > Cc: 71...@debbugs.gnu.org > > > > The build_frame_matrix_from_leaf_window crash still happens. > > > > That's another problem. There seems to be some disconnect, time-wise, > > in reallocating frame matrices and sub-allocating wind

bug#72986: Disabling menu-bar-mode changes size of new frames

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
Reuben Thomas writes: > On Wed, 4 Sept 2024 at 09:02, martin rudalics wrote: > > >> > >> gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed > >> > > > > Yes, both with Emacs 29 and git master produce this message when > > menu-bar-mode is non-nil, and the menu bar

bug#73022: 31.0.50; Crash in build_frame_matrix_from_leaf_window after C-x 2 and reducing terminal size

2024-09-04 Thread Eli Zaretskii
> Date: Wed, 4 Sep 2024 09:28:47 +0200 > From: martin rudalics via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > To reproduce: > > 1. Open emacs -Q > > 2. Press C-x 2 to split the frame (top/bottom) > > 3. Make the terminal very small (I slowly resize the X windo

bug#73023: Obsolete documentation on insert-in-front-hooks (GNU Emacs 29.4)

2024-09-04 Thread Eli Zaretskii
> From: Rodrigo Morales > Date: Wed, 4 Sep 2024 00:18:05 -0500 > > Rodrigo Morales writes: > > > I believe that the part "these functions receive two arguments, the > > beginning and end of the inserted text." is obsolete because functions > > in insert-in-front-hooks are passed 4 parameters. I

bug#72977: 28.2; DOS in Shell-script mode

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
>> echo in in in in in in in in in in in in in in in in in in in in in in in in >> in in in in in in >> >> After about 20 'in's, things slow down noticeably, and I can't get to 30 >> without it hanging. > > The profile is below. Maybe Stefan (CC'ed) has some comments or > suggestions. > >

bug#72866: [PATCH] Add ediff-copy-all-X-to-Y functions

2024-09-04 Thread Robert Pluim
> On Wed, 4 Sep 2024 09:30:58 +0200, Paul Nelson said: Paul> Many thanks for your suggestion. I agree that this is a more elegant Paul> approach, which also admits a simpler implementation. I've attached Paul> my revised patch. Any further feedback welcome. Minor comments belo

bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode

2024-09-04 Thread Konstantin Kharlamov
On Tue, 2024-09-03 at 19:18 +0300, Konstantin Kharlamov wrote: > On Tue, 2024-09-03 at 18:30 +0300, Eli Zaretskii wrote: > > > Cc: da_...@orange.fr > > > From: Konstantin Kharlamov > > > Date: Tue, 03 Sep 2024 17:46:09 +0300 > > > > > > CCing the commit author. > > > > > > Sorry for using extern

bug#72986: Disabling menu-bar-mode changes size of new frames

2024-09-04 Thread Robert Pluim
> On Wed, 04 Sep 2024 20:12:28 +0800, Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" said: Po Lu> If it is this bug that you are trying to isolate, we have already heard Po Lu> reports of its being reproducible all the way to Emacs 26.1, and Po

bug#72866: [PATCH] Add ediff-copy-all-X-to-Y functions

2024-09-04 Thread Eli Zaretskii
> From: Robert Pluim > Cc: Eli Zaretskii , 72...@debbugs.gnu.org > Date: Wed, 04 Sep 2024 15:01:23 +0200 > > Eli, does this change need a copyright assigment? I donʼt see > 'ultr...@gmail.com' in the git logs anywhere. Paul's assignment is on file, so we are okay in that department.

bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode

2024-09-04 Thread Eli Zaretskii
> From: Konstantin Kharlamov > Cc: 73...@debbugs.gnu.org, da_...@orange.fr > Date: Wed, 04 Sep 2024 16:02:27 +0300 > > 1. Press f (it will wait for next character) > 2. Press C-g to cancel the action > 3. Press M-: > > Result: line numbers disappear along with minibuffer popping up. > > Another

bug#72866: [PATCH] Add ediff-copy-all-X-to-Y functions

2024-09-04 Thread Paul Nelson
Thanks Robert, I've implemented your suggestions. I hope someone will check that I've used "+++" correctly in NEWS, affirming that I updated the documentation -- hopefully I didn't miss anything. Any other comments welcome. Paul 0001-Add-Ediff-feature-for-copying-all-differences.patch Descript

bug#73022: 31.0.50; Crash in build_frame_matrix_from_leaf_window after C-x 2 and reducing terminal size

2024-09-04 Thread Eli Zaretskii
> Cc: n142...@gmail.com, 73...@debbugs.gnu.org > Date: Wed, 04 Sep 2024 15:21:16 +0300 > From: Eli Zaretskii > > > Date: Wed, 4 Sep 2024 09:28:47 +0200 > > From: martin rudalics via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > > To reproduce: > > > 1. Open e

bug#69097: [PATCH] Add 'kill-region-or-word' command

2024-09-04 Thread Sean Whitton
Hello, On Tue 03 Sep 2024 at 04:32pm GMT, Philip Kaludercic wrote: > > +(defcustom kill-region-dwim nil > + "Behaviour when `kill-region' is invoked without an active region. > +If set to nil (default), then an error occurs and nothing is killed. If > +set to `emacs-word', then kill a the last

bug#69097: [PATCH] Add 'kill-region-or-word' command

2024-09-04 Thread Eli Zaretskii
> From: Sean Whitton > Cc: Eli Zaretskii , stefankan...@gmail.com, > acora...@gnu.org, j...@linkov.net, r...@gnu.org, 69...@debbugs.gnu.org > Date: Wed, 04 Sep 2024 15:07:08 +0100 > > > +(defcustom kill-region-dwim nil > > + "Behaviour when `kill-region' is invoked without an active region

bug#73027: Fwd: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu

2024-09-04 Thread Eval EXEC
Start of forwarded message From: Eval EXEC To: emacs-devel Subject: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu Hello, I'm using tab-bar-mode, and I've included `tab-bar-format-global` in `tab-bar-for

bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode

2024-09-04 Thread Konstantin Kharlamov
On Wed, 2024-09-04 at 16:15 +0300, Eli Zaretskii wrote: > > From: Konstantin Kharlamov > > Cc: 73...@debbugs.gnu.org, da_...@orange.fr > > Date: Wed, 04 Sep 2024 16:02:27 +0300 > > > > 1. Press f (it will wait for next character) > > 2. Press C-g to cancel the action > > 3. Press M-: > > > > Res

bug#73018: 31.0.50; wdired + replace-regexp only modifies the visible portion of the buffer

2024-09-04 Thread Juri Linkov
>> + (font-lock-ensure) >>(run-mode-hooks 'wdired-mode-hook) >>(message "%s" (substitute-command-keys >> "Press \\[wdired-finish-edit] when finished \ > > Yip. When we do this (guess we don't have a choice), my preferred > solution would be to hook this into the correspondin

bug#73027: Fwd: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu

2024-09-04 Thread Juri Linkov
> I'm using tab-bar-mode, and I've included `tab-bar-format-global` in > `tab-bar-format`. This displays `global-mode-string` on the tab-bar. > > However, in `global-mode-string`, I have `mu4e`. The tab-bar seems to > remove the hover and mouse click actions from `global-mode-string`. Please sho

bug#73027: Fwd: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu

2024-09-04 Thread Eval EXEC
Juri Linkov writes: >> I'm using tab-bar-mode, and I've included `tab-bar-format-global` in >> `tab-bar-format`. This displays `global-mode-string` on the tab-bar. >> >> However, in `global-mode-string`, I have `mu4e`. The tab-bar seems to >> remove the hover and mouse click actions from `globa

bug#72999: 29.4; fill-paragraph error in latex mode

2024-09-04 Thread Vadim Zaliva
Arash, thanks for response. I do have auctex 14.0.6 installed via ELPA. I tried to reproce the problem starting from `emacs -Q` and it did not reproduce. With my default setup it's still happening with the following debug trace: Debugger entered--Lisp error: (wrong-type-argument stringp nil)  

bug#72762: 30.0.60; Incorrect rendering of the completion-preview mode

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
Eshel Yaron writes: [...] > An arguably nicer solution is to give the completion preview overlay > higher priority, so it is displayed before the "[Incomplete Command]" > message. However, we don't always want to give the completion preview > overlay a positive priority, since that may lead to in

bug#72986: Disabling menu-bar-mode changes size of new frames

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
> Just to check, you're suggesting that I bisect from emacs-29.3 (I use that > tag because it's what the version of 29 I'm using is built from) to master > HEAD, to find at which commit C-x 5 2 opens a small window immediately > (without disabling menu-bar-mode)? That's the idea, yes. > This mad

bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package

2024-09-04 Thread John Wiegley
> Eli Zaretskii writes: > Like the below? Yes, looks good! Thank you, Eli. -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2

bug#72993: 31.0.50; 4f521fa14c18f57e5207bffd68e9f79454dccc79 breaks binding mode hooks in use-package

2024-09-04 Thread Eli Zaretskii
> From: John Wiegley > Cc: ste...@stebalien.com, 72...@debbugs.gnu.org > Date: Wed, 04 Sep 2024 10:30:21 -0700 > > > Eli Zaretskii writes: > > > Like the below? > > Yes, looks good! Thank you, Eli. Thanks, installed on the emacs-30 branch, and closing the bug.

bug#72999: 29.4; fill-paragraph error in latex mode

2024-09-04 Thread Arash Esbati
Vadim Zaliva writes: > Arash, thanks for response. I do have auctex 14.0.6 installed via > ELPA. I tried to reproce the problem starting from `emacs -Q` and it > did not reproduce. You're welcome. The above essentially says that AUCTeX isn't the culprit per se since it works with the standard s

bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
On 04/09/2024 6:00 PM, Konstantin Kharlamov wrote: On Wed, 2024-09-04 at 16:15 +0300, Eli Zaretskii wrote: From: Konstantin Kharlamov Cc: 73...@debbugs.gnu.org, da_...@orange.fr Date: Wed, 04 Sep 2024 16:02:27 +0300 1. Press f (it will wait for next character) 2. Press C-g to cancel the action

bug#72986: Disabling menu-bar-mode changes size of new frames

2024-09-04 Thread Bug reports for GNU Emacs, the Swiss army knife of text editors
On Wed, 4 Sept 2024 at 18:11, martin rudalics wrote: > > Just to check, you're suggesting that I bisect from emacs-29.3 (I use > that > > tag because it's what the version of 29 I'm using is built from) to > master > > HEAD, to find at which commit C-x 5 2 opens a small window immediately > >

bug#72863: 30.0.50; tree-sitter elixir-ts-mode hangs and memory leak on some elixir and heex code

2024-09-04 Thread Yuan Fu
> On Sep 4, 2024, at 12:42 AM, m...@ssbb.me wrote: > > I can confirm that I never had such problems in heex-ts-mode but only with > inline heex in elixir-ts-mode. > >> On Sep 4, 2024, at 10:39 AM, Wilhelm Kirschbaum >> wrote: >> >> >> >> On Thu, Aug 29, 2024 at 8:14 AM Yuan Fu wrote: >>

bug#72961: Possible documentation improvement: Clarification for package installation

2024-09-04 Thread Krystian Samp
Also note that the preceding paragraph in 28.8 talks about the need to 'load' or 'require' libraries that you want to make available at startup. So reading in the very next paragraph: "[...] and also writes the necessary initialization code into your init files" sets the expectation that package-in

bug#73005: [REGRESSION, BISECTED]: line numbers disappear when pressing `df` in evil-mode

2024-09-04 Thread Eli Zaretskii
> Date: Thu, 5 Sep 2024 00:07:35 +0200 > Cc: 73...@debbugs.gnu.org > From: David Ponce > > Could it be that a temporary buffer named " *work*" is being used somewhere? > In which case there could be nasty side effects with the same buffer being > used by `with-work-buffer'? In that case, modifyi

bug#73036: 29.4; Test failure in erc-networks--id-sort-buffers

2024-09-04 Thread Ulrich Mueller
Forwarding Gentoo bug 920696 . We see the following test failure on an hppa2.0-unknown-linux-gnu (Linux-6.9.8-gentoo-parisc64-parisc64-PA8900_-Shortfin-with-glibc2.39) system: Test erc-networks--id-sort-buffers condition: (ert-test-failed ((should (

bug#72961: Possible documentation improvement: Clarification for package installation

2024-09-04 Thread Eli Zaretskii
> From: Philip Kaludercic > Cc: Krystian Samp , 72...@debbugs.gnu.org > Date: Mon, 02 Sep 2024 18:49:40 + > > I believe the documentation here is just outdated. From NEWS.27: > > ** Installed packages are now activated *before* loading the init file. > As a result of this change, it is

bug#73027: Fwd: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu

2024-09-04 Thread Juri Linkov
>>> I'm using tab-bar-mode, and I've included `tab-bar-format-global` in >>> `tab-bar-format`. This displays `global-mode-string` on the tab-bar. >>> >>> However, in `global-mode-string`, I have `mu4e`. The tab-bar seems to >>> remove the hover and mouse click actions from `global-mode-string`. >

bug#72961: Possible documentation improvement: Clarification for package installation

2024-09-04 Thread Eli Zaretskii
> From: Krystian Samp > Date: Wed, 4 Sep 2024 23:52:15 +0200 > Cc: Eli Zaretskii , 72...@debbugs.gnu.org > > I'd propose to make a simple change in 28.8 that is consistent with 49.3: > > Original: > "Note that installing a package using package-install (see Package > Installation) takes care of

bug#73036: 29.4; Test failure in erc-networks--id-sort-buffers

2024-09-04 Thread J.P.
Hi Ulrich, Author of shoddy test here. Apologies for the annoyance. Ulrich Mueller writes: > Looking at the code, the test creates three buffers, then sorts them by > time. Clock resolution on HPPA appears to be 4 milliseconds, so it is > not unlikely that the buffers end up with exactly the sa