]> git.eshelyaron.com Git - emacs.git/log
emacs.git
10 years agoFix bug #18982 with assertion violations when reverting buffers.
Eli Zaretskii [Sun, 9 Nov 2014 16:40:43 +0000 (18:40 +0200)]
Fix bug #18982 with assertion violations when reverting buffers.

 src/fileio.c (Finsert_file_contents): Invalidate buffer caches also
 when the inserted text does not need decoding.

10 years agoFix bug #18995 with compiling w32heap.c with -funroll-loops.
Eli Zaretskii [Sun, 9 Nov 2014 15:57:37 +0000 (17:57 +0200)]
Fix bug #18995 with compiling w32heap.c with -funroll-loops.

 src/w32heap.c (allocate_heap): Set the lower limit of heap at 8MB.

10 years ago* nsterm.h (EmacsScroller): judge returns bool.
Jan Djärv [Sun, 9 Nov 2014 13:47:02 +0000 (14:47 +0100)]
* nsterm.h (EmacsScroller): judge returns bool.

* nsterm.m (ns_set_vertical_scroll_bar): Release bar.
(ns_judge_scroll_bars): Only set removed if judge returns true.
(judge): Returns bool == condemned.  Remove self from window.
(setPosition:portion:whole:): Remove raise SIGIO.

Fixes: debbugs:18757
10 years agoUpdate version to 24.5
Kelvin White [Sun, 9 Nov 2014 13:46:24 +0000 (08:46 -0500)]
Update version to 24.5

10 years agobackports: fix changelog
Kelvin White [Sun, 9 Nov 2014 13:36:43 +0000 (08:36 -0500)]
backports: fix changelog

10 years agoReplace doc/*/Makefile.in dist rules with code in admin/admin.el
Glenn Morris [Sun, 9 Nov 2014 02:02:51 +0000 (18:02 -0800)]
Replace doc/*/Makefile.in dist rules with code in admin/admin.el

* admin/admin.el (make-manuals-dist-output-variables)
(make-manuals-dist--1, make-manuals-dist): New.
Replaces doc/*/Makefile.in `dist' rules.

* doc/emacs/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.

* doc/lispintro/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.

* doc/lispref/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.

* doc/misc/Makefile.in (version): Remove variable.
(clean): No longer delete dist tarfile.
(dist): Remove rule; replace with code in admin.el.

10 years agobackport: erc bugfixes
l3thal [Sun, 9 Nov 2014 01:51:43 +0000 (20:51 -0500)]
backport: erc bugfixes

10 years ago* bytecomp.el (byte-compile-report-error): Allow the argument to be a string.
Glenn Morris [Sat, 8 Nov 2014 21:29:04 +0000 (13:29 -0800)]
* bytecomp.el (byte-compile-report-error): Allow the argument to be a string.
Due to the vague doc, it was already being used this way.

10 years ago* nsterm.m (ns_set_vertical_scroll_bar): Don't call bar setPosition: unless
Jan Djärv [Sat, 8 Nov 2014 19:40:17 +0000 (20:40 +0100)]
* nsterm.m (ns_set_vertical_scroll_bar): Don't call bar setPosition: unless
needed (Bug#18757).

Fixes: debbugs:18993
10 years agoAttempt to fix NS hang. Will probably cause merge conflicts.
Jan Djärv [Sat, 8 Nov 2014 16:32:37 +0000 (17:32 +0100)]
Attempt to fix NS hang.  Will probably cause merge conflicts.

* nsterm.m (init): Replace OSX 10.9 check with IMPL_COCOA.
(run): Ditto.  Only use non-system event loop if OSX version is
exactly 10.9.

Fixes: debbugs:18993
10 years agoBackport Tramp changes from trunk.
Michael Albinus [Sat, 8 Nov 2014 09:07:24 +0000 (10:07 +0100)]
Backport Tramp changes from trunk.

* tramp.texi (Inline methods): Remove restriction on "telnet".
Recommend sharing ssh connections for "plink".
(External methods): Remove "sftp".  Merge "pscp" and "psftp"
descriptions.  Recommend sharing ssh connections.  Add "nc" method.
(GVFS based methods): Add "sftp".
(Customizing Completion, External packages, Issues): Use @dots{}.
(Remote shell setup): Explain, how to change command line
arguments of remote "nc" listener.

* trampver.texi: Update release number.

10 years agoBackport Tramp changes from trunk.
Michael Albinus [Sat, 8 Nov 2014 08:46:20 +0000 (09:46 +0100)]
Backport Tramp changes from trunk.

* automated/tramp-tests.el (tramp-remote-process-environment):
Declare.
(tramp--test-enabled): Ignore errors.
(tramp--instrument-test-case): Extend docstring.  Print debug
buffer in any case.
(tramp-test15-copy-directory): Skip for tramp-smb.el.
(tramp-test21-file-links): Use `file-truename' for directories.
(tramp-test26-process-file): Extend test according to Bug#17815.
(tramp-test27-start-file-process, tramp-test28-shell-command):
Retrieve process output more robustly.
(tramp-test29-vc-registered): Set $BZR_HOME.
(tramp--test-check-files): Extend test with `substitute-in-file-name'.
(tramp-test30-special-characters): Skip for tramp-adb.el,
tramp-gvfs.el and tramp-smb.el.  Add further file names.

10 years ago* net/tramp.el (tramp-check-cached-permissions): Include hop in
Michael Albinus [Fri, 7 Nov 2014 20:15:46 +0000 (21:15 +0100)]
* net/tramp.el (tramp-check-cached-permissions): Include hop in
the constructed Tramp file name.

Fixes: debbugs:18943
10 years ago* callproc.c (encode_current_directory): Encode dir at the end.
Michael Albinus [Fri, 7 Nov 2014 20:09:34 +0000 (21:09 +0100)]
* callproc.c (encode_current_directory): Encode dir at the end.

10 years ago* lisp/emulation/cua-base.el (cua--select-keymaps): Use region-active-p.
Stefan Monnier [Fri, 7 Nov 2014 19:55:39 +0000 (14:55 -0500)]
* lisp/emulation/cua-base.el (cua--select-keymaps): Use region-active-p.
(cua-set-mark, cua--pre-command-handler-1,cua--post-command-handler-1):
* lisp/emulation/cua-gmrk.el (cua-cancel-global-mark): Same.

Fixes: debbugs:18952
10 years ago* src/callproc.c (encode_current_directory): Fix thinko in previous.
Glenn Morris [Fri, 7 Nov 2014 17:04:10 +0000 (09:04 -0800)]
* src/callproc.c (encode_current_directory): Fix thinko in previous.

10 years ago* callproc.c (encode_current_directory): Support handling of file
Michael Albinus [Fri, 7 Nov 2014 14:45:34 +0000 (15:45 +0100)]
* callproc.c (encode_current_directory): Support handling of file
names prepended by "/:".

Fixes: debbugs:18891
10 years ago* files.el (file-name-non-special): Wrap the call of
Michael Albinus [Fri, 7 Nov 2014 14:42:51 +0000 (15:42 +0100)]
* files.el (file-name-non-special): Wrap the call of
`insert-file-contents' by `unwind-protect', in order to set the
buffer's file name anyway.

Fixes: debbugs:18891
10 years agodoc/misc/eww.texi: Fix a typo and improve wording of last commit.
Eli Zaretskii [Fri, 7 Nov 2014 08:59:00 +0000 (10:59 +0200)]
doc/misc/eww.texi: Fix a typo and improve wording of last commit.

10 years agoBackport from trunk documentation of shr-color-visible-* variables.
Tassilo Horn [Fri, 7 Nov 2014 08:54:50 +0000 (10:54 +0200)]
Backport from trunk documentation of shr-color-visible-* variables.

 doc/misc/eww.texi (Advanced): Document increasing contrast with
 shr-color-visible-distance-min and shr-color-visible-luminance-min.

10 years agoepg: Adjust to GnuPG 2.1 key listing change
Daiki Ueno [Fri, 7 Nov 2014 04:16:26 +0000 (13:16 +0900)]
epg: Adjust to GnuPG 2.1 key listing change

* epg.el (epg--list-keys-1): Ignore fields after the 15th field
(bug#18979).  Reported by Hideki Saito.

Backported from trunk.

10 years ago* src/syntax.c (back_comment): Fix off-by-one error.
Alan Mackenzie [Thu, 6 Nov 2014 14:05:58 +0000 (09:05 -0500)]
* src/syntax.c (back_comment): Fix off-by-one error.

Fixes: debbugs:18022
10 years ago* src/xgselect.c (xg_select): Use g_main_context_acquire.
Dima Kogan [Thu, 6 Nov 2014 03:02:11 +0000 (22:02 -0500)]
* src/xgselect.c (xg_select): Use g_main_context_acquire.

Fixes: debbugs:18861
10 years agoBackport fix to bug #18749 to Emacs-24 branch.
Alan Mackenzie [Wed, 5 Nov 2014 18:38:51 +0000 (18:38 +0000)]
Backport fix to bug #18749 to Emacs-24 branch.

10 years agoFix wrong bound to c-font-lock-declarators. Fixes bug #18948.
Alan Mackenzie [Wed, 5 Nov 2014 17:57:50 +0000 (17:57 +0000)]
Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
progmodes/cc-fonts.el (c-font-lock-declarations): Pass "(point-max)" as
bound to c-font-lock-declarators, not "limit", as the buffer is sometimes
narrowed to less than "limit" (e.g., in the presence of macros).

10 years ago* net/tramp-adb.el (tramp-adb-handle-file-attributes):
Michael Albinus [Wed, 5 Nov 2014 11:24:04 +0000 (12:24 +0100)]
* net/tramp-adb.el (tramp-adb-handle-file-attributes):
* net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
* net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
case of errors.

* net/tramp.el (tramp-error-with-buffer): Show connection buffer
only when message appeared in minibuffer.

Fixes: debbugs:18891
10 years ago* dired.c (Ffile_attributes): Return Qnil, if Fexpand_file_name
Michael Albinus [Wed, 5 Nov 2014 11:23:10 +0000 (12:23 +0100)]
* dired.c (Ffile_attributes): Return Qnil, if Fexpand_file_name
raises an error.

Fixes: debbugs:18891
10 years ago* Makefile.in (install-info, uninstall): Restore pre-2012-12-13 solution
Glenn Morris [Wed, 5 Nov 2014 05:01:01 +0000 (21:01 -0800)]
* Makefile.in (install-info, uninstall): Restore pre-2012-12-13  solution
Do not merge to trunk.

Fixes: debbugs:18908
10 years ago* lisp/erc/erc.el (erc-send-input): Bind `str' dynamically.
Stefan Monnier [Tue, 4 Nov 2014 20:07:59 +0000 (15:07 -0500)]
* lisp/erc/erc.el (erc-send-input): Bind `str' dynamically.

Fixes: debbugs:18936
10 years agoFix error messages from jit-stealth-lock when load-average returns nil.
Eli Zaretskii [Tue, 4 Nov 2014 16:30:48 +0000 (18:30 +0200)]
Fix error messages from jit-stealth-lock when load-average returns nil.

 lisp/jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
 returned by load-average.

10 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
Michael Albinus [Tue, 4 Nov 2014 09:02:56 +0000 (10:02 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
a local copy; setting `inhibit-file-name-handlers' proper might be
more performant.

Fixes: debbugs:18751
10 years ago* lisp/mail/emacsbug.el (report-emacs-bug): Simplify interactive spec.
Glenn Morris [Tue, 4 Nov 2014 07:11:37 +0000 (23:11 -0800)]
* lisp/mail/emacsbug.el (report-emacs-bug): Simplify interactive spec.

10 years ago* lisp/mail/emacsbug.el (report-emacs-bug): No longer include recent-keys
Glenn Morris [Tue, 4 Nov 2014 07:07:04 +0000 (23:07 -0800)]
* lisp/mail/emacsbug.el (report-emacs-bug): No longer include recent-keys

Fixes: debbugs:18900
10 years agoNEWS and comment trivia re crisp.el
Glenn Morris [Mon, 3 Nov 2014 21:47:16 +0000 (16:47 -0500)]
NEWS and comment trivia re crisp.el

10 years agosrc/window.c (window_scroll_pixel_based): Fix a typo in a comment.
Eli Zaretskii [Mon, 3 Nov 2014 18:22:07 +0000 (20:22 +0200)]
src/window.c (window_scroll_pixel_based): Fix a typo in a comment.

10 years agoFix minor issues with functions that dump glyph matrices.
Eli Zaretskii [Mon, 3 Nov 2014 17:14:50 +0000 (19:14 +0200)]
Fix minor issues with functions that dump glyph matrices.

 src/xdisp.c (Fdump_glyph_matrix, Fdump_frame_glyph_matrix): Doc fix.
 (Fdump_frame_glyph_matrix): Don't segfault if invoked on a GUI
 frame; instead, print an error message.

10 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
Michael Albinus [Mon, 3 Nov 2014 14:29:51 +0000 (15:29 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
local copy of FILENAME, when it is remote.

Fixes: debbugs:18751
10 years ago* nsfns.m (ns_set_doc_edited): Check for FRAME_NS.
Jan Djärv [Mon, 3 Nov 2014 07:15:11 +0000 (08:15 +0100)]
* nsfns.m (ns_set_doc_edited): Check for FRAME_NS.

Fixes: debbugs:18925
10 years ago* net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
Michael Albinus [Sun, 2 Nov 2014 11:22:56 +0000 (12:22 +0100)]
* net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
an error when the command fails; the return code must indicate.
(tramp-adb-send-command-and-check): Fix docstring.

10 years ago* doc/emacs/programs.texi (Misc for Programs): Fix typo.
Glenn Morris [Sat, 1 Nov 2014 18:09:33 +0000 (11:09 -0700)]
* doc/emacs/programs.texi (Misc for Programs): Fix typo.

10 years agoChangeLog simplification
Glenn Morris [Sat, 1 Nov 2014 17:33:29 +0000 (10:33 -0700)]
ChangeLog simplification

10 years ago* net/tramp-cache.el (tramp-get-file-property)
Michael Albinus [Sat, 1 Nov 2014 16:47:09 +0000 (17:47 +0100)]
* net/tramp-cache.el (tramp-get-file-property)
(tramp-set-file-property): Check, that `tramp-cache-get-count-*'
and `tramp-cache-set-count-*' are bound.  Otherwise, there might
be compiler warnings.

* net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
Return -1 respective "UNKNOWN", if uid or gid cannot be determined.

10 years agoFix bug #18856 with failure to fontify compilation buffers.
Eli Zaretskii [Sat, 1 Nov 2014 14:16:53 +0000 (16:16 +0200)]
Fix bug #18856 with failure to fontify compilation buffers.

 lisp/progmodes/compile.el (compilation-mode): Turn off deferred
 fontifications locally.

10 years ago* net/tramp-sh.el (tramp-send-command): Fix the case where the
Wolfgang Jenkner [Sat, 1 Nov 2014 14:08:00 +0000 (15:08 +0100)]
* net/tramp-sh.el (tramp-send-command): Fix the case where the
remote-echo connection property is non-nil.

Fixes: debbugs:18858
10 years agoBackport Tramp changes from trunk.
Michael Albinus [Sat, 1 Nov 2014 13:34:45 +0000 (14:34 +0100)]
Backport Tramp changes from trunk.

* net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
(tramp-adb-handle-write-region): Improve messages.
(tramp-adb-maybe-open-connection): Don't set
`tramp-current-*' variables.

* net/tramp-cache.el (tramp-flush-file-function): Simplify check.
Suppress debug messages.

* net/tramp-ftp.el (top): Remove special handling for URL syntax.
(tramp-ftp-file-name-handler):

* net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
(tramp-gvfs-methods-mounttracker)
(tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
during initialization.
(tramp-gvfs-handle-delete-file): Flush file properties, not
directory properties.
(tramp-gvfs-handle-file-attributes): Use `string-to-number' when
reading "unix::mode".
(tramp-gvfs-handle-file-name-all-completions):
Use "-h" option for "gvfs-ls".
(tramp-gvfs-url-file-name): Apply `cons' where appropriate.
`user' and `localname' could be nil.
(tramp-gvfs-send-command): Simplify traces.

* net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
(vc-git-program, vc-hg-program): Declare.
(tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
(tramp-methods) <nc>: Add new method.
(tramp-methods) <telnet>: Redirect stderr to "/dev/null".
(tramp-methods) <plink, plinkx, pscp, psftp>: Improve
`tramp-login-args'.
(tramp-default-user-alist): Add "nc".
(top): Remove completion function for "sftp".  Add completion
functions for "nc" and "psftp".
(tramp-sh-handle-set-visited-file-modtime):
(tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
(tramp-do-copy-or-rename-file-out-of-band):
Use cached "remote-copy-args" value, if available.  (Bug#18199)
Tweak docstring.  Implement support for "nc" method.
(tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
(tramp-remote-coding-commands, tramp-call-local-coding-command):
Tweak docstring.
(tramp-sh-handle-start-file-process): Expand `default-directory'.
(tramp-sh-handle-write-region): Tweak error message.
(tramp-sh-handle-vc-registered): Remove backends when the remote
binary does not exist.
(tramp-open-connection-setup-interactive-shell):
Prefer utf-8 coding.  (Bug#17859)
(tramp-find-inline-encoding): Do not raise an error.
(tramp-make-copy-program-file-name): Tweak docstring.  Handle also
the "nc" case.  Quote result also locally.
(tramp-get-remote-id): Check also for "gid".
(tramp-get-remote-python):

* net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-set-file-acl): Use `start-process'.
(tramp-smb-handle-insert-directory): Use progress reporter.
(tramp-smb-handle-rename-file): Flush also file properties of
FILENAME.

* net/tramp.el (tramp-methods): Tweak docstring.
(tramp-file-name-handler): Apply `cons' where appropriate.
(tramp-handle-file-accessible-directory-p): Check for
`file-readable-p' instead of `file-executable-p'.
(tramp-handle-shell-command): Use `display-buffer'.  (Bug#18326)
(tramp-handle-unhandled-file-name-directory): Return "/".
(tramp-check-cached-permissions):
Use `tramp-compat-file-attributes'.
(tramp-call-process): Add new argument VEC.  Adapt callees in all
tramp*.el files.

* net/trampver.el: Update release number.

10 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 1 Nov 2014 11:18:14 +0000 (07:18 -0400)]
Auto-commit of loaddefs files.

10 years ago* lisp/simple.el (newline): Add assertions to try and help catch bug#18913.
Stefan Monnier [Fri, 31 Oct 2014 20:57:59 +0000 (16:57 -0400)]
* lisp/simple.el (newline): Add assertions to try and help catch bug#18913.

10 years ago* macfont.m (macfont_glyph_extents): Turn off syntetic bold
Jan Djärv [Fri, 31 Oct 2014 18:41:07 +0000 (19:41 +0100)]
* macfont.m (macfont_glyph_extents): Turn off syntetic bold
if force_integral_p (i.e. no antialias).
(macfont_draw): Check ns_antialias_text, also turn off syntetic
bold if no antialias.

Fixes: debbugs:18876
10 years ago* lisp/emulation/cua-base.el (cua-delete-region): Use delete-active-region.
Stefan Monnier [Fri, 31 Oct 2014 15:31:27 +0000 (11:31 -0400)]
* lisp/emulation/cua-base.el (cua-delete-region): Use delete-active-region.
(cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.

Fixes: debbugs:18886
10 years ago* emacs.c (main): Don't chdir to $HOME on Cocoa if --chdir was given.
Jan Djärv [Fri, 31 Oct 2014 15:18:36 +0000 (16:18 +0100)]
* emacs.c (main): Don't chdir to $HOME on Cocoa if --chdir was given.

Fixes: debbugs:18846
10 years agoadmin/ChangeLog: Fix a typo.
Eli Zaretskii [Fri, 31 Oct 2014 09:40:27 +0000 (11:40 +0200)]
admin/ChangeLog: Fix a typo.

10 years agoMinor fixes in the changes in preparation for git migration.
Eli Zaretskii [Fri, 31 Oct 2014 09:32:11 +0000 (11:32 +0200)]
Minor fixes in the changes in preparation for git migration.

 src/Makefile.in (repo-update): Fix a typo and slightly reword
 commentary.

 admin/notes/repo (Notes): Reword the stylistic guidance for commit log
 messages so that they are in line with Emacs development practices
 and style guidance.

10 years agoYet another change for git migration backported from trunk.
Glenn Morris [Fri, 31 Oct 2014 09:09:24 +0000 (11:09 +0200)]
Yet another change for git migration backported from trunk.

 lisp/version.el (emacs-bzr-version, emacs-bzr-get-version):
 Revert 2014-10-31 change.

10 years agoBackport from trunk more changes in preparation for git migration.
Eric S. Raymond [Fri, 31 Oct 2014 09:06:47 +0000 (11:06 +0200)]
Backport from trunk more changes in preparation for git migration.

 admin/notes/bzr: Renamed to notes/repo, reorganixed to separate
 VCS-dependent from VCS-independent stuff.  Added guidance about
 commit-comment format under DVCSes.
 admin/notes/BRANCH: Merged into notes/repo.

 lisp/version.el: Fix some fallback values to conform to the actual
 release number.

10 years agoBackport changes in preparation for git migration from trunk.
Eric S. Raymond [Fri, 31 Oct 2014 09:03:23 +0000 (11:03 +0200)]
Backport changes in preparation for git migration from trunk.

 admin: Changes in several documents.
 autogen.sh: Neutralize language specific to a repository type.

 doc/misc/efaq-w32.texi: Neutralized language specific to a repository type.

 doc/misc/gnus-coding.txt: Neutralized language specific to a repository type.

 lisp/Makefile.in: Change some production names so they're neutral
 about the repository type.

10 years ago* lisp/progmodes/vhdl-mode.el: Doc grammar fixes.
Glenn Morris [Fri, 31 Oct 2014 04:14:27 +0000 (21:14 -0700)]
* lisp/progmodes/vhdl-mode.el: Doc grammar fixes.

10 years ago* etc/emacs.desktop: Add "Keywords".
Glenn Morris [Fri, 31 Oct 2014 04:10:19 +0000 (21:10 -0700)]
* etc/emacs.desktop: Add "Keywords".

10 years ago* doc/man/emacsclient.1: Tiny markup fix
Glenn Morris [Thu, 30 Oct 2014 23:18:53 +0000 (19:18 -0400)]
* doc/man/emacsclient.1: Tiny markup fix

10 years agoRestore cua-delete-copy-to-register-0 and M-v command.
Kim F. Storm [Thu, 30 Oct 2014 19:19:49 +0000 (15:19 -0400)]
Restore cua-delete-copy-to-register-0 and M-v command.
* lisp/delsel.el (delete-selection-save-to-register)
(delsel--replace-text-or-position): New vars.
(delete-active-region): Use them.
(delete-selection-repeat-replace-region): New command, moved from
cua-base.el.
* lisp/emulation/cua-base.el (cua--repeat-replace-text): Remove var.
(cua-repeat-replace-region): Move command to delsel.el.
(cua--init-keymaps): Update binding accordingly.
(cua-mode): Set delete-selection-save-to-register.

Fixes: debbugs:18886
10 years ago* nsfns.m (ns_set_doc_edited): Do all logic (check frames) here
Jan Djärv [Thu, 30 Oct 2014 19:15:38 +0000 (20:15 +0100)]
* nsfns.m (ns_set_doc_edited): Do all logic (check frames) here
instead of in xdisp.c, function now takes void.

* nsterm.h (ns_set_doc_edited): Declare taking no args.

* xdisp.c (prepare_menu_bars): Remove HAVE_NS code.
(redisplay_internal): Call ns_set_doc_edited if HAVE_NS (Bug#18884).

10 years ago* nsfns.m (x_icon): icon_top/left is int.
Jan Djärv [Thu, 30 Oct 2014 17:23:52 +0000 (18:23 +0100)]
* nsfns.m (x_icon): icon_top/left is int.

* nsterm.h (EmacsScroller): Replace Lisp_Object win with
struct window*.
Remove getMouseMotionPart.
(ns_output): Make icon_top/left int.

* nsterm.m (ns_mouse_position): Remove unused code.
(initFrame:window:, dealloc): Use window instead of win.
(getMouseMotionPart:window:x:y:): Remove, unused.
(sendScrollEventAtLoc:fromEvent:): Make Lisp_Object win from window.

Fixes: debbugs:18889
10 years ago* src/unexmacosx.c (copy_data_segment): Port to GCC 4.6+ (backport)
Samuel Bronson [Thu, 30 Oct 2014 05:31:12 +0000 (22:31 -0700)]
* src/unexmacosx.c (copy_data_segment): Port to GCC 4.6+ (backport)

Fixes: debbugs:9927
10 years ago* lisp/progmodes/cc-defs.el (c--macroexpand-all): New function.
Stefan Monnier [Thu, 30 Oct 2014 03:50:15 +0000 (23:50 -0400)]
* lisp/progmodes/cc-defs.el (c--macroexpand-all): New function.
(c-lang-defconst):
* lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.

Fixes: debbugs:18845
10 years agoChangeLog date fix
Glenn Morris [Thu, 30 Oct 2014 03:33:08 +0000 (20:33 -0700)]
ChangeLog date fix

10 years agoNEWS fixes
Glenn Morris [Thu, 30 Oct 2014 03:26:24 +0000 (20:26 -0700)]
NEWS fixes

10 years ago* doc/misc/efaq.texi (Gnus does not work with NNTP): Remove; ancient
Glenn Morris [Thu, 30 Oct 2014 02:58:11 +0000 (19:58 -0700)]
* doc/misc/efaq.texi (Gnus does not work with NNTP): Remove; ancient

10 years agoFix bug #18874 with rgrep not obeying grep-scroll-output.
Eli Zaretskii [Wed, 29 Oct 2014 15:17:18 +0000 (17:17 +0200)]
Fix bug #18874 with rgrep not obeying grep-scroll-output.

 lisp/progmodes/compile.el (compilation-start): If
 compilation-scroll-output is non-nil, don't force window-start of
 the compilation buffer to be at beginning of buffer.

10 years agoFix bug #18873 with non-ASCII characters in user's HOME directory.
Eli Zaretskii [Tue, 28 Oct 2014 17:48:21 +0000 (19:48 +0200)]
Fix bug #18873 with non-ASCII characters in user's HOME directory.

 src/fileio.c (Fexpand_file_name): Use make_unibyte_string, not
 build_string, when importing a home directory.

10 years ago[Backport] gnus.el (gnus-mode-line-buffer-identification):
Katsumi Yamaoka [Mon, 27 Oct 2014 22:51:18 +0000 (22:51 +0000)]
[Backport] gnus.el (gnus-mode-line-buffer-identification):
Don't add image data for a non-graphic display;
Don't shadow load-path, it blocks autoloading of find-image (bug#18813)

10 years ago[Backport] lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response reque...
enami tsugutomo [Mon, 27 Oct 2014 00:56:22 +0000 (00:56 +0000)]
[Backport] lisp/gnus/nnimap.el (nnimap-wait-for-response): Ignore NOOP response requested to keep connection open

10 years ago* README.W32 (Preliminaries): Don't assume that this file is at
Dani Moncayo [Sun, 26 Oct 2014 18:37:16 +0000 (19:37 +0100)]
* README.W32 (Preliminaries): Don't assume that this file is at
the top level.
(Setting up Emacs): Minor rewording to be more accurate.

Backported from trunk.

10 years agoFix bug #18839 with incorrect image size returned by posn-at-point.
Eli Zaretskii [Sun, 26 Oct 2014 15:42:08 +0000 (17:42 +0200)]
Fix bug #18839 with incorrect image size returned by posn-at-point.

 src/dispnew.c (buffer_posn_from_coords): Use
 WINDOW_WANTS_HEADER_LINE_P, not WINDOW_WANTS_MODELINE_P, to
 account for the header-line height.

10 years agoImprove documentation of faces in the user manual.
Eli Zaretskii [Fri, 24 Oct 2014 09:13:01 +0000 (12:13 +0300)]
Improve documentation of faces in the user manual.

 doc/emacs/frames.texi (Scroll Bars): Improve indexing of faces.
 doc/emacs/killing.texi (Secondary Selection): Improve indexing of faces.
 doc/emacs/search.texi (Basic Isearch, Query Replace): Improve indexing of
 faces.
 doc/emacs/display.texi (Standard Faces, Text Display)
 (Useless Whitespace): Improve indexing of faces.

10 years agoBackport latest doc-view fix
Tassilo Horn [Thu, 23 Oct 2014 19:17:00 +0000 (21:17 +0200)]
Backport latest doc-view fix

* doc/emacs/misc.texi (Document View): Adapt to latest doc-view changes wrt
viewing the document's plain text contents.  [Backport]

* lisp/doc-view.el (doc-view-open-text): View the document's plain text
in the current buffer instead of a new one.
(doc-view-toggle-display): Handle the case where the current
buffer contains the plain text contents of the document.
(doc-view-initiate-display): Don't switch to fallback mode if the
user wants to view the doc's plain text.  [Backport]

10 years agoDocument in the user manual variables that allow pixelwise resizing.
Eli Zaretskii [Thu, 23 Oct 2014 16:54:25 +0000 (19:54 +0300)]
Document in the user manual variables that allow pixelwise resizing.

 doc/emacs/frames.texi (Frame Commands): Document and index
 'frame-resize-pixelwise'.
 doc/emacs/windows.texi (Split Window): Document and index
 'window-resize-pixelwise'.

10 years agoFix bug #18760 with incorrect decoding of tutorial for "About Emacs" screen.
Eli Zaretskii [Thu, 23 Oct 2014 16:32:51 +0000 (19:32 +0300)]
Fix bug #18760 with incorrect decoding of tutorial for "About Emacs" screen.

 lisp/startup.el (fancy-about-text): Read the entire tutorial, not
 just its first 256 bytes.

10 years ago* lisp/emacs-lisp/bytecomp.el: Require cl-extra.
Stefan Monnier [Thu, 23 Oct 2014 13:31:20 +0000 (09:31 -0400)]
* lisp/emacs-lisp/bytecomp.el: Require cl-extra.
* lisp/emacs-lisp/cl-extra.el: Add missing provide.

Fixes: debbugs:18804
10 years ago* Makefile.in (${srcdir}/info/dir): Make sure info directory exists (backport)
Paul Eggert [Thu, 23 Oct 2014 05:52:47 +0000 (06:52 +0100)]
* Makefile.in (${srcdir}/info/dir): Make sure info directory exists (backport)

10 years agoetc/DEBUG: Improve instructions for debugging infinite loops.
Eli Zaretskii [Wed, 22 Oct 2014 15:19:44 +0000 (18:19 +0300)]
etc/DEBUG: Improve instructions for debugging infinite loops.

10 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
Stefan Monnier [Wed, 22 Oct 2014 13:38:47 +0000 (09:38 -0400)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
all args are copyable.
(=, <, >, <=, >=): Re-enable the optimization.

Fixes: debbugs:18767
10 years ago* configure.ac: Bump version to 24.4.51 to avoid ambiguity with the old
Stefan Monnier [Wed, 22 Oct 2014 13:10:41 +0000 (09:10 -0400)]
* configure.ac: Bump version to 24.4.51 to avoid ambiguity with the old
trunk's 24.4.50.

10 years ago* xdisp.c (erase_phys_cursor): Fix confusion between window-relative and text area...
YAMAMOTO Mitsuharu [Wed, 22 Oct 2014 01:39:48 +0000 (10:39 +0900)]
* xdisp.c (erase_phys_cursor): Fix confusion between window-relative and text area-relative x-coordinates.  [Backport]

10 years ago* xdisp.c (draw_glyphs): Set clipping to highlight boundaries. [Backport]
YAMAMOTO Mitsuharu [Wed, 22 Oct 2014 01:31:37 +0000 (10:31 +0900)]
* xdisp.c (draw_glyphs): Set clipping to highlight boundaries.  [Backport]

10 years agoBump Emacs version to 24.4.50.
Eli Zaretskii [Tue, 21 Oct 2014 15:36:23 +0000 (18:36 +0300)]
Bump Emacs version to 24.4.50.

10 years ago* lisp/vc/vc-hg.el (vc-hg-log-graph): New var.
Santiago Payà i Miralta [Tue, 21 Oct 2014 00:14:07 +0000 (20:14 -0400)]
* lisp/vc/vc-hg.el (vc-hg-log-graph): New var.
(vc-hg-print-log): Use it.
(vc-hg-root-log-format): Include branch name and bookmarks; ignore
graph output.

Fixes: debbugs:17515
10 years ago* lisp/vc/diff-mode.el (diff-refine-changed): Rename from
Juri Linkov [Tue, 21 Oct 2014 00:11:58 +0000 (20:11 -0400)]
* lisp/vc/diff-mode.el (diff-refine-changed): Rename from
`diff-refine-change' for consistency with `diff-changed'.
(diff-refine-change): Add obsolete face alias.
* lisp/vc/smerge-mode.el (smerge-refined-changed): Rename from
`smerge-refined-change'.
(smerge-refined-change): Add obsolete face alias.
[Backport]

Fixes: debbugs:10181
10 years ago* lisp/url/url-vars.el (url-bug-address): Make into an obsolete alias.
Glenn Morris [Mon, 20 Oct 2014 22:45:35 +0000 (18:45 -0400)]
* lisp/url/url-vars.el (url-bug-address): Make into an obsolete alias.
* lisp/url/url-http.el (url-http-handle-authentication):
* lisp/url/url-news.el (url-news-fetch-message-id):
Use M-x report-emacs-bug in help messages.  [Backport]

10 years ago* lisp/subr.el (call-process-shell-command, process-file-shell-command):
Stefan Monnier [Mon, 20 Oct 2014 22:44:11 +0000 (18:44 -0400)]
* lisp/subr.el (call-process-shell-command, process-file-shell-command):
Make the `args' obsolete.
(start-process-shell-command, start-file-process-shell-command):
Use `declare'.

Fixes: debbugs:18409
10 years ago* lisp/skeleton.el (skeleton-autowrap): Mark as obsolete. [Backport]
Juanma Barranquero [Mon, 20 Oct 2014 22:41:19 +0000 (18:41 -0400)]
* lisp/skeleton.el (skeleton-autowrap): Mark as obsolete.  [Backport]

10 years ago* lisp/dired.el (dired-read-regexp): Make obsolete. [Backport]
Glenn Morris [Mon, 20 Oct 2014 22:39:30 +0000 (18:39 -0400)]
* lisp/dired.el (dired-read-regexp): Make obsolete.  [Backport]
(dired-mark-files-regexp, dired-mark-files-containing-regexp)
(dired-flag-files-regexp):
* lisp/dired-aux.el (dired-mark-read-regexp):
* lisp/dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.

10 years ago* lisp/progmodes/python.el (inferior-python-mode): Use add-hook.
Stefan Monnier [Mon, 20 Oct 2014 22:37:04 +0000 (18:37 -0400)]
* lisp/progmodes/python.el (inferior-python-mode): Use add-hook.

10 years ago* list/emulation/viper: Add some FIXME comments.
Stefan Monnier [Mon, 20 Oct 2014 22:35:43 +0000 (18:35 -0400)]
* list/emulation/viper: Add some FIXME comments.

10 years ago* doc/misc/eieio.texi (Accessing Slots, CLOS compatibility): Adjust wording
Stefan Monnier [Mon, 20 Oct 2014 22:23:28 +0000 (18:23 -0400)]
* doc/misc/eieio.texi (Accessing Slots, CLOS compatibility): Adjust wording
since `setf' is in core rather than in CL nowadays.

10 years ago* lisp/Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el. [Backport]
Stefan Monnier [Mon, 20 Oct 2014 22:21:56 +0000 (18:21 -0400)]
* lisp/Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.  [Backport]

10 years ago* erc/erc-track.el: Docstring fixes.
Stefan Monnier [Mon, 20 Oct 2014 22:14:21 +0000 (18:14 -0400)]
* erc/erc-track.el: Docstring fixes.

10 years agoMake most emulation packages obsolete. [Backport]
Glenn Morris [Mon, 20 Oct 2014 22:12:13 +0000 (18:12 -0400)]
Make most emulation packages obsolete.  [Backport]

* emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
* emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
* emulation/ws-mode.el: Move to obsolete/.
* doc/emacs/ack.texi (Acknowledgments): Remove some obsolete items.
* doc/emacs/misc.texi (Emulation): Remove section.
* doc/lispintro/emacs-lisp-intro.texi (Autoload): Update loaddefs.el details.
* doc/misc/efaq.texi (Finding a package with particular functionality):
Update example.
* doc/misc/vip.texi: Mention this is obsolete.

10 years ago* src/minibuf.c (history-length): Increase default from 30 to 100.
Glenn Morris [Mon, 20 Oct 2014 22:02:40 +0000 (18:02 -0400)]
* src/minibuf.c (history-length): Increase default from 30 to 100.
* lisp/cus-start.el (history-length): Bump :version.  [Backport]

10 years ago* lisp/obsolete/cc-compat.el: Make obsolete.
Stefan Monnier [Mon, 20 Oct 2014 21:55:12 +0000 (17:55 -0400)]
* lisp/obsolete/cc-compat.el: Make obsolete.

Fixes: debbugs:18561
10 years ago* lisp/epg-config.el (epg-gpg-program): Don't use the absolute names by default.
Stefan Monnier [Mon, 20 Oct 2014 21:51:44 +0000 (17:51 -0400)]
* lisp/epg-config.el (epg-gpg-program): Don't use the absolute names by default.

10 years ago* src/xdisp.c (redisplay_window): Re-run pre-redisplay-function after we
Stefan Monnier [Mon, 20 Oct 2014 21:48:58 +0000 (17:48 -0400)]
* src/xdisp.c (redisplay_window): Re-run pre-redisplay-function after we
move point.