unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#73023: Obsolete documentation on insert-in-front-hooks (GNU Emacs 29.4)
       [not found] <87v7zc81i2.fsf@morales.pe>
@ 2024-09-04  5:18 ` Rodrigo Morales
  2024-09-04 12:28   ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Morales @ 2024-09-04  5:18 UTC (permalink / raw)
  To: rodrigo-mailing-lists, 73023

Rodrigo Morales <rodrigo-mailing-lists@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#73023: Obsolete documentation on insert-in-front-hooks (GNU Emacs 29.4)
  2024-09-04  5:18 ` bug#73023: Obsolete documentation on insert-in-front-hooks (GNU Emacs 29.4) Rodrigo Morales
@ 2024-09-04 12:28   ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-09-04 12:28 UTC (permalink / raw)
  To: Rodrigo Morales; +Cc: 73023-done

> From: Rodrigo Morales <rodrigo@morales.pe>
> Date: Wed, 4 Sep 2024 00:18:05 -0500
> 
> Rodrigo Morales <rodrigo-mailing-lists@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-04 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87v7zc81i2.fsf@morales.pe>
2024-09-04  5:18 ` bug#73023: Obsolete documentation on insert-in-front-hooks (GNU Emacs 29.4) Rodrigo Morales
2024-09-04 12:28   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).