Juanma Barranquero [Fri, 21 Feb 2014 13:22:14 +0000 (14:22 +0100)]
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.
Martin Rudalics [Fri, 21 Feb 2014 11:04:27 +0000 (12:04 +0100)]
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).
Michael Albinus [Fri, 21 Feb 2014 10:43:49 +0000 (11:43 +0100)]
* automated/tramp-tests.el
(tramp-test19-directory-files-and-attributes): Do not include
directories in comparison; they might have changed their
timestamps already.
Eli Zaretskii [Fri, 21 Feb 2014 09:02:19 +0000 (11:02 +0200)]
Update MS-Windows entries in etc/PROBLEMS.
Glenn Morris [Fri, 21 Feb 2014 08:08:08 +0000 (00:08 -0800)]
* etc/MACHINES: Add note re Irix 6.5.
Glenn Morris [Fri, 21 Feb 2014 08:04:15 +0000 (00:04 -0800)]
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.
Martin Rudalics [Fri, 21 Feb 2014 08:02:05 +0000 (09:02 +0100)]
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.
Glenn Morris [Fri, 21 Feb 2014 07:56:52 +0000 (23:56 -0800)]
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'.
Michael Albinus [Fri, 21 Feb 2014 07:53:19 +0000 (08:53 +0100)]
Add ChangeLog entry for previous commit.
Michael Albinus [Fri, 21 Feb 2014 07:52:04 +0000 (08:52 +0100)]
* net/tramp.el (tramp-check-cached-permissions):
Call `file-attributes' with `suffix' being a symbol but a string.
Paul Eggert [Fri, 21 Feb 2014 07:42:42 +0000 (23:42 -0800)]
Pacify GCC when configuring with --enable-gcc-warnings.
* xdisp.c (move_it_in_display_line_to) [lint]:
Initialize recently-added local.
Daniel Colascione [Fri, 21 Feb 2014 04:32:31 +0000 (20:32 -0800)]
Improve dbus error handling; detect bus failure
Juanma Barranquero [Fri, 21 Feb 2014 03:26:21 +0000 (04:26 +0100)]
lisp/w32-fns.el: Remove obsolescence declarations for nonexistent vars.
(w32-enable-italics, w32-charset-to-codepage-alist):
These variables do not exist anymore.
Juanma Barranquero [Fri, 21 Feb 2014 00:47:17 +0000 (01:47 +0100)]
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.
Juanma Barranquero [Fri, 21 Feb 2014 00:35:08 +0000 (01:35 +0100)]
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.
Michael Albinus [Thu, 20 Feb 2014 18:26:40 +0000 (19:26 +0100)]
* tramp-tests.el (tramp-test19-directory-files-and-attributes):
Instrument failed test case.
Eli Zaretskii [Thu, 20 Feb 2014 17:40:56 +0000 (19:40 +0200)]
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.
Eli Zaretskii [Thu, 20 Feb 2014 17:17:54 +0000 (19:17 +0200)]
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.
Eli Zaretskii [Thu, 20 Feb 2014 17:13:55 +0000 (19:13 +0200)]
Fix bug #16819 with dereferencing invalid face pointer.
src/xdisp.c (init_iterator): Don't dereference a bogus face
pointer.
Michael Albinus [Thu, 20 Feb 2014 14:24:13 +0000 (15:24 +0100)]
* 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'.
Michael Albinus [Thu, 20 Feb 2014 14:08:00 +0000 (15:08 +0100)]
* 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.
Juanma Barranquero [Thu, 20 Feb 2014 10:33:32 +0000 (11:33 +0100)]
lisp/elec-pair.el: Fix bug#16799.
(electric-pair-syntax-info): Do not check syntax
before the start of buffer/region.
Glenn Morris [Thu, 20 Feb 2014 08:25:12 +0000 (00:25 -0800)]
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.
Glenn Morris [Thu, 20 Feb 2014 08:14:20 +0000 (00:14 -0800)]
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.
Glenn Morris [Thu, 20 Feb 2014 07:38:47 +0000 (23:38 -0800)]
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.
W. Trevor King [Thu, 20 Feb 2014 04:45:19 +0000 (23:45 -0500)]
* lisp/term/xterm.el (xterm--version-handler): Adapt to xterm-280's output.
Fixes: debbugs:16657
Juanma Barranquero [Wed, 19 Feb 2014 21:04:06 +0000 (22:04 +0100)]
lisp/frameset.el (frameset-restore): Remove duplicate ids only when needed.
Michael Albinus [Wed, 19 Feb 2014 19:31:02 +0000 (20:31 +0100)]
* trampver.texi: Update release number.
Michael Albinus [Wed, 19 Feb 2014 19:28:32 +0000 (20:28 +0100)]
* 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'.
Michael Albinus [Wed, 19 Feb 2014 19:24:32 +0000 (20:24 +0100)]
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.
Eli Zaretskii [Wed, 19 Feb 2014 17:32:29 +0000 (19:32 +0200)]
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.
Eli Zaretskii [Wed, 19 Feb 2014 17:26:14 +0000 (19:26 +0200)]
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.
Juanma Barranquero [Wed, 19 Feb 2014 11:01:35 +0000 (12:01 +0100)]
lisp/frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
Martin Rudalics [Wed, 19 Feb 2014 09:54:35 +0000 (10:54 +0100)]
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).
Glenn Morris [Wed, 19 Feb 2014 08:34:45 +0000 (00:34 -0800)]
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.
Glenn Morris [Tue, 18 Feb 2014 18:15:29 +0000 (13:15 -0500)]
* doc/emacs/trouble.texi (Contributing) [WWW_GNU_ORG]: Link to gnu.org version
of etc/CONTRIBUTE in html output.
Stefan Monnier [Tue, 18 Feb 2014 18:14:36 +0000 (13:14 -0500)]
* lisp/delsel.el (delete-char): Restore incorrectly erased property.
Fixes: debbugs:16795
Juanma Barranquero [Tue, 18 Feb 2014 17:33:37 +0000 (18:33 +0100)]
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.
Martin Rudalics [Tue, 18 Feb 2014 10:52:00 +0000 (11:52 +0100)]
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).
Glenn Morris [Tue, 18 Feb 2014 08:09:51 +0000 (00:09 -0800)]
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.
Michael Albinus [Tue, 18 Feb 2014 07:46:38 +0000 (08:46 +0100)]
* dbusbind.c (xd_close_bus): Apply proper check on busobj.
Mirek Kaim [Tue, 18 Feb 2014 01:47:35 +0000 (17:47 -0800)]
* configure.ac [HAVE_W32]: Test for ImageMagick.
Fixes: debbugs:16754
Glenn Morris [Tue, 18 Feb 2014 01:33:30 +0000 (17:33 -0800)]
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.
Glenn Morris [Tue, 18 Feb 2014 00:45:43 +0000 (16:45 -0800)]
* nt/INSTALL: Prefix must be absolute.
Paul Eggert [Mon, 17 Feb 2014 22:51:36 +0000 (14:51 -0800)]
Fix stray underscore in ChangeLog.
Paul Eggert [Mon, 17 Feb 2014 21:20:44 +0000 (13:20 -0800)]
temacs --daemon fix
* emacs.c (main): Initialize daemon_pipe[1] here ...
(syms_of_emacs): ... instead of here.
Fixes: debbugs:16599
Juanma Barranquero [Mon, 17 Feb 2014 19:04:51 +0000 (20:04 +0100)]
nt/Makefile.in: Follow up to previous change.
nt/Makefile.in (install): Create destination directory before copying
README.W32, and use ${datadir} to refer to the file.
Fixes: debbugs:16772
Juanma Barranquero [Mon, 17 Feb 2014 19:01:14 +0000 (20:01 +0100)]
nt/Makefile.in: Fix bug#16772.
* nt/Makefile.in (install): Create destination directory before
copying README.W32.
Glenn Morris [Mon, 17 Feb 2014 18:40:09 +0000 (10:40 -0800)]
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.
Alan Mackenzie [Mon, 17 Feb 2014 18:16:32 +0000 (18:16 +0000)]
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.
Stefan Monnier [Mon, 17 Feb 2014 18:04:17 +0000 (13:04 -0500)]
* doc/emacs/killing.texi (CUA Bindings): Document the new relationship between
cua-mode and delete-selection mode.
(CUA Bindings): Mention that rectangle mode can be used on its own.
* doc/emacs/programs.texi (Matching): Fix typo.
* doc/lispref/minibuf.texi (Completion Commands): Don't document obsolete
`common-substring' arg of display-completion-list.
Daniel Colascione [Mon, 17 Feb 2014 16:30:09 +0000 (08:30 -0800)]
Fix last dbus change
Juanma Barranquero [Mon, 17 Feb 2014 16:01:43 +0000 (17:01 +0100)]
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.
Stefan Monnier [Mon, 17 Feb 2014 15:29:15 +0000 (10:29 -0500)]
* lisp/ido.el (ido-file-internal): Remove unused var `d'.
Use \` for to match BoS. Fit within 80n columns.
Daniel Colascione [Mon, 17 Feb 2014 11:41:42 +0000 (03:41 -0800)]
Improve dbus performance on synchronous calls
Michael Albinus [Mon, 17 Feb 2014 07:05:44 +0000 (08:05 +0100)]
* automated/tramp-tests.el (tramp-test28-shell-command): Perform
an initial `sit-for' prior the while loop.
Glenn Morris [Mon, 17 Feb 2014 02:12:50 +0000 (18:12 -0800)]
Some doc for read-regexp
* doc/lispref/minibuf.texi (Text from Minibuffer):
Update read-regexp details.
Mention read-regexp-defaults-function.
* etc/NEWS: Related markup.
Michael Albinus [Sun, 16 Feb 2014 17:23:00 +0000 (18:23 +0100)]
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.
Michael Albinus [Sun, 16 Feb 2014 14:52:43 +0000 (15:52 +0100)]
* efaq-w32.texi (Tramp ssh): Remove also pscp1 and pscp2.
Anders Lindgren [Sun, 16 Feb 2014 09:51:41 +0000 (10:51 +0100)]
* nsterm.m (keyDown:): Check for normal key even if NSNumericPadKeyMask
is set.
Fixes: debbugs:16505
Daniel Colascione [Sun, 16 Feb 2014 05:46:05 +0000 (21:46 -0800)]
Make closing dbus buses actually work
Dmitry Gutov [Sun, 16 Feb 2014 04:15:47 +0000 (06:15 +0200)]
* lisp/ido.el (ido-file-internal): Don't add the name of an existing
directory twice.
Fixes: debbugs:16747
Glenn Morris [Sun, 16 Feb 2014 03:09:27 +0000 (19:09 -0800)]
* 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
Michael Mauger [Sat, 15 Feb 2014 22:50:45 +0000 (17:50 -0500)]
* 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.
Juanma Barranquero [Sat, 15 Feb 2014 04:16:46 +0000 (05:16 +0100)]
frameset.el (frameset--jump-to-register): Check that buffer is live (bug#16749).
Glenn Morris [Sat, 15 Feb 2014 03:58:38 +0000 (19:58 -0800)]
* lisp/info.el (info-initialize): Revert 2014-01-10 change.
Glenn Morris [Fri, 14 Feb 2014 19:08:53 +0000 (14:08 -0500)]
* lisp/replace.el (read-regexp): Fix typo in earlier doc change.
Paul Eggert [Fri, 14 Feb 2014 16:11:11 +0000 (08:11 -0800)]
* character.h: Fix misspelling of file name in comment.
Paul Eggert [Fri, 14 Feb 2014 08:05:18 +0000 (00:05 -0800)]
* Makefile.in (install-arch-indep): Allow ' ' in destdir.
This fixes a bug in the previous change. Also, use $(SHELL)
rather than sh, as that's more likely to be portable.
Fixes: debbugs:16717
Glenn Morris [Fri, 14 Feb 2014 07:36:42 +0000 (23:36 -0800)]
Some read-regexp doc
* lisp/replace.el (map-query-replace-regexp)
(read-regexp-defaults-function, read-regexp): Doc fixes.
* etc/NEWS: Related edits.
Glenn Morris [Fri, 14 Feb 2014 06:59:24 +0000 (22:59 -0800)]
Mention read-regexp in doc of functions that use it
* lisp/dired.el (dired-read-regexp):
* lisp/faces.el (list-faces-display):
* lisp/misearch.el (multi-isearch-read-matching-buffers)
(multi-isearch-read-matching-files):
* lisp/play/cookie1.el (cookie-apropos):
* lisp/progmodes/grep.el (grep-read-regexp): Doc fixes.
Glenn Morris [Fri, 14 Feb 2014 06:55:59 +0000 (22:55 -0800)]
Tiny doc etc changes related to frameset-to-register
* doc/emacs/regs.texi (Configuration Registers): Update C-x r f binding.
* lisp/textmodes/remember.el (remember): Use frameset-to-register
rather than frame-configuration-to-register.
Jay Belanger [Fri, 14 Feb 2014 02:35:59 +0000 (20:35 -0600)]
lisp/calc/calc-menu.el (calc-vectors-menu): Remove menu item for
incorrect keybinding.
doc/misc/calc.texi (Single-Variable Statistics): Remove mention of
incorrect keybinding.
Teodor Zlatanov [Thu, 13 Feb 2014 22:52:51 +0000 (22:52 +0000)]
lisp/gnus/auth-source.el (auth-sources): Add pointer to what the .gpg extension in `auth-sources' means and link to EPA docs
Daniel Colascione [Thu, 13 Feb 2014 22:37:29 +0000 (14:37 -0800)]
Fix flymake in narrowed buffers
Eli Zaretskii [Thu, 13 Feb 2014 20:54:07 +0000 (22:54 +0200)]
Fix crashes in itimers on Windows 9X.
src/w32proc.c (start_timer_thread): Pass a non-NULL pointer as last
argument to CreateThread. This avoids segfaults on Windows 9X.
Reported by oslsachem <oslsachem@gmail.com>.
Paul Eggert [Thu, 13 Feb 2014 18:59:24 +0000 (10:59 -0800)]
* Makefile.in (install-arch-indep): Simplify.
This should make it more reliable, and hopefully more portable to
non-GNU 'make' implementations such as HP-UX 'make'.
Fixes: debbugs:16717
Glenn Morris [Thu, 13 Feb 2014 18:23:36 +0000 (13:23 -0500)]
* lisp/mail/rmail.el (rmail-probe): Be less strict.
Fixes: debbugs:16743
Paul Eggert [Thu, 13 Feb 2014 17:23:08 +0000 (09:23 -0800)]
Fix subspace record bug on HP-UX 10.20.
* unexhp9k800.c (unexec_error): New function, to simplify the code.
(check_lseek): New function, to report lseek errors.
(save_data_space, update_file_ptrs, read_header, write_header)
(copy_file, copy_rest, unexec): Use these news functions.
(update_file_ptrs): Don't assume wraparound behavior when
converting a large size_t value to off_t.
Fixes: debbugs:16717
Dmitry Antipov [Thu, 13 Feb 2014 12:23:28 +0000 (16:23 +0400)]
Fix ChangeLog entry.
Dmitry Antipov [Thu, 13 Feb 2014 12:16:42 +0000 (16:16 +0400)]
* composite.c (fill_gstring_header): Pass positions as C integers
and move parameters checking to...
* composite.c (Fcomposition_get_gstring): ...this function. Handle
case when buffer positions are in reversed order and avoid crash
(Bug#16739). Adjust docstring.
* buffer.c (validate_region): Mention current buffer in error message.
Glenn Morris [Thu, 13 Feb 2014 08:26:45 +0000 (00:26 -0800)]
* etc/NEWS: Fix typo in previous.
Glenn Morris [Thu, 13 Feb 2014 08:26:01 +0000 (00:26 -0800)]
Small doc updates for debugging
* doc/lispref/debugging.texi (Debugger Commands): Tiny edits.
* lisp/jit-lock.el (jit-lock-mode): Doc fix.
* etc/NEWS: Related edits.
Juanma Barranquero [Thu, 13 Feb 2014 05:23:06 +0000 (06:23 +0100)]
* lisp/apropos.el (apropos-read-pattern): Fix error message for empty string.
Stefan Monnier [Thu, 13 Feb 2014 03:29:47 +0000 (22:29 -0500)]
* lisp/jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
Juanma Barranquero [Thu, 13 Feb 2014 03:19:57 +0000 (04:19 +0100)]
Copy README.W32 when installing Windows build (bug#14757).
* Makefile.in (install-nt): Also pass datadir.
* nt/Makefile.in (datarootdir, datadir, INSTALL_DATA): Declare.
(install): Copy README.W32 to $(datadir)/emacs/$(version).
(uninstall): Remove README.W32.
Glenn Morris [Thu, 13 Feb 2014 02:31:48 +0000 (21:31 -0500)]
* lisp/finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
Juanma Barranquero [Thu, 13 Feb 2014 02:19:48 +0000 (03:19 +0100)]
Fix typos in Changelogs.
Paul Eggert [Wed, 12 Feb 2014 22:09:31 +0000 (14:09 -0800)]
* texinfo.tex: Update from gnulib.
Paul Eggert [Wed, 12 Feb 2014 19:40:35 +0000 (11:40 -0800)]
Spelling fixes.
Glenn Morris [Wed, 12 Feb 2014 18:51:10 +0000 (13:51 -0500)]
* etc/NEWS: Small edits.
Stefan Monnier [Wed, 12 Feb 2014 14:48:41 +0000 (09:48 -0500)]
* lisp/emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
shift-select commands.
Glenn Morris [Wed, 12 Feb 2014 08:27:27 +0000 (00:27 -0800)]
Some icomplete doc
* doc/emacs/mini.texi (Completion Options): No longer mention icomplete,
which has its own section now.
* doc/emacs/modes.texi (Minor Modes): Update Icomplete xref.
* lisp/icomplete.el: Commentary updates.
(icomplete): Add info-link to defgroup.
(icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
(icomplete-minibuffer-map, icomplete-mode)
(icomplete-simple-completing-p, icomplete-completions): Doc fixes.
* etc/NEWS: Related edits.
Jan Djärv [Wed, 12 Feb 2014 07:50:24 +0000 (08:50 +0100)]
* image.c (pbm_load): Set to NO_PIXMAP on error.
Fixes: debbugs:16683
Dmitry Gutov [Wed, 12 Feb 2014 06:23:42 +0000 (08:23 +0200)]
* lisp/progmodes/js.el (js-indent-line): Don't widen.
http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
Lars Ingebrigtsen [Wed, 12 Feb 2014 05:51:37 +0000 (21:51 -0800)]
Fix the last patch to work from non-fancy splits, too
Lars Ingebrigtsen [Wed, 12 Feb 2014 05:48:39 +0000 (21:48 -0800)]
* nnmail.el (nnmail-expand-newtext): Further sub-match fixups (bug#12375).
Glenn Morris [Wed, 12 Feb 2014 01:43:35 +0000 (20:43 -0500)]
* doc/lispref/package.texi (Simple Packages): Describe URL and Keywords headers
Glenn Morris [Wed, 12 Feb 2014 01:20:34 +0000 (20:20 -0500)]
Some package doc updates
* doc/emacs/help.texi (Package Keywords): Mention describe-package buttons.
* doc/emacs/package.texi (Package Menu): Mention package-menu-filter.
* lisp/emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
(package-menu-filter): Rename from package-menu-filter-interactive.
Doc fix.
* etc/NEWS: Related edits. Copyedit.
Lars Ingebrigtsen [Wed, 12 Feb 2014 01:07:06 +0000 (17:07 -0800)]
* buffer.c (syms_of_buffer): Doc clarification.
Fixes: debbugs:9981