1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 20:50:52 -08:00
Commit graph

60991 commits

Author SHA1 Message Date
Daniel Colascione
eff3168abc Fix tramp bug with empty explicit path 2014-02-26 21:11:50 -08:00
Daniel Colascione
675cab2c1b Fix indentation 2014-02-26 13:31:22 -08:00
Glenn Morris
259887e808 * lisp/startup.el (command-line): Don't init the tty in daemon mode.
Ref: http://debbugs.gnu.org/16859#15
2014-02-26 14:45:18 -05:00
Glenn Morris
1d491ef203 Avoid calling tty-setup-hook twice
eg if a term file explicitly calls tty-run-terminal-initialization

* lisp/faces.el (tty-run-terminal-initialization): Add run-hook argument.
(tty-create-frame-with-faces): Use it.

* lisp/startup.el (command-line): Pass run-hook argument
to tty-run-terminal-initialization.

Fixes: debbugs:16859
2014-02-26 14:40:56 -05:00
Glenn Morris
9577b56996 * lisp/dired.el (dired-restore-desktop-buffer): Demote errors;
eg in case a glob match fails.

Fixes: debbugs:16884
2014-02-26 14:18:49 -05:00
Dmitry Gutov
b2388336fe * lisp/emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
error from `read-from-string'.

Fixes: debbugs:16850
2014-02-26 04:31:27 +02:00
Dmitry Gutov
40ff7f86b6 * lisp/emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
result of `completing-read' in the interactive form.

Fixes: debbugs:16854
2014-02-26 04:02:21 +02:00
Glenn Morris
f086804c36 * lisp/image.el (image-animate, image-animate-timeout): Stop animating images
in dead buffers.

Fixes: debbugs:16878
2014-02-25 16:59:14 -05:00
Glenn Morris
c107155e62 * lisp/emacs-lisp/edebug.el (defmacro): Fix debug spec.
Fixes: debbugs:16868
2014-02-25 16:55:45 -05:00
Glenn Morris
05db9ece58 * lisp/net/newst-backend.el (newsticker-url-list): Doc whitespace trivia 2014-02-25 13:35:37 -05:00
Glenn Morris
7231101775 Add some Authors: headers based on authors.el. 2014-02-25 13:32:52 -05:00
Glenn Morris
4ff933dd26 * org-version.el (org-odt-data-dir): Remove incorrect, duplicate definition.
Fixes: debbugs:16734
2014-02-25 13:10:52 -05:00
Julien Danjou
ea922c8bb3 erc-network: fix erc-determine-network when no network
* erc-networks.el (erc-determine-network): Check that NETWORK as a
value, some servers set it to nothing.
2014-02-25 18:37:25 +01:00
Glenn Morris
98bd6b321c Doc updates related to tty-setup-hook
* doc/emacs/custom.texi (Terminal Init):
Replace term-setup-hook with tty-setup-hook.

* doc/lispref/display.texi (Window Systems):
* doc/lispref/hooks.texi (Standard Hooks):
Replace term-setup-hook with tty-setup-hook.

* doc/lispref/os.texi (Startup Summary, Init File, Terminal-Specific):
Replace term-setup-hook with tty-setup-hook, and update.

* doc/misc/edt.texi (Quick start, Starting emulation):
* doc/misc/efaq.texi (Fullscreen mode on MS-Windows)
(Terminal setup code works after Emacs has begun): Update hook details.

* doc/misc/vip.texi (Loading VIP): Fix hook example.

* lisp/faces.el (tty-setup-hook, tty-run-terminal-initialization): Doc fixes.

* lisp/startup.el (term-setup-hook): Doc fix.  Make obsolete.

* lisp/emulation/edt.el: Comment update.

* lisp/term/sun.el (sun-raw-prefix-hooks):
Use tty-setup-hook instead of term-setup-hook.
(terminal-init-sun): Construct message from bytecomp plist.

* lisp/term/wyse50.el (enable-arrow-keys): Doc fix.

* etc/refcards/vipcard.tex: Hook fix.

* etc/NEWS: Related edit.
2014-02-25 00:41:47 -08:00
Juanma Barranquero
9c9e18e8f5 lisp/term/sun.el: Fix docstring typos. 2014-02-24 18:24:14 +01:00
Michael Albinus
c848881f79 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix. 2014-02-24 16:48:32 +01:00
Nicolas Richard
0e38ae052e lisp/minibuffer.el: Fix bug#16808.
(completion--try-word-completion): Fix error when completing M-x commands.
2014-02-24 16:41:46 +01:00
Leo Liu
8ee4c296ec * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec. 2014-02-24 11:55:17 +08:00
Juanma Barranquero
7d4bd627de lisp/apropos.el: Avoid formatting error in compact layout mode. 2014-02-24 03:38:54 +01:00
Juanma Barranquero
e918e27fdf lisp/apropos: Fix typos.
(apropos-property, apropos-all-words-regexp)
(apropos-true-hit, apropos-variable, apropos-print):
Fix docstring typos, and remove obsolete comment.
2014-02-24 00:41:17 +01:00
Michael Albinus
85c01f803f * net/tramp-sh.el (tramp-sh-handle-file-truename): Preserve trailing "/".
Fixes: debbugs:16851
2014-02-23 15:51:29 +01:00
Dmitry Gutov
dfdb365c4c * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Handle the
inconsistent second element of the list returned by
`smie-indent--parent'.
(ruby-font-lock-keywords): Disqualify any identifier before `=' as
method call.
2014-02-23 10:26:40 +02:00
Dmitry Gutov
62f9502226 * lisp/progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
after `=>'.

Fixes: debbugs:16811
2014-02-23 07:53:53 +02:00
Paul Eggert
16f4c9f148 Spelling fixes. 2014-02-22 18:46:12 -08:00
Juanma Barranquero
025f2c8156 lisp/elec-pair.el: Fix typos.
(electric-pair-text-syntax-table, electric-pair-syntax-info)
(electric-pair--syntax-ppss, electric-pair--balance-info)
(electric-pair-mode): Fix docstring typos.
(electric-pair--looking-at-unterminated-string-p): Doc fix.
(electric-pair--inside-string-p): Doc fix.  Use `let', not `let*'.
2014-02-23 01:19:11 +01:00
Glenn Morris
612c3e462e * lisp/imenu.el (imenu--generic-function): Doc fix.
* etc/NEWS: Related markup.
2014-02-22 13:20:49 -08:00
Glenn Morris
123c84f91b * lisp/register.el (frame-configuration-to-register): Make obsolete.
* etc/NEWS: Related markup.
2014-02-22 13:13:30 -08:00
Juanma Barranquero
e59fa9adb3 lisp/desktop.el: Do not fail when desktop-files-not-to-save is nil. 2014-02-22 03:10:49 +01:00
Daniel Colascione
d3cac06127 Build correct secrets pattern from auth-source pattern 2014-02-21 17:44:59 -08:00
Daniel Colascione
4e6526341d Additional type checking in secrets API 2014-02-21 16:47:42 -08:00
Juanma Barranquero
f35affb60f lisp/emacs-lisp/gv.el: Avoid duplicating entries of defun-declaration-alist. 2014-02-21 20:01:19 +01:00
Stefan Monnier
3d136b1b72 * lisp/emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule.
Fixes: debbugs:16829
2014-02-21 12:45:26 -05:00
Juanma Barranquero
612ddfc096 lisp/whitespace.el: End obsolescence messages with dot.
(whitespace-space, whitespace-hspace, whitespace-tab)
(whitespace-newline, whitespace-trailing, whitespace-line)
(whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
(whitespace-space-after-tab): Fix typo in docstrings.
2014-02-21 17:18:56 +01:00
Dmitry Gutov
cb8f50a75c * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add missing "or". 2014-02-21 17:39:17 +02:00
Dmitry Gutov
c8481b1b2c * lisp/electric.el (electric-indent-functions-without-reindent):
Add `yaml-indent-line'.
2014-02-21 16:29:28 +02:00
Juanma Barranquero
34b71457b2 lisp/w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
It has done nothing for years; should be removed after the release.
2014-02-21 15:26:17 +01:00
Juanma Barranquero
bed5126f52 lisp/simple.el (choose-completion): Fix docstring typo.
(read-quoted-char-radix): Remove unneeded * in docstring.
(process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
Don't escape parentheses unnecessarily in docstrings.
2014-02-21 14:22:14 +01:00
Martin Rudalics
2ed94e0498 In with-temp-buffer-window don't evaluate BODY within with-current-buffer (Bug#16816).
* window.el (with-temp-buffer-window): Don't evaluate BODY within
with-current-buffer (Bug#16816).
2014-02-21 12:04:27 +01:00
Martin Rudalics
8dd3e94fb6 Fix handling of window-min-height/-width (Bug#16738).
* window.el (window--dump-window, window--dump-frame): New
functions.
(window--min-size-1): Account for window dividers.  When
window-resize-pixelwise is nil, delay rounding till after the
sum of the window components has been calculated.
(window--min-delta-1, window--max-delta-1): When PIXELWISE is
nil make sure at least one text line and two text columns remain
fully visible.
(window-resize): Signal an error when window-resize-apply fails.
(window--resize-child-windows): Fix calculation of by how many
pixels a window can still be shrunk via window-new-normal.
(adjust-window-trailing-edge): Call window--resizable with
correct TRAIL argument.
2014-02-21 09:02:05 +01:00
Glenn Morris
afe1e4c8eb ChangeLog fix
It's "<foo>" to indicate a change related to foo.
[foo] is for a change conditional on foo being defined.

See info node `(standards)Indicating the Part Changed'.
2014-02-20 23:56:52 -08:00
Michael Albinus
0e5324c4b4 Add ChangeLog entry for previous commit. 2014-02-21 08:53:19 +01:00
Michael Albinus
67223d255a * net/tramp.el (tramp-check-cached-permissions):
Call `file-attributes' with `suffix' being a symbol but a string.
2014-02-21 08:52:04 +01:00
Daniel Colascione
4819842050 Improve dbus error handling; detect bus failure 2014-02-20 20:32:31 -08:00
Juanma Barranquero
e48983a694 lisp/w32-fns.el: Remove obsolescence declarations for nonexistent vars.
(w32-enable-italics, w32-charset-to-codepage-alist):
These variables do not exist anymore.
2014-02-21 04:26:21 +01:00
Juanma Barranquero
fdcfd74540 lisp/savehist.el: Fix typos in docstrings.
(savehist-save-minibuffer-history, savehist-additional-variables)
(savehist-file, savehist-mode-hook, savehist-save-hook, savehist-coding-system)
(savehist-loaded, savehist-load, savehist-install, savehist-autosave):
Fix typos; mostly, refer to "Savehist mode" when talking about the mode,
and not the function.
2014-02-21 01:47:17 +01:00
Juanma Barranquero
99e1513378 lisp/saveplace.el (save-place): Remove redundant info in docstring.
(save-place-forget-unreadable-files, toggle-save-place)
(save-place-forget-unreadable-files, save-place-dired-hook):
Fix typos and remove unneeded backslashes.
2014-02-21 01:35:08 +01:00
Michael Albinus
f5bee33b82 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
(tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.

* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
[insert-directory]: Use `tramp-handle-insert-directory.
(tramp-gvfs-handle-insert-directory): Remove function.

* net/tramp-sh.el (tramp-sh-handle-insert-directory):
Call `tramp-handle-insert-directory'.
2014-02-20 15:24:13 +01:00
Juanma Barranquero
ee0761cad3 lisp/elec-pair.el: Fix bug#16799.
(electric-pair-syntax-info): Do not check syntax
before the start of buffer/region.
2014-02-20 11:33:32 +01:00
Glenn Morris
4d49cc6547 Some doc for search-invisible
* doc/emacs/search.texi (Special Isearch): Mention invisible text.

* lisp/isearch.el (search-invisible): Doc fix.

* etc/NEWS: Related edit.
2014-02-20 00:14:20 -08:00
W. Trevor King
eee0d65034 * lisp/term/xterm.el (xterm--version-handler): Adapt to xterm-280's output.
Fixes: debbugs:16657
2014-02-19 23:45:19 -05:00