- 08 Dec, 2012 7 commits
-
-
Fabrice Popineau authored
-
Eli Zaretskii authored
src/w32.c (unsetenv, sys_putenv): New functions. nt/inc/ms-w32.h (putenv): Redirect to sys_putenv. nt/config.nt (HAVE_UNSETENV): Define to 1. Fixes: debbugs:13070
-
Glenn Morris authored
-
Chong Yidong authored
Fixes: debbugs:12992
-
Eli Zaretskii authored
lib/makefile.w32-in ($(BLD)/sig2str.$(O)): New dependency. Remove a stray character at the beginning of the file. Fixes: debbugs:13026
-
Paul Eggert authored
* admin/CPP-DEFINES (ULIMIT_BREAK_VALUE): Remove. * configure.ac (ULIMIT_BREAK_VALUE): Remove. * src/vm-limit.c (get_lim_data): Combine RLIMIT_AS and RLIMIT_DATA methods. Remove USG and vlimit methods; no longer used these days. Add #error catchall just in case.
-
Paul Eggert authored
Exceptions: do not assume SIGCONT, SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU, SIGUSR1, SIGUSR2, as Microsoft platforms lack these. * admin/CPP-DEFINES (SIGALRM, SIGCHLD, SIGHUP, SIGKILL, SIGPIPE, SIGQUIT): Remove. (SIGTRAP): Remove this one too, as config.h no longer defines it. * admin/merge-gnulib (GNULIB_MODULES): Add sig2str. * configure.ac (PTY_OPEN, PTY_TTY_NAME_SPRINTF): Use SIGCHLD rather than SIGCLD. * lib/sig2str.c, lib/sig2str.h, m4/sig2str.m4: New files, from gnulib. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/makefile.w32-in (GNULIBOBJS): Add $(BUILD)/sig2str.$(O). * src/process.c [subprocesses]: Include <c-ctype.h>, <sig2str.h>. (deleted_pid_list, Fdelete_process, create_process) (record_child_status_change, handle_child_signal, deliver_child_signal) (init_process_emacs, syms_of_process): Assume SIGCHLD is defined. (parse_signal): Remove. All uses removed. (abbr_to_signal): New static function. (Fsignal_process): Use it to convert signal names to ints. * src/sysdep.c (sys_suspend) [!DOS_NT]: Use kill (0, ...) rather than kill (getpgrp (), ...). (emacs_sigaction_init): Assume SIGCHLD is defined. (init_signals): Assume SIGALRM, SIGCHLD, SIGHUP, SIGKILL, SIGPIPE, and SIGQUIT are defined. Do not worry about SIGCLD any more. * src/syssignal.h (EMACS_KILLPG): Remove. All uses replaced by 'kill' with a negative pid. (SIGCHLD): Remove definition, as we now assume SIGCHLD. * src/w32proc.c (sys_kill): Support negative pids compatibly with POSIX. Fixes: debbugs:13026
-
- 07 Dec, 2012 14 commits
-
-
Paul Eggert authored
This will cause a production Emacs to dump core instead of infinite-looping.
-
Stefan Monnier authored
point, still provide some default. (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face names, since we don't use it right now. Actually return the list. (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
-
Chong Yidong authored
Suggested by Kelly Dean. Fixes: debbugs:13043
-
Chong Yidong authored
when a syntax is specified. Fixes: debbugs:13025
-
Chong Yidong authored
if there is one. Fixes: debbugs:13016
-
Glenn Morris authored
-
Glenn Morris authored
* mail/rmail.el (rmail-mime-decoded): New permanent local. (rmail-show-message-1): Set rmail-mime-decoded when appropriate. * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format and rmail-mime-decoded. Fixes: debbugs:9841
-
Dmitry Antipov authored
* window.c (Fsplit_window_internal): Likewise. Previously it was used to indicate that the window is being set up. Now we use set_window_buffer for all new windows, so the condition in ... (Fset_window_buffer): ... is always true and can be removed.
-
Dmitry Antipov authored
* buffer.h (BUFFER_HIDDEN_P): New macro. * frame.c (make_frame): Use it. Adjust comment. * buffer.c (candidate_buffer): New function. (Fother_buffer, other_buffer_safely): Use it.
-
Glenn Morris authored
-
Glenn Morris authored
* lisp/mail/unrmail.el (unrmail-mbox-format): New option. (batch-unrmail, unrmail): Doc fixes. (unrmail): Respect unrmail-mbox-format. * lisp/mail/rmail.el (rmail-mbox-format): New option. (rmail-show-message-1): Respect rmail-mbox-format. * etc/NEWS: Related edits. Fixes: debbugs:6574
-
Stefan Monnier authored
-
Paul Eggert authored
-
Paul Eggert authored
Fixes: debbugs:12973
-
- 06 Dec, 2012 19 commits
-
-
Andreas Schwab authored
-
Stefan Monnier authored
* lisp/emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety) (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause) (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack) (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix. (cl-progv): Don't rely on dynamic scoping to find the body. * lisp/emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety) (cl--proclaims-deferred): Rename from the "cl-" prefix. (cl-declaim): Use backquotes. * lisp/emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p): Use "cl--" prefix for the object's tag.
-
Stefan Monnier authored
(ses--advice-copy-region-as-kill, ses--advice-yank): New functions. (copy-region-as-kill, yank): Use advice-add. (ses-unload-function): Use advice-remove.
-
Jonas Bernoulli authored
(button-map): Add bindings for header-line and mode-line use. (button-get, button-put, button-label): `button' may now be a string. (button-activate): Don't make it a defsubst. (button--area-button-p, button--area-button-string): New functions. (make-text-button): Fix the return value when `beg' was a string. (push-button): Handle the mode-line case. Fixes: debbugs:12817
-
Eli Zaretskii authored
src/w32proc.c (waitpid): Avoid busy-waiting when called with WNOHANG if the child process is still running. Instead, exit the wait loop and return zero.
-
Sam Steingold authored
(gnus-1): Run it when Gnus is alive.
-
Stefan Monnier authored
(sql-signum): Remove. Use `cl-signum' instead. (sql-read-passwd): Remove; use read-passwd instread. (sql-get-login-ext): Use read-string. (sql-get-login): Use dolist and pcase. (sql--completion-table): Rename from sql-try-completion. Use complete-with-action. (sql-mode): Don't change abbrev-all-caps globally. (sql-connect): Don't rely on dynamic scoping for `new-name'. (sql-postgres-completion-object): Initialize vars in their `let'. (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql) (sql-comint-solid, sql-comint-ms, sql-comint-postgres) (sql-comint-interbase): Use a single append, without setq. (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
-
Stefan Monnier authored
(hi-lock--auto-select-face-defaults): Remove. (hi-lock-string-serialize-serial): Remove. (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash; make weak. (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an equal string. (hi-lock-set-pattern): Adjust accordingly. (hi-lock--regexps-at-point): Simplify accordingly. (hi-lock--auto-select-face-defaults): Remove. (hi-lock--last-face): New var to replace it. (hi-lock-read-face-name): Rewrite. (hi-lock-unface-buffer): Arrange for the face to be the next default. Fixes: debbugs:11095
-
Dmitry Antipov authored
* w32term.h (x_char_width, x_char_height): Likewise. * xfns.c (x_char_width, x_char_height): Remove. * w32fns.c (x_char_width, x_char_height): Likewise. * nsfns.c (x_char_width, x_char_height): Likewise. * frame.c (Fframe_char_width): Use FRAME_COLUMN_WIDTH for all window frames. (Fframe_char_height): Likewise with FRAME_LINE_HEIGHT. * keyboard.c (command_loop_1): Remove prototype. (command_loop_2, top_level_1): Add static to match prototype.
-
Glenn Morris authored
-
Glenn Morris authored
-
Michael Albinus authored
compiler warning. (tramp-file-name-for-operation): Remove `executable-find', `start-process', `call-process' and `call-process-region'. * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc. * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward compatibility. * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
-
Paul Eggert authored
These are just minor editorial changes.
-
Glenn Morris authored
-
Paul Eggert authored
* callproc.c, process.h (record_kill_process): New function, containing part of the old call_process_kill. (call_process_kill): Use it. This does not change call_process_kill's behavior. * process.c (Fdelete_process): Use record_kill_process to fix a race condition that could cause Emacs to lose track of a child.
-
Dmitry Antipov authored
* frame.c (candidate_frame): New function. Add comment. (prev_frame, next_frame): Use it. Adjust comment.
-
Glenn Morris authored
-
Katsumi Yamaoka authored
-
Katsumi Yamaoka authored
gnus-art.el (article-unsplit-urls) gnus-bookmark.el (gnus-bookmark-bmenu-list) gnus-registry.el (gnus-registry-get-article-marks) message.el (message-goto-body): Use it. (message-called-interactively-p): Remove. spam-stat.el (spam-stat-called-interactively-p): New macro. (spam-stat-score-buffer): Use it. spam.el: Silence the warnings against BBDB functions when compiling. gnus-score.el (gnus-score-decode-text-parts): Use append+mapcar instead of the cl function mapcan.
-