1. 24 Jul, 2013 3 commits
    • Xue Fuqiao's avatar
      * lisp/ido.el: Doc fix. · 0e55c076
      Xue Fuqiao authored
      * lisp/ido.el (ido-fractionp):
      (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
      (ido-max-file-prompt-width, ido-unc-hosts-cache)
      (ido-max-directory-size, ido-max-dir-file-cache)
      (ido-decorations): Doc fix.
    • Xue Fuqiao's avatar
      * lisp/ansi-color.el: Fix old URL. · 73600831
      Xue Fuqiao authored
    • Michael Mauger's avatar
      * progmodes/sql.el Version 3.3 · 3d012865
      Michael Mauger authored
      (sql-product-alist): Improve oracle :prompt-cont-regexp.
      (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
      (sql-interactive-remove-continuation-prompt): Rewrite, use
      functions above.  Fix continuation prompt and complete output line
      (sql-redirect-one, sql-execute): Use `read-only-mode' on
      redirected output buffer.
      (sql-mode): Restore deleted code (Bug#13591).
  2. 23 Jul, 2013 4 commits
  3. 22 Jul, 2013 7 commits
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/autoload.el (autoload--setup-output): New function, · 7d22ce18
      Stefan Monnier authored
      extracted from autoload--insert-text.
      (autoload--insert-text): Remove.
      (autoload--print-cookie-text): New function, extracted from
      (autoload--insert-cookie-text): Remove.
      (autoload-generate-file-autoloads): Adjust calls accordingly.
    • Stefan Monnier's avatar
      * lisp/winner.el (winner-hook-installed-p): Remove. · 9b2607e8
      Stefan Monnier authored
      (winner-mode): Simplify accordingly.
    • Stefan Monnier's avatar
      * lisp/subr.el (add-to-list): Fix compiler-macro when `append' is · c43a8618
      Stefan Monnier authored
      not constant.  Don't use `cl-member' for the base case.
    • Stefan Monnier's avatar
      * lisp/progmodes/subword.el: Fix boundary case. · 0ac26976
      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's avatar
      lisp/emacs-lisp/package.el (package-menu-mode): Fix bug#14930. · 6874724a
      Ari Roponen authored
      Don't modify the global value of tabulated-list-revert-hook.
    • Juanma Barranquero's avatar
      lisp/desktop.el: Require 'cl-lib. · a1c80d9d
      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's avatar
      lisp/dired-x.el: Fix bug#14927. · 70f1b5e8
      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.
  4. 21 Jul, 2013 3 commits
  5. 20 Jul, 2013 6 commits
  6. 19 Jul, 2013 6 commits
  7. 18 Jul, 2013 3 commits
    • Richard Copley's avatar
    • Juanma Barranquero's avatar
      Followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se. · 945c5bb1
      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.
    • Michael Albinus's avatar
      * filenotify.el (file-notify--library): Renamed from · e06ec67f
      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
      (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.
  8. 17 Jul, 2013 1 commit
  9. 16 Jul, 2013 3 commits
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-block-beg-keywords): Inline. · ac72c08d
      Dmitry Gutov authored
      (ruby-font-lock-keyword-beg-re): Extract from
    • Dmitry Gutov's avatar
      * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not · 77aea2fb
      Dmitry Gutov authored
      highlight question marks in the method names as strings.
    • Jan Djärv's avatar
      Stop cursor blink after blink-cursor-blinks (10), stop timers when not blinking. · 18c26d81
      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
      * 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.
  10. 15 Jul, 2013 4 commits
    • Glenn Morris's avatar
    • Paul Eggert's avatar
      * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x. · 0463c1ef
      Paul Eggert authored
      The hack didn't work outside English locales anyway.
    • Juanma Barranquero's avatar
    • Juanma Barranquero's avatar
      lisp/desktop.el (desktop-restore-frames): Change default to t. · b958c0ad
      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--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.