1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00
Commit Graph

60971 Commits

Author SHA1 Message Date
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
Juanma Barranquero
94e5e202d9 lisp/frameset.el (frameset-restore): Remove duplicate ids only when needed. 2014-02-19 22:04:06 +01:00
Michael Albinus
50bfdd5d78 Some Tramp minor fixes, found during test campaign.
* net/tramp-adb.el (tramp-adb-file-name-handler-alist)
[make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.

* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
[make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
(tramp-gvfs-maybe-open-connection): Set always connection
properties, even if target is mounted already.

* net/tramp-sh.el (tramp-color-escape-sequence-regexp):
Set tramp-autoload cookie.
(tramp-get-remote-touch): New defun.
(tramp-sh-handle-set-file-times): Use it.
(tramp-sh-handle-directory-files-and-attributes):
Use `tramp-handle-directory-files-and-attributes' if neither stat
nor perl are available on the remote host.

* net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
"/".  Write long listing only when "l" belongs to the switches.

* net/tramp.el (tramp-handle-make-symbolic-link): New defun.
(tramp-check-cached-permissions): Call `file-attributes' if the
cache is empty.

* net/trampver.el: Update release number.
2014-02-19 20:24:32 +01:00
Juanma Barranquero
f097a3d25f lisp/frameset.el (frameset--reuse-frame): Remove workaround for bug#16793. 2014-02-19 12:01:35 +01:00
Martin Rudalics
8e009b7881 In window-state-put allow WINDOW to refer to an internal window (Bug#16793).
* window.el (window-state-put): Allow WINDOW to refer to an
internal window (Bug#16793).
2014-02-19 10:54:35 +01:00
Glenn Morris
95160c901a Some remember doc
* doc/misc/remember.texi: Copyedits.
(Quick Start): No need for manual autoloads.  Mention remember-notes.
(Function Reference): Update arguments.  Add new commands.

* lisp/textmodes/remember.el: Set maintainer to emacs-devel
according to remember.texi.
Move provide statement to end.
(remember-mode-map, remember-notes-mode-map, remember-notes-mode)
(remember-notes): Doc fixes.
2014-02-19 00:34:45 -08:00
Stefan Monnier
b28df58ce5 * lisp/delsel.el (delete-char): Restore incorrectly erased property.
Fixes: debbugs:16795
2014-02-18 13:14:36 -05:00
Juanma Barranquero
7108e1c040 lisp/frameset.el: Workaround bug#16793.
lisp/frameset.el (frameset--restore-frame): When a frame is being reused
and its root window is not alive, delete all the frame's windows before
restoring the window state.
2014-02-18 18:33:37 +01:00
Glenn Morris
a73fae1ffa Some remember doc
* doc/misc/remember.texi (copying): Bump remember mode version.
(Installation): Remove unnecessary chapter.
(Quick Start): No need to explicitly load remember.el.
(Separate Text Files): New section.

* lisp/textmodes/remember.el (remember-data-directory)
(remember-directory-file-name-format, remember-store-in-files)
(remember-notes-initial-major-mode, remember-notes-bury-on-kill)
(remember-notes-save-and-bury-buffer)
(remember-notes--kill-buffer-query): Doc fixes.

* etc/NEWS: Related edit.
2014-02-18 00:09:51 -08:00
Glenn Morris
c863b6ade6 Some desktop doc
* doc/emacs/misc.texi (Saving Emacs Sessions):
Mention desktop-auto-save-timeout.

* lisp/desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.

* etc/NEWS: Related edit.
2014-02-17 17:33:30 -08:00
Paul Eggert
389bea289f Fix stray underscore in ChangeLog. 2014-02-17 14:51:36 -08:00
Glenn Morris
fb7a3ee2db Some doc updates for eieio-describe-class/generic
* doc/misc/eieio.texi (Class Values, CLOS compatibility):
Remove references to deleted eieio-describe-class/generic.

* lisp/cedet/ede/cpp-root.el: Comment update.
2014-02-17 10:40:09 -08:00
Alan Mackenzie
29238d289d Connect electric-indent-mode up with CC Mode. Bug #15478.
* progmodes/cc-mode.el (c-initialize-cc-mode): add CC Mode hooks
to electric-indent-{,local-}-mode.
(c-basic-common-init): Set electric-indent-inhibit.  Initialise
c-electric-flag from electric-indent-mode.
(c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
New hook functions which propagate electric-indent-mode to CC Mode.

* progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
hit, toggle electric-indent-local-moode.

* electric.el (electric-indent-mode-has-been-called): New variable.
2014-02-17 18:16:32 +00:00
Daniel Colascione
2a77e3e222 Fix last dbus change 2014-02-17 08:30:09 -08:00
Juanma Barranquero
c64633402e lisp/frameset.el: Fix bug#16748.
* lisp/frameset.el (frameset-cfg-id): New function.
(frameset--reuse-frame, frameset-restore): Use it.
(frameset--jump-to-register): Try harder to reuse frames.
2014-02-17 17:01:43 +01:00
Stefan Monnier
94912b8845 * lisp/ido.el (ido-file-internal): Remove unused var `d'.
Use \` for to match BoS.  Fit within 80n columns.
2014-02-17 10:29:15 -05:00
Daniel Colascione
26ea164c7e Improve dbus performance on synchronous calls 2014-02-17 03:41:42 -08:00
Michael Albinus
dd7691b7f3 Sync with Tramp 2.2.9.
* doc/misc/trampver.texi: Update release number.

* lisp/net/trampver.el: Update release number.

* test/automated/tramp-tests.el (password-cache-expiry): Set to nil.
(tramp-test28-shell-command): Make a while loop when waiting for
process exit.
2014-02-16 18:23:00 +01:00
Dmitry Gutov
17d1b51b65 * lisp/ido.el (ido-file-internal): Don't add the name of an existing
directory twice.

Fixes: debbugs:16747
2014-02-16 06:15:47 +02:00
Glenn Morris
5bcad689ca * lisp/vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
Do not use ediff-defvar-local on pre-defined variables.

Fixes: debbugs:16744
2014-02-15 19:09:27 -08:00
Michael Mauger
9b0c01f7f5 * progmodes/sql.el: Version 3.4
(sql-oracle-options): New default value ("-L").
(sql-mode-oracle-font-lock-keywords): Added placeholder highlighting.
(sql-placeholders-filter): Correct placeholder pattern.
(sql-read-table-name): Bug fix. Detect absence of SQLi process.
(sql-login-delay): New variable.
(sql-product-interactive): Use it.
2014-02-15 17:50:45 -05:00