- 22 Jun, 2012 12 commits
-
-
Stefan Monnier authored
Move the non-essential binding to the post/pre-command-hook where it is more obviously correct.
-
Stefan Monnier authored
* lisp/savehist.el (savehist-save): Remove password saved accidentally because of the above bug.
-
Paul Eggert authored
* lib/filemode.h, lib/signal.in.h, lib/stat.c, lib/stdint.in.h: * lib/stdlib.in.h, lib/unistd.in.h, m4/extensions.m4, m4/getloadavg.m4: * m4/getopt.m4, m4/gnulib-common.m4, m4/largefile.m4, m4/mktime.m4: * m4/multiarch.m4, m4/nocrash.m4, m4/stdio_h.m4, m4/time_r.m4: Copy new versions from gnulib, incorporating the following changes: 2012-06-22 time_r: fix typo that always overrode localtime_r decl 2012-06-22 Write "Mac OS X" instead of "MacOS X". 2012-06-21 mktime: fix integer overflow in 'configure'-time test 2012-06-21 nonblocking: Avoid compilation error on mingw64. 2012-06-19 stat, fstat: Avoid warnings on mingw64. 2012-06-19 getopt-gnu: Fix exit code overflow in autoconf test.
-
Glenn Morris authored
-
Bastien Guerry authored
Thanks to Drew Adam for reporting this.
-
Stefan Monnier authored
* lisp/emacs-lisp/gv.el: New file. * lisp/subr.el (push, pop): Extend to generalized variables. * lisp/loadup.el (macroexp): Unload if preloaded and uncompiled. * lisp/emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove. * lisp/emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter, gv-define-simple-setter, and gv-define-expander. Remove setf-methods defined in gv. Rename cl-setf -> setf. (cl-setf, cl-do-pop, cl-get-setf-method): Remove. (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf) (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el. (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with gv-letplace. (cl-defstruct): Don't define setf-method any more. * lisp/emacs-lisp/cl.el (flet): Don't autoload. (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt) (define-setf-expander, defsetf, define-modify-macro) (cl-struct-setf-expander): Move from cl-lib.el. * lisp/emacs-lisp/syntax.el: * lisp/emacs-lisp/ewoc.el: * lisp/emacs-lisp/smie.el: * lisp/emacs-lisp/cconv.el: * lisp/emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push. (timer--time): Use gv-define-simple-setter. * lisp/emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let² to avoid coding-system problems in subr.el. Adjust all users. (macroexp--maxsize, macroexp-small-p): New functions. * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf. * lisp/scroll-bar.el (scroll-bar-mode): * lisp/simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode) (normal-erase-is-backspace-mode): Don't use the `eq' place. * lisp/winner.el (winner-configuration, winner-make-point-alist) (winner-set-conf, winner-get-point, winner-set): Don't abuse letf. * lisp/files.el (locate-file-completion-table): Avoid list*. Fixes: debbugs:11657
-
Glenn Morris authored
* lisp/pcmpl-rpm.el (pcmpl-rpm-cache): New option. (pcmpl-rpm-cache-stamp-file): New constant. (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables. (pcmpl-rpm-packages): Optionally cache list of packages.
-
Chong Yidong authored
* dired-aux.el (dired-do-create-files): Doc fix (Bug#11327). (dired-create-files): Doc fix (Bug#11329). (dired-do-copy): Doc fix (Bug#11334). (dired-mark-read-string): Doc fix (Bug#11553). * dired.el (dired-recursive-copies, dired-recursive-deletes): Doc fix (Bug#11326). (dired-make-relative): Doc fix (Bug#11332). Remove unused arg. (dired-dwim-target): Doc fix. * wdired.el (wdired-mode): Doc fix.
-
Chong Yidong authored
-
Glenn Morris authored
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00174.html * lisp/pcmpl-rpm.el (pcmpl-rpm): New group. (pcmpl-rpm-query-options): New option. (pcmpl-rpm-packages): No need to inline it. Use pcmpl-rpm-query-options.
-
Eli Zaretskii authored
src/alloc.c (NSTATICS): Enlarge to 0x650. Otherwise, Emacs compiled with -DENABLE_CHECKING -DXASSERTS -DGLYPH_DEBUG=1 -DBYTE_CODE_METER aborts in staticpro during startup. (Without -DBYTE_CODE_METER, staticidx goes up to 1597 out of 1600 = 0x640.)
-
Glenn Morris authored
-
- 21 Jun, 2012 4 commits
-
-
Chong Yidong authored
Fixes: debbugs:11627
-
Glenn Morris authored
-
Chong Yidong authored
-
Chong Yidong authored
* desktop.el (desktop-read): Don't prompt if daemon. (desktop-path): Remove . from the default value.
-
- 20 Jun, 2012 6 commits
-
-
Paul Eggert authored
Otherwise, the umask might be mistakenly 0 while handling input signals.
-
Chong Yidong authored
-------------- This lime and the following will be ignored -------------- modified: lisp/ChangeLog lisp/term.el
-
David Röthlisberger authored
Fixes: debbugs:11201
-
Chong Yidong authored
* term.el (term-mode): Set font-lock-defaults. (term-move-columns, term-insert-char, term-emulate-terminal) (term-erase-in-line, term-insert-spaces): Use font-lock-face. Fixes: debbugs:7692
-
Chong Yidong authored
* term.el (term-window-width): Handle the case of a missing right fringe. (term-check-size): Use window-text-height. (term-mode): Use define-derived-mode. Minor cleanups. Fixes: debbugs:8837
-
Michael Albinus authored
`enable-recursive-minibuffers'. (ange-ftp-get-process): Throw if `non-essential' is non-nil.
-
- 19 Jun, 2012 8 commits
-
-
Paul Eggert authored
-
David Röthlisberger authored
Fixes: debbugs:11244
-
Stefan Monnier authored
-
Dmitry Antipov authored
* font.c, image.c, keyboard.c, lread.c, menu.c, minibuf.c, msdos.c: * print.c, syntax.c, window.c, xmenu.c, xselect.c: Replace direct access to `contents' member of Lisp_Vector objects with AREF and ASET where appropriate.
-
Glenn Morris authored
-
Kevin Gallagher authored
* lisp/emulation/edt.el (edt-default-menu-bar-update-buffers) (edt-user-menu-bar-update-buffers): New functions. (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
-
Chong Yidong authored
* subr.el (with-selected-window): Preserve the selected window's terminal's top-frame. * window.el (save-selected-window): Likewise. * frame.c (delete_frame): When selecting a frame on a different text terminal, do not alter the terminal's top-frame. * term.c (Ftty_top_frame): New function. * xdisp.c (format_mode_line_unwind_data): Record the target frame's selected window and its terminal's top-frame. (unwind_format_mode_line): Restore them. (x_consider_frame_title, display_mode_line, Fformat_mode_line): Callers changed. (x_consider_frame_title): Do not condition on HAVE_WINDOW_SYSTEM, since tty frames can be explicitly named. (prepare_menu_bars): Likewise. Fixes: debbugs:4702
-
Glenn Morris authored
This also makes it clearer that it has no relation to the "infodir" used by install.
-
- 18 Jun, 2012 10 commits
-
-
Nelson Ferreira authored
-
Paul Eggert authored
* bytecode.c (METER_CODE) [BYTE_CODE_METER]: Don't assume !CHECK_LISP_OBJECT_TYPE && !USE_LSB_TAG. Problem with CHECK_LISP_OBJECT_TYPE reported by Dmitry Andropov in <http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00282.html>. (METER_1, METER_2): Simplify.
-
Stefan Monnier authored
(python-skeleton-define, python-define-auxiliary-skeleton): Use `declare'.
-
Michael Albinus authored
-
Stefan Monnier authored
(pcase--u1, pcase--q1): Don't use apply-partially.
-
Glenn Morris authored
* lisp/progmodes/python.el (python-proc, python-buffer) (python-send-receive, python-send-string): Fix obsolete versions.
-
Glenn Morris authored
-
Stefan Monnier authored
* src/data.c (Fdefalias): Return `symbol'. * doc/lispref/functions.texi (Defining Functions): * doc/lispref/macros.texi (Defining Macros): Un-define the return value of `defun', `defmacro' and `defalias'. Fixes: debbugs:11686
-
Martin Rudalics authored
* buffer.c (Fkill_buffer): Don't throw an error when the buffer gets killed during executing of this function (Bug#11665). Try to always return Qt when the buffer has been actually killed. (Vkill_buffer_query_functions): In doc-string say that functions run by this hook should not change the current buffer.
-
Paul Eggert authored
* process.c (write_queue_push, write_queue_pop, send_process): Use ptrdiff_t, not int or EMACS_INT, for buffer lengths and offsets. (write_queue_pop): Fix pointer signedness problem. (send_process): Remove unused local.
-