]> git.eshelyaron.com Git - emacs.git/log
emacs.git
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.

10 years agoSpelling fixes.
Paul Eggert [Wed, 12 Feb 2014 19:40:35 +0000 (11:40 -0800)]
Spelling fixes.

10 years ago* etc/NEWS: Small edits.
Glenn Morris [Wed, 12 Feb 2014 18:51:10 +0000 (13:51 -0500)]
* etc/NEWS: Small edits.

10 years ago* lisp/emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
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.

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

10 years ago* image.c (pbm_load): Set to NO_PIXMAP on error.
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
10 years ago* lisp/progmodes/js.el (js-indent-line): Don't widen.
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

10 years agoFix the last patch to work from non-fancy splits, too
Lars Ingebrigtsen [Wed, 12 Feb 2014 05:51:37 +0000 (21:51 -0800)]
Fix the last patch to work from non-fancy splits, too

10 years ago* nnmail.el (nnmail-expand-newtext): Further sub-match fixups (bug#12375).
Lars Ingebrigtsen [Wed, 12 Feb 2014 05:48:39 +0000 (21:48 -0800)]
* nnmail.el (nnmail-expand-newtext): Further sub-match fixups (bug#12375).

10 years ago* doc/lispref/package.texi (Simple Packages): Describe URL and Keywords headers
Glenn Morris [Wed, 12 Feb 2014 01:43:35 +0000 (20:43 -0500)]
* doc/lispref/package.texi (Simple Packages): Describe URL and Keywords headers

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

10 years ago* buffer.c (syms_of_buffer): Doc clarification.
Lars Ingebrigtsen [Wed, 12 Feb 2014 01:07:06 +0000 (17:07 -0800)]
* buffer.c (syms_of_buffer): Doc clarification.

Fixes: debbugs:9981
10 years agolisp/frameset.el (frameset--jump-to-register): Fix bug#16696.
Juanma Barranquero [Tue, 11 Feb 2014 20:48:23 +0000 (21:48 +0100)]
lisp/frameset.el (frameset--jump-to-register): Fix bug#16696.
Select the required window and buffer before restoring position.

10 years agoFix typo in previous
Glenn Morris [Tue, 11 Feb 2014 18:05:01 +0000 (13:05 -0500)]
Fix typo in previous

10 years ago* src/nsfns.m (ns_display_info_for_name, Fx_open_connection): Doc fixes.
Glenn Morris [Tue, 11 Feb 2014 18:02:19 +0000 (13:02 -0500)]
* src/nsfns.m (ns_display_info_for_name, Fx_open_connection): Doc fixes.
Replace refs to "OpenStep" in messages.

10 years ago* dired.el (dired-get-marked-files): Clarify doc.
Lars Ingebrigtsen [Tue, 11 Feb 2014 11:16:38 +0000 (03:16 -0800)]
* dired.el (dired-get-marked-files): Clarify doc.

Fixes: debbugs:11534
10 years ago* automated/tramp-tests.el (top): Require `vc', `vc-bzr', `vc-git'
Michael Albinus [Tue, 11 Feb 2014 08:31:39 +0000 (09:31 +0100)]
* automated/tramp-tests.el (top): Require `vc', `vc-bzr', `vc-git'
and `vc-hg'.  Declare `tramp-find-executable' and
`tramp-get-remote-path'.
(tramp-test29-vc-registered): New test.
(tramp-test30-utf8): Rename from `tramp-test29-utf8'.

10 years ago* text.texi (Editing Format Info): Use @samp for menus.
Lars Ingebrigtsen [Tue, 11 Feb 2014 06:34:29 +0000 (22:34 -0800)]
* text.texi (Editing Format Info): Use @samp for menus.

Fixes: debbugs:13736
10 years agoAvoid "." at end of error diagnostics.
Paul Eggert [Mon, 10 Feb 2014 22:15:54 +0000 (14:15 -0800)]
Avoid "." at end of error diagnostics.

* cmds.c (Fself_insert_command): Reword and avoid "." at end.
* font.c (Ffont_at):
* nsfns.m (ns_display_info_for_name):
* nsselect.m (Fx_own_selection_internal):
* nsterm.m (performDragOperation:):
Remove "." from end of diagnostic.

10 years ago* lisp/jit-lock.el (jit-lock-force-redisplay): Doc fix.
Glenn Morris [Mon, 10 Feb 2014 21:43:01 +0000 (16:43 -0500)]
* lisp/jit-lock.el (jit-lock-force-redisplay): Doc fix.

Fixes: debbugs:14394
10 years agoFix bug #15109 with confusing mis-documentation of selection-converter-alist.
Eli Zaretskii [Mon, 10 Feb 2014 17:05:52 +0000 (19:05 +0200)]
Fix bug #15109 with confusing mis-documentation of selection-converter-alist.

 lisp/w32-common-fns.el (x-get-selection): Doc fix.
 lisp/select.el (x-get-selection): Doc fix.

10 years agoFix bug #16709 with too lazy redisplay when face-remap-alist changes.
Eli Zaretskii [Mon, 10 Feb 2014 16:08:37 +0000 (18:08 +0200)]
Fix bug #16709 with too lazy redisplay when face-remap-alist changes.

 lisp/face-remap.el (face-remap-add-relative)
 (face-remap-remove-relative, face-remap-reset-base)
 (face-remap-set-base): Call force-mode-line-update to redisplay
 the current buffer due to potential change in faces.

10 years ago* net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
Michael Albinus [Mon, 10 Feb 2014 13:54:33 +0000 (14:54 +0100)]
* net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
script more robustly.

10 years agoRevert previous patch, it introduces other problems.
Michael Albinus [Mon, 10 Feb 2014 13:22:14 +0000 (14:22 +0100)]
Revert previous patch, it introduces other problems.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Mon, 10 Feb 2014 11:21:38 +0000 (06:21 -0500)]
Auto-commit of loaddefs files.

10 years ago* net/tramp-sh.el (tramp-sh-handle-start-file-process): Do not
Michael Albinus [Mon, 10 Feb 2014 10:06:07 +0000 (11:06 +0100)]
* net/tramp-sh.el (tramp-sh-handle-start-file-process): Do not
quote `tramp-end-of-heredoc'.