* Code inspection: Generic problems
@ 2005-07-12 12:53 Kim F. Storm
2005-07-18 4:48 ` Richard M. Stallman
0 siblings, 1 reply; 2+ messages in thread
From: Kim F. Storm @ 2005-07-12 12:53 UTC (permalink / raw)
I found that a number of global lisp objects which have no staticpro.
The following vars seems to need staticpro, but could someone
pls. check -- and add a comment if that is really ok:
- Qecho_area_clear_hook
- re_match_object
I assume that it is ok for window and buffer vars to not have
staticpro, but could someone pls. check these anyway:
- combine_after_change_buffer
- echo_area_window
- echo_message_buffer
- last_point_position_buffer
- last_undo_buffer
- minibuf_window
- selected_frame
- selected_window
The following is used in print -- which probably doesn't cons,
so it is ok. Can someone check -- and add a comment:
- being_printed
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Code inspection: Generic problems
2005-07-12 12:53 Code inspection: Generic problems Kim F. Storm
@ 2005-07-18 4:48 ` Richard M. Stallman
0 siblings, 0 replies; 2+ messages in thread
From: Richard M. Stallman @ 2005-07-18 4:48 UTC (permalink / raw)
Cc: emacs-devel
- Qecho_area_clear_hook
I think that should be staticpro'd. I will do it.
- echo_area_window
- minibuf_window
- selected_frame
- selected_window
All the live windows and frames get marked thru that data structure.
- echo_message_buffer
That buffer is one of the echo area buffers, and they
can't be killed.
- combine_after_change_buffer
I will staticpro that one.
- last_point_position_buffer
Nothing bad can happen if that points to a buffer that has been gc'd.
- last_undo_buffer
Likewise.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-18 4:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 12:53 Code inspection: Generic problems Kim F. Storm
2005-07-18 4:48 ` Richard M. 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.