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

116079 commits

Author SHA1 Message Date
Glenn Morris
363362c5cb NEWS copyedits 2014-02-21 15:24:02 -05:00
Glenn Morris
5fcd01e507 Tweak earlier doc/lispref/processes.texi change 2014-02-21 15:10:56 -05: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
Eli Zaretskii
7ce645e001 Another update of MS-Windows entries in etc/PROBLEMS. 2014-02-21 18:47:04 +02: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
37febf5317 doc/lispref/windows.texi (Window Configurations): Doc fix.
(Windows and Frames): Fix typo.
2014-02-21 14:33:57 +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
Michael Albinus
c6e08d12a9 * automated/tramp-tests.el
(tramp-test19-directory-files-and-attributes): Do not include
directories in comparison; they might have changed their
timestamps already.
2014-02-21 11:43:49 +01:00
Eli Zaretskii
037f36e52c Update MS-Windows entries in etc/PROBLEMS. 2014-02-21 11:02:19 +02:00
Glenn Morris
d7bf6b1536 * etc/MACHINES: Add note re Irix 6.5. 2014-02-21 00:08:08 -08:00
Glenn Morris
458e643be8 Some doc updates for default process sentinels and filters not being nil
* doc/lispref/internals.texi (Process Internals):
* doc/lispref/processes.texi (Deleting Processes, Output from Processes)
(Process Buffers, Filter Functions, Accepting Output, Sentinels)
(Network, Network Servers, Network Processes, Serial Ports):
Filters and sentinels can no longer be nil.

* doc/lispref/elisp.texi (Top): Menu update.

* doc/misc/flymake.texi (Starting the syntax check process): Grammar fix.

* doc/misc/tramp.texi (External packages): Grammar fix.
Reword for default sentinel not being nil any more.

* src/process.c (Fprocess_buffer, Faccept_process_output)
(Finternal_default_process_filter, Finternal_default_process_sentinel):
Doc fixes.
2014-02-21 00:04:15 -08: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
Paul Eggert
9901fa1abc Pacify GCC when configuring with --enable-gcc-warnings.
* xdisp.c (move_it_in_display_line_to) [lint]:
Initialize recently-added local.
2014-02-20 23:42:42 -08: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
146a4cf202 * tramp-tests.el (tramp-test19-directory-files-and-attributes):
Instrument failed test case.
2014-02-20 19:26:40 +01:00
Eli Zaretskii
679f782755 Fix excessive calls to bidi_shelve_cache reported in bug #15555.
src/xdisp.c (move_it_in_display_line_to): Save the iterator state in ppos_it
 only once per call.  Reimplement the method used to return to the
 best candidate position if all the positions found in display line
 are beyond TO_CHARPOS.  This cuts down the number of calls to
 bidi_shelve_cache, which moves a lot of stuff when lines are long
 and include bidirectional text.
2014-02-20 19:40:56 +02:00
Eli Zaretskii
dba8296c00 Fix assertion violation in redisplay.
src/xdisp.c (try_cursor_movement): Don't use cursor position if
 set_cursor_from_row failed to compute it.  This avoids assertion
 violations in MATRIX_ROW.
2014-02-20 19:17:54 +02:00
Eli Zaretskii
44a2be2d66 Fix bug #16819 with dereferencing invalid face pointer.
src/xdisp.c (init_iterator): Don't dereference a bogus face
 pointer.
2014-02-20 19:13:55 +02: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
Michael Albinus
d9386b0ca0 * automated/tramp-tests.el (tramp--instrument-test-case): New macro.
(tramp-test17-insert-directory): First line could contain more
text, when produced by `ls-lisp'.
(tramp-test19-directory-files-and-attributes): Instrument failed
test case.
2014-02-20 15:08:00 +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
3242f74a7f Rework previous doc/emacs change
* doc/emacs/search.texi (Special Isearch): Mention invisible text.
* doc/emacs/text.texi (Outline Visibility): Mention `M-s i' in isearch.
2014-02-20 00:25:12 -08: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
Glenn Morris
189e70077d Some doc for defalias-fset-function
* doc/lispref/functions.texi (Defining Functions):
Mention defalias-fset-function.

* src/data.c (Fdefalias): Doc fix.

* etc/NEWS: Related edit.
2014-02-19 23:38:47 -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
c0733b63c5 * trampver.texi: Update release number. 2014-02-19 20:31:02 +01:00
Michael Albinus
76c92fdd00 * automated/tramp-tests.el (tramp-test17-insert-directory):
Make first line "total 123" optional.
(tramp-test20-file-modes, tramp-test22-file-times)
(tramp-test26-process-file, tramp-test27-start-file-process)
(tramp-test28-shell-command): Skip for tramp-gvfs.el and
tramp-smb.el.
(tramp-test20-file-modes): Check for "root" only when there is an
explicit user name.
(tramp-test21-file-links): Handle "... not supported" error.
(tramp-test22-file-times): Skip for "don't know" return values.
(tramp-test26-process-file, tramp-test28-shell-command):
Remove color escape sequences.
(tramp-test28-shell-command): Use `accept-process-output' rather
than `sit-for'.
(tramp-test30-utf8): Set coding system `utf-8'.
2014-02-19 20:28:32 +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
Eli Zaretskii
d34f67dae3 Fix bug #16806 with horizontal scrolling of images when fringes are disabled.
src/xdisp.c (display_line): Fix horizontal scrolling of large images
 when fringes are turned off.  This comes at a price of not
 displaying the truncation/continuation glyphs in this case.
2014-02-19 19:32:29 +02:00
Eli Zaretskii
c021382022 Avoid crashes on MS-Windows when JPEG images are too large.
src/image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: If
 CreateDIBSection returns an error indication, zero out *ximg after
 destroying the image.  This avoids crashes in memory allocations
 due to the fact that some of the callers also call
 x_destroy_x_image, which will attempt to free an already free'd
 block of memory.
2014-02-19 19:26:14 +02: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
Glenn Morris
6cdb34f31f * doc/emacs/trouble.texi (Contributing) [WWW_GNU_ORG]: Link to gnu.org version
of etc/CONTRIBUTE in html output.
2014-02-18 13:15:29 -05: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
Martin Rudalics
5185f8ed16 Don't set FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH in update_various_frame_slots (Bug#16736).
* widget.c (update_various_frame_slots): Don't set
FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH here (Bug#16736).
2014-02-18 11:52:00 +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