all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* print functions does not run after-change-functions
@ 2006-04-16 22:30 Lars Hansen
  2006-04-17 17:56 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Hansen @ 2006-04-16 22:30 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

All printing functions (prin1, princ and so on) run
before-change-functions but not after-change-functions. I believe the
attached patch fixes the bug. Objections?

[-- Attachment #2: print.diff --]
[-- Type: text/x-patch, Size: 687 bytes --]

*** print.c.~1.222.~	2006-04-14 23:39:25.000000000 +0200
--- print.c	2006-04-17 00:28:46.209670812 +0200
***************
*** 275,280 ****
--- 275,281 ----
         else                                                             \
           insert_1_both (print_buffer, print_buffer_pos,                 \
                          print_buffer_pos_byte, 0, 1, 0);                \
+        signal_after_change (PT - print_buffer_pos, 0, print_buffer_pos);\
       }                                                                  \
     if (free_print_buffer)                                               \
       {                                                                  \

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: print functions does not run after-change-functions
  2006-04-16 22:30 print functions does not run after-change-functions Lars Hansen
@ 2006-04-17 17:56 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2006-04-17 17:56 UTC (permalink / raw)
  Cc: emacs-devel

    All printing functions (prin1, princ and so on) run
    before-change-functions but not after-change-functions. I believe the
    attached patch fixes the bug. Objections?

Thanks for fixing the bug.  If nobody else objects in a few days, please
install it.

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

end of thread, other threads:[~2006-04-17 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-16 22:30 print functions does not run after-change-functions Lars Hansen
2006-04-17 17:56 ` Richard Stallman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.