- 22 Jul, 2013 8 commits
-
-
Stefan Monnier authored
(winner-mode): Simplify accordingly.
-
Stefan Monnier authored
not constant. Don't use `cl-member' for the base case.
-
Stefan Monnier authored
(subword-forward-regexp): Make it a constant. Wrap optional \\W in its own group. (subword-backward-regexp): Make it a constant. (subword-forward-internal): Don't treat a trailing capital as the beginning of a word. * test/automated/subword-tests.el: New file. Fixes: debbugs:13758
-
Ari Roponen authored
Don't modify the global value of tabulated-list-revert-hook.
-
Glenn Morris authored
-
Stefan Monnier authored
(success): Remove var. (url-http-handle-authentication): Return the value that `success' should take instead of setting `success' directly. Don't set `status' since it's not used. (url-http-parse-headers): Avoid unneeded setq. Move the `setq success'. (url-http): Use pcase. (url-http-file-exists-p): Simplify.
-
Juanma Barranquero authored
(desktop-before-saving-frames-functions): New hook. (desktop--process-minibuffer-frames): Set desktop-mini parameter only for frames being saved. Rename from desktop--save-minibuffer-frames. (desktop-save-frames): Run hook desktop-before-saving-frames-functions. Do not save frames with non-nil `desktop-dont-save' parameter. Filter out deleted frames. (desktop--find-frame): Use cl-find-if. (desktop--select-frame): Use cl-(first|second|third) to access values of desktop-mini. (desktop--make-frame): Use cl-delete-if. (desktop--sort-states): Fix sorting of minibuffer-owning frames. (desktop-restore-frames): Use cl-(first|second|third) to access values of desktop-mini. Look for visible frame at the end, not while restoring frames.
-
Juanma Barranquero authored
(dired-mark-unmarked-files, dired-virtual, dired-guess-default) (dired-mark-sexp, dired-filename-at-point): Use string-match-p, looking-at-p.
-
- 21 Jul, 2013 4 commits
-
-
Juanma Barranquero authored
(desktop-saved-frame-states): Rename from desktop--saved-states; all users changed. (desktop-save-frames): Rename from desktop--save-frames. Do not save state to desktop file. (desktop-save): Save desktop-saved-frame-states to desktop file and reset to nil. (desktop-restoring-frames-p): New function. (desktop-restore-frames): Use it. Rename from desktop--restore-frames. (desktop-read): Use desktop-restoring-frames-p. Do not try to fix buffer-lists when restoring frames. Suggested by Martin Rudalics.
-
Paul Eggert authored
-
Juanma Barranquero authored
-
Juanma Barranquero authored
(desktop--filter-iconified-position): New function. (desktop-filter-parameters-alist): Add entries for `top' and `left'.
-
- 20 Jul, 2013 7 commits
-
-
Glenn Morris authored
* lisp/image-dired.el (image-dired-track-original-file): Use with-current-buffer. (image-dired-track-thumbnail): Use with-current-buffer. Avoid changing point of wrong window.
-
Glenn Morris authored
* lisp/progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped): Let `message' do the formatting. (def-gdb-preempt-display-buffer): Add explicit format.
-
Glenn Morris authored
Avoid changing point of wrong window. Fixes: debbugs:14909
-
Andreas Schwab authored
change.
-
Kenichi Handa authored
-
Kenichi Handa authored
(decode_coding_iso_2022): Check the single-shift area. (Bug#8522)
-
Kenichi Handa authored
-
- 19 Jul, 2013 8 commits
-
-
Lars Magne Ingebrigtsen authored
Fixes: debbugs:14815
-
Gnus developers authored
2013-07-19 Geoff Kuenning <geoff@cs.hmc.edu> (tiny change) * gnus.texi (Customizing Articles): Document function predicates. 2013-07-19 Geoff Kuenning <geoff@cs.hmc.edu> (tiny change) * gnus-art.el (gnus-treat-predicate): Allow functions as predicates (bug#13384). 2013-07-18 Lars Magne Ingebrigtsen <larsi@gnus.org> * gnus-start.el (gnus-clean-old-newsrc): Remove the newsrc cleanups that were only relevant in a development version a long time ago.
-
Lars Magne Ingebrigtsen authored
* net/eww.el (eww-process-text-input): Allow inputting when the point is at the start of the line, as the properties aren't front-sticky.
-
Lars Magne Ingebrigtsen authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
saying what to trim from the start and end of each substring. * subr.el (split-string): New arg TRIM.
-
Juanma Barranquero authored
-
- 18 Jul, 2013 4 commits
-
-
Richard Copley authored
Fixes: debbugs:14127
-
Juanma Barranquero authored
* lisp/frame.el (blink-cursor-timer-function, blink-cursor-suspend): Add check for W32. * src/keyboard.c (kbd_buffer_get_event): * src/w32term.c (x_focus_changed): Port FOCUS_(IN|OUT)_EVENT changes to W32.
-
Katsumi Yamaoka authored
-
Michael Albinus authored
`file-notify-support'. Do not autoload. Adapt all uses. (file-notify-supported-p): New defun. * autorevert.el (auto-revert-use-notify): Use `file-notify-supported-p' instead of `file-notify-support'. Adapt docstring. (auto-revert-notify-add-watch): Use `file-notify-supported-p'. * net/tramp.el (tramp-file-name-for-operation): Add `file-notify-supported-p'. * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): New defun. (tramp-sh-file-name-handler-alist): Add it as handler for `file-notify-supported-p '. * net/tramp-adb.el (tramp-adb-file-name-handler-alist): * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add `ignore' as handler for `file-notify-*' functions.
-
- 17 Jul, 2013 1 commit
-
-
Eli Zaretskii authored
lisp/simple.el (line-move-partial, line-move): Don't start vscroll or scroll-up if the current line is not taller than the window.
-
- 16 Jul, 2013 4 commits
-
-
Dmitry Gutov authored
(ruby-font-lock-keyword-beg-re): Extract from `ruby-font-lock-keywords'.
-
Dmitry Gutov authored
highlight question marks in the method names as strings.
-
Jan Djärv authored
* etc/NEWS: Document blink-cursor-blinks and blink timers stopped. * lisp/frame.el (blink-cursor-blinks): New defcustom. (blink-cursor-blinks-done): New defvar. (blink-cursor-start): Set blink-cursor-blinks-done to 1. (blink-cursor-timer-function): Check if number of blinks has been done on X and NS. (blink-cursor-suspend, blink-cursor-check): New defuns. * src/frame.c (Fhandle_focus_in, Fhandle_focus_out): New functions. (Fhandle_switch_frame): Call Fhandle_focus_in. (syms_of_frame): defsubr handle-focus-in/out. * src/keyboard.c (Qfocus_in, Qfocus_out): New static objects. (make_lispy_focus_in, make_lispy_focus_out): Declare and define. (kbd_buffer_get_event): For FOCUS_IN, make a focus_in event if no switch frame event is made. Check ! NILP (event->arg) if X11 (moved from xterm.c). Make focus_out event for FOCUS_OUT_EVENT if NS or X11 and there is a focused frame. (head_table): Add focus-in and focus-out. (keys_of_keyboard): Add focus-in and focus-out to Vspecial_event_map, bind to handle-focus-in/out. * src/nsterm.m (windowDidResignKey): If this is the focused frame, generate FOCUS_OUT_EVENT. * src/termhooks.h (enum event_kind): Add FOCUS_OUT_EVENT. * src/xterm.c (x_focus_changed): Always generate FOCUS_IN_EVENT. Set event->arg to Qt if switch-event shall be generated. Generate FOCUS_OUT_EVENT for FocusOut if this is the focused frame.
-
Paul Eggert authored
-
- 15 Jul, 2013 4 commits
-
-
Glenn Morris authored
-
Paul Eggert authored
The hack didn't work outside English locales anyway.
-
Juanma Barranquero authored
-
Juanma Barranquero authored
(desktop-restore-in-current-display): Now offer more options. (desktop-restoring-reuses-frames): New customization option. (desktop--saved-states): Doc fix. (desktop-filter-parameters-alist): New variable, renamed and expanded from desktop--excluded-frame-parameters. (desktop--target-display): New variable. (desktop-switch-to-gui-p, desktop-switch-to-tty-p, desktop--filter-tty*) (desktop--filter-*-color, desktop--filter-minibuffer) (desktop--filter-restore-desktop-parm, desktop--filter-save-desktop-parm) (desktop-restore-in-original-display-p): New functions. (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist. (desktop--save-minibuffer-frames): New function, inspired by a similar function from Martin Rudalics. (desktop--save-frames): Call it; play nice with desktop-globals-to-save. (desktop--restore-in-this-display-p): Remove. (desktop--find-frame): Rename from desktop--find-frame-in-display and add predicate argument. (desktop--make-full-frame): Remove, integrated into desktop--make-frame. (desktop--reuse-list): New variable. (desktop--select-frame, desktop--make-frame, desktop--sort-states): New functions. (desktop--restore-frames): Add support for "minibuffer-special" frames.
-