Juri Linkov
a2115113ef
* lisp/avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
...
(mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
Add more modifiers: meta, control, shift, hyper, super, alt.
Fixes: debbugs:17439
2014-05-21 00:14:44 +03:00
Stefan Monnier
0a5cfeeecb
* lisp/progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
...
#; comments.
(scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
New functions.
(scheme-mode-variables): Set syntax-propertize-function instead of
font-lock-syntactic-face-function.
(scheme-font-lock-syntactic-face-function): Delete.
2014-05-20 16:12:30 -04:00
Stefan Monnier
7b952d6142
* lisp/emacs-lisp/lisp.el (end-of-defun): Ensure we move.
...
Fixes: debbugs:17274
2014-05-20 14:55:41 -04:00
Glenn Morris
293fbc914a
* lisp/vc/vc-rcs.el: Comment.
2014-05-20 08:46:21 -07:00
Paul Eggert
f62d0f2a08
Spelling fix.
2014-05-18 22:07:45 -07:00
Glenn Morris
b9813f147a
* mouse.el: Remove old comment.
2014-05-18 15:53:27 -07:00
Stefan Monnier
c42ebc983b
* lisp/emacs-lisp/timer.el (timer-event-handler): Fix last change.
...
Fixes: debbugs:17392
2014-05-18 09:17:10 -04:00
Stefan Monnier
08a2434e2f
* lisp/emacs-lisp/timer.el (timer-event-handler): Don't run if canceled.
...
Fixes: debbugs:17392
2014-05-18 08:58:30 -04:00
Eli Zaretskii
2f82660963
lisp/simple.el (line-move-ignore-invisible): Fix last commit.
2014-05-17 19:06:02 +03:00
Michael Albinus
e8cbb7684f
Fix typo.
2014-05-17 11:08:59 +02:00
Michael Albinus
43425aecb1
* net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
...
for a temporary file name.
2014-05-17 11:00:54 +02:00
Eli Zaretskii
1e046d37a4
Fix bug #17511 with unclear documentation of line-move-ignore-invisible.
...
lisp/simple.el (line-move-ignore-invisible): Doc fix.
doc/lispref/display.texi (Invisible Text): Clarify the description of
line-move-ignore-invisible.
2014-05-17 11:58:17 +03:00
Michael Albinus
1bafb1dede
* net/dbus.el (dbus-init-bus, dbus-call-method)
...
(dbus-call-method-asynchronously, dbus-send-signal)
(dbus-method-return-internal, dbus-method-error-internal)
Check, whether Emacs has been compiled with D-Bus support.
Fixes: debbugs:17508
2014-05-16 15:11:09 +02:00
David Engster
2aa03011f7
Auto-commit of loaddefs files.
2014-05-14 22:45:05 +02:00
Nicolas Richard
ec264fbb7c
Deal with EIEIO methods without doc strings (Bug#17490).
...
* emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
methods which do not have a doc string. (Bug#17490)
2014-05-14 22:41:53 +02:00
Stephen Berman
34cba8e885
* lisp/minibuffer.el (completion-pcm--merge-try): Merge trailing / with
...
suffix.
Fixes: debbugs:15419
2014-05-14 12:21:13 -04:00
Glenn Morris
a5d09243e7
Make some pointless/useless emerge.el options obsolete
...
* vc/emerge.el (emerge-temp-file-prefix): Make pointless option obsolete.
(emerge-temp-file-mode): Make non-functional option obsolete.
2014-05-13 23:59:12 -07:00
Michael Albinus
e95b937a42
* net/browse-url.el (browse-url):
...
Use `unhandled-file-name-directory' when setting `default-directory',
in order to circumvent stalled remote connections.
Fixes: debbugs:17425
2014-05-13 10:54:08 +02:00
Glenn Morris
96b894717c
Regenerate AUTHORS and ldefs-boot.el
2014-05-11 23:15:47 -07:00
Eric Schulte
45d2587daf
ob-screen tempfile fixes
...
* lisp/org/ob-screen.el (org-babel-screen-session-write-temp-file)
(org-babel-screen-test): Use unpredictable names for temporary files.
Fixes: debbugs:17416
2014-05-11 23:09:43 -07:00
Stefan Monnier
97100b4379
* lisp/emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
...
into autoloading just because of a silly indirection.
2014-05-12 01:25:34 -04:00
Santiago Payà i Miralta
0add095990
* lisp/vc/vc-hg.el (vc-hg-unregister): New function (tiny change)
...
Fixes: debbugs:17454
2014-05-10 19:01:08 -07:00
Glenn Morris
e7caef591f
Move lisp/emacs-lisp/find-gc.el to admin/
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00118.html
2014-05-10 18:53:42 -07:00
Glenn Morris
6d80e8a9eb
Fix ChangeLog typo
2014-05-10 15:09:03 -07:00
Glenn Morris
6b45ef3565
Also mention bug-gnu-emacs in (ps-)print.el version strings
...
* printing.el (pr-version):
* ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
2014-05-10 14:41:12 -07:00
Glenn Morris
8c6699ab19
* browse-url.el (browse-url-mosaic): Create /tmp/Mosaic.PID as a private file.
2014-05-10 13:48:36 -07:00
Stefan Monnier
5d03fb436f
* lisp/emacs-lisp/nadvice.el: Support adding a given function multiple times.
...
(advice--member-p): If name is given, only compare the name.
(advice--remove-function): Don't stop at the first match.
(advice--normalize-place): New function.
(add-function, remove-function): Use it.
(advice--add-function): Pass the name, if any, to
advice--remove-function.
2014-05-10 16:07:01 -04:00
Philipp Rumpf
3ebdceafc1
* lisp/electric.el (electric-indent-post-self-insert-function): Don't use
...
`pos' after modifying the buffer.
Fixes: debbugs:17449
2014-05-09 14:03:21 -04:00
Stefan Monnier
a3eda656ee
* lisp/subr.el (function-put): Add function.
2014-05-09 12:51:17 -04:00
Michael Albinus
0f09bbfa7f
* url-handlers.el (url-file-handler-load-in-progress): New defvar.
...
(url-file-handler): Use it, in order to avoid recursive load.
2014-05-09 14:49:30 +02:00
Stephen Berman
472c15bf14
* calendar/todo-mode.el (todo-insert-item-from-calendar):
...
Correct argument list to conform to todo-insert-item--basic.
2014-05-09 09:50:42 +02:00
Glenn Morris
2651ed05dc
* files.el (cd-absolute): Test if directory is accessible
...
rather than executable.
This can't be any worse, and may be better in some situations.
It may or may not fix bug#17330.
2014-05-08 23:53:30 -07:00
Glenn Morris
bb1f4b8f9a
* compile.el (recompile): Handle C-u M-x recompile from non-compilation buffer
...
Fixes: debbugs:17444
2014-05-08 23:42:39 -07:00
Juri Linkov
c055a50b4a
Backport dired-check-switches from trunk.
...
* lisp/dired.el (dired-check-switches, dired-switches-recursive-p): New functions.
(dired-switches-escape-p, dired-move-to-end-of-filename):
Use `dired-check-switches'.
(dired-insert-old-subdirs, dired-build-subdir-alist)
(dired-sort-R-check): Use `dired-switches-recursive-p'.
Fixes: debbugs:17218
2014-05-08 22:22:43 +03:00
Glenn Morris
a9fd3545bb
Add CVE numbers for recent issues to ChangeLogs
2014-05-08 14:12:34 -04:00
Glenn Morris
4049faae96
* browse-url.el (browse-url-mosaic): Be careful when writing /tmp/Mosaic.PID.
...
This is CVE-2014-3423.
Fixes: debbugs:17428
2014-05-08 14:10:36 -04:00
Stefan Monnier
b406487f52
* lisp/xt-mouse.el: Drop spurious/oddly shaped events.
...
(xterm-mouse--read-event-sequence-1000): Return nil if something looks fishy.
(xterm-mouse-event): Propagate it.
(xterm-mouse-translate-1): Handle it.
Fixes: debbugs:17378
2014-05-07 21:46:15 -04:00
Stephen Berman
1ddb2150e6
todo-mode.el: Don't drop full parameter list.
...
* calendar/todo-mode.el (todo-insert-item--apply-args): When all
four slots of the parameter list are filled, make sure to pass it
to the argument list of todo-insert-item--basic.
2014-05-07 11:31:27 +02:00
Stefan Monnier
5e87fcb1d7
* lisp/emacs-lisp/package.el (package-compute-transaction): Topological sort.
...
Add optional `seen' argument to detect and break infinite loops.
Fixes: debbugs:16994
2014-05-06 14:11:16 -04:00
Eli Zaretskii
c5d670f5ad
Minor stylistic changes in find-gc.el.
...
lisp/emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
(trace-unsafe, trace-use-tree): Make parentheses style be
according to Emacs style.
2014-05-06 13:29:37 +03:00
Michael Albinus
23e19cf290
Fix Bug#17415.
...
* net/tramp-sh.el (tramp-uudecode): Replace the hard-coded temporary
file name by a format specifier.
(tramp-remote-coding-commands): Enhance docstring.
(tramp-find-inline-encoding): Replace "%t" by a temporary file name.
2014-05-06 11:51:05 +02:00
Michael Albinus
3e59ead144
Fix Bug#17295.
...
* net/tramp-sh.el (tramp-remote-process-environment): Remove
HISTFILE and HISTSIZE; it's too late to set them here. Add
:version entry.
(tramp-open-shell): Do not let-bind `tramp-end-of-output'. Add
"HISTSIZE=/dev/null" to the shell's env arguments. Do not send
extra "PSx=..." commands.
(tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2014-05-06 10:42:53 +02:00
Glenn Morris
03810324a4
browse-url.el comment
2014-05-05 20:55:54 -07:00
Glenn Morris
0c4decaeb1
find-gc.el misc fixes
...
The whole file looks obsolete and/or broken.
* lisp/emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
(find-gc-source-files): Update some names.
(trace-call-tree): Simplify and update. Avoid predictable temp-file names.
2014-05-05 20:53:31 -07:00
Glenn Morris
088e020172
* gnus-fun.el (gnus-grab-cam-face): Do not use predictable temp-file name.
2014-05-05 20:50:51 -07:00
Stefan Monnier
bf67c3f7ef
* lisp/minibuffer.el (completion--try-word-completion): Revert fix for
...
Bug#15980.
Fixes: debbugs:17375
2014-05-05 19:54:06 -04:00
Stefan Monnier
c22f24f6ef
* lisp/xt-mouse.el (xterm-mouse--read-event-sequence-1000):
...
Always store button numbers in the same way in xterm-mouse-last;
Don't burp is xterm-mouse-last is not set as expected.
Never return negative indices.
Fixes: debbugs:17378
2014-05-05 19:50:20 -04:00
Dmitry Gutov
4dd3c4d53a
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
...
Backtrack one char if the global/char-literal var matcher hits
inside a string. The next char could be the beginning of an
expression expansion.
* test/automated/ruby-mode-tests.el
(ruby-interpolation-after-dollar-sign): New test.
2014-05-06 03:18:18 +04:00
Glenn Morris
6da8d06975
* lisp/help-fns.el (describe-function-1): Test for an autoload before a macro
...
since `macrop' works on autoloads.
* test/automated/help-fns.el: New file.
Fixes: debbugs:17410
2014-05-05 17:33:07 -04:00
Stefan Monnier
e6025d7240
* lisp/electric.el (electric-indent-functions-without-reindent): Add yaml.
2014-05-05 15:04:40 -04:00