- 24 Jun, 2012 6 commits
-
-
Dmitry Antipov authored
* coccinelle: New subdirectory * coccinelle/README: Documentation stub. * coccinelle/vector_contents.cocci: Semantic patch to replace direct access to `contents' member of Lisp_Vector objects with AREF and ASET where appropriate.
-
Chong Yidong authored
-
Glenn Morris authored
-
Samuel Bronson authored
Fixes: debbugs:7838
-
Thien-Thi Nguyen authored
* processes.texi (Asynchronous Processes): Make the pty vs pipe discussion more prominent.
-
Paul Eggert authored
* lisp.h (WAIT_READING_MAX): New macro. * dispnew.c (Fsleep_for, sit_for): * keyboard.c (kbd_buffer_get_event): * process.c (Faccept_process_output): Use it to avoid bogus compiler warnings with obsolescent GCC versions. This improves on the previous patch, which introduced a bug when time_t is unsigned and as wide as intmax_t. See <http://bugs.gnu.org/9000#51>.
-
- 23 Jun, 2012 24 commits
-
-
Eli Zaretskii authored
src/dispnew.c (sit_for, Fsleep_for): src/keyboard.c (kbd_buffer_get_event): src/process.c (Faccept_process_output): Avoid compiler warnings when comparing a 32-bit time_t with a 64-bit INTMAX_MAX.
-
Juanma Barranquero authored
-
Paul Eggert authored
-
Paul Eggert authored
* m4/getopt.m4: Copy new version from gnulib, incorporating: getopt-gnu: Handle suboptimal getopt_long's abbreviation handling.
-
Juanma Barranquero authored
lisp/makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
-
Juanma Barranquero authored
(w32_get_internal_run_time): Remove usused variable `time_100ns'.
-
Paul Eggert authored
Privately reported by Herbert J. Skuhra. (make_lisp_timeval) [__FreeBSD__]: Rename from TIMELIST. All uses changed. (system_process_attributes) [__FreeBSD__]: Invoke make_lisp_time, not make_lisp_timeval, when the argument is of type EMACS_TIME.
-
Stefan Monnier authored
* lisp/help-fns.el (describe-variable): Don't croak when doc is not found. * lisp/vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only. * lisp/menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more. * lisp/emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place. * lisp/emacs-lisp/smie.el (smie-next-sexp): CSE. * lisp/emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid ((lambda ..) ..). * lisp/emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
-
Chong Yidong authored
Fixes: debbugs:11672
-
Chong Yidong authored
* lisp/info.el (Info-mouse-follow-link): Accept symbol values of the link-args property. Select the window. (Info-fontify-node): Use Info-link-keymap for all navigation buttons, with link-args property to perform the desired action. (Info-link-keymap): Doc fix. (Info-next-link-keymap, Info-prev-link-keymap) (Info-up-link-keymap): Delete now-unused keymaps. Fixes: debbugs:11672
-
Chong Yidong authored
-
Chong Yidong authored
-
Eli Zaretskii authored
src/w32proc.c (Fw32_get_locale_info): Fix an off-by-one error in last argument of make_unibyte_string.
-
Eli Zaretskii authored
src/keyboard.c (kbd_buffer_get_event): Include the codepage and the language ID in the event parameters. src/w32term.c (w32_read_socket): Put the new keyboard codepage into event.code, not the obscure "character set ID". doc/lispref/commands.texi (Misc Events): Document the language-change event.
-
Chong Yidong authored
-
Eli Zaretskii authored
nt/inc/sys/time.h (struct timespec): Define. lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/dtotimespec.$(O), $(BLD)/gettime.$(O), $(BLD)/timespec-add.$(O), and $(BLD)/timespec-sub.$(O). ($(BLD)/dtotimespec.$(O)): ($(BLD)/gettime.$(O)): ($(BLD)/timespec-add.$(O)): ($(BLD)/timespec-sub.$(O)): New dependencies. lib/stat-time.h: lib/timespec.h: lib/utimens.h: Include sys/time.h src/w32.c (fdutimens): New function. src/w32proc.c (sys_select): Adapt to change in the EMACS_TIME type. src/s/ms-w32.h (pselect): Redirect to sys_select. src/sysselect.h [WINDOWSNT]: Don't include sys/select.h. Fixes: debbugs:9000
-
Glenn Morris authored
-
Andreas Schwab authored
the correct CFLAGS and LIBS.
-
Eli Zaretskii authored
src/ralloc.c (r_alloc_inhibit_buffer_relocation): Fix stupid thinko in the logic of incrementing and decrementing the value of use_relocatable_buffers.
-
Chong Yidong authored
* progmodes/python.el (python-skeleton-define): Mark abbrevs as system abbrevs. * ansi-color.el (ansi-color-apply-on-region): Doc fix.
-
Paul Eggert authored
Privately reported by Herbert J. Skuhra. [__FreeBSD__]: Remove "*/" typo after "#include". (timeval_to_EMACS_TIME) [__FreeBSD__]: New static function. (TIMEVAL) [__FreeBSD__]: Now a static function rather than a macro. (TIMEVAL, system_process_attributes) [__FreeBSD__]: Don't assume EMACS_TIME and struct timeval are the same type.
-
Stefan Monnier authored
Fixes: debbugs:11719
-
Stefan Monnier authored
the requote function doesn't work properly. Fixes: debbugs:11714
-
Glenn Morris authored
-
- 22 Jun, 2012 10 commits
-
-
Paul Eggert authored
Fixes: debbugs:9000
-
Stefan Monnier authored
* lisp/emacs-lisp/gv.el (gv-get): Autoload functions to find their gv-expander. (gv--defun-declaration): New function. (defun-declarations-alist): Use it. (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove. (gv-place): Autoload. * lisp/emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's original definition of dotimes and dolist. * lisp/emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused. (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'. * lisp/emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here. (cl-fifth, cl-sixth, cl-seventh, cl-eighth) (cl-ninth, cl-tenth): Move gv handler to the function's definition. * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler to the function's definition. * lisp/Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%. * lisp/window.el: * lisp/files.el: * lisp/faces.el: * lisp/env.el: Don't use CL.
-
Paul Eggert authored
Fixes: debbugs:9000
-
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.
-