- 19 Feb, 2013 1 commit
-
-
Stefan Monnier authored
* lisp/emacs-lisp/eieio.el (eieio--define-field-accessors): New macro. Use it to define all the class-* and object-* field accessors (renamed to eieio--class-* and eieio--object-*). Update all uses. (eieio--class-num-slots, eieio--object-num-slots): Rename from class-num-slots and object-num-slots. (eieio--check-type): New macro. (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p) (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg) (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list) (object-assoc-list-safe): Use it. (eieio-defclass): Tighten regexp. (eieio--defmethod): Use `memq'. Signal an error for unknown method kind. Remove unreachable code. (object-class-fast): Declare obsolete. (eieio-class-name, eieio-object-name, eieio-object-set-name-string) (eieio-object-class, eieio-object-class-name, eieio-class-parents) (eieio-class-children, eieio-class-precedence-list, eieio-class-parent): Rename from class-name, object-name, object-set-name-string, object-class, object-class-name, class-parents, class-children, class-precedence-list, class-parent; with obsolete alias. (class-of, class-direct-superclasses, class-direct-subclasses): Declare obsolete. (eieio-defmethod): Use `memq'; remove unreachable code. * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read): * lisp/emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic) (eieio-browse-tree, eieio-browse): Use eieio--check-type.
-
- 18 Feb, 2013 2 commits
-
-
Aidan Gauland authored
-
Michael Heerdegen authored
Use font-lock-keyword-face for macros and special forms. Fixes: debbugs:8345
-
- 17 Feb, 2013 13 commits
-
-
Glenn Morris authored
-
Eli Zaretskii authored
Revert changes to w32proc.c done since 2012-11-30T09:23:15Z!eliz@gnu.org. Do NOT merge to trunk! src/w32proc.c (new_child): Remove the loop that attempted to salvage slots of dead processes. (new_child, delete_child, find_child_pid): Don't insist on procinfo.hProcess be NULL for a process slot to be considered inactive, or be non-NULL to be considered active. (reader_thread): Don't set the FILE_AT_EOF flag of a file descriptor if the corresponding child was deleted and its char_avail handle is NULL. (reap_subprocess): Don't reset the FILE_AT_EOF flag. (sys_select): Don't pass a NULL process handle to WaitForMultipleObjects. Fixes: debbugs:13735 debbugs:13546
-
Stefan Monnier authored
* lisp/font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2): Don't assume all identifier chars have syntax word. * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Remove bar-not-symbol. Adjust callers. (lisp-mode-variables): Don't set a font-lock-syntax-table.
-
Stefan Monnier authored
* src/xml.c (init_libxml2_functions): * src/sound.c (sound_warning): * src/sheap.c (report_sheap_usage): * src/process.c (wait_reading_process_output): * src/msdos.c (XMenuActivate): * src/macros.c (Fstart_kbd_macro, Fend_kbd_macro): * src/keyboard.c (top_level_1): * src/editfns.c (Fmessage, Fmessage_box): * src/callint.c (Fcall_interactively): * src/fns.c (Fyes_or_no_p): Prefer `message1' over `message'.
-
Leo Liu authored
-
Eli Zaretskii authored
src/xdisp.c (x_draw_vertical_border): For a window that is neither the leftmost nor the rightmost, redraw both the left and the right vertical borders.
-
Daiki Ueno authored
-
Jan Djärv authored
* xterm.c (syms_of_xterm): Move scroll-bar-adjust-thumb-portion ... * frame.c (syms_of_frame): ... to here.
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
- 16 Feb, 2013 18 commits
-
-
Glenn Morris authored
-
Glenn Morris authored
* lisp/image.el (image-animated-types): Remove. (image-multi-frame-p): Rename from image-animated-p, and generalize. (image-animated-p): Make obsolete alias. (image-animate, image-nth-frame, image-animate-timeout): Use image-multi-frame-p. (image-animate-timeout): If no delay, use image-default-frame-delay. * lisp/image-mode.el (image-mode, image-toggle-animation): Use image-multi-frame-p. (image-mode): Adjust startup message for a multi-frame image. * lisp/gnus/shr.el (shr-put-image): Only animate images that specify a delay. This is consistent with the old image-animated-p behavior. * etc/NEWS: Add placeholder for this. Fixes: debbugs:10739
-
Glenn Morris authored
-
Michael Albinus authored
(tramp-get-connection-property): Use it. * net/tramp-compat.el (top): Require 'trampver. * net/tramp-sh.el (tramp-remote-process-environment): Set tramp-autoload cookie.
-
Michael Albinus authored
setup' in menu. (Android shell setup): New section. (Connection types, Default Method) (Frequently Asked Questions): Mention "scp" instead of "scpc". (External methods): Remove "scpc" and "rsyncc" entries. (Frequently Asked Questions): Remove entry about ControlPersist.
-
Kevin Ryde authored
info-lookup-alist entry then search up derived-mode-parent. Fixes: debbugs:8660
-
Eli Zaretskii authored
src/w32.c (sys_chown): Remove unused function. nt/inc/ms-w32.h (chown, logb): Remove, unused.
-
Eli Zaretskii authored
nt/inc/ms-w32.h (__STDC__): Fiddle with value only for MSVC. src/w32term.c <input_signal_count>: Declare 'volatile' unconditionally.
-
Eli Zaretskii authored
See http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00293.html and the following discussion for the details. src/w32.c (set_errno): Reset h_errno and don't set it to any other value. Set errno instead. (check_errno): Reset h_errno. (sys_socket, socket_to_fd, sys_bind, sys_connect) (sys_gethostname, sys_getservbyname, sys_getpeername) (sys_shutdown, sys_setsockopt, sys_listen, sys_getsockname) (sys_accept, sys_recvfrom, sys_sendto, fcntl, sys_read): Don't set h_errno. (sys_gethostbyname): Set h_errno only errors detected.
-
Jambunathan K authored
* lisp/replace.el (read-regexp): Tighten the regexp that matches tag. When tag is retrieved with `find-tag-default', use regexp that matches tag at point. Also update docstring.
-
Eli Zaretskii authored
lisp/autorevert.el (auto-revert-notify-add-watch): With 'w32notify', add watch for the file, not its parent directory, since w32notify sets up the watch for the directory internally.
-
Glenn Morris authored
* lisp/image.el (image-default-frame-delay): New variable. (image-animated-p): Use image-default-frame-delay. (image-minimum-frame-delay): New constant. (image-animate-timeout): Use image-minimum-frame-delay.
-
Glenn Morris authored
* lisp/image.el (image-nth-frame): New, split from image-animate-timeout. (image-animate-timeout): Use image-nth-frame. * lisp/image-mode.el (image-goto-frame, image-next-frame) (image-previous-frame): New commands. (image-mode-map): Add new frame commands. * etc/NEWS: Mention this.
-
Jonas Bernoulli authored
If col-desc already has help-echo, use it. Fixes: debbugs:13563
-
Didier Verna authored
Check that response to the starttls-command is non-nil. Fixes: debbugs:13706
-
Glenn Morris authored
* lisp/url/url-http.el (url-http-wait-for-headers-change-function): Avoid prematurely finding the end of headers when they arrive line-by-line.
-
Glenn Morris authored
* lisp/image.el (image-current-frame): New variable. (image-animate-timeout): Set image-current-frame. * lisp/image-mode.el (image-mode): For animated images, display a frame counter via mode-line-process.
-
Glenn Morris authored
-
- 15 Feb, 2013 6 commits
-
-
Stefan Monnier authored
Fixes: debbugs:13724
-
Alan Mackenzie authored
minor mode has been enabled, call the minor mode function for a new buffer once only, after the major mode hook, whilst allowing that hook explicitly to disable the minor mode. (MODE-disable-in-buffer): new (generated) function. (disable-MODE): new (generated) buffer local variable.
-
Jambunathan K authored
* lisp/icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'. Bind `C-.' and `C-,' to `icomplete-forward-completions' and `icomplete-backward-completions'. * lisp/ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to `ido-next-match' and `ido-prev-match' resply. * lisp/iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to `iswitchb-next-match' and `iswitchb-prev-match' resply.
-
Eli Zaretskii authored
-
Jambunathan K authored
* lisp/icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'. Bind `C-.' and `C-,' to `icomplete-forward-completions' and `icomplete-backward-completions'. * lisp/ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to `ido-next-match' and `ido-prev-match' resply. * lisp/iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to `iswitchb-next-match' and `iswitchb-prev-match' resply.
-
Paul Eggert authored
-