]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years agoMerge from origin/emacs-24
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:31:20 +0000 (13:31 -0300)]
Merge from origin/emacs-24

a5f38fa Fix ChangeLog typo
c6400e1 Fix composition of characters from Syriac and Arabis scripts.
7e9dfde python.el: Fix message when sending region.
800260c python.el: Cleanup temp files even with eval errors.
ed65b91 Fix for previous commit
2dd5163 python.el: Handle file encoding for shell.
7aa506e Spelling fixes
4cd6d77 * automated/tramp-tests.el (tramp-test17-insert-directory): Do not expect a given order of "." and "..".
a41d07b Fix rendering of composed caharacters on the mode line.  (Bug#19435)
b70977c Small doc markup fixes
73c050c * doc/lispref/modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.
1783e6c ChangeLog fix
c741b1b TUTORIAL.es: Improve style consistency
f89efea TUTORIAL.es: spelling fixes
0d48826 Avoid compiler warning.

Conflicts:
doc/lispref/ChangeLog
doc/lispref/control.texi
etc/ChangeLog
lisp/ChangeLog
src/ChangeLog
test/ChangeLog

9 years agoMerge from origin/emacs-24
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:27:15 +0000 (13:27 -0300)]
Merge from origin/emacs-24

The following commit was skipped:

5fc8210 Backport: Memory leak fix and 19133 fix.

9 years agoMerge from origin/emacs-24
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:26:58 +0000 (13:26 -0300)]
Merge from origin/emacs-24

bef46ba Fix bad bug number reference, shall be 19427.

Conflicts:
src/ChangeLog

9 years agoMerge from origin/emacs-24
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:21:17 +0000 (13:21 -0300)]
Merge from origin/emacs-24

The following commit was skipped:

2566f38 Backport: Don't cache images in nsimage.m (Bug#18918).

9 years agoMerge from origin/emacs-24
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:21:17 +0000 (13:21 -0300)]
Merge from origin/emacs-24

216c6aa * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use `tramp-rsh-end-of-line', it ought to be more robust.
20cfd24 Improve indexing on the chapter/section/subsection levels.
14c3739 * lisp/progmodes/js.el (js-syntax-propertize): "return" can't be divided.
ea78112 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n" as end-of-line delimeter for passwords, when running on MS Windows.
012479a * lisp/progmodes/sh-script.el: Don't set global indent-line-function
75e114f Fix line numbers on Python shell.
d0fd23c doc/emacs/buffers.texi (Kill Buffer): Improve indexing.
8e818d1 Keep maximized when going fullscreen.
749813e python.el: Fix electric colon behavior
936d5e5 Fix last patch.
74d3b20 Fixes: debbugs:18623

Conflicts:
doc/emacs/ChangeLog
doc/lispref/ChangeLog
doc/lispref/functions.texi
lisp/ChangeLog
src/ChangeLog
src/xterm.c
test/ChangeLog

9 years agoMerge from origin/emacs-24
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:17:18 +0000 (13:17 -0300)]
Merge from origin/emacs-24

The following commit was skipped:

48a9d9f Merge branch 'emacs-24' of git.sv.gnu.org:/srv/git/emacs into emacs-24

9 years agoMerge from origin/emacs-24
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:16:44 +0000 (13:16 -0300)]
Merge from origin/emacs-24

230c010 * net/tramp-sh.el (tramp-send-command-and-read): New optional arg MARKER. (tramp-get-remote-path): Use it.

Conflicts:
lisp/ChangeLog

9 years agoMerge from origin/emacs-24
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:15:55 +0000 (13:15 -0300)]
Merge from origin/emacs-24

The following commit was skipped:

09ab6fe Merge branch 'emacs-24' of git.sv.gnu.org:/srv/git/emacs into emacs-24

9 years agoMerge from origin/emacs-24
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:15:55 +0000 (13:15 -0300)]
Merge from origin/emacs-24

2616307 * net/tramp-sh.el (tramp-send-command-and-read): New optional arg MARKER. (tramp-get-remote-path): Use it.
c773edc * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in wrong debug buffer. (tramp-gw-open-connection): Set process coding system 'binary. (tramp-gw-open-network-stream): Handle HTTP error 403.
8032fc1 * .gitignore: Ignore /conftest*.
fb420e7 * lisp/subr.el (sit-for): Tweak docstring.
061db13 Fix vc-git-dir-status-files WRT up-to-date vs edited
bb57c94 Consider electric-pair-mode in tex-mode.
7b94572 * test/automated/flymake/warnpred/test.pl: Tweak earlier change.
59c218f ChangeLog fix
db2a768 * test/automated/flymake/warnpred/test.pl: Tweak format
d9005dd src/gnutls.c (gnutls_init): Fix deprecation warning from GCC.

Conflicts:
ChangeLog
lisp/ChangeLog
src/ChangeLog
test/ChangeLog

9 years agoFix ChangeLog typo
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:10:44 +0000 (13:10 -0300)]
Fix ChangeLog typo

9 years agoelisp-xref-find: Don't create buffers eagerly
Dmitry Gutov [Sat, 27 Dec 2014 14:06:37 +0000 (16:06 +0200)]
elisp-xref-find: Don't create buffers eagerly

* lisp/emacs-lisp/find-func.el (find-function-library): New function,
extracted from `find-function-noselect'.

* lisp/progmodes/elisp-mode.el (elisp--identifier-location): Fold back
into `elisp--company-location'.
(elisp--identifier-completion-table): Rename to
`elisp--identifier-completion-table', and do not include just any
symbols with a property list.
(elisp-completion-at-point): Revert the 2014-12-25 change.
(elisp--xref-identifier-file): New function.
(elisp--xref-find-definitions): Use it.

* lisp/progmodes/xref.el (xref-elisp-location): New class.
(xref-make-elisp-location): New function.
(xref-location-marker): New implementation.

9 years agoFix composition of characters from Syriac and Arabis scripts.
Eli Zaretskii [Sat, 27 Dec 2014 12:07:06 +0000 (14:07 +0200)]
Fix composition of characters from Syriac and Arabis scripts.

 lisp/language/misc-lang.el (composition-function-table): Add Syriac
 characters and also ZWJ/ZWNJ.  See
 http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
 for the details.

9 years agoAuto-commit of loaddefs files.
Glenn Morris [Sat, 27 Dec 2014 11:17:50 +0000 (06:17 -0500)]
Auto-commit of loaddefs files.

9 years agopython.el: Fix message when sending region.
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 07:01:32 +0000 (04:01 -0300)]
python.el: Fix message when sending region.

* lisp/progmodes/python.el (python-shell-send-region): Rename argument
send-name from nomain.  Fix message.
(python-shell-send-buffer): Rename argument send-name from arg.

9 years agopython.el: Cleanup temp files even with eval errors.
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 06:38:32 +0000 (03:38 -0300)]
python.el: Cleanup temp files even with eval errors.

* lisp/progmodes/python.el (python-shell-send-file): Make file-name
mandatory.  Fix temp file removal in the majority of cases.

9 years agoFix for previous commit
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 06:32:01 +0000 (03:32 -0300)]
Fix for previous commit

9 years agopython.el: Handle file encoding for shell.
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 04:30:21 +0000 (01:30 -0300)]
python.el: Handle file encoding for shell.

* lisp/progmodes/python.el (python-rx-constituents): Add coding-cookie.
(python-shell--save-temp-file): Write file with proper encoding.
(python-shell-buffer-substring): Add coding cookie for detected
encoding to generated content.  Fix blank lines when removing
if-name-main block.
(python-shell-send-file): Handle file encoding.
(python-info-encoding-from-cookie)
(python-info-encoding): New functions.

* test/automated/python-tests.el (python-shell-buffer-substring-1)
(python-shell-buffer-substring-2, python-shell-buffer-substring-3)
(python-shell-buffer-substring-4, python-shell-buffer-substring-5)
(python-shell-buffer-substring-6, python-shell-buffer-substring-7)
(python-shell-buffer-substring-8)
(python-info-encoding-from-cookie-1)
(python-info-encoding-from-cookie-2)
(python-info-encoding-from-cookie-3)
(python-info-encoding-from-cookie-4)
(python-info-encoding-from-cookie-5)
(python-info-encoding-from-cookie-6)
(python-info-encoding-from-cookie-7, python-info-encoding-1)
(python-info-encoding-2): New tests.

9 years agoAvoid duplicate calls of window-height in with-displayed-buffer-window
Juri Linkov [Sat, 27 Dec 2014 00:54:56 +0000 (02:54 +0200)]
Avoid duplicate calls of window-height in with-displayed-buffer-window

* lisp/minibuffer.el (minibuffer-completion-help):
Use shrink-window-if-larger-than-buffer in window-height
when temp-buffer-resize-mode is nil.

* lisp/window.el (with-displayed-buffer-window): Remove window-height
from the action alist in the temp-buffer-window-show call
when window-height is handled explicitly afterwards.

Fixes: debbugs:19355
9 years agoSupport subdirectories when saving places in dired.
Juri Linkov [Sat, 27 Dec 2014 00:38:34 +0000 (02:38 +0200)]
Support subdirectories when saving places in dired.

* lisp/saveplace.el (toggle-save-place, save-place-to-alist)
(save-places-to-alist, save-place-dired-hook):
Use dired-current-directory instead of dired-directory.
(save-place-dired-hook): Add check for alist to make the new
format future-proof to allow other possible formats.

Fixes: debbugs:19436
9 years agoFix ChangeLog
Filipp Gunbin [Sat, 27 Dec 2014 00:25:59 +0000 (03:25 +0300)]
Fix ChangeLog

9 years agoUse bool for boolean in xselect.c, xsettings.c
Paul Eggert [Fri, 26 Dec 2014 21:43:00 +0000 (13:43 -0800)]
Use bool for boolean in xselect.c, xsettings.c

* xselect.c (x_get_local_selection, struct selection_data)
(x_selection_request_lisp_error, struct prop_location)
(x_handle_selection_request, x_convert_selection)
(waiting_for_other_props_on_window, expect_property_change)
(wait_for_property_change, x_handle_property_notify)
(x_get_foreign_selection, x_get_window_property)
(receive_incremental_selection)
(x_get_window_property_as_lisp_data)
(lisp_data_to_selection_data, Fx_get_selection_internal)
(x_send_client_event):
* xselect.c, xterm.h (x_handle_dnd_message):
* xsettings.c (dpyinfo_valid, parse_settings, read_settings)
(apply_xft_settings, read_and_apply_settings)
(xft_settings_event, init_gsettings, init_xsettings)
(syms_of_xsettings):
Use bool for boolean.
* xselect.c (x_get_window_property): Omit last arg, which was an
unused boolean.
* xsettings.c (apply_xft_settings): Remove 2nd arg, which was
always true.  All callers changed.

9 years agopython.el: Generate clearer shell buffer names.
Fabián Ezequiel Gallina [Fri, 26 Dec 2014 20:59:33 +0000 (17:59 -0300)]
python.el: Generate clearer shell buffer names.

* lisp/progmodes/python.el (python-shell-get-process-name)
(python-shell-internal-get-process-name): Use `buffer-name`.
(python-shell-internal-get-or-create-process): Simplify.

* test/automated/python-tests.el (python-shell-get-process-name-1)
(python-shell-internal-get-process-name-1): Cleanup.
(python-shell-get-process-name-2)
(python-shell-internal-get-process-name-2): New tests.
(python-shell-calculate-command-1)
(python-shell-calculate-process-environment-3)
(python-shell-calculate-exec-path-2, python-shell-make-comint-1)
(python-shell-make-comint-2, python-shell-make-comint-4)
(python-shell-get-process-1, python-util-clone-local-variables-1):
Replace obsolete function and variable references with current.

9 years agoRevert "Prevent Python process shell buffer to pop twice."
Fabián Ezequiel Gallina [Fri, 26 Dec 2014 20:14:18 +0000 (17:14 -0300)]
Revert "Prevent Python process shell buffer to pop twice."

This reverts commit 4256626a7ac486446f4dea9c12df3057053825a7.

9 years agoAdd basic xref apropos implementation to elisp-mode
Dmitry Gutov [Fri, 26 Dec 2014 16:34:47 +0000 (18:34 +0200)]
Add basic xref apropos implementation to elisp-mode

* lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
Filter out nil results.
(elisp--xref-find-apropos): New function.
(elisp-xref-find): Use it.

* lisp/progmodes/xref.el (xref--show-xrefs): Use `user-error'.

9 years agomake dired-maybe-insert-subdir always skip trivial files
Filipp Gunbin [Thu, 25 Dec 2014 18:17:43 +0000 (21:17 +0300)]
make dired-maybe-insert-subdir always skip trivial files

9 years agoMS-Windows followup to stpcpy changes.
Eli Zaretskii [Fri, 26 Dec 2014 09:52:24 +0000 (11:52 +0200)]
MS-Windows followup to stpcpy changes.

 src/w32proc.c (sys_spawnve, get_lcid_callback): Use strcpy instead
 of strcat.
 src/w32menu.c (add_menu_item): Use stpcpy instead of strcat.
 src/w32.c (sys_readdir, stat_worker, symlink): Use strcpy instead of
 strcat.

 nt/gnulib.mk (stpcpy, string): Sync with the latest change in
 lib/gnulib.mk.

9 years agoUse bool for boolean in xsmfns.c
Paul Eggert [Fri, 26 Dec 2014 02:42:51 +0000 (18:42 -0800)]
Use bool for boolean in xsmfns.c

* xsmfns.c, xterm.h (x_session_have_connection):
* xsmfns.c (doing_interact, smc_interact_CB, Fhandle_save_session):
Use bool for boolean.
(x_session_initialize, Fhandle_save_session):
Prefer NILP (x) to EQ (x, Qnil).

9 years agoSpelling fixes
Paul Eggert [Fri, 26 Dec 2014 02:18:42 +0000 (18:18 -0800)]
Spelling fixes

9 years agoSpelling fixes
Paul Eggert [Fri, 26 Dec 2014 02:07:15 +0000 (18:07 -0800)]
Spelling fixes

9 years agoPrefer stpcpy to strcat
Paul Eggert [Thu, 25 Dec 2014 12:19:17 +0000 (04:19 -0800)]
Prefer stpcpy to strcat

* admin/merge-gnulib (GNULIB_MODULES): Add stpcpy.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/stpcpy.c, m4/stpcpy.m4: New files, from gnulib.
* lib-src/ebrowse.c (sym_scope_1, operator_name, open_file):
* lib-src/emacsclient.c (get_server_config, set_local_socket)
(start_daemon_and_retry_set_socket):
* lib-src/etags.c (main, C_entries, relative_filename):
* lib-src/pop.c (sendline):
* lib-src/update-game-score.c (main):
* lwlib/xlwmenu.c (resource_widget_value):
* src/callproc.c (child_setup):
* src/dbusbind.c (xd_signature_cat):
* src/doc.c (get_doc_string, Fsnarf_documentation):
* src/editfns.c (Fuser_full_name):
* src/frame.c (xrdb_get_resource):
* src/gtkutil.c (xg_get_file_with_chooser):
* src/tparam.c (tparam1):
* src/xfns.c (xic_create_fontsetname):
* src/xrdb.c (gethomedir, get_user_db, get_environ_db):
* src/xsmfns.c (smc_save_yourself_CB):
Rewrite to avoid the need for strcat, typically by using stpcpy
and/or lispstpcpy.  strcat tends to be part of O(N**2) algorithms.
* src/doc.c (sibling_etc):
* src/xrdb.c (xdefaults):
Now a top-level static constant.

9 years ago* automated/tramp-tests.el (tramp-test17-insert-directory): Do not
Michael Albinus [Thu, 25 Dec 2014 21:00:08 +0000 (22:00 +0100)]
* automated/tramp-tests.el (tramp-test17-insert-directory): Do not
expect a given order of "." and "..".

9 years agoRegenerate ldefs-boot.el
Dmitry Gutov [Thu, 25 Dec 2014 20:18:36 +0000 (22:18 +0200)]
Regenerate ldefs-boot.el

9 years agoConsolidate cross-referencing commands
Dmitry Gutov [Thu, 25 Dec 2014 20:08:19 +0000 (22:08 +0200)]
Consolidate cross-referencing commands

Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
`C-x 5 .' from etags.el to xref.el.

* progmodes/xref.el: New file.

* progmodes/elisp-mode.el (elisp--identifier-types): New variable.
(elisp--identifier-location): New function, extracted from
`elisp--company-location'.
(elisp--company-location): Use it.
(elisp--identifier-completion-table): New variable.
(elisp-completion-at-point): Use it.
(emacs-lisp-mode): Set the local values of `xref-find-function'
and `xref-identifier-completion-table-function'.
(elisp-xref-find, elisp--xref-find-definitions)
(elisp--xref-identifier-completion-table): New functions.

* progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
favor of `xref--marker-ring'.
(tags-lazy-completion-table): Autoload.
(tags-reset-tags-tables): Use `xref-clear-marker-stack'.
(find-tag-noselect): Use `xref-push-marker-stack'.
(pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
(etags--xref-limit): New constant.
(etags-xref-find, etags--xref-find-definitions): New functions.

9 years ago* etc/NEWS: Mention new buffer display behavior for `shell'.
Karl Fogel [Thu, 25 Dec 2014 19:28:51 +0000 (13:28 -0600)]
* etc/NEWS: Mention new buffer display behavior for `shell'.

This follows up to Sam Steingold's change of 2014-12-23
in ../lisp/shell.el, in git commit e55a467ec0f758c311d3.

9 years agoFix rendering of composed caharacters on the mode line. (Bug#19435)
Eli Zaretskii [Thu, 25 Dec 2014 15:38:15 +0000 (17:38 +0200)]
Fix rendering of composed caharacters on the mode line.  (Bug#19435)

 src/xdisp.c (set_iterator_to_next) <GET_FROM_STRING>: Limit search in
 composition_compute_stop_pos to the number of characters in the
 string.
 <GET_FROM_BUFFER, GET_FROM_STRING>: Simplify code.
 src/composite.c (composition_compute_stop_pos): If no composition
 was found in a string before ENDPOS, and ENDPOS is the string end,
 no need to back up to a safe point.
 src/dispextern.h (struct it) <end_charpos>: Improve commentary.

9 years agoMake `resize-mini-windows' customizable and update documentation for it.
Martin Rudalics [Thu, 25 Dec 2014 13:13:26 +0000 (14:13 +0100)]
Make `resize-mini-windows' customizable and update documentation for it.

* cus-start.el (resize-mini-windows): Make it customizable.
* minibuf.texi (Minibuffer Windows): Add descriptions of
`resize-mini-windows' and `max-mini-window-height'.

9 years agoResync @menu order with @node order.
Martin Rudalics [Thu, 25 Dec 2014 09:59:21 +0000 (10:59 +0100)]
Resync @menu order with @node order.

9 years ago* doc/lispref/windows.texi (Windows): Sync @menu order with @node order.
Glenn Morris [Thu, 25 Dec 2014 01:10:21 +0000 (17:10 -0800)]
* doc/lispref/windows.texi (Windows): Sync @menu order with @node order.

9 years ago* doc/lispref/sequences.texi (Sequence Functions): Copyedits.
Glenn Morris [Thu, 25 Dec 2014 00:55:57 +0000 (16:55 -0800)]
* doc/lispref/sequences.texi (Sequence Functions): Copyedits.

9 years agoMarkup fixes for doc/lispref
Glenn Morris [Thu, 25 Dec 2014 00:54:55 +0000 (16:54 -0800)]
Markup fixes for doc/lispref

* doc/lispref/control.texi (Pattern matching case statement):
* doc/lispref/positions.texi (List Motion):
* doc/lispref/streams.texi (Output Functions):
* doc/lispref/strings.texi (Text Comparison):
* doc/lispref/text.texi (Document Object Model):
Markup fixes.

9 years agoSmall doc markup fixes
Glenn Morris [Thu, 25 Dec 2014 00:00:44 +0000 (16:00 -0800)]
Small doc markup fixes

* doc/lispref/control.texi (Pattern matching case statement):
* doc/lispref/os.texi (Desktop Notifications): Markup fixes.

9 years ago* doc/lispref/modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.
Glenn Morris [Wed, 24 Dec 2014 23:57:34 +0000 (15:57 -0800)]
* doc/lispref/modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.

9 years agoauthors.el updates
Glenn Morris [Wed, 24 Dec 2014 23:19:52 +0000 (15:19 -0800)]
authors.el updates

* admin/authors.el (authors-obsolete-files-regexps)
(authors-ignored-files, authors-valid-file-names)
(authors-renamed-files-alist, authors-renamed-files-regexps):
Additions.

9 years agoChangeLog fixes
Glenn Morris [Wed, 24 Dec 2014 23:19:25 +0000 (15:19 -0800)]
ChangeLog fixes

9 years agoChangeLog fixes
Glenn Morris [Wed, 24 Dec 2014 23:02:41 +0000 (15:02 -0800)]
ChangeLog fixes

9 years agoChangeLog fixes
Glenn Morris [Wed, 24 Dec 2014 22:50:50 +0000 (14:50 -0800)]
ChangeLog fixes

9 years agoChangeLog fix
Glenn Morris [Wed, 24 Dec 2014 22:43:12 +0000 (14:43 -0800)]
ChangeLog fix

9 years agoTUTORIAL.es: Improve style consistency
Álvar Ibeas [Wed, 24 Dec 2014 19:15:05 +0000 (20:15 +0100)]
TUTORIAL.es: Improve style consistency

* tutorials/TUTORIAL.es: Improve style consistency.

9 years agoTUTORIAL.es: spelling fixes
Álvar Ibeas [Wed, 24 Dec 2014 19:09:46 +0000 (20:09 +0100)]
TUTORIAL.es: spelling fixes

* tutorials/TUTORIAL.es: Spelling fixes.

9 years agoHandle glitch in delayed autoselection of windows.
Martin Rudalics [Wed, 24 Dec 2014 18:37:45 +0000 (19:37 +0100)]
Handle glitch in delayed autoselection of windows.

* window.el (mouse-autoselect-window-position-1): New variable.
(mouse-autoselect-window-cancel)
(mouse-autoselect-window-select, handle-select-window): With
delayed autoselection select window only if mouse moves after
selecting its frame.

9 years agoresolve ChangeLog merge conflict
Stephen Leake [Wed, 24 Dec 2014 13:42:40 +0000 (07:42 -0600)]
resolve ChangeLog merge conflict

9 years agoAvoid compiler warning.
Jan D [Wed, 24 Dec 2014 11:26:25 +0000 (12:26 +0100)]
Avoid compiler warning.

* nsimage.m (setPixmapData): Rename local variable bmRep to avoid
compiler warning.

9 years agoBackport: Memory leak fix and 19133 fix.
Jan D [Wed, 24 Dec 2014 11:24:14 +0000 (12:24 +0100)]
Backport: Memory leak fix and 19133 fix.

Fixes: debbugs:19133
* nsimage.m (allocInitFromFile:): Initialize bmRep.
(dealloc): Release bmRep.
(setPixmapData): Make bmRep local so class member is not
set.

9 years agoFix bad bug number reference, shall be 19427.
Jan D [Wed, 24 Dec 2014 11:12:19 +0000 (12:12 +0100)]
Fix bad bug number reference, shall be 19427.

9 years agoBackport: Don't cache images in nsimage.m (Bug#18918).
Jan D [Wed, 24 Dec 2014 11:10:01 +0000 (12:10 +0100)]
Backport: Don't cache images in nsimage.m (Bug#18918).

Fixes: Bug#18918
* nsterm.h (EmacsImage): Remove imageListNext, refCount, reference,
imageListSetNext, imageListNext.

* nsimage.m (ImageList, imageListNext, imageListSetNext:)
(reference): Remove.
(allocInitFromFile:): Remove searching ImageList and calling
reference (Bug#18918).
(dealloc): Remove handling if ImageList.

9 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Michael Albinus [Wed, 24 Dec 2014 08:58:49 +0000 (09:58 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Use `tramp-rsh-end-of-line', it ought to be more robust.

9 years agoeshell/esh-ext.el: Expand relative remote file names.
Michael Albinus [Wed, 24 Dec 2014 08:52:18 +0000 (09:52 +0100)]
eshell/esh-ext.el: Expand relative remote file names.

Fixes: debbugs:18782
* eshell/esh-ext.el (eshell-find-interpreter): Expand relative
remote file names.

9 years ago* CONTRIBUTE: add Savannah url, cleanup announcing freeze.
Stephen Leake [Tue, 23 Dec 2014 23:38:57 +0000 (17:38 -0600)]
* CONTRIBUTE: add Savannah url, cleanup announcing freeze.

9 years agoMove user-level information from CONTRIBUTE to doc/emacs/trouble.texi
Stephen Leake [Tue, 23 Dec 2014 19:11:45 +0000 (13:11 -0600)]
Move user-level information from CONTRIBUTE to doc/emacs/trouble.texi

Fixes bug#19299

* CONTRIBUTE: Move user-level information to doc/emacs/trouble.texi
  (commit messages): new, gathered from comments on emacs-devel
  (Changelog notes): add reference to GNU coding standards section 5.2;
  doc 'present tense', bug fix format
  (branches): freeze announcements are made on info-gnu-emacs mailing
  list
  (git vs rename): new

* doc/emacs/trouble.texi: Move user-level information from CONTRIBUTE here

* lisp/startup.el (fancy-about-text): change buttons for etc/CONTRIBUTE
  to (info "(emacs)Contributing")

9 years agoImprove indexing on the chapter/section/subsection levels.
Eli Zaretskii [Tue, 23 Dec 2014 18:42:30 +0000 (20:42 +0200)]
Improve indexing on the chapter/section/subsection levels.

 doc/lispref/windows.texi (Recombining Windows): Index subject of sections.
 doc/lispref/variables.texi (Variables with Restricted Values)
 (Generalized Variables): Index subject of sections.
 doc/lispref/text.texi (Buffer Contents, Examining Properties)
 (Changing Properties, Property Search, Substitution): Index
 subject of sections.
 doc/lispref/syntax.texi (Motion and Syntax, Parsing Expressions)
 (Motion via Parsing, Position Parse, Control Parsing): Index
 subject of sections.
 doc/lispref/strings.texi (Predicates for Strings, Creating Strings)
 (Modifying Strings, Text Comparison): Index subject of sections.
 doc/lispref/searching.texi (Syntax of Regexps, Regexp Special)
 (Regexp Functions, Regexp Functions): Index subject of sections.
 doc/lispref/processes.texi (Subprocess Creation, Process Information): Index
 subject of sections.
 doc/lispref/positions.texi (Screen Lines): Index subject of sections.
 doc/lispref/nonascii.texi (Scanning Charsets, Specifying Coding Systems):
 Index subject of sections.
 doc/lispref/minibuf.texi (Text from Minibuffer, Object from Minibuffer)
 (Multiple Queries, Minibuffer Contents): Index subject of
 sections.
 doc/lispref/markers.texi (Predicates on Markers, Creating Markers)
 (Information from Markers, Moving Markers): Index subject of
 sections.
 doc/lispref/macros.texi (Defining Macros, Problems with Macros): Index
 subject of sections.
 doc/lispref/loading.texi (Loading Non-ASCII, Where Defined): Index subject
 of sections.
 doc/lispref/lists.texi (List-related Predicates, List Variables, Setcar)
 (Setcdr, Plist Access): Index subject of sections.
 doc/lispref/keymaps.texi (Controlling Active Maps, Scanning Keymaps)
 (Modifying Menus): Index subject of sections.
 doc/lispref/help.texi (Accessing Documentation, Help Functions): Index
 subject of sections.
 doc/lispref/hash.texi (Hash Access): Index subject of sections.
 doc/lispref/functions.texi (Core Advising Primitives)
 (Advising Named Functions, Porting old advices): Index subject of
 sections.
 doc/lispref/frames.texi (Creating Frames, Initial Parameters)
 (Position Parameters, Buffer Parameters, Minibuffers and Frames)
 (Pop-Up Menus, Drag and Drop): Index subject of sections.
 doc/lispref/files.texi (Visiting Functions, Kinds of Files)
 (Unique File Names): Index subject of sections.
 doc/lispref/display.texi (Refresh Screen, Echo Area Customization)
 (Warning Variables, Warning Options, Delayed Warnings)
 (Temporary Displays, Managing Overlays, Overlay Properties)
 (Finding Overlays, Size of Displayed Text, Defining Faces)
 (Attribute Functions, Displaying Faces, Face Remapping)
 (Basic Faces, Font Lookup, Fontsets, Replacing Specs)
 (Defining Images, Showing Images): Index subject of sections.
 doc/lispref/debugging.texi (Debugging, Explicit Debug)
 (Invoking the Debugger, Excess Open, Excess Close): Index subject
 of sections.
 doc/lispref/customize.texi (Defining New Types, Applying Customizations)
 (Custom Themes): Index subject of sections.
 doc/lispref/control.texi (Sequencing, Combining Conditions)
 (Processing of Errors, Cleanups): Index subject of sections.
 doc/lispref/compile.texi (Eval During Compile): Index subject of sections.
 doc/lispref/commands.texi (Using Interactive, Distinguish Interactive)
 (Command Loop Info, Classifying Events, Event Mod)
 (Invoking the Input Method): Index subject of sections.
 doc/lispref/buffers.texi (Buffer List, Buffer Gap): Index subject of sections.
 doc/lispref/backups.texi (Making Backups, Numbered Backups, Backup Names)
 (Reverting): Index subject of sections.
 doc/lispref/abbrevs.texi (Abbrev Tables, Defining Abbrevs, Abbrev Files)
 (Abbrev Expansion, Standard Abbrev Tables, Abbrev Properties)
 (Abbrev Table Properties): Index subject of sections.
 doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing)
 (Time Calculations, Idle Timers): Index subject of sections.

9 years agofix bad merge
Sam Steingold [Tue, 23 Dec 2014 18:24:30 +0000 (13:24 -0500)]
fix bad merge

9 years agoUse a new user option instead of hard-coding shell display.
Sam Steingold [Tue, 23 Dec 2014 16:44:45 +0000 (11:44 -0500)]
Use a new user option instead of hard-coding shell display.

* lisp/shell.el (shell-display-buffer-actions): New user option.
(shell): Pass it to `pop-to-buffer' instead of hard-coding
`pop-to-buffer-same-window'.

9 years ago(js-syntax-propertize-regexp): Recognize "slash in a character class"
Stefan Monnier [Tue, 23 Dec 2014 16:17:55 +0000 (11:17 -0500)]
(js-syntax-propertize-regexp): Recognize "slash in a character class"

Fixes: debbugs:19397
* lisp/progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
(js-syntax-propertize-regexp): Use it to recognize "slash in
a character class".

9 years ago* lisp/progmodes/js.el (js-syntax-propertize): "return" can't be divided.
Stefan Monnier [Tue, 23 Dec 2014 15:50:36 +0000 (10:50 -0500)]
* lisp/progmodes/js.el (js-syntax-propertize): "return" can't be divided.

Fixes: debbugs:19397
9 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
Michael Albinus [Tue, 23 Dec 2014 13:17:00 +0000 (14:17 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
as end-of-line delimeter for passwords, when running on MS Windows.

* net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.

9 years agoFixes: debbugs:19396
Didier Verna [Tue, 23 Dec 2014 07:55:00 +0000 (08:55 +0100)]
Fixes: debbugs:19396
* nsselect.m (Fns_selection_owner_p): Return a Lisp boolean, not a
C one.

9 years ago* lisp/progmodes/sh-script.el: Don't set global indent-line-function
Stefan Monnier [Tue, 23 Dec 2014 04:22:20 +0000 (23:22 -0500)]
* lisp/progmodes/sh-script.el: Don't set global indent-line-function

Fixes: debbugs:19433
(sh-set-shell): Don't change the global value of indent-line-function.

9 years agoFix line numbers on Python shell.
Fabián Ezequiel Gallina [Tue, 23 Dec 2014 03:45:22 +0000 (00:45 -0300)]
Fix line numbers on Python shell.

* lisp/progmodes/python.el (python-shell--save-temp-file): Do not
append coding cookie.
(python-shell-send-string): Generalize for
python-shell-send-region.
(python--use-fake-loc): Delete var.
(python-shell-buffer-substring): Cleanup fake-loc logic.
(python-shell-send-region): Remove fake-loc logic, simplify.

9 years agoMerge from gnulib
Paul Eggert [Tue, 23 Dec 2014 02:42:50 +0000 (18:42 -0800)]
Merge from gnulib

2014-12-20 utimens: remove unnecessary assert
2014-12-16 stdalign: port better to HP compilers
2014-12-16 stdalign: work around Apple GCC 4.0 bug
* lib/stdalign.in.h, lib/utimens.c, m4/stdalign.m4: Update from gnulib.

9 years agodoc/emacs/buffers.texi (Kill Buffer): Improve indexing.
Eli Zaretskii [Mon, 22 Dec 2014 18:23:06 +0000 (20:23 +0200)]
doc/emacs/buffers.texi (Kill Buffer): Improve indexing.

9 years ago* lisp/cedet: Reduce reliance on EIEIO internals.
Stefan Monnier [Mon, 22 Dec 2014 17:43:23 +0000 (12:43 -0500)]
* lisp/cedet: Reduce reliance on EIEIO internals.

* lisp/cedet/ede/generic.el (ede-find-target): Prefer \` and \' to ^ and $.

* lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag): Prefer find-class over
class-v.

* lisp/cedet/semantic/db.el (semanticdb-cache-get): Prefer eieio-object-class over
eieio--object-class.

* lisp/cedet/srecode/srt-mode.el (srecode-macro-help): Use eieio-class-children.

9 years ago* lisp/completion.el: Use post-self-insert-hook.
Stefan Monnier [Mon, 22 Dec 2014 17:35:29 +0000 (12:35 -0500)]
* lisp/completion.el: Use post-self-insert-hook.

Fixes: debbugs:19400
(completion-separator-self-insert-command)
(completion-separator-self-insert-autofilling): Remove.
(completion-separator-chars): New var.
(completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
of changing the keymap.
(completion--post-self-insert): New function.
(dynamic-completion-mode): Use it instead of rebinding keys.
(cmpl--completion-string): Rename from completion-string.
(add-completion-to-head, delete-completion): Let-bind it explicitly.

9 years agoSimplify ruby--string-region
Bozhidar Batsov [Mon, 22 Dec 2014 15:03:32 +0000 (17:03 +0200)]
Simplify ruby--string-region

* progmodes/ruby-mode.el (ruby--string-region): Simplify code
by leveraging `syntax-ppss'.

9 years agolet-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
Artur Malabarba [Mon, 22 Dec 2014 12:36:30 +0000 (10:36 -0200)]
let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.

9 years agoKeep maximized when going fullscreen.
Jan D [Mon, 22 Dec 2014 10:04:24 +0000 (11:04 +0100)]
Keep maximized when going fullscreen.

Author:
Fixes: Bug#19427
* xterm.c (do_ewmh_fullscreen): Don't remove maximized_horz/vert
when going to fullscreen (Bug#19427).

9 years agoFix setting icon for Gtk+ on non-initial frame.
Jan D [Mon, 22 Dec 2014 08:19:37 +0000 (09:19 +0100)]
Fix setting icon for Gtk+ on non-initial frame.

Fixes: debbugs:19403
* xterm.c (x_bitmap_icon): Partly revert change from 2014-03-21 which
breaks icon setting for Gtk+ except for initial frame.

9 years agopython.el: Fix electric colon behavior
Fabián Ezequiel Gallina [Mon, 22 Dec 2014 05:24:42 +0000 (02:24 -0300)]
python.el: Fix electric colon behavior

* lisp/progmodes/python.el (python-indent-post-self-insert-function):
Make colon to re-indent only for dedenters, handling
multiline-statements gracefully.

* test/automated/python-tests.el (python-indent-electric-colon-2)
(python-indent-electric-colon-3): New tests.

9 years agoRemove obsolete references to pre-C99 builds
Paul Eggert [Mon, 22 Dec 2014 04:03:09 +0000 (20:03 -0800)]
Remove obsolete references to pre-C99 builds

* doc/lispref/internals.texi (C Integer Types):
Don't mention pre-C99 compilers.

9 years agoUse bool for boolean in xterm.c
Paul Eggert [Mon, 22 Dec 2014 03:35:30 +0000 (19:35 -0800)]
Use bool for boolean in xterm.c

* frame.h, nsterm.m, w32term.c, w32term.h, xterm.c:
(x_set_window_size, x_bitmap_icon):
* nsterm.m (ns_frame_raise_lower, x_new_font):
* termhooks.h (struct terminal.toggle_invisible_pointer_hook)
(struct terminal.frame_raise_lower_hook):
* w32term.c (w32_frame_raise_lower):
* xterm.c, xterm.h (x_text_icon):
* xterm.c (x_update_window_begin, x_update_window_end)
(x_update_end, x_after_update_window_line)
(x_set_glyph_string_gc, x_draw_glyph_string_background)
(x_draw_glyph_string_foreground)
(x_draw_composite_glyph_string_foreground)
(x_alloc_lighter_color, x_draw_relief_rect)
(x_draw_glyph_string_box, x_draw_image_relief)
(x_draw_image_glyph_string, x_draw_stretch_glyph_string)
(x_draw_underwave, x_draw_glyph_string, x_show_hourglass)
(x_hide_hourglass):
(XFillRectangle) [HAVE_GTK3]:
(XTtoggle_invisible_pointer, frame_highlight, frame_unhighlight)
(x_focus_changed, x_find_modifier_meanings, note_mouse_movement)
(XTmouse_position, xt_action_hook, xt_horizontal_action_hook)
(x_send_scroll_bar_event, xm_scroll_callback)
(xg_scroll_callback, xaw_jump_callback, xaw_scroll_callback)
(x_create_toolkit_scroll_bar)
(x_create_horizontal_toolkit_scroll_bar)
(x_set_toolkit_horizontal_scroll_bar_thumb, x_scroll_bar_create)
(x_scroll_bar_set_handle, XTset_vertical_scroll_bar)
(XTset_horizontal_scroll_bar, x_scroll_bar_expose)
(x_scroll_bar_handle_click, x_scroll_bar_note_movement)
(x_scroll_bar_report_motion)
(x_horizontal_scroll_bar_report_motion, x_net_wm_state)
(handle_one_xevent, XTread_socket, x_draw_bar_cursor)
(x_draw_window_cursor, x_clear_errors)
(x_trace_wire, x_new_font, x_set_offset, wm_supports)
(set_wm_state, x_set_sticky, get_current_wm_state)
(do_ewmh_fullscreen, x_handle_net_wm_state)
(x_check_expected_move, x_sync_with_move, x_wait_for_event)
(x_set_window_size_1, XTframe_raise_lower)
(x_make_frame_visible, x_iconify_frame)
(x_timeout_atimer_activated_flag, same_x_server, x_display_ok)
(x_term_init, x_process_timeouts, x_activate_timeout_atimer)
(x_delete_terminal, x_initialize, syms_of_xterm):
Use bool for boolean.

9 years agoFixes: debbugs:19269
Lars Ingebrigtsen [Sun, 21 Dec 2014 12:21:16 +0000 (13:21 +0100)]
Fixes: debbugs:19269
* lisp/net/nsm.el (nsm-save-host): Don't save the host name twice.

9 years agoFix last patch.
Michael Albinus [Sun, 21 Dec 2014 15:19:26 +0000 (16:19 +0100)]
Fix last patch.

9 years agoFixes: debbugs:18623
Michael Albinus [Sun, 21 Dec 2014 11:10:31 +0000 (12:10 +0100)]
Fixes: debbugs:18623
* net/tramp.el (tramp-handle-insert-file-contents):
Set `find-file-not-found-functions' in case of errors.

9 years agoFix typo in charset_ordered_list_tick patch
Paul Eggert [Sat, 20 Dec 2014 23:52:36 +0000 (15:52 -0800)]
Fix typo in charset_ordered_list_tick patch

9 years ago* composite.h (struct composition.width): Now int
Paul Eggert [Sat, 20 Dec 2014 23:49:04 +0000 (15:49 -0800)]
* composite.h (struct composition.width): Now int

instead of unsigned short, as we prefer signed integers.

9 years agoLet charset tick grow past USHRT_MAX
Paul Eggert [Sat, 20 Dec 2014 23:20:56 +0000 (15:20 -0800)]
Let charset tick grow past USHRT_MAX

* charset.c, charset.h (charset_ordered_list_tick):
Now EMACS_UINT, not unsigned short.
* fontset.c (reorder_font_vector): Allow the tick to grow to the
maximum representable Emacs integer value before wrapping it around.

9 years agoSimplify unexec file mode setting
Paul Eggert [Sat, 20 Dec 2014 21:11:40 +0000 (13:11 -0800)]
Simplify unexec file mode setting

* unexaix.c, unexcoff.c, unexelf.c, unexmacosx.c:
Don't include <sys/stat.h> when no longer needed.
(unexec): Create file with correct mode in the first place,
rather than overwriting the mode later and fiddling with the
global umask in the mean time.  Avoid bogus usage like
'umask (777)', which should have been 'umask (0777)'.
(mark_x): Remove. All callers removed.

9 years ago* net/tramp-sh.el (tramp-histfile-override): Add :version.
Michael Albinus [Sat, 20 Dec 2014 12:09:49 +0000 (13:09 +0100)]
* net/tramp-sh.el (tramp-histfile-override): Add :version.

9 years ago* net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
Ted Zlatanov [Sat, 20 Dec 2014 11:14:04 +0000 (06:14 -0500)]
* net/tramp-sh.el (tramp-histfile-override): Clarify docstring.

9 years ago* buffer.c (syms_of_buffer): Omit unneeded staticpros.
Paul Eggert [Fri, 19 Dec 2014 22:20:12 +0000 (14:20 -0800)]
* buffer.c (syms_of_buffer): Omit unneeded staticpros.

9 years ago* let-alist.el (let-alist): Enable access to deeper alists
Artur Malabarba [Fri, 19 Dec 2014 20:25:06 +0000 (18:25 -0200)]
* let-alist.el (let-alist): Enable access to deeper alists

Acces them by using extra dots inside the dotted symbols.

9 years agoMake C++11 uniform init syntax work. New keywords "final" and "override"
Alan Mackenzie [Fri, 19 Dec 2014 18:35:14 +0000 (18:35 +0000)]
Make C++11 uniform init syntax work.  New keywords "final" and "override"

cc-engine.el (c-back-over-member-initializer-braces): New function.
(c-guess-basic-syntax): Set `containing-sex' and `lim' using the new
function.

cc-fonts.el (c-font-lock-declarations): Check more carefully for "are we
at a declarator?" using c-back-over-member-initializers.

cc-langs.el (c-type-modifier-kwds): include "final" and "override" in
the
C++ value.

9 years agoIn `ispell-command-loop' don't use `next-window'.
Martin Rudalics [Fri, 19 Dec 2014 17:59:54 +0000 (18:59 +0100)]
In `ispell-command-loop' don't use `next-window'.

* textmodes/ispell.el (ispell-command-loop): Don't use
`next-window'.

9 years ago* automated/let-alist.el: require `cl-lib'
Artur Malabarba [Fri, 19 Dec 2014 13:07:47 +0000 (11:07 -0200)]
* automated/let-alist.el: require `cl-lib'

9 years agoMerge branch 'emacs-24' of git.sv.gnu.org:/srv/git/emacs into emacs-24
Michael Albinus [Fri, 19 Dec 2014 11:56:52 +0000 (12:56 +0100)]
Merge branch 'emacs-24' of git.sv.gnu.org:/srv/git/emacs into emacs-24

Conflicts:
lisp/ChangeLog

9 years ago* net/tramp-sh.el (tramp-send-command-and-read): New optional arg MARKER.
Michael Albinus [Fri, 19 Dec 2014 11:51:42 +0000 (12:51 +0100)]
* net/tramp-sh.el (tramp-send-command-and-read): New optional arg MARKER.
(tramp-get-remote-path): Use it.

9 years agoMerge branch 'emacs-24' of git.sv.gnu.org:/srv/git/emacs into emacs-24
Michael Albinus [Fri, 19 Dec 2014 11:48:49 +0000 (12:48 +0100)]
Merge branch 'emacs-24' of git.sv.gnu.org:/srv/git/emacs into emacs-24

Conflicts:
lisp/ChangeLog

9 years ago* net/tramp-sh.el (tramp-send-command-and-read): New optional arg MARKER.
Michael Albinus [Fri, 19 Dec 2014 11:45:01 +0000 (12:45 +0100)]
* net/tramp-sh.el (tramp-send-command-and-read): New optional arg MARKER.
(tramp-get-remote-path): Use it.

9 years agoFix content decoding in gnus-read-ephemeral-bug-group
Andreas Schwab [Fri, 19 Dec 2014 10:47:51 +0000 (11:47 +0100)]
Fix content decoding in gnus-read-ephemeral-bug-group

* gnus-group.el (gnus-read-ephemeral-bug-group): Bind
coding-system-for-read and coding-system-for-write only around
with-temp-file, and make buffer unibyte.  Don't write temp file twice.

9 years agoIn NEWS mark `preserve-window-size' as +++.
Martin Rudalics [Fri, 19 Dec 2014 10:32:39 +0000 (11:32 +0100)]
In NEWS mark `preserve-window-size' as +++.

9 years agoDescribe window size preserving options.
Martin Rudalics [Fri, 19 Dec 2014 10:27:43 +0000 (11:27 +0100)]
Describe window size preserving options.

* windows.texi (Resizing Windows): Describe new argument of
`fit-window-to-buffer'.  Move description of `window-size-fixed'
to new section below.
(Preserving Window Sizes): New section describing
`window-size-fixed' and `window-preserve-size'.
(Display Action Functions): Describe `preserve-size' alist
entry.
(Window Parameters): Describe `preserved-size' parameter.