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

115460 commits

Author SHA1 Message Date
Eli Zaretskii
b646ea12bd Fix bug #16961 with visual-order cursor movement and word-wrap.
src/xdisp.c (Fmove_point_visually): When under word-wrap, accept
 also return value of MOVE_POS_MATCH_OR_ZV from
 move_it_in_display_line_to, when moving from beginning of line to
 point's position.
2014-03-07 22:00:33 +02:00
Paul Eggert
1920914a09 Spelling and wording fixes. 2014-03-07 11:12:31 -08:00
Paul Eggert
0d18109565 Merge from gnulib.
This incorporates:
2014-03-04 stdint: fix missing SIZE_MAX on Android
2013-03-02 sys_types: avoid autoconf warning about gl_SYS_TYPES_H
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/stdint.in.h, lib/sys_types.in.h, m4/sys_types_h.m4:
Update from gnulib.

Fix oversight preventing lib/sys/types.h from being generated.
* admin/merge-gnulib (GNULIB_TOOL_FLAGS): Don't avoid sys_types.
2014-03-07 10:57:11 -08:00
Lars Ingebrigtsen
d67d60a2ea nnimap respool fix
* nnimap.el (nnimap-request-accept-article): Make respooling to nnimap
groups work again.
2014-03-07 18:21:35 +01:00
George McNinch
45e2ca143d * nnir.el (nnir-run-namazu): Parse namazu results that are larger than 999
(i.e. "1,342").
2014-03-07 17:58:25 +01:00
Martin Rudalics
2c6053e838 Update docs for select-window and buffer-list-update-hook.
* buffer.c (Vbuffer_list_update_hook): Doc-string fix.
* window.c (Fselect_window): Explain NORECORD and
`buffer-list-update-hook' in doc-string.
* buffers.texi (The Buffer List): Rename node to Buffer List.
Describe `buffer-list-update-hook'.
* elisp.texi (Top): "The Buffer List" renamed to "Buffer List".
Add node for Window Dividers.
* hooks.texi (Standard Hooks): Add reference to
`buffer-list-update-hook'.
* windows.texi (Selecting Windows): Update description of
`select-window'.
2014-03-07 16:11:12 +01:00
Lars Ingebrigtsen
84254bbdf0 * gnus-agent.el (gnus-agent-update-files-total-fetched-for): Don't bug out
if the directory doesn't exist.
2014-03-07 16:00:34 +01:00
Michael Albinus
162427fe6a * automated/tramp-tests.el (tramp-copy-size-limit): Declare.
(tramp-test10-write-region): Extend for out-of-band copy.
(tramp-test31-asynchronous-requests): New test.
2014-03-07 15:11:37 +01:00
Michael Albinus
e50772e36a * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
only when `remote-file-name-inhibit-cache' is nil.
(tramp-sh-file-name-handler): Use `tramp-error'.  Simplify code.
2014-03-07 15:07:12 +01:00
Martin Rudalics
f2c5082b93 Add/update elisp texinfo for window-min-size and split-window.
* windows.texi (Window Sizes): Describe `window-min-size'.
(Splitting Windows): Update description of `split-window'.
2014-03-07 10:53:23 +01:00
Juanma Barranquero
27821a8984 lisp/ChangeLog*: Fix typos. 2014-03-07 01:01:19 +01:00
Martin Rudalics
cac0a1d67e More window code related fixes and documentation changes.
* window.c (Fother_window_for_scrolling): Check that
Vother_window_scroll_buffer is a buffer.
* window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
Fix doc-strings.
(fit-frame-to-buffer): New argument ONLY.  Remove dependency on
fit-frame-to-buffer variable.  Fix doc-string.
(fit-window-to-buffer): Set ONLY argument in call of
fit-frame-to-buffer.  Fix doc-string.
* frames.texi (Size and Position): Rewrite entries for
`fit-frame-to-buffer' and `fit-frame-to-buffer-margins'.  Add
description for `fit-frame-to-buffer-sizes'.
* windows.texi (Resizing Windows): Add descriptions for
pixelwise resizing.  Add entries for `window-resize-pixelwise'
and `fit-window-to-buffer-horizontally'.  Rewrite
`fit-window-to-buffer' entry.
2014-03-06 14:41:58 +01:00
Michael Albinus
fa965cbf74 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
(tramp-action-password): Clear password cache if needed.
(tramp-read-passwd): Do not clear password cache.

* net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
cache unless it is the first password request.
2014-03-06 14:23:04 +01:00
Xue Fuqiao
7c45220b03 Doc fix.
* doc/lispref/internals.texi (Window Internals): Remove field
  `region_showing'.
2014-03-06 20:39:47 +08:00
Dmitry Antipov
12e852a208 * xterm.c (xim_initialize): Always pass a copy of resource name
to XRegisterIMInstantiateCallback and eassert whether return
value is True.  Passing copy is important because Xlib doesn't
make its own copy and resource name argument usually points to
SSDATA (Vx_resource_name), which may be changed from Lisp.
(xim_close_display): For XUnregisterIMInstantiateCallback,
always eassert return value and pass exactly the same values
as were used for XRegisterIMInstantiateCallback.  Otherwise
XUnregisterIMInstantiateCallback will always fail.  See Xlib
sources to check why if you are interested.
2014-03-06 15:18:22 +04:00
Juanma Barranquero
f65ba1005b etc/tutorials/TUTORIAL.es: Adapt to change in English language tutorial. 2014-03-06 12:12:25 +01:00
Xue Fuqiao
37b2bf43a9 Comment 2014-03-06 18:53:26 +08:00
Glenn Morris
03bc753ef6 * lisp/simple.el (newline): Doc tweak.
* etc/NEWS: Related edit.
2014-03-05 20:11:08 -08:00
Glenn Morris
222426f694 * doc/lispref/searching.texi (Replacing Match): Remove incorrect return value
Fixes: debbugs:16942
2014-03-05 21:10:33 -05:00
Glenn Morris
c544840969 * lisp/mh-e/mh-compat.el (mh-display-completion-list): Replace use of obsolete
argument of display-completion-list.
2014-03-05 21:02:46 -05:00
Glenn Morris
c94e6ee499 * lisp/emacs-lisp/shadow.el (load-path-shadows-find): Ignore dir-locals.
Fixes: debbugs:12357
2014-03-05 21:01:02 -05:00
Glenn Morris
4da3a85d6c * etc/tutorials/TUTORIAL: Mention electric behavior of RET.
Note that I had to change "\" to `\', because otherwise Emacs thought
that everything after that point was inside a string and so did not
indent anything.

So translators should check for anything similar in their translated
versions.
2014-03-05 20:59:47 -05:00
Lars Ingebrigtsen
4571592624 lisp/gnus/gnus-group.el (gnus-group-make-group): Clarify prompt 2014-03-05 22:54:48 +00:00
Glenn Morris
41dc0fed82 Tweak previous tweak 2014-03-05 15:35:38 -05:00
Glenn Morris
bdd85f3177 * configure.ac: Tweak the "unported" error message.
"Has not been ported to" usually isn't quite correct these days.
Eg it could be an old platform that we dropped support for.
2014-03-05 14:57:36 -05:00
Glenn Morris
f889ebcefa Fix ChangeLog bug# typo 2014-03-05 14:04:44 -05:00
Glenn Morris
2a55bc7ab5 * lisp/progmodes/sh-script.el: Fix whitespace in previous change. 2014-03-05 14:02:55 -05:00
Glenn Morris
bd2d43dc74 Recognize dash shell
* lisp/files.el (interpreter-mode-alist):
* lisp/progmodes/sh-script.el (sh-ancestor-alist): Add dash.

Fixes: debbugs:16938
2014-03-05 13:58:16 -05:00
Lars Ingebrigtsen
6952100dc3 (eww-textarea-map): [tab] doesn't work on tty.
Reported by Mario Lang.

* net/shr.el (shr-map): Ditto.
2014-03-05 19:44:58 +01:00
Glenn Morris
dffe37a8b1 * etc/NEWS: Fix paren typo from earlier change 2014-03-05 09:14:48 -08:00
Juanma Barranquero
9284000e10 lisp/frameset.el (frameset--initial-params): Filter out null entries. 2014-03-05 17:22:47 +01:00
Martin Rudalics
e1a2cb1ce5 Various window code related fixes and documentation changes.
* dispnew.c (change_frame_size_1): Add new_lines instead of
new_height, the latter may be still zero if passed as such.
* window.c (Fwindow_pixel_height): Mention bottom divider in
doc-string.
* window.el (window-min-height, window-min-width): Rewrite
doc-strings.
(window-body-size): Add PIXELWISE argument to make it consistent
with its callees.
* display.texi (Window Dividers): New section.
* frames.texi (Layout Parameters): Add right-divider-width and
bottom-divider-width.
* windows.texi (Window Sizes): Redraw schematic and rewrite its
description.  Rewrite descriptions of `window-total-height',
`window-total-width', `window-total-size', `window-body-height',
`window-body-width' and `window-size-fixed'.  Add descriptions
for `window-pixel-height', `window-pixel-width',
`window-min-height' and `window-min-width'.  Remove description
of `window-size-fixed-p' moving part of it to that of
`window-size-fixed'.
(Resizing Windows): Mention dividers when talking about minimum
sizes.
2014-03-05 14:50:48 +01:00
Juanma Barranquero
6bf67038d9 lisp/finder.el: Revert part of 2014-02-28 change. 2014-03-05 14:09:17 +01:00
Lars Ingebrigtsen
90f04e4c85 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
* net/eww.el (eww-mode-map): [tab] doesn't work on tty.
(eww-setup-buffer): Clear next/prev/etc more reliably.
2014-03-05 13:39:13 +01:00
Glenn Morris
47b73b35c1 Try to document some smie changes
* doc/lispref/modes.texi (SMIE Customization): New section.

* doc/lispref/elisp.texi (Top): Update detailed menu.

* etc/NEWS: Related edits.
2014-03-04 23:41:48 -08:00
Bastien Guerry
65cdacb51b Revert 2014-03-04T14:33:56Z!bzg@gnu.org.
Thanks to Leo for reporting this.
2014-03-05 08:04:01 +01:00
Paul Eggert
e6e8a5eb4d Fix "resource temporarily unavailable" with xgselect.
* xgselect.c: Include <stdbool.h>.
(xg_select) [!USE_GTK]: Don't lose track of errno.

Fixes: debbugs:16925
2014-03-04 22:31:57 -08:00
Paul Eggert
d2f720acf5 Fix minor --enable-gcc-warnings issues.
* widget.c (update_various_frame_slots, EmacsFrameResize):
Avoid unused locals.  Prefer 'if' to '#if' when either will do.
2014-03-04 22:28:20 -08:00
Paul Eggert
59587ee455 Fix configuration bug on Solaris 2.5.1.
* configure.ac: Fix a bug in shell pattern matching that caused
'configure' to treat Solaris 2.5.1 as if it were Solaris 10 or later.

Fixes: debbugs:16896
2014-03-04 18:39:05 -08:00
Ken Brown
94a089b5f8 Further follow-up to last change in gmalloc.c.
* src/gmalloc.c (aligned_alloc): Clarify the code by making `adj'
represent the actual adjustment needed for alignment.
2014-03-04 14:02:49 -05:00
Eli Zaretskii
201572eca8 Follow-up improvements for last change in gmalloc.c.
src/gmalloc.c (aligned_alloc): Don't allocate more memory than
 needed, and don't reallocate if the initial allocation already
 fits the bill.  Suggested by Ken Brown <kbrown@cornell.edu>.

Fixes: debbugs:16901
2014-03-04 19:35:15 +02:00
Glenn Morris
3106d59bce * minibuffer.el (completion-hilit-commonality): Revert 2014-03-01 short-cut,
which changed the return value.

Fixes: debbugs:16933
2014-03-04 09:01:37 -08:00
Juanma Barranquero
f604dfdc36 lisp/hilit-chg.el (hilit-chg-unload-function): New function.
(highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
(hilit-chg-map-changes): Prefer cardinal number to digit.
(hilit-chg-display-changes): Reflow docstring.
(highlight-changes-rotate-faces): Remove superfluous backslash.
2014-03-04 16:07:59 +01:00
Michael Albinus
5dc65319bc * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
`tramp-send-command-and-check'.
2014-03-04 15:40:38 +01:00
Bastien Guerry
c3701c7d94 minibuffer.el (minibuffer-completion-help): Use 0 as thefallback value for `base-size'
* minibuffer.el (minibuffer-completion-help): Use 0 as the
fallback value for `base-size'.  (Bug#16933)
2014-03-04 15:33:56 +01:00
Juanma Barranquero
b01fa8381f lisp/hexl.el: Fix typos in docstrings.
(hexl-address-region, hexl-ascii-region)
(hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
(hexl-backward-short, hexl-forward-short, hexl-backward-word)
(hexl-forward-word, hexl-previous-line, hexl-next-line):
Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
(hexl-mode): Doc fix.
(hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
(hexl-mode-ruler): Fix typos in docstrings.
2014-03-04 15:13:41 +01:00
Juanma Barranquero
4242d21d55 lisp/strokes.el: Fix typos.
(strokes-xpm-header, strokes-rate-stroke): Fix typos.
(strokes-character, strokes-get-grid-position, strokes-list-strokes):
Remove superfluous backslashes.
(strokes-last-stroke, strokes-global-map, strokes-mode):
Reflow docstrings.
(strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
(strokes-xpm-for-compressed-string): Use quotes with buffer name.
(strokes-distance-squared, strokes-global-set-stroke)
(strokes-global-set-stroke-string): Doc fixes.
(strokes-help): Fix typos; reflow docstring.
2014-03-04 14:01:48 +01:00
YAMAMOTO Mitsuharu
a55130ca10 * xterm.c (x_draw_stretch_glyph_string): Reset clipping. (Bug#16932) 2014-03-04 20:02:36 +09:00
Martin Rudalics
87132570ad Fix some window code related doc-string and info entries.
* window.el (window-in-direction): Fix doc-string.
* windows.texi (Windows and Frames): Add some missing &optional
designators.  Adjust description of window-in-direction.
2014-03-04 11:44:46 +01:00
Glenn Morris
c60ed8728a * lisp/cedet/semantic/util.el (semantic-complete-symbol):
Replace use of obsolete argument of display-completion-list.
2014-03-04 00:37:48 -08:00