Eli Zaretskii [Sun, 4 Jan 2015 15:51:35 +0000 (17:51 +0200)]
src/emacs.c (syms_of_emacs) <system-configuration>: Doc fix. (Bug#19502)
Dmitry Gutov [Sun, 4 Jan 2015 00:24:53 +0000 (03:24 +0300)]
Backport: Unbreak `mouse-action' property in text buttons
* lisp/button.el (push-button): Fix regression from 2012-12-06.
(cherry picked from commit
d94007484ab6b98054b043c1bedeaf7a58eb8606)
Glenn Morris [Sat, 3 Jan 2015 01:30:52 +0000 (17:30 -0800)]
* admin/update_autogen (commit): Prepend "# " to commit message.
Glenn Morris [Fri, 2 Jan 2015 12:22:18 +0000 (07:22 -0500)]
Auto-commit of loaddefs files.
Paul Eggert [Thu, 1 Jan 2015 17:18:59 +0000 (09:18 -0800)]
Fix copyright years by hand
These are dates that admin/update-copyright did not update,
or updated incorrectly.
Paul Eggert [Thu, 1 Jan 2015 17:18:06 +0000 (09:18 -0800)]
Update copyright year to 2015
Run admin/update-copyright.
Paul Eggert [Thu, 1 Jan 2015 16:58:26 +0000 (08:58 -0800)]
* .gitattributes: New file.
Eli Zaretskii [Thu, 1 Jan 2015 15:29:51 +0000 (17:29 +0200)]
Make sure tool-bar changes are reflected on display.
lisp/tool-bar.el (tool-bar-local-item)
(tool-bar-local-item-from-menu): Call force-mode-line-update to
make sure the tool-bar changes show on display.
Paul Eggert [Wed, 31 Dec 2014 15:15:09 +0000 (07:15 -0800)]
* autogen.sh: Port better to non-GNU 'cp'.
Problem reported by Han Boetes.
Eli Zaretskii [Tue, 30 Dec 2014 19:51:34 +0000 (21:51 +0200)]
Fix a typo in a comment in the previous commit.
Eli Zaretskii [Tue, 30 Dec 2014 17:29:24 +0000 (19:29 +0200)]
Fix the pixel coordinates returned by pos-visible-in-window-p. (Bug#19473)
src/xdisp.c (pos_visible_p): Fix up the X coordinate for
right-to-left screen lines.
Michael Albinus [Tue, 30 Dec 2014 11:45:48 +0000 (12:45 +0100)]
* automated/tramp-tests.el (tramp--test-smb-or-windows-nt-p):
New defun.
(tramp-test30-special-characters): Use it.
(tramp--test-check-files): Filter nil file names out.
Paul Eggert [Tue, 30 Dec 2014 06:39:10 +0000 (22:39 -0800)]
Omit trailing white space
This should simplify switching to automated ChangeLogs.
Michael Albinus [Mon, 29 Dec 2014 16:37:37 +0000 (17:37 +0100)]
Sync with Tramp 2.2.11.
* trampver.texi: Update release number.
Michael Albinus [Mon, 29 Dec 2014 16:35:09 +0000 (17:35 +0100)]
Sync with Tramp 2.2.11.
* automated/tramp-tests.el (tramp-test30-special-characters):
Skip test on MS-Windows.
Michael Albinus [Mon, 29 Dec 2014 16:31:15 +0000 (17:31 +0100)]
Sync with Tramp 2.2.11.
* net/tramp-compat.el (top): Require cl-macs for Emacs 22.
Make an alias for `default-toplevel-value' if it doesn't exist.
* net/tramp-smb.el (tramp-smb-handle-copy-directory):
Use `tramp-compat-delete-directory'.
* net/trampver.el: Update release number.
Michael Albinus [Mon, 29 Dec 2014 15:27:09 +0000 (16:27 +0100)]
Fix ChangeLog entry.
Filipp Gunbin [Mon, 29 Dec 2014 14:33:11 +0000 (17:33 +0300)]
Fix auto-revert-tail-mode for remote files
Fixes: debbugs:19449
* autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode for
remote files (bug#19449)
Paul Eggert [Sun, 28 Dec 2014 23:06:16 +0000 (15:06 -0800)]
Spelling fixes
Eli Zaretskii [Sun, 28 Dec 2014 18:32:53 +0000 (20:32 +0200)]
src/w32proc.c (Fw32_get_codepage_charset): Doc fix. (Bug#19458)
Paul Eggert [Sun, 28 Dec 2014 18:05:14 +0000 (10:05 -0800)]
* build-aux/git-hooks/commit-msg: Allow tabs.
Treat them as if they were expanded to spaces, with tab stops
every 8 columns.
Eli Zaretskii [Sun, 28 Dec 2014 15:43:43 +0000 (17:43 +0200)]
lisp/international/mule.el (define-coding-system): Fix typos in the doc string.
Add missing ChangeLog entry for the previous commit.
Backported from trunk; do not merge back.
(cherry picked from commit
79e2dade762491c58aa6396e35bae0ef418bafc6)
Kenichi Handa [Sun, 28 Dec 2014 13:17:33 +0000 (22:17 +0900)]
lisp/international/mule.el (define-coding-system): Improve docstring.
Backported from trunk; do not merge back.
(cherry picked from commit
5979af512bf5d6a28acea24299b67c7939d9e703)
Paul Eggert [Sun, 28 Dec 2014 07:44:25 +0000 (23:44 -0800)]
Port memory-full checking to GnuTLS 3.3
Instead of using gnutls_global_set_mem_functions, check every call
to a GnuTLS function that might return an indication of memory
exhaustion. Suggested by Dmitry Antipov in:
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg02056.html
* src/gnutls.c (gnutls_global_set_mem_functions) [WINDOWSNT]: Remove.
(init_gnutls_functions): Do not load gnutls_global_set_mem_functions.
(fn_gnutls_global_set_mem_functions) [!WINDOWSNT]: Remove.
All uses removed.
(check_memory_full): New function.
(emacs_gnutls_handshake, emacs_gnutls_handle_error)
(gnutls_make_error, Fgnutls_boot): Use it.
(emacs_gnutls_global_init): Avoid gnutls_global_set_mem_functions.
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 20:22:29 +0000 (17:22 -0300)]
* lisp/progmodes/python.el (python-shell-buffer-substring): Handle
cornercase when region sent starts at point-min.
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 16:10:44 +0000 (13:10 -0300)]
Fix ChangeLog typo
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.
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.
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.
Fabián Ezequiel Gallina [Sat, 27 Dec 2014 06:32:01 +0000 (03:32 -0300)]
Fix for previous commit
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.
Paul Eggert [Fri, 26 Dec 2014 02:07:15 +0000 (18:07 -0800)]
Spelling fixes
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 "..".
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.
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.
Glenn Morris [Wed, 24 Dec 2014 23:57:34 +0000 (15:57 -0800)]
* doc/lispref/modes.texi (Defining Minor Modes, SMIE Lexer): Markup fixes.
Glenn Morris [Wed, 24 Dec 2014 22:43:12 +0000 (14:43 -0800)]
ChangeLog fix
Álvar Ibeas [Wed, 24 Dec 2014 19:15:05 +0000 (20:15 +0100)]
TUTORIAL.es: Improve style consistency
* tutorials/TUTORIAL.es: Improve style consistency.
Álvar Ibeas [Wed, 24 Dec 2014 19:09:46 +0000 (20:09 +0100)]
TUTORIAL.es: spelling fixes
* tutorials/TUTORIAL.es: Spelling fixes.
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.
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.
Jan D [Wed, 24 Dec 2014 11:12:19 +0000 (12:12 +0100)]
Fix bad bug number reference, shall be 19427.
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.
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.
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.
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
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-*'.
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.
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.
Eli Zaretskii [Mon, 22 Dec 2014 18:23:06 +0000 (20:23 +0200)]
doc/emacs/buffers.texi (Kill Buffer): Improve indexing.
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).
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.
Michael Albinus [Sun, 21 Dec 2014 15:19:26 +0000 (16:19 +0100)]
Fix last patch.
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.
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
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.
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
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.
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.
Eli Zaretskii [Thu, 18 Dec 2014 17:15:01 +0000 (19:15 +0200)]
src/window.c (Fwindow_body_width): Doc fix. (Bug#19395)
Stefan Monnier [Thu, 18 Dec 2014 15:25:54 +0000 (10:25 -0500)]
* lisp/subr.el (redisplay-dont-pause): Mark as obsolete.
* doc/lispref/display.texi (Forcing Redisplay): Remove references to
redisplay-dont-pause and redisplay-preemption-period (which doesn't
even exist).
Michael Albinus [Wed, 17 Dec 2014 21:08:30 +0000 (22:08 +0100)]
* 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.
* net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
wrong debug buffer.
(tramp-maybe-open-connection): Set connection property "gateway".
* net/tramp.el (tramp-error-with-buffer): Call `message' properly.
(tramp-accept-process-output): Use nil as argument for
`accept-process-output', when there is a gateway prepended.
Paul Eggert [Wed, 17 Dec 2014 02:42:58 +0000 (18:42 -0800)]
* .gitignore: Ignore /conftest*.
Stefan Monnier [Mon, 15 Dec 2014 20:09:04 +0000 (15:09 -0500)]
* lisp/subr.el (sit-for): Tweak docstring.
Fixes: debbugs:19381
* src/buffer.c (syms_of_buffer) <Vafter_change_functions>: fix docstring.
* build-aux/git-hooks/commit-msg (at_sign): Bump up line-length limit
to 78.
Dmitry Gutov [Mon, 15 Dec 2014 14:18:34 +0000 (16:18 +0200)]
Fix vc-git-dir-status-files WRT up-to-date vs edited
Fixes: debbugs:19386
* lisp/vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
stage to after `diff-index'.
Joao Tavora [Sun, 14 Dec 2014 11:22:46 +0000 (11:22 +0000)]
Consider electric-pair-mode in tex-mode.
Fixes: debbugs:19356
* lisp/textmodes/tex-mode.el (tex-insert-quote): Consider and respect
`electric-pair-mode'.
* test/automated/electric-tests.el (autowrapping-7): New test for
tex-mode's autowrapping.
(electric-pair-test-for): Call the actual key-binding
interactively.
Glenn Morris [Sat, 13 Dec 2014 21:17:38 +0000 (13:17 -0800)]
* test/automated/flymake/warnpred/test.pl: Tweak earlier change.
Glenn Morris [Sat, 13 Dec 2014 21:10:14 +0000 (13:10 -0800)]
ChangeLog fix
Glenn Morris [Sat, 13 Dec 2014 20:56:22 +0000 (12:56 -0800)]
* test/automated/flymake/warnpred/test.pl: Tweak format
The previous format seems to have stopped giving a warning with perl 5.20.1,
for some reason.
Eli Zaretskii [Sat, 13 Dec 2014 16:58:08 +0000 (18:58 +0200)]
src/gnutls.c (gnutls_init): Fix deprecation warning from GCC.
Michael Albinus [Fri, 12 Dec 2014 13:09:10 +0000 (14:09 +0100)]
* simple.el (password-word-equivalents): Add "passcode", used for
numeric secrets like PINs or RSA tokens.
Eli Zaretskii [Fri, 12 Dec 2014 09:19:59 +0000 (11:19 +0200)]
A better fix for bug#19346
src/gnutls.c (Fgnutls_available_p, syms_of_gnutls): Move
gnutls-available-p out of the HAVE_GNUTLS conditional, and define
them only once.
Paul Eggert [Fri, 12 Dec 2014 02:24:33 +0000 (18:24 -0800)]
* .gitignore: Add !lib/std*.in.h, so as to not ignore the .in.h files.
Paul Eggert [Fri, 12 Dec 2014 02:11:46 +0000 (18:11 -0800)]
Git ignore lib/std*.h
* .gitignore: Add lib/std*.h, to ignore stdarg.h, stdbool.h, and
stddef.h. Remove subsumed entries.
Ted Zlatanov [Thu, 11 Dec 2014 22:55:36 +0000 (17:55 -0500)]
Always define `gnutls-available-p' even if GnuTLS is not available.
Fixes: debbugs:19346
* gnutls.c (Fgnutls_available_p syms_of_gnutls): Move later for
clarity. Let the availability check return Qnil when the GnuTLS
integration is not available, instead of erroring out.
* gnutls.h: Always declare syms_of_gnutls.
* emacs.c (main): Always include gnutls.h and run syms_of_gnutls.
Eli Zaretskii [Thu, 11 Dec 2014 18:27:00 +0000 (20:27 +0200)]
Don't break example string between 2 lines (bug#19257)
doc/lispref/text.texi (Comparing Text): Prevent a text string from being
broken between 2 lines by using @w{}.
Paul Eggert [Thu, 11 Dec 2014 07:17:04 +0000 (23:17 -0800)]
Port commit-msg to mawk
Problem reported by Ted Zlatanov in:
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01093.html
* build-aux/git-hooks/commit-msg (space, non_space, non_print):
New vars. Use them as approximations to POSIX bracket expressions,
on implementations like mawk that do not support POSIX regexps.
Paul Eggert [Thu, 11 Dec 2014 04:44:35 +0000 (20:44 -0800)]
Improve commit-msg messages and autosquash
Problem reported by Michal Nazarewicz in Bug#19337.
* build-aux/git-hooks/commit-msg: Add "commit message" to
diagnostics. Distinguish better between tabs and other
unprintable chars in diagnostics. Don't complain if a prefix
"fixup! " or "squash! " makes a summary line too long.
Eli Zaretskii [Wed, 10 Dec 2014 17:54:19 +0000 (19:54 +0200)]
Support overflow-newline-into-fringe together with word-wrap (bug#19300)
src/xdisp.c (move_it_in_display_line_to, display_line): Don't
disallow overflow-newline-into-fringe when word-wrap is in
effect.
Michael Albinus [Wed, 10 Dec 2014 13:15:51 +0000 (14:15 +0100)]
* net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
order to determine `tramp-own-remote-path'.
Fabián Ezequiel Gallina [Tue, 9 Dec 2014 01:32:53 +0000 (22:32 -0300)]
python.el: Support interpreter paths with spaces
Fixes: debbugs:19289
* lisp/progmodes/python.el (python-shell-parse-command): Quote
`python-shell-interpreter`.
Glenn Morris [Mon, 8 Dec 2014 16:53:04 +0000 (08:53 -0800)]
ChangeLog fix
Paul Eggert [Mon, 8 Dec 2014 00:17:20 +0000 (16:17 -0800)]
Port commit-message checking to FreeBSD 9.
This fixes a bug reported by Jan Djärv in:
http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00704.html
along with some other issues I noticed while testing with FreeBSD.
* build-aux/git-hooks/commit-msg: Prefer gawk if available.
Prefer en_US.UTF-8 to en_US.utf8, as it's more portable.
Work around bug in FreeBSD 9 awk, where /[[:cntrl:]]/ matches
ordinary text characters.
Be less tricky about quoting "'" in a shell script.
Eli Zaretskii [Sat, 6 Dec 2014 19:52:00 +0000 (21:52 +0200)]
admin/MAINTAINERS: Update my interests and responsibilities.
Stefan Monnier [Fri, 5 Dec 2014 20:31:28 +0000 (15:31 -0500)]
* .gitignore: Ignore autosave files.
Lee Duhem [Thu, 4 Dec 2014 19:13:13 +0000 (14:13 -0500)]
* src/eval.c (Fsignal): Remove duplicate test.
(Fautoload_do_load): Fix up docstring.
Stefan Monnier [Thu, 4 Dec 2014 15:09:08 +0000 (10:09 -0500)]
* lisp/progmodes/sh-script.el: Fix indentation rule of "| while".
Fixes: debbugs:18031
* lisp/progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
of the whole pipe when indenting an opening keyword after a |.
Generalize this treatment to opening keywords like "while".
Jan Djärv [Tue, 2 Dec 2014 13:05:27 +0000 (14:05 +0100)]
More flicker fixes for OSX, related to bug 18757.
* nsfns.m (ns_set_name_as_filename): Don't set represented filename
at once, call ns_set_represented_filename instead.
* nsterm.h: Declare ns_set_represented_filename.
* nsterm.m (represented_filename, represented_frame): New variables.
(ns_set_represented_filename): New function.
(sendEvent:): Set represented filename here to avoid flicker,
related to Bug#18757.
Glenn Morris [Mon, 1 Dec 2014 18:40:06 +0000 (13:40 -0500)]
* admin/update_autogen (commit): Revert earlier change.
This was based on a misunderstanding due to the mess that had been
made in trunk of this file and its ChangeLog.
Stefan Monnier [Mon, 1 Dec 2014 18:10:05 +0000 (13:10 -0500)]
* lisp/simple.el (newline): Place the hook buffer-locally,
to make sure it's first.
Glenn Morris [Mon, 1 Dec 2014 17:58:51 +0000 (12:58 -0500)]
* admin/update_autogen (commit): With git, call "add" before "commit".
Paul Eggert [Mon, 1 Dec 2014 17:16:04 +0000 (09:16 -0800)]
* .gitignore: Avoid "**", as it requires Git 1.8.2 or later.
Paul Eggert [Mon, 1 Dec 2014 17:13:35 +0000 (09:13 -0800)]
* .gitignore: Remove redundant pattern (subsumed by _*).
Glenn Morris [Mon, 1 Dec 2014 12:23:04 +0000 (07:23 -0500)]
Auto-commit of loaddefs files.
Stefan Monnier [Mon, 1 Dec 2014 04:07:19 +0000 (23:07 -0500)]
* lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol): Refine.
Fix handling of symbols with different syntax at beginning/end or with
symbol rather than word syntax.
Eli Zaretskii [Sun, 30 Nov 2014 16:06:19 +0000 (18:06 +0200)]
Fix bug #19211 with move-end-of-line in non-interactive session.
lisp/simple.el (line-move): If noninteractive, call line-move-1, not
forward-line, since the former is compatible with line-move-visual
both in terms of the column to which it moves and the return
value.
Glenn Morris [Sat, 29 Nov 2014 21:28:25 +0000 (13:28 -0800)]
ChangeLog fix (do not merge to master)
Rasmus [Sat, 29 Nov 2014 12:37:13 +0000 (13:37 +0100)]
Python.el: Update commentary on RET-behavior
Commentary reflect that `electric-indent-mode' in enabled by default.
Eli Zaretskii [Thu, 27 Nov 2014 16:35:27 +0000 (18:35 +0200)]
Fix bug #19201 with after-strings not being displayed.
src/xdisp.c (handle_single_display_spec): When ignoring a fringe
bitmap display, reset the ignore_overlay_strings_at_pos_p flag.
(next_element_from_buffer): When done with overlays, reset the
ignore_overlay_strings_at_pos_p flag.
Stephen Berman [Thu, 27 Nov 2014 10:03:58 +0000 (11:03 +0100)]
outline.el: Fix subtree movement.
Fixes: debbugs:19102
Co-authored-by: Stefan Monnier <monnier@iro.umontreal.ca>
* outline.el (outline-move-subtree-down): Make sure we can move
forward to find the end of the subtree and the insertion point.