bpt/emacs.git
10 years agoAdditional type checking in secrets API
Daniel Colascione [Sat, 22 Feb 2014 00:47:42 +0000 (16:47 -0800)]
Additional type checking in secrets API

10 years agoNEWS copyedits
Glenn Morris [Fri, 21 Feb 2014 20:24:02 +0000 (15:24 -0500)]
NEWS copyedits

10 years agoTweak earlier doc/lispref/processes.texi change
Glenn Morris [Fri, 21 Feb 2014 20:10:56 +0000 (15:10 -0500)]
Tweak earlier doc/lispref/processes.texi change

10 years agolisp/emacs-lisp/gv.el: Avoid duplicating entries of defun-declaration-alist.
Juanma Barranquero [Fri, 21 Feb 2014 19:01:19 +0000 (20:01 +0100)]
lisp/emacs-lisp/gv.el: Avoid duplicating entries of defun-declaration-alist.

10 years ago* lisp/emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule.
Stefan Monnier [Fri, 21 Feb 2014 17:45:26 +0000 (12:45 -0500)]
* lisp/emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule.

Fixes: debbugs:16829

10 years agoAnother update of MS-Windows entries in etc/PROBLEMS.
Eli Zaretskii [Fri, 21 Feb 2014 16:47:04 +0000 (18:47 +0200)]
Another update of MS-Windows entries in etc/PROBLEMS.

10 years agolisp/whitespace.el: End obsolescence messages with dot.
Juanma Barranquero [Fri, 21 Feb 2014 16:18:56 +0000 (17:18 +0100)]
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.

10 years ago* lisp/progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
Dmitry Gutov [Fri, 21 Feb 2014 15:39:17 +0000 (17:39 +0200)]
* lisp/progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".

10 years ago* lisp/electric.el (electric-indent-functions-without-reindent):
Dmitry Gutov [Fri, 21 Feb 2014 14:29:28 +0000 (16:29 +0200)]
* lisp/electric.el (electric-indent-functions-without-reindent):
Add `yaml-indent-line'.

10 years agolisp/w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
Juanma Barranquero [Fri, 21 Feb 2014 14:26:17 +0000 (15:26 +0100)]
lisp/w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
It has done nothing for years; should be removed after the release.

10 years agodoc/lispref/windows.texi (Window Configurations): Doc fix.
Juanma Barranquero [Fri, 21 Feb 2014 13:33:57 +0000 (14:33 +0100)]
doc/lispref/windows.texi (Window Configurations): Doc fix.
(Windows and Frames): Fix typo.

10 years agolisp/simple.el (choose-completion): Fix docstring typo.
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.

10 years agoIn with-temp-buffer-window don't evaluate BODY within with-current-buffer (Bug#16816).
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).

10 years ago* automated/tramp-tests.el
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.

10 years agoUpdate MS-Windows entries in etc/PROBLEMS.
Eli Zaretskii [Fri, 21 Feb 2014 09:02:19 +0000 (11:02 +0200)]
Update MS-Windows entries in etc/PROBLEMS.

10 years ago* etc/MACHINES: Add note re Irix 6.5.
Glenn Morris [Fri, 21 Feb 2014 08:08:08 +0000 (00:08 -0800)]
* etc/MACHINES: Add note re Irix 6.5.

10 years agoSome doc updates for default process sentinels and filters not being nil
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.

10 years agoFix handling of window-min-height/-width (Bug#16738).
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.

10 years agoChangeLog fix
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'.

10 years agoAdd ChangeLog entry for previous commit.
Michael Albinus [Fri, 21 Feb 2014 07:53:19 +0000 (08:53 +0100)]
Add ChangeLog entry for previous commit.

10 years ago* net/tramp.el (tramp-check-cached-permissions):
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.

10 years agoPacify GCC when configuring with --enable-gcc-warnings.
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.

10 years agoImprove dbus error handling; detect bus failure
Daniel Colascione [Fri, 21 Feb 2014 04:32:31 +0000 (20:32 -0800)]
Improve dbus error handling; detect bus failure

10 years agolisp/w32-fns.el: Remove obsolescence declarations for nonexistent vars.
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.

10 years agolisp/savehist.el: Fix typos in docstrings.
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.

10 years agolisp/saveplace.el (save-place): Remove redundant info in docstring.
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.

10 years ago* tramp-tests.el (tramp-test19-directory-files-and-attributes):
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.

10 years agoFix excessive calls to bidi_shelve_cache reported in bug #15555.
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.

10 years agoFix assertion violation in redisplay.
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.

10 years agoFix bug #16819 with dereferencing invalid face pointer.
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.

10 years ago* net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
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'.

10 years ago* automated/tramp-tests.el (tramp--instrument-test-case): New macro.
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.

10 years agolisp/elec-pair.el: Fix bug#16799.
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.

10 years agoRework previous doc/emacs change
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.

10 years agoSome doc for search-invisible
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.

10 years agoSome doc for defalias-fset-function
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.

10 years ago* lisp/term/xterm.el (xterm--version-handler): Adapt to xterm-280's output.
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

10 years agolisp/frameset.el (frameset-restore): Remove duplicate ids only when needed.
Juanma Barranquero [Wed, 19 Feb 2014 21:04:06 +0000 (22:04 +0100)]
lisp/frameset.el (frameset-restore): Remove duplicate ids only when needed.

10 years ago* trampver.texi: Update release number.
Michael Albinus [Wed, 19 Feb 2014 19:31:02 +0000 (20:31 +0100)]
* trampver.texi: Update release number.

10 years ago* automated/tramp-tests.el (tramp-test17-insert-directory):
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'.

10 years agoSome Tramp minor fixes, found during test campaign.
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.

10 years agoFix bug #16806 with horizontal scrolling of images when fringes are disabled.
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.

10 years agoAvoid crashes on MS-Windows when JPEG images are too large.
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.

10 years agolisp/frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
Juanma Barranquero [Wed, 19 Feb 2014 11:01:35 +0000 (12:01 +0100)]
lisp/frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.

10 years agoIn window-state-put allow WINDOW to refer to an internal window (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).

10 years agoSome remember doc
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.

10 years ago* doc/emacs/trouble.texi (Contributing) [WWW_GNU_ORG]: Link to gnu.org version
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.

10 years ago* lisp/delsel.el (delete-char): Restore incorrectly erased property.
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

10 years agolisp/frameset.el: Workaround bug#16793.
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.

10 years agoDon't set FRAME_PIXEL_HEIGHT and FRAME_PIXEL_WIDTH in update_various_frame_slots...
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).

10 years agoSome remember doc
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.

10 years ago* dbusbind.c (xd_close_bus): Apply proper check on busobj.
Michael Albinus [Tue, 18 Feb 2014 07:46:38 +0000 (08:46 +0100)]
* dbusbind.c (xd_close_bus): Apply proper check on busobj.

10 years ago* configure.ac [HAVE_W32]: Test for ImageMagick.
Mirek Kaim [Tue, 18 Feb 2014 01:47:35 +0000 (17:47 -0800)]
* configure.ac [HAVE_W32]: Test for ImageMagick.

Fixes: debbugs:16754

10 years agoSome desktop doc
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.

10 years ago* nt/INSTALL: Prefix must be absolute.
Glenn Morris [Tue, 18 Feb 2014 00:45:43 +0000 (16:45 -0800)]
* nt/INSTALL: Prefix must be absolute.

10 years agoFix stray underscore in ChangeLog.
Paul Eggert [Mon, 17 Feb 2014 22:51:36 +0000 (14:51 -0800)]
Fix stray underscore in ChangeLog.

10 years agotemacs --daemon fix
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

10 years agont/Makefile.in: Follow up to previous change.
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

10 years agont/Makefile.in: Fix bug#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.

10 years agoSome doc updates for eieio-describe-class/generic
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.

10 years agoConnect electric-indent-mode up with CC Mode. Bug #15478.
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.

10 years ago* doc/emacs/killing.texi (CUA Bindings): Document the new relationship between
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.

10 years agoFix last dbus change
Daniel Colascione [Mon, 17 Feb 2014 16:30:09 +0000 (08:30 -0800)]
Fix last dbus change

10 years agolisp/frameset.el: Fix bug#16748.
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.

10 years ago* lisp/ido.el (ido-file-internal): Remove unused var `d'.
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.

10 years agoImprove dbus performance on synchronous calls
Daniel Colascione [Mon, 17 Feb 2014 11:41:42 +0000 (03:41 -0800)]
Improve dbus performance on synchronous calls

10 years ago* automated/tramp-tests.el (tramp-test28-shell-command): Perform
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.

10 years agoSome doc for read-regexp
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.

10 years agoSync with Tramp 2.2.9.
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.

10 years ago* efaq-w32.texi (Tramp ssh): Remove also pscp1 and pscp2.
Michael Albinus [Sun, 16 Feb 2014 14:52:43 +0000 (15:52 +0100)]
* efaq-w32.texi (Tramp ssh): Remove also pscp1 and pscp2.

10 years ago* nsterm.m (keyDown:): Check for normal key even if NSNumericPadKeyMask
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

10 years agoMake closing dbus buses actually work
Daniel Colascione [Sun, 16 Feb 2014 05:46:05 +0000 (21:46 -0800)]
Make closing dbus buses actually work

10 years ago* lisp/ido.el (ido-file-internal): Don't add the name of an existing
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

10 years ago* lisp/vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
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

10 years ago* progmodes/sql.el: Version 3.4
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.

10 years agoframeset.el (frameset--jump-to-register): Check that buffer is live (bug#16749).
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).

10 years ago* lisp/info.el (info-initialize): Revert 2014-01-10 change.
Glenn Morris [Sat, 15 Feb 2014 03:58:38 +0000 (19:58 -0800)]
* lisp/info.el (info-initialize): Revert 2014-01-10 change.

10 years ago* lisp/replace.el (read-regexp): Fix typo in earlier doc 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.

10 years ago* character.h: Fix misspelling of file name in comment.
Paul Eggert [Fri, 14 Feb 2014 16:11:11 +0000 (08:11 -0800)]
* character.h: Fix misspelling of file name in comment.

10 years ago* Makefile.in (install-arch-indep): Allow ' ' in destdir.
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

10 years agoSome read-regexp doc
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.

10 years agoMention read-regexp in doc of functions that use it
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.

10 years agoTiny doc etc changes related to frameset-to-register
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.

10 years agolisp/calc/calc-menu.el (calc-vectors-menu): Remove menu item for
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.

10 years agolisp/gnus/auth-source.el (auth-sources): Add pointer to what the .gpg extension in...
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

10 years agoFix flymake in narrowed buffers
Daniel Colascione [Thu, 13 Feb 2014 22:37:29 +0000 (14:37 -0800)]
Fix flymake in narrowed buffers

10 years agoFix crashes in itimers on Windows 9X.
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>.

10 years ago* Makefile.in (install-arch-indep): Simplify.
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

10 years ago* lisp/mail/rmail.el (rmail-probe): Be less strict.
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

10 years agoFix subspace record bug on HP-UX 10.20.
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

10 years agoFix ChangeLog entry.
Dmitry Antipov [Thu, 13 Feb 2014 12:23:28 +0000 (16:23 +0400)]
Fix ChangeLog entry.

10 years ago* composite.c (fill_gstring_header): Pass positions as C integers
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.

10 years ago* etc/NEWS: Fix typo in previous.
Glenn Morris [Thu, 13 Feb 2014 08:26:45 +0000 (00:26 -0800)]
* etc/NEWS: Fix typo in previous.

10 years agoSmall doc updates for debugging
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.

10 years ago* lisp/apropos.el (apropos-read-pattern): Fix error message for empty string.
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.

10 years ago* lisp/jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
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.

10 years agoCopy README.W32 when installing Windows build (bug#14757).
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.

10 years ago* lisp/finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
Glenn Morris [Thu, 13 Feb 2014 02:31:48 +0000 (21:31 -0500)]
* lisp/finder.el (finder-known-keywords, finder-mode-map): Doc fixes.

10 years agoFix typos in Changelogs.
Juanma Barranquero [Thu, 13 Feb 2014 02:19:48 +0000 (03:19 +0100)]
Fix typos in Changelogs.

10 years ago* texinfo.tex: Update from gnulib.
Paul Eggert [Wed, 12 Feb 2014 22:09:31 +0000 (14:09 -0800)]
* texinfo.tex: Update from gnulib.