(deleted_pid_list): New variable to store the pids
of deleted processes. Declare it only if SIGCHLD is defined.
(init_process): Initialize it.
(syms_of_process): Staticpro it.
(Fdelete_process): Add pid of the deleted process to it. Check after
the addition and before the kill if the process is already stopped,
in which case it is deleted from the list and not killed.
(sigchld_handler): Define it only if SIGCHLD is. Search the process
that signaled Emacs in `deleted_pid_list' before `Vprocess_alist'.
Original idea by Stefan Monnier.
Juri Linkov [Wed, 31 May 2006 21:11:07 +0000 (21:11 +0000)]
(Vhistory_add_new_input): New variable.
(read_minibuf): Use it.
(syms_of_minibuf) <history-add-new-input>: New Lisp variable.
(syms_of_minibuf) <history-delete-duplicates>: Doc fix.
Nick Roberts [Wed, 31 May 2006 13:21:39 +0000 (13:21 +0000)]
(gdb-look-up-stack): New variable.
(gdb-stopped, gdb-info-stack-custom): If there is no source info
look up the stack and pop up GUD buffer if necessary.
(gdb-frames-select): Remove redundant call to gud-display-frame.
(gdb-info-threads-custom): Keep point at start of buffer.
(gdb-find-file-hook): Make it work for pre-GDB 6.4.
Kim F. Storm [Wed, 31 May 2006 08:58:02 +0000 (08:58 +0000)]
(select_wrapper): Add wrapper around select to work around
"incomplete backtrace" bug in gdb 5.3, when emacs is stopped inside
select called from wait_reading_process_output.
Carsten Dominik [Tue, 30 May 2006 16:29:02 +0000 (16:29 +0000)]
(org-agenda-highlight-todo): Make sure regexp
does only match in the right place.
(org-upcoming-deadline): New face.
(org-agenda-get-deadlines): Use new face
`org-upcoming-deadline'.
(org-export-ascii-underline): Renamed and made an option (was
constant `org-ascii-underline').
(org-export-ascii-bullets): New option.
(org-export-as-html): Many changes to emit valid XHTML.
(org-par-open): New variable.
(org-open-par, org-close-par-maybe, org-close-li-maybe): New
functions.
(org-html-do-expand, org-section-number): Fixedcase in
`replace-match'.
(org-timeline): Pass `org-timeline-show-empty-dates' to
`org-get-all-dates'. Interpret empty dates returned by
`org-get-all-dates'.
(org-get-all-dates): New argument EMPTY. Add dates without
entries to the list, mark large ranges of empty dates.
(org-point-in-group, org-context): New functions.
Nick Roberts [Tue, 30 May 2006 08:07:44 +0000 (08:07 +0000)]
Move gdb-mouse-toggle-breakpoint-* to
C-mouse-1. Move gdb-mouse-until to mouse-3, gdb-mouse-jump
to C-mouse-3 (for 2 button mice).
(gdb-send): Do the right thing for C-d.
Luc Teirlinck [Mon, 29 May 2006 22:26:25 +0000 (22:26 +0000)]
(Pure Storage): Mention that an overflow in pure
space causes a memory leak.
(Garbage Collection): If there was an overflow in pure space,
`garbage-collect' returns nil.
(font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable.
(mac_font_panel_visible_p, mac_show_hide_font_panel)
[USE_MAC_FONT_PANEL]: New functions.
[USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Return
immediately if font panel is not visible.
Stefan Monnier [Mon, 29 May 2006 04:39:46 +0000 (04:39 +0000)]
(ewoc--current-dll): Remove. Basically undo the change of 2006-05-26:
use extra arguments instead of dynamic scoping.
(ewoc-locate): Remove unused var `footer'.
Stefan Monnier [Mon, 29 May 2006 02:53:14 +0000 (02:53 +0000)]
(no-update-autoloads): Declare.
(generate-file-autoloads): Obey it. Return whether autoloads were
added at point or not.
(update-file-autoloads): Use this new return value.
Remove redundant test for the presence of an autoload cookie.
Stefan Monnier [Mon, 29 May 2006 01:35:53 +0000 (01:35 +0000)]
(bibtex-autokey-name-case-convert-function)
(bibtex-sort-entry-class): Add safe-local-variable predicate.
(bibtex-sort-entry-class-alist): Don't set the global value.
(bibtex-init-sort-entry-class-alist): New fun.
(bibtex-sort-buffer, bibtex-prepare-new-entry): Call it to compute
bibtex-init-sort-entry-class-alist from the buffer-local value (if any)
of bibtex-init-sort-entry-class.
(load-history-regexp): If FILE is relative, insist
entire last name component must match it.
(load-history-filename-element, load-history-regexp): Doc fixes.
Kim F. Storm [Sun, 28 May 2006 20:19:07 +0000 (20:19 +0000)]
(set_cursor_from_row): If cursor cannot be set in row,
don't update w->cursor and return 0. Return 1 on success.
(try_cursor_movement): Repeat set_cursor_from_row on successive rows
until it succeeds.