- 05 Oct, 2012 1 commit
-
-
Paul Eggert authored
-
- 04 Oct, 2012 12 commits
-
-
Eli Zaretskii authored
-
Eli Zaretskii authored
src/w32.c (utime): Test for INVALID_HANDLE_VALUE, not for NULL, to see whether CreateFile failed.
-
Juri Linkov authored
(query-replace-read-from): Add the last incremental search string to the list of default values accessible via M-n. (map-query-replace-regexp): Use `read-regexp'. (query-replace, query-replace-regexp, query-replace-regexp-eval) (map-query-replace-regexp, replace-string, replace-regexp): Fix docstrings to replace mentions of `query-replace-interactive' with alternatives. Fixes: debbugs:12526
-
Juri Linkov authored
(dired-pop-to-buffer): Declare obsolete. (dired-mark-pop-up): Doc fix. Fixes: debbugs:1806
-
Fabián Ezequiel Gallina authored
* progmodes/python.el (python-fill-comment-function, python-fill-string-function) (python-fill-decorator-function, python-fill-paren-function): Remove :safe for defcustoms. (python-fill-string-style): New defcustom (python-fill-paragraph-function): Enhanced context detection. (python-fill-string): Honor python-fill-string-style settings.
-
Julien Danjou authored
* erc-desktop-notifications.el: Rename from erc-notifications to avoid clash with 8+3 filename format and erc-notify.el.
-
Martin Rudalics authored
* emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window after setting its buffer (Bug#10805).
-
Glenn Morris authored
-
Paul Eggert authored
-
Paul Eggert authored
-
Paul Eggert authored
to avoid similar races. * keyboard.c (pending_signals): Now bool, not int.
-
Paul Eggert authored
OpenBSD problem reported by Han Boetes. * profiler.c (setup_cpu_timer): Check for failure of timer_settime and/or setitimer. (Fprofiler_cpu_stop): Don't assume HAVE_SETITIMER. * syssignal.h (HAVE_ITIMERSPEC): New macro. This is for platforms like OpenBSD, which has timer_settime but does not declare it. OpenBSD does not define SIGEV_SIGNAL, so use that when deciding whether to use itimerspec-related primitives. All uses of HAVE_TIMER_SETTIME replaced with HAVE_ITIMERSPEC.
-
- 03 Oct, 2012 4 commits
-
-
Fabián Ezequiel Gallina authored
* progmodes/python.el (python-syntax-propertize-function): Simplify and enhance the regexp for unescaped quotes. Now it also matches quotes in weird situations like the single quote in "something\"'". (python-syntax-stringify): Simplify num-quotes detecting code.
-
Glenn Morris authored
Fixes: debbugs:12567
-
Martin Rudalics authored
* menu-bar.el (kill-this-buffer): Don't do anything when `menu-frame' is not alive or visible (Bug#8184).
-
Martin Rudalics authored
* emacs-lisp/debug.el (debug): When quitting the debugger window restore current buffer (Bug#12502).
-
- 02 Oct, 2012 21 commits
-
-
Paul Eggert authored
that caused Emacs to hang on Fedora 17 when profiling Lisp.
-
Jan Djärv authored
-
Eli Zaretskii authored
src/w32proc.c (sys_wait): Declare 'signame' 'const char *', to be consistent with the change in return value of 'safe_strsignal'. nt/preprep.c (RVA_TO_PTR): Cast the result to 'void *', to avoid compiler warnings when using the value.
-
Chong Yidong authored
* progmodes/hideif.el (hif-lookup, hif-defined): Handle semantic-c-takeover-hideif.
-
Paul Eggert authored
* bidi.c (bidi_get_type, bidi_check_type, bidi_get_category) (bidi_set_sor_type, bidi_push_embedding_level) (bidi_pop_embedding_level, bidi_remember_char, bidi_copy_it) (bidi_cache_reset, bidi_cache_shrink, bidi_cache_fetch_state) (bidi_cache_search, bidi_cache_ensure_space) (bidi_cache_iterator_state, bidi_cache_find) (bidi_peek_at_next_level, bidi_set_paragraph_end) (bidi_count_bytes, bidi_char_at_pos, bidi_fetch_char) (bidi_explicit_dir_char, bidi_resolve_neutral_1): Now 'static', not 'static inline'. Fixes: debbugs:12541
-
Glenn Morris authored
-
Glenn Morris authored
Fixes: debbugs:12553
-
Paul Eggert authored
* lisp/profiler.el (profiler-sampling-interval): Change units from ms to ns, multiplying the default by 1000000 so that it remains 1 ms. (profiler-report-cpu-line-format): Give enough room for the maximum counters on 64-bit hosts. (profiler-report-render-calltree-1): Call them "CPU samples", not "Time (ms)", since they are not milliseconds now (and never really were). * src/profiler.c (handle_profiler_signal): Count sampling intervals, not ms. Give extra weight to samples after overruns, to attempt to count the time more accurately. (setup_cpu_timer): Change sampling interval units from ms to ns, since the underlying primitives nominally do ns. (Fprofiler_cpu_start): Document the change. Mention that the sampling intervals are only approximate.
-
Glenn Morris authored
-
Sergio Durigan Junior authored
* net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result): Fix querying BBDB for entries without a last name. Fixes: debbugs:11580
-
Chong Yidong authored
These are needed for ELPA dependencies. * srecode.el, ede.el: Restore Version header. * emacs-lisp/eieio.el: Restore Version header.
-
Stefan Monnier authored
(diff-hunk): Use it to delay refinement. (diff-mode): Remove overlays when we turn off font-lock.
-
Stefan Monnier authored
(url-http, url-http-file-exists-p, url-http-file-readable-p) (url-http-file-attributes, url-http-options, url-https-default-port) (url-https-asynchronous-p): Don't autoload.
-
Stefan Monnier authored
(table-initialize-table-fixed-width-mode) (table-set-table-fixed-width-mode): Remove functions. (table-command-list): Move initialization into declaration. (table--tweak-menu-for-xemacs): Move defun outside mapcar. (table-with-cache-buffer): Use `declare'. (table-span-cell): Simplify via CSE. (table-fixed-width-mode): Use define-minor-mode. (table-call-interactively, table-funcall, table-apply): Remove. (table-function): New function, to replace them.
-
Stefan Monnier authored
(bookmark-read-search-input): Remove function. (bookmark-bmenu-search): Reimplement using a minibuffer.
-
Stefan Monnier authored
(fix_start_end_in_overlays): Remove redundant recentering.
-
Stefan Monnier authored
-
Stefan Monnier authored
and give a non-nil default value. (add-change-log-entry): Simplify accordingly.
-
Stefan Monnier authored
* src/buffer.c (Fset_buffer_multibyte): Signal an error instead of widening. (Fmake_overlay): Remove redundant tests. * src/coding.h (ENCODE_FILE, DECODE_FILE, DECODE_SYSTEM): Remove special case for the special 0 coding-system. * src/frame.c (Fmake_terminal_frame): Prefer safer CONSP over !NILP.
-
Dmitry Gutov authored
* lisp/vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in header names. (log-edit-toggle-header): New function. (log-edit-extract-headers): Accept function values in HEADERS alist. * lisp/vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function. (vc-git-log-edit-toggle-amend): New function. (vc-git-log-edit-toggle-signoff): New function. (vc-git-log-edit-mode): New major mode. (vc-git-log-edit-mode-map): Keymap for it. (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
-
Juanma Barranquero authored
-
- 01 Oct, 2012 2 commits
-
-
Paul Eggert authored
A signal can arrive in the middle of a malloc, and Emacs's signal handler can invoke strsignal, which can invoke malloc, which is not portable. This race condition bug makes Emacs hang on GNU/Linux. Fix it by altering the signal handler so that it does not invoke strsignal. * emacs.c (shut_down_emacs): Use safe_strsignal, not strsignal. * process.c (status_message): Use const pointer, in case strsignal is #defined to safe_strsignal. * sysdep.c (sys_siglist, init_signals): Always define and initialize a substitute sys_siglist if the system does not define one, even if HAVE_STRSIGNAL. (safe_strsignal): Rename from strsignal. Always define, using sys_siglist. Return a const pointer. * syssignal.h (safe_strsignal): New decl. (strsignal) [!HAVE_STRSIGNAL]: Define in terms of safe_strsignal.
-
Eli Zaretskii authored
src/w32proc.c (timer_loop): Fix code that waits for timer expiration, to avoid high CPU usage.
-