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

Previous Next

Package: emacs;

Reported by: Rodrigo Morales <rodrigo <at> morales.pe>

Date: Wed, 4 Sep 2024 07:25:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73023 in the body.
You can then email your comments to 73023 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#73023; Package emacs. (Wed, 04 Sep 2024 07:25:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rodrigo Morales <rodrigo <at> morales.pe>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 04 Sep 2024 07:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rodrigo Morales <rodrigo <at> morales.pe>
To: Rodrigo Morales <rodrigo-mailing-lists <at> morales.pe>, <bug-gnu-emacs <at> gnu.org>
Subject: Re: Obsolete documentation on insert-in-front-hooks (GNU Emacs 29.4)
Date: Wed, 4 Sep 2024 00:18:05 -0500
Rodrigo Morales <rodrigo-mailing-lists <at> morales.pe> 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
> insert-in-front-hooks. The two code block shown below were retrieved
> from the file ./lisp/progmodes/cpp.el

When I wrote this bug report, I wasn't aware about the difference
between text properties and overlay properties. I thought that all
properties that can be used on text can also be used on overlays, now I
know that I'm wrong. Please omit this bug report.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Wed, 04 Sep 2024 12:30:02 GMT) Full text and rfc822 format available.

Notification sent to Rodrigo Morales <rodrigo <at> morales.pe>:
bug acknowledged by developer. (Wed, 04 Sep 2024 12:30:02 GMT) Full text and rfc822 format available.

Message #10 received at 73023-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Rodrigo Morales <rodrigo <at> morales.pe>
Cc: 73023-done <at> debbugs.gnu.org
Subject: Re: bug#73023: Obsolete documentation on insert-in-front-hooks (GNU
 Emacs 29.4)
Date: Wed, 04 Sep 2024 15:28:07 +0300
> From: Rodrigo Morales <rodrigo <at> morales.pe>
> Date: Wed, 4 Sep 2024 00:18:05 -0500
> 
> Rodrigo Morales <rodrigo-mailing-lists <at> morales.pe> 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
> > insert-in-front-hooks. The two code block shown below were retrieved
> > from the file ./lisp/progmodes/cpp.el
> 
> When I wrote this bug report, I wasn't aware about the difference
> between text properties and overlay properties. I thought that all
> properties that can be used on text can also be used on overlays, now I
> know that I'm wrong. Please omit this bug report.

Thanks, closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Oct 2024 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.