- 24 Jul, 2013 9 commits
-
-
Michael Albinus authored
* net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): Remove functions. * autorevert.el (auto-revert-use-notify): (auto-revert-notify-add-watch): * net/tramp.el (tramp-file-name-for-operation): * net/tramp-adb.el (tramp-adb-file-name-handler-alist): * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): * net/tramp-sh.el (tramp-sh-file-name-handler-alist): * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Remove `file-notify-supported-p' entry.
-
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.
-
Glenn Morris authored
-
Glenn Morris authored
with lpr- versions.
-
Stefan Monnier authored
checked with memq. Fixes: debbugs:14935
-
Stefan Monnier authored
(revert-buffer-preserve-modes): Declare var to provide access to the `preserve-modes' argument. (revert-buffer): Let-bind it. (revert-buffer--default): New function, extracted from revert-buffer.
-
Stefan Monnier authored
(print-region-function): Don't default to nil. (lpr-print-region): New function, extracted from print-region-1. Check lpr's return value and signal an error in case of problem. (print-region-1): Use it. * lisp/ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-* versions instead. (ps-printer-name): Default to nil. (ps-printer-name-option): Default to lpr-printer-switch. (ps-print-region-function): Don't default to nil. (ps-postscript-code-directory): Simplify default. (ps-do-despool): Use lpr-print-region to properly check the outcome. (ps-string-list, ps-eval-switch, ps-flatten-list) (ps-flatten-list-1): Remove. (ps-multibyte-buffer): Avoid setq. * lisp/dos-w32.el (direct-print-region-helper): Use proper regexp operators. (print-region-function, ps-print-region-function): Don't set them here.
-
Xue Fuqiao authored
-
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 handling. (sql-redirect-one, sql-execute): Use `read-only-mode' on redirected output buffer. (sql-mode): Restore deleted code (Bug#13591).
-
- 23 Jul, 2013 4 commits
-
-
Juanma Barranquero authored
-
Michael Albinus authored
* 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): Use it.
-
Juanma Barranquero authored
(desktop-clear): Simplify; remove useless checks against invalid buffer names. (desktop-list*): Use cl-list*. (desktop-buffer-info, desktop-create-buffer): Simplify.
-
Leo Liu authored
value. Fixes: debbugs:14933
-
- 22 Jul, 2013 7 commits
-
-
Stefan Monnier authored
extracted from autoload--insert-text. (autoload--insert-text): Remove. (autoload--print-cookie-text): New function, extracted from autoload--insert-cookie-text. (autoload--insert-cookie-text): Remove. (autoload-generate-file-autoloads): Adjust calls accordingly.
-
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.
-
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 3 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.
-
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 6 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)
-
- 19 Jul, 2013 6 commits
-
-
Lars Magne Ingebrigtsen authored
Fixes: debbugs:14815
-
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
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 3 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.
-
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 1 commit
-
-
Dmitry Gutov authored
(ruby-font-lock-keyword-beg-re): Extract from `ruby-font-lock-keywords'.
-