Glenn Morris [Thu, 17 Mar 2016 06:56:32 +0000 (23:56 -0700)]
Address compilation warnings due to 2016-01-03 mml refactoring.
* lisp/gnus/mml-sec.el (password-cache, mm-encode): Require.
(message-options-get): Autoload.
(message-options-set): Declare.
(mml-secure-cache-passphrase, mml-secure-passphrase-cache-expiry):
Simplify default value.
* lisp/gnus/mml-smime.el (message-options-set): Remove declaration.
* lisp/gnus/mml1991.el, lisp/gnus/mml2015.el:
No longer a need for password-cache.
Stefan Monnier [Thu, 17 Mar 2016 02:55:56 +0000 (22:55 -0400)]
* lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in strings
(bug#22960).
Glenn Morris [Wed, 16 Mar 2016 21:38:27 +0000 (17:38 -0400)]
* lisp/dired-x.el (dired-omit-here-always): Correct error message
for 2016-01-25 change.
Glenn Morris [Wed, 16 Mar 2016 21:36:57 +0000 (17:36 -0400)]
* lisp/dired-x.el (dired-omit-here-always): Replace undefined function
removed 2016-01-30.
; Do not merge to master.
Glenn Morris [Wed, 16 Mar 2016 21:24:36 +0000 (17:24 -0400)]
* lisp/xml.el (xml-parse-tag-1): Replace undefined function.
; string-empty-p is defined in subr-x, but this file does not load it.
Eli Zaretskii [Wed, 16 Mar 2016 17:04:16 +0000 (19:04 +0200)]
Avoid segfaults due to frame image cache being absent
* src/image.c (cache_image): If the frame doesn't have an image
cache, create it. (Bug#23028)
Eli Zaretskii [Wed, 16 Mar 2016 16:57:46 +0000 (18:57 +0200)]
Improve documentation of glyphless-character display
* doc/emacs/display.texi (Text Display): Document and index the
'glyphless-char' face.
Eli Zaretskii [Wed, 16 Mar 2016 16:52:36 +0000 (18:52 +0200)]
; * src/xdisp.c (with_echo_area_buffer): Fix typos in comments.
Dmitry Gutov [Wed, 16 Mar 2016 13:58:21 +0000 (15:58 +0200)]
Support safe navigation operator in non-SMIE indentation code
* lisp/progmodes/ruby-mode.el (ruby-calculate-indent):
Support safe navigation operator in non-SMIE indentation code.
Cherry-picked from
https://github.com/ruby/ruby/commit/
68e16ddd7961b86e5013e62ae2954e88638de058.
Thomas Fitzsimmons [Wed, 16 Mar 2016 13:15:17 +0000 (09:15 -0400)]
Move xsd:base64Binary decoding fix to debbugs.el 0.9.1
* lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not
assume xsd:base64Binary values are UTF-8 strings.
(soap-decode-xs-basic-type): Likewise.
(soap-invoke): Document xsd:base64Binary handling.
Dmitry Gutov [Wed, 16 Mar 2016 02:32:59 +0000 (04:32 +0200)]
Fix Ruby's operator precedence
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
Rearrange the smie-precs->prec2 form.
Dmitry Gutov [Tue, 15 Mar 2016 23:48:10 +0000 (01:48 +0200)]
(ruby-interpolation-inside-another-interpolation): New failing test
* test/automated/ruby-mode-tests.el
(ruby-interpolation-inside-another-interpolation):
New failing test.
Paul Eggert [Tue, 15 Mar 2016 20:47:47 +0000 (13:47 -0700)]
Port to clang 3.7.0 on x86-64
* configure.ac: Use AS_IF so that gl_WARN_ADD’s prerequisites are
not done conditionally. This helps clang, which needs
-Wunknown-warning-option later when configured with warnings.
* src/editfns.c (invalid_time): Now _Noreturn, since clang isn’t
smart enough to figure this out on its own if warnings are enabled.
(lisp_time_struct): Redo for clarity, and to pacify clang.
* src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Don’t use
uninitialized locals. This avoids undefined behavior and pacifies
clang.
Glenn Morris [Tue, 15 Mar 2016 20:24:26 +0000 (16:24 -0400)]
* test/automated/package-test.el (package-test-signed): Tweak skip
condition, for hydra.
Paul Eggert [Tue, 15 Mar 2016 20:20:29 +0000 (13:20 -0700)]
Sync with gnulib
This incorporates:
2016-03-15 time_rz: port to clang -Wunused-const-variable
2016-03-15 select: port more to Intel 2016.1.150 compiler
* lib/sys_select.in.h, lib/time_rz.c: Copy from gnulib.
Eli Zaretskii [Tue, 15 Mar 2016 17:46:26 +0000 (19:46 +0200)]
Fix startup of "emacs -nw" on systems that CANNOT_DUMP
* src/xdisp.c (syms_of_xdisp) <resize-mini-windows>: Initialize to
nil.
* lisp/loadup.el <resize-mini-windows>: Set to 'grow-only' after
loading window.el. (Bug#22975)
Dmitry Gutov [Tue, 15 Mar 2016 01:15:18 +0000 (03:15 +0200)]
Do not tokenize a comment before continuation as ';'
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
Account for a comment right after point.
Dmitry Gutov [Tue, 15 Mar 2016 01:12:19 +0000 (03:12 +0200)]
Don't misindent arguments of a method call inside continuation
* lisp/progmodes/ruby-mode.el (ruby-smie-rules):
Use smie-indent-virtual instead of smie-rule-parent (bug#23015).
Simplify the traversal loop.
Stefan Monnier [Tue, 15 Mar 2016 00:52:34 +0000 (20:52 -0400)]
* src/keyboard.c (echo_keystrokes_p): Don't test cursor_in_echo_area
(read_key_sequence): Test it here, as before.
(bug#22825).
Paul Eggert [Tue, 15 Mar 2016 00:36:23 +0000 (17:36 -0700)]
ASCII-only etc/NEWS etc.
* etc/NEWS, nextstep/README: Revert the recently-added curved
quotes, and stick to ASCII. This typically involves replacing
curved with straight quotes. Since etc/NEWS is viewed so often by
UTF-8-ignorant tools, rewrite its non-ASCII text to spell out
Unicode, e.g., replace ‘‒’ with ‘U+2012 (FIGURE DASH)’.
Alan Mackenzie [Mon, 14 Mar 2016 21:44:11 +0000 (21:44 +0000)]
Fix a cacheing bug, which led to inordinately slow c-beginning-of-defun.
* lisp/progmodes/cc-defs.el (c-self-bind-state-cache): New macro.
* lisp/progmodes/cc-engine.el (c-ssb-lit-begin): Always call c-parse-state
rather than just using the cache variable c-state-cache.
(c-syntactic-skip-backward): Invoke c-self-bind-state-cache to isolate calls
to c-parse-state from other uses of the parse state cache.
* lisp/progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun): Invoke
c-self-bind-state-cache around the processing, replacing flawed bindings of
c-state-cache.
Kaushal Modi [Mon, 14 Mar 2016 18:15:17 +0000 (20:15 +0200)]
Fix Isearch prompt when invoked with an argument
* lisp/isearch.el (isearch--describe-regexp-mode): With
`search-default-mode' set to nil, if user does C-u C-s, the minibuffer
now displays "Regexp I-search: " again. But if the user has set
`search-default-mode' to t, and then does C-s, the minibuffer now
displays "I-search: " because the default search mode is now regexp
mode. Comments have been added to explain the priority of conditions
in the `cond' form. (Bug#22991)
Cesar Quiroz [Mon, 14 Mar 2016 17:45:29 +0000 (19:45 +0200)]
Fix a typo in the Emacs manual
* doc/emacs/maintaining.texi (VC Directory Commands): Fix a typo
in a command name.
Copyright-paperwork-exempt: yes
Paul Eggert [Mon, 14 Mar 2016 16:30:01 +0000 (09:30 -0700)]
Curved quotes in etc/NEWS etc.
* etc/NEWS, nextstep/README: Prefer curved quotes in the
recently-changed text documentation. See:
http://lists.gnu.org/archive/html/emacs-devel/2016-03/msg00860.html
Paul Eggert [Mon, 14 Mar 2016 15:40:08 +0000 (08:40 -0700)]
Fix some single quotes in documentation
* doc/emacs/anti.texi (Antinews): Avoid confusion in info and PDF
when documenting quoting styles.
* etc/NEWS, nextstep/README: In these plain text files, quote
'like this' consistently, rather than also (sometimes) ‘like this’
or (more often) `like this'.
Dmitry Gutov [Mon, 14 Mar 2016 02:14:05 +0000 (04:14 +0200)]
Make lisp-completion-at-point's argument optional
* lisp/progmodes/elisp-mode.el (lisp-completion-at-point): Make
the argument optional, like it was before the rename.
Dmitry Gutov [Sun, 13 Mar 2016 22:34:01 +0000 (00:34 +0200)]
Tweak the left precedence of '=>'
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Tweak the left
precedence of '=>', to improve indentation and sexp navigation.
Dmitry Gutov [Sun, 13 Mar 2016 22:15:06 +0000 (00:15 +0200)]
Indent '.' relative to the first sibling expression
* lisp/progmodes/ruby-mode.el (ruby-smie-rules):
Indent '.' relative to the first sibling expression, instead of the
parent token (bug#17213).
Dmitry Gutov [Sun, 13 Mar 2016 21:10:38 +0000 (23:10 +0200)]
Make '.' associative, for easier sexp navigation
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar):
Make '.' associative, for easier sexp navigation.
Phillip Lord [Sun, 13 Mar 2016 18:33:10 +0000 (18:33 +0000)]
Revert "Simplify "Visit New File" to "New File""
This reverts commit
d457fd9dc782465e1547f74021390c9d5951d6af.
Phillip Lord [Sat, 12 Mar 2016 22:26:20 +0000 (22:26 +0000)]
Simplify "Visit New File" to "New File"
* doc/emacs/files.texi,lisp/menu-bar.el (menu-bar-file-menu),
lisp/startup.el(normal-mouse-start-screen,
normal-no-mouse-startup-screen): Change label "Visit New File" to "New
File".
Eli Zaretskii [Sat, 12 Mar 2016 16:07:34 +0000 (18:07 +0200)]
Update Unicode notes for importing a new Unicode version
* admin/notes/unicode: Mention the need to update otf-script-alist
in fontset.el when importing data files from a new Unicode
version.
Eli Zaretskii [Sat, 12 Mar 2016 15:51:45 +0000 (17:51 +0200)]
Import new data files from Unicode 9.0.0beta
* admin/unidata/UnicodeData.txt:
* admin/unidata/Blocks.txt:
* admin/unidata/BidiMirroring.txt:
* admin/unidata/BidiBrackets.txt: Update from Unicode 9.0.0beta.
* admin/unidata/unidata-gen.el (unidata-gen-files): Bind
'coding-system-for-read' to 'utf-8, as various Unicode data files
now actually use non-ASCII characters.
(unidata-setup-list, unidata-get-name): Support the new Tangut
Ideographs block.
* lisp/international/characters.el (standard-case-table): Add new
characters from Unicode 9.0.0.
(standard-category-table): Add Arabic block u+08A0..u+08FF. Add
Cyrillic Extended-C block.
(char-width-table): Update ranges per Unicode 9.0.0.
* lisp/international/fontset.el (script-representative-chars): Add
new scripts defined by Unicode 9.0.0.
(otf-script-alist): Add new OTF script tags.
* lisp/international/mule-cmds.el (ucs-names): Update ranges per
Unicode 9.0.0 additions.
Eli Zaretskii [Sat, 12 Mar 2016 11:05:49 +0000 (13:05 +0200)]
Avoid errors in forms-mode when default major mode is text
* lisp/forms.el (forms-mode): Bind
change-major-mode-with-file-name to nil when calling
set-visited-file-name. (Bug#22982)
Eli Zaretskii [Sat, 12 Mar 2016 09:51:03 +0000 (11:51 +0200)]
Avoid crashes at startup on systems that CANNOT_DUMP
* src/xdisp.c (syms_of_xdisp) <redisplay--inhibit-bidi>: New
boolean variable.
(init_iterator, reseat_to_string)
(Fcurrent_bidi_paragraph_direction)
(Fbidi_find_overridden_directionality): Use
redisplay--inhibit-bidi instead of purify-flag, to determine when
it's safe to reorder bidirectional text.
* lisp/loadup.el (redisplay--inhibit-bidi): Set to t at the
beginning of the file. Reset to nil when charprop.el is
successfully loaded, or when we are going to dump, whichever
happens last. (Bug#22975)
Eli Zaretskii [Sat, 12 Mar 2016 08:32:16 +0000 (10:32 +0200)]
; * etc/DEBUG: Improve wording. (Bug#22984)
Eli Zaretskii [Sat, 12 Mar 2016 08:26:21 +0000 (10:26 +0200)]
Fix documentation of seq.el functions
* doc/lispref/sequences.texi (Sequence Functions): Fix typos. Add
cross-references. Fix formatting. (Bug#22992)
Dmitry Gutov [Fri, 11 Mar 2016 22:18:42 +0000 (00:18 +0200)]
Support Ruby 2.3.0's safe navigation operator
* lisp/progmodes/ruby-mode.el (ruby-smie--forward-token)
(ruby-smie--backward-token): Tokenize '&.' as '.'.
(ruby-smie--implicit-semi-p): Check for possible '&' before '.'.
* test/indent/ruby.rb: Add an example using safe navigation
operator. Fix a syntax error in existing example.
John Wiegley [Fri, 11 Mar 2016 19:42:06 +0000 (11:42 -0800)]
Update Emacs manual section related to character folding
* search.texi: Character folding is not on by default.
Eli Zaretskii [Fri, 11 Mar 2016 15:54:40 +0000 (17:54 +0200)]
; * etc/DEBUG: Fix a typo. (Bug#22984)
Eli Zaretskii [Fri, 11 Mar 2016 10:50:55 +0000 (12:50 +0200)]
Update admin/notes/unicode
* admin/notes/unicode: Update the list of files from the UCD we
are using. Mention the possible need to change 'ucs-names' when
importing a new version of the Unicode Standard.
Dmitry Gutov [Fri, 11 Mar 2016 03:29:49 +0000 (05:29 +0200)]
Add symref-filepattern entries for c?perl-mode
* lisp/cedet/semantic/symref/grep.el
(semantic-symref-filepattern-alist): Add entries for perl-mode and
cperl-mode.
Ken Raeburn [Wed, 9 Mar 2016 03:17:16 +0000 (22:17 -0500)]
Don't use XRANDR 1.3 extensions if the server doesn't support them.
* src/xterm.h (struct x_display_info): Add fields to save XRANDR
version number.
* src/xfns.c (x_get_monitor_attributes): Save the version numbers
after querying the X server.
(x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or
XRRGetScreenResourcesCurrent if the server doesn't support at least
RANDR version 1.3. Conditionalize the code blocks on compiling
against library version 1.3 or better, rather than feature tests for
each function.
* configure.ac: Stop testing for those two functions.
Eli Zaretskii [Thu, 10 Mar 2016 16:31:11 +0000 (18:31 +0200)]
; NEWS update for the last change in etags
Paul Eggert [Thu, 10 Mar 2016 15:55:38 +0000 (07:55 -0800)]
Sync with gnulib
This incorporates:
2016-03-08 intprops: make .h file license match module
2016-03-08 acl: fix missing return on Cygwin
2016-03-05 extern-inline: port to PGI CC
* doc/misc/texinfo.tex, lib/intprops.h, lib/set-permissions.c:
* m4/extern-inline.m4:
Copy from gnulib.
Paul Eggert [Thu, 10 Mar 2016 15:34:52 +0000 (07:34 -0800)]
Rework C source files to avoid ^(
Work around Bug#22884 by rewording comments and strings to avoid ‘(’
at the start of a line unless it starts a function. This change
is a short-term hack; in the longer run we plan to fix cc-mode’s
performance for C files that have ‘(’ at the start of a line in a
comment or string.
Eli Zaretskii [Thu, 10 Mar 2016 15:27:26 +0000 (17:27 +0200)]
By default, etags produces unqualified Perl tag names
* lib-src/etags.c (Perl_functions): Produce unqualified names,
unless -Q was specified.
(print_help): Update the description of -Q.
* doc/man/etags.1: Update the documentation of -Q.
* test/etags/ETAGS.good_1:
* test/etags/ETAGS.good_2:
* test/etags/ETAGS.good_3:
* test/etags/ETAGS.good_4:
* test/etags/ETAGS.good_5:
* test/etags/CTAGS.good: Adapt the expected test results to the
changed Perl functionality.
Dmitry Gutov [Thu, 10 Mar 2016 12:35:45 +0000 (14:35 +0200)]
Indent methods with keyword names correctly
* lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call):
Rename to ruby-smie--before-method-name. Now also check if we're
after a 'def' keyword. Update both callers.
Dmitry Gutov [Thu, 10 Mar 2016 02:13:25 +0000 (04:13 +0200)]
Propertize character literals and special global variables differently
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize
character literals and global variables with special names with
prefix and symbol syntax classes, for SMIE to tokenize them
together automatically.
(ruby-font-lock-keywords): Fix an old regression in highlighting
character literals.
Eli Zaretskii [Thu, 10 Mar 2016 10:17:02 +0000 (12:17 +0200)]
; Fix last change in NEWS
John Wiegley [Wed, 9 Mar 2016 23:32:22 +0000 (15:32 -0800)]
Change how /etc/NEWS presents character folding
* NEWS: Note that character folding is no longer the default.
John Wiegley [Wed, 9 Mar 2016 23:29:59 +0000 (15:29 -0800)]
Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default""
This reverts commit
a91b4b51ddf2575d821adb8b84fdf32cff83886e.
Andreas Schwab [Wed, 9 Mar 2016 18:40:00 +0000 (19:40 +0100)]
Properly handle lambda as read function (bug 22961)
* src/lread.c (readchar): Be more strict about checking for
string in cons for read_vector.
(unreadchar): Likewise.
Dmitry Gutov [Wed, 9 Mar 2016 14:43:51 +0000 (16:43 +0200)]
Propertize operator symbol names with symbol syntax class
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
Do it here.
(ruby-font-lock-keywords): Instead of handling them here. Leave
highlighting them to the "normal" matcher, because now we can.
(ruby-smie--forward-token, ruby-smie--backward-token):
Likewise, don't special-case operator symbols anymore.
(ruby-smie--args-separator-p): Simplify the regexp, match operator
names with \s_.
(ruby-smie--implicit-semi-p): Handle the special cases of ? and =
at EOL the same way: check if the character has been assigned the
symbol syntax class by syntax-propertize.
Dmitry Gutov [Tue, 8 Mar 2016 19:16:54 +0000 (21:16 +0200)]
Stop recognizing :#{} as symbol in ruby-mode
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove
the weird part that recognized colon followed by interpolation
construct without quotes (e.g. ':#{abc}') as symbol, which is just a
syntax error in any modern version of Ruby. Fix nearby bug reference.
Dmitry Gutov [Tue, 8 Mar 2016 13:46:19 +0000 (15:46 +0200)]
Allow using the left shift operator without spaces on both sides
* lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to
ruby-verify-heredoc, reverse the meaning of the return value, and
short-circuit if preceded by a symbol not separated by whitespace.
* test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift)
(ruby-no-heredoc-class-self): New tests.
Andreas Schwab [Tue, 8 Mar 2016 20:32:52 +0000 (21:32 +0100)]
Properly handle unquoting in wdired (bug 22938)
The recorded old names are not quoted, don't unquote them.
* lisp/wdired.el (wdired-normalize-filename): Add argument
unquotep, only unquote if non-nil.
(wdired-get-filename): Don't unquote the old file name.
(wdired-get-previous-link): Always unquote.
Paul Eggert [Tue, 8 Mar 2016 15:42:36 +0000 (07:42 -0800)]
; Spelling fix and tighten up comment
Dmitry Gutov [Mon, 7 Mar 2016 02:02:34 +0000 (04:02 +0200)]
Allow splat operator before percent literal
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
Allow splat operator before percent literal.
Dmitry Gutov [Mon, 7 Mar 2016 01:19:09 +0000 (03:19 +0200)]
Don't apply the return value of goto-char as syntax class
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't
apply the return value of goto-char as syntax class.
Dmitry Gutov [Mon, 7 Mar 2016 00:58:49 +0000 (02:58 +0200)]
Guard against nested percent literals
* lisp/progmodes/ruby-mode.el
(ruby-syntax-propertize-percent-literal):
Don't check the syntax status.
(ruby-syntax-propertize): Check it here. And also guard against
being in a larger percent literal.
* test/automated/ruby-mode-tests.el
(ruby-no-nested-percent-literals): New test.
Dmitry Gutov [Sun, 6 Mar 2016 21:18:06 +0000 (23:18 +0200)]
Recognize iuwu-mod after an escaped newline
* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the
newline is escaped.
(ruby-smie-rules): Indent iuwu-mod after an escaped newline
correctly.
Andreas Schwab [Sun, 6 Mar 2016 23:20:40 +0000 (00:20 +0100)]
Fix symbolic mode string conversion for s and t
* lisp/files.el (file-modes-char-to-right): Fix values for ?s and
?t.
(file-modes-symbolic-to-number): Default to a for ts permissions.
Eli Zaretskii [Sun, 6 Mar 2016 20:22:53 +0000 (22:22 +0200)]
Update 'ucs-names' database
* lisp/international/mule-cmds.el (ucs-names): Update used and
unused ranges from the latest UnicodeData.txt.
Eli Zaretskii [Sun, 6 Mar 2016 17:36:57 +0000 (19:36 +0200)]
Improve doc string of 'shell-command'
* lisp/simple.el (shell-command): Mention that COMMAND is prompted
for. (Bug#22926)
Eli Zaretskii [Sun, 6 Mar 2016 16:27:16 +0000 (18:27 +0200)]
Make the code in movemail_strftime more general
* lib-src/movemail.c (movemail_strftime): Transform the format
string passed by the caller instead of using a separate format
string.
Eli Zaretskii [Sun, 6 Mar 2016 16:14:46 +0000 (18:14 +0200)]
Speed up redisplay of binary files with long series of nulls
* src/bidi.c (bidi_resolve_weak): Avoid entering a loop searching
for a character needed for resolving the type of a series of BN
and ET characters, as required by rule W5 of UAX#9, if the results
of the resolution are known in advance, because we are at level
zero, and the previous strong character was L.
(bidi_resolve_neutral): Partially resurrect the optimization for a
long series of control characters in an otherwise strictly L2R
text.
(bidi_level_of_next_char): Don't enter the loop that searches for
a paragraph separator if the current character is already at base
embedding level. (Bug#22739)
Dmitry Gutov [Sun, 6 Mar 2016 00:40:49 +0000 (02:40 +0200)]
Remove the highlighting support for quoting 'like this' inside Lisp docstrings
Remove the highlighting support for quoting 'like this' inside
Lisp docstrings. This part of
c4151ebe15479de4c2e511b068cdf9af6a4576cf seems to have been
unintentional, considering substitute-command-keys gives wrong
output for such usage.
* lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
(lisp-cl-font-lock-keywords-2): Do not highlight text between two
straight quotes as symbol.
Paul Eggert [Sat, 5 Mar 2016 19:30:51 +0000 (11:30 -0800)]
Restore leading space in movemail pop output
* lib-src/movemail.c (movemail_strftime) [WINDOWSNT]: New function.
(strftime) [WINDOWSNT]: New macro.
(mbx_delimit_begin): Go back to previous version of this code,
now that there’s a special-purpose WINDOWSNT implementation
that should do the right thing. That way, the output continues
to use leading space rather than leading zero for day of month.
Eli Zaretskii [Sat, 5 Mar 2016 12:48:37 +0000 (14:48 +0200)]
Fix bidi-paragraph-direction in Rmail view buffer
* lisp/mail/rmail.el (rmail-show-message-1): Reset
bidi-paragraph-direction to nil before formatting the message for
display.
Dmitry Gutov [Sat, 5 Mar 2016 12:35:10 +0000 (14:35 +0200)]
Don't misindent computed property generator methods
* lisp/progmodes/js.el (js--looking-at-operator-p):
Don't misindent computed property generator methods
(https://github.com/mooz/js2-mode/issues/317).
Eli Zaretskii [Sat, 5 Mar 2016 10:57:06 +0000 (12:57 +0200)]
Fix mbox files produced by movemail on MS-Windows
* lib-src/movemail.c (mbx_delimit_begin): Use portable strftime
format specifiers, as at least the MS-Windows version of strftime
doesn't support %e and %T.
Paul Eggert [Sat, 5 Mar 2016 00:29:55 +0000 (16:29 -0800)]
doc string file descriptor exhaustion fix
* src/doc.c (get_doc_string): Move newly-added check to a better
location (Bug#22814).
Michael Albinus [Fri, 4 Mar 2016 12:57:43 +0000 (12:57 +0000)]
Fix Bug#22814
* src/doc.c (get_doc_string): Raise an error in case too many
files are open. (Bug#22814)
Lars Ingebrigtsen [Fri, 4 Mar 2016 11:52:26 +0000 (11:52 +0000)]
Fix insertion of edited servers in the dribble file
* lisp/gnus/gnus-srvr.el (gnus-server-update-server): Don't
insert explicit newlines, because they're quoted (bug#22903).
Backport:
(cherry picked from commit
ca4e30058eba0531f38fff75f14734acffab84ea)
Martin Rudalics [Fri, 4 Mar 2016 07:37:53 +0000 (08:37 +0100)]
Fix previous fix of enlarge-/shrink-window
* lisp/window.el (enlarge-window, shrink-window): Consistently
signal user-error instead of error. Resize minibuffer window by
delta lines instead of pixels. When a window cannot be resized,
signal an error only when this function was invoked by a command
in the enlarge-/shrink-window group (this restores the behavior
before the fix of bug#22723 for the non-interactive case).
Artur Malabarba [Thu, 3 Mar 2016 22:03:16 +0000 (19:03 -0300)]
* lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logic
Mark Oteiza [Thu, 3 Mar 2016 17:56:44 +0000 (17:56 +0000)]
Complete temperature units in calc-convert-temperature
* lisp/calc/calc-units.el (calc-convert-temperature): Complete with
temperature units in math-standard-units.
Dmitry Gutov [Thu, 3 Mar 2016 00:36:27 +0000 (02:36 +0200)]
Make sure to use case-sensitive search
* lisp/progmodes/xref.el (xref-collect-references): Make sure to
use case-sensitive search.
Ulf Jasper [Wed, 2 Mar 2016 18:03:27 +0000 (19:03 +0100)]
Prevent infinite loop on not-well-formed xml. (Bug#16344)
* lisp/xml.el (xml-parse-tag-1): Prevent inifinite loop. (Bug#16344)
* test/automated/xml-parse-tests.el (xml-parse-tests--bad-data): Add
test cases for Bug#16344.
Alan Third [Wed, 2 Mar 2016 17:21:24 +0000 (17:21 +0000)]
Add the missing test case for the previous patch
lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
any processing.
lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
DABBREV--SUBSTITUTE-EXPANSION.
test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
Alan Third [Wed, 2 Mar 2016 17:20:47 +0000 (17:20 +0000)]
Use the correct dabbrev expansion
lisp/dabbrev.el (dabbrev--substitute-expansion): Return EXPANSION after
any processing.
lisp/dabbrev.el (dabbrev-expand): Set EXPANSION to the return value of
DABBREV--SUBSTITUTE-EXPANSION.
test/automated/dabbrev-tests.el (dabbrev-expand-test): Test for bug#1948.
Nicolas Petton [Wed, 2 Mar 2016 17:03:12 +0000 (18:03 +0100)]
; Auto-commit of loaddefs files.
Nicolas Petton [Wed, 2 Mar 2016 16:05:22 +0000 (17:05 +0100)]
Bump version to 25.0.92
* README:
* configure.ac:
* msdos/sed2v2.inp: Bump version to 25.0.92.
Nicolas Petton [Wed, 2 Mar 2016 16:04:36 +0000 (17:04 +0100)]
* etc/AUTHORS: Update the AUTHORS file
Nicolas Petton [Wed, 2 Mar 2016 16:03:59 +0000 (17:03 +0100)]
authors.el updates
* admin/authors.el (authors-ignored-files): Addition.
Nicolas Petton [Wed, 2 Mar 2016 16:03:21 +0000 (17:03 +0100)]
; fix changelog entries
Nicolas Petton [Wed, 2 Mar 2016 12:46:19 +0000 (13:46 +0100)]
; make change-history-commit
Michael Albinus [Wed, 2 Mar 2016 10:24:55 +0000 (10:24 +0000)]
Fix Bug#22859
* lisp/filenotify.el (file-notify-callback): Return a `deleted'
event in case of kqueue and file1 is nil. (Bug#22859)
Eli Zaretskii [Tue, 1 Mar 2016 18:18:10 +0000 (20:18 +0200)]
; * src/w32proc.c: Update the commentary to sys_select.
Eli Zaretskii [Tue, 1 Mar 2016 16:41:04 +0000 (18:41 +0200)]
Fix reordering of bidi text in an isolate inside an override
* src/bidi.c (bidi_resolve_explicit): Override the orig_type value
of FSI with either LRI or RLI, as determined by the first strong
directional character in the isolate. This prevents failure to
isolate when the FSI...PDI text is inside a directional override.
(Bug#22786)
Alan Mackenzie [Tue, 1 Mar 2016 15:01:46 +0000 (15:01 +0000)]
Document c-guess-basic-syntax in the CC Mode manual.
* doc/misc/cc-mode.texi (Syntactic Analysis): Document the function, adding
pxrefs to Custom Line-Up and Other Indentation.
(Custom Line-Up): Add a note on using c-guess-basic-syntax with a pxref to
Syntactic Analysis.
Glenn Morris [Tue, 1 Mar 2016 12:19:06 +0000 (07:19 -0500)]
; Auto-commit of loaddefs files.
Michael Albinus [Tue, 1 Mar 2016 09:58:01 +0000 (10:58 +0100)]
Fix targets in test/automated/Makefile.in
* test/automated/Makefile.in: Use $(SELECTOR_DEFAULT) also for
empty target and target all.
Oscar Fuentes [Tue, 1 Mar 2016 03:53:03 +0000 (04:53 +0100)]
; * lisp/vc/vc-hooks.el: corrected docstring of face
Do not merge to master
Leo Liu [Tue, 1 Mar 2016 03:50:11 +0000 (11:50 +0800)]
Comment on last change to define-derived-mode
* lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
Lars Ingebrigtsen [Tue, 1 Mar 2016 03:49:26 +0000 (14:49 +1100)]
Allow binding `url-mime-accept-string'
* lisp/url/url-http.el (url-http): Allow binding
`url-mime-accept-string' (bug#22855).
Backport:
(cherry picked from commit
144bb0cf322b9756d29def3e27a42303e2edce43)
Lars Ingebrigtsen [Tue, 1 Mar 2016 00:31:37 +0000 (11:31 +1100)]
Also allow setting the paragraph direction to nil
* lisp/net/eww.el (eww-toggle-paragraph-direction): Also allow
setting the paragraph direction to nil ("auto").
Anders Lindgren [Mon, 29 Feb 2016 20:54:15 +0000 (21:54 +0100)]
Made the new OS X visible bell more visible.
* src/nsterm.m: (EmacsBell:init:) Scaled up the visible bell
"caution" image five times, as the image in its original size
was hard to see.
Lars Ingebrigtsen [Mon, 29 Feb 2016 11:21:11 +0000 (22:21 +1100)]
Use the correct background color when filling nested <divs>
* lisp/net/shr.el (shr-face-background): Return the first
background, because that's the one that's visible (bug#22680).
Backport:
(cherry picked from commit
cad0bc70558f9c28c808711c5295dec9fc5ad6e5)