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

115364 commits

Author SHA1 Message Date
Ivan Kanis
8a73034ea9 * net/shr.el (shr-put-image): add custom variable
`shr-image-animate' to turn off image animation. It is so slow it
  will render emacs unusable.
2014-02-28 09:49:59 +01:00
Michael Albinus
5b5774e5d5 * automated/tramp-tests.el (tramp--test-enabled)
(tramp-test15-copy-directory): No special handling of tramp-adb.el
anymore.  It's fixed in that package.
2014-02-28 09:47:43 +01:00
Michael Albinus
245aa73efe * net/tramp-adb.el (tramp-adb-parse-device-names):
Use `accept-process-output'.
(tramp-adb-handle-file-truename): Cache the localname only.
(tramp-adb-handle-make-directory)
(tramp-adb-handle-delete-directory): Flush file properties correctly.
(tramp-adb-handle-set-file-modes): Do not raise an error when file
modes cannot be changed.

* net/tramp-cache.el (tramp-flush-directory-property): Remove also
file properties of symlinks.
2014-02-28 09:41:24 +01:00
Per Starbäck
48e15d641d * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update required/optional
fields to match development biblatex.  (Trivial change that does not merit
a :version bump.)

Fixes: debbugs:16781
2014-02-27 22:51:04 -08:00
Andy Sawyer
65b7734774 * lisp/saveplace.el (toggle-save-place): Fix argument handling (tiny change)
Fixes: debbugs:16673
2014-02-27 22:44:49 -08:00
Glenn Morris
c89f0e99ea * doc/misc/info.texi (Help-Xref): Add submenu.
This placates makeinfo 5.2, which otherwise actually emits a warning;
surely a flagrant breach of the makeinfo philosophy...?
2014-02-27 22:33:23 -08:00
Glenn Morris
4486e5eb9e Remove no-longer-relevant text about writing Info nodes by hand
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00359.html

* doc/misc/info.texi (Further Reading): Rename node from Expert Info.
Remove stuff about writing Info nodes by hand.
(Help-Cross): Move node from (mainly deleted) chapter 3 to chapter 1.
2014-02-27 22:25:47 -08:00
Glenn Morris
4a6311cd71 * doc/misc/info.texi: Nuke hand-written node pointers. 2014-02-27 22:14:07 -08:00
Glenn Morris
8484c89b91 * etc/NEWS: Minor edit 2014-02-27 21:35:53 -08:00
Glenn Morris
4953b112b8 * doc/emacs/custom.texi: Typo fix. 2014-02-27 21:30:28 -08:00
Glenn Morris
5e618aba8b Some doc fixes for completion-hilit-commonality and friends
* lisp/minibuffer.el (completions-first-difference)
(completions-common-part, completion-hilit-commonality): Doc fixes.
2014-02-27 21:29:45 -08:00
Xue Fuqiao
ecc384ac0a Doc fix for `face-spec-set'.
* doc/lispref/display.texi (Defining Faces): Doc fix for
  `face-spec-set'.

* etc/NEWS: Copyedit.
2014-02-28 12:15:21 +08:00
Xue Fuqiao
4f07dcdce6 Document prettify-symbols-mode' and global-prettify-symbols-mode'.
* doc/emacs/emacs.texi (Top):
* doc/emacs/programs.texi (Programs, Prettifying Symbols):
Document `prettify-symbols-mode' and `global-prettify-symbols-mode'.

* etc/NEWS: Markup changes.
2014-02-28 11:04:12 +08:00
Glenn Morris
0a4d25e5d2 * info.el: Comment. 2014-02-27 21:16:02 -05:00
Karl Berry
6deb314e66 Add H binding to info, for compatibility with standalone info
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00309.html

* lisp/info.el (Info-mode-map): Add H for describe-mode,
to synchronize with standalone Info.

* doc/misc/info.texi (Top): Mention H for a summary of all commands.
2014-02-27 21:13:56 -05:00
Glenn Morris
2241d76e83 * src/doc.c (Fsnarf_documentation): Snarf not-yet-bound variables
from custom-delayed-init-variables.

Fixes: debbugs:11565
2014-02-27 21:00:17 -05:00
Emilio C. Lopes
289996f5e1 * lisp/progmodes/sql.el (sql-interactive-mode): Avoid setting global value
of comint-input-ring-separator.

Fixes: debbugs:16814
2014-02-27 20:55:12 -05:00
Xue Fuqiao
0fcfa97418 Document `define-alternatives'.
* doc/lispref/elisp.texi (Top):
* doc/lispref/commands.texi (Generic Commands):
(Defining Commands): Document `define-alternatives'.

* etc/NEWS: Related edit.  Unrelated copyedit.
2014-02-28 09:49:25 +08:00
Xue Fuqiao
3e557f5988 Some desktop doc.
* doc/emacs/misc.texi (Saving Emacs Sessions): Document some new desktop user options.
2014-02-28 09:05:49 +08:00
Martin Rudalics
653b6ea317 More fixes for mouse glyph calculations (Bug#16647).
More fixes for mouse glyph calculations (Bug#16647).
* window.c (coordinates_in_window): In intersection of
horizontal and vertical window dividers prefer the horizontal
one.  Add some extra parens to last fix.
(window_relative_x_coord): Return x-coordinate for header and
mode line too.
* xdisp.c (remember_mouse_glyph): In text area don't extend
glyph into mode line to show the vertical drag cursor there
immediately.  Subdivide mouse glyphs in right fringes to show a
horizontal drag cursor as soon as we enter the "grabbable width"
portion.  Handle vertical border case separately.  Do not
subdivide window divider areas.
(note_mouse_highlight): On bottom divider of bottommost windows
show vertical drag cursor only when the minibuffer window can be
resized.
2014-02-27 20:22:10 +01:00
Eli Zaretskii
11de63ede0 Fix bug #16870 with 'box' face in display strings.
src/xdisp.c (pop_it): Restore the it->face_box_p flag which could be
 reset by the face of the object just displayed.  See also bug#76.
 (get_next_display_element): If the string came from a display
 property, examine the box face attribute at it->position, not at
 it->current.pos, since the latter was not updated yet.
 (handle_face_prop): Improve commentary.
2014-02-27 19:42:00 +02:00
Michael Albinus
79fc11918a * net/dbus.el (dbus--init-bus): Declare function.
(dbus-path-local, dbus-interface-local): New defconst.
(dbus-init-bus): Use them.
(dbus-return-values-table): Extend doc.
(dbus-handle-bus-disconnect): Extend error message.
2014-02-27 16:41:13 +01:00
Michael Albinus
d8c25f59d6 * dbusbind.c (Fdbus__init_bus, Qdbus__init_bus, Sdbus__init_bus):
Rename from Fdbus_init_bus_1, Qdbus_init_bus_1, Sdbus_init_bus_1.
2014-02-27 16:36:14 +01:00
Juanma Barranquero
298520dfb7 lisp/subr.el (y-or-n-p): Fix double space issue in message. 2014-02-27 15:21:28 +01:00
Xue Fuqiao
eed1c39901 Document some changes about windows.
* doc/lispref/windows.texi (Window Sizes): Document `window-size'.
(Display Action Functions): Document `display-buffer-at-bottom'.
(Window Configurations): Minor fixes.

* doc/lispref/modes.texi (Header Lines): Document `window-header-line-height'.

* doc/lispref/display.texi (Scroll Bars): Document `window-scroll-bar-width'.

* etc/NEWS: Related markup.
2014-02-27 22:10:55 +08:00
Xue Fuqiao
de37b1f449 Document some (perhaps incomplete) pixelwise window operations.
* doc/lispref/windows.texi (Window Sizes, Resizing Windows):
Document some pixelwise window operations.
2014-02-27 20:58:23 +08:00
Michael Albinus
154ba7966c * automated/tramp-tests.el (tramp--test-enabled): Move connection
cleanup into this function.  Remove respective code from all test cases.
(tramp--instrument-test-case): Declare `indent' and `debug'.
Handle other errors as well.
(tramp-test14-delete-directory): Check for `file-error' error.
(tramp-test15-copy-directory): Ignore return value of
`copy-directory'.  It's too much hassle to handle it for tramp-adb.el.
(tramp-test19-directory-files-and-attributes): Take care of
timestamp of "../".
(tramp-test20-file-modes, tramp-test27-start-file-process)
(tramp-test28-shell-command): Skip for tramp-adb.el.
(tramp-test21-file-links): `file-truename' shall preserve trailing
link of directories.
(tramp-test22-file-times): Skip if `set-file-times' returns nil.
(tramp-test26-process-file, tramp-test28-shell-command): Let-bind
`kill-buffer-query-functions' to nil.
(tramp-test28-shell-command): Run `async-shell-command' with timeouts.
2014-02-27 13:07:10 +01:00
Xue Fuqiao
6be7660863 Some doc about electric-indent-mode.
* doc/lispref/text.texi (Margins): Fix the description of RET and `C-j'.

* doc/emacs/programs.texi (Basic Indent):
(Other C Commands): Fix the description of RET and `C-j'.

* doc/emacs/indent.texi (Indentation Commands): Move the description of
`C-j' from here...
* doc/emacs/basic.texi (Inserting Text): ... to here.
2014-02-27 20:00:30 +08:00
Michael Albinus
c22c16140e Tramp adb fixes, found during test campaign.
* net/tramp.el (tramp-call-process): Improve trace message.
(tramp-handle-insert-file-contents): Trace error case.

* net/tramp-adb.el (tramp-adb-file-name-handler-alist)
<insert-directory>: Use `tramp-handle-insert-directory'.
(tramp-adb-handle-insert-directory): Remove function.
(tramp-adb-send-command-and-check): New defun, replacing
`tramp-adb-command-exit-status'.  Change all callees.
(tramp-adb-handle-file-attributes)
(tramp-adb-handle-directory-files-and-attributes): Use it.
(tramp-adb-ls-output-name-less-p): Use
`directory-listing-before-filename-regexp'.
(tramp-adb-handle-delete-directory): Flush also file properties of
the truename of directory.
(tramp-adb-handle-file-name-all-completions): Add "./" and "../".
(tramp-adb-handle-file-local-copy): Make the local copy readable.
(tramp-adb-handle-write-region): Implement APPEND.
(tramp-adb-handle-rename-file): Make it more robust.  Flush file
properties correctly.
(tramp-adb-maybe-open-connection): Set `tramp-current-*'
variables.  Check for connected devices only when needed.
2014-02-27 12:59:04 +01:00
Xue Fuqiao
915f4bce40 Fix previous change. 2014-02-27 18:26:14 +08:00
Xue Fuqiao
8603bdb3b7 * doc/lispref/frames.texi (Multiple Terminals): Document
`display-monitor-attributes-list' and `display-monitor-attributes'.
(Display Feature Testing): Add some notes about multi-monitor.

* etc/NEWS: Related edit.
2014-02-27 18:15:52 +08:00
Glenn Morris
01f8de4c9c * etc/NEWS: Copyedit. 2014-02-27 00:09:11 -08:00
Glenn Morris
ea7826ba52 Small doc related to new completion functions
* doc/lispref/minibuf.texi (Programmed Completion):
Mention completion-table-with-cache.

* lisp/minibuffer.el (completion-table-dynamic)
(completion-table-with-cache): Doc fixes.

* etc/NEWS: Related markup.  Unrelated copyedit.
2014-02-27 00:01:22 -08:00
Glenn Morris
d926361813 Some crm.el doc
* lisp/emacs-lisp/crm.el: Remove commentary that duplicates doc strings.
(crm-default-separator, crm-separator) (completing-read-multiple):
Doc fixes.

* etc/NEWS: Related edit.
2014-02-26 23:42:57 -08:00
Daniel Colascione
51f213c35f Fix tramp bug with empty explicit path 2014-02-26 21:20:20 -08:00
Daniel Colascione
eff3168abc Fix tramp bug with empty explicit path 2014-02-26 21:11:50 -08:00
Glenn Morris
b77cfcd762 * emacs-lisp/crm.el (completing-read-multiple): Empower help-enable-auto-load. 2014-02-26 20:17:40 -08:00
Daniel Colascione
675cab2c1b Fix indentation 2014-02-26 13:31:22 -08:00
Glenn Morris
3b48a331d1 NEWS markup 2014-02-26 15:02:56 -05: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
Martin Rudalics
aea124c47d Fixes around Bug#16647.
* xdisp.c (remember_mouse_glyph): Handle ON_RIGHT_DIVIDER and
ON_BOTTOM_DIVIDER cases.
* window.c (coordinates_in_window): Return ON_VERTICAL_BORDER
only if the window has no right divider.
(Fcoordinates_in_window_p): Fix doc-string.
2014-02-26 09:07:34 +01: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
Juanma Barranquero
0e46275b4d src/lread.c (Funintern): Fix doc to match advertised calling convention. 2014-02-25 23:51:34 +01: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
Paul Eggert
cc58740405 Merge from gnulib.
2014-02-25 unistd: port readlink to Mac OS X 10.3.9

Fixes: debbugs:16825
2014-02-25 11:21:05 -08:00
Paul Eggert
591debed68 Fix emacsclient's handling of SIGCONT.
* emacsclient.c (handle_sigcont): Cancel the continue only if tty.

Fixes: debbugs:16883
2014-02-25 11:06:53 -08:00