1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-09 17:24:04 -08:00
Commit graph

124528 commits

Author SHA1 Message Date
Dmitry Gutov
066f3bc3f3 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.
2016-03-07 05:07:33 +02:00
Andreas Schwab
6f7a57c708 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.
2016-03-07 00:31:20 +01:00
Eli Zaretskii
50b9826ac7 Update 'ucs-names' database
* lisp/international/mule-cmds.el (ucs-names): Update used and
unused ranges from the latest UnicodeData.txt.
2016-03-06 22:22:53 +02:00
Eli Zaretskii
993b2fbb70 Improve doc string of 'shell-command'
* lisp/simple.el (shell-command): Mention that COMMAND is prompted
for.  (Bug#22926)
2016-03-06 19:36:57 +02:00
Eli Zaretskii
b71c717f95 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.
2016-03-06 18:27:16 +02:00
Eli Zaretskii
cc057e4313 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)
2016-03-06 18:14:46 +02:00
Dmitry Gutov
e51b27ec2c 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
c4151ebe15 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.
2016-03-06 02:41:25 +02:00
Paul Eggert
b1abce1a30 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.
2016-03-05 11:31:22 -08:00
Eli Zaretskii
98b8d44892 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.
2016-03-05 14:48:37 +02:00
Dmitry Gutov
dc9d837d02 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).
2016-03-05 14:35:35 +02:00
Eli Zaretskii
792311228d 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.
2016-03-05 12:57:06 +02:00
Paul Eggert
c45a1ca3c4 doc string file descriptor exhaustion fix
* src/doc.c (get_doc_string): Move newly-added check to a better
location (Bug#22814).
2016-03-04 16:30:43 -08:00
Michael Albinus
265141b332 Fix Bug#22814
* src/doc.c (get_doc_string): Raise an error in case too many
files are open.  (Bug#22814)
2016-03-04 12:57:43 +00:00
Lars Ingebrigtsen
6db1a873d5 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 ca4e30058e)
2016-03-04 11:53:58 +00:00
Martin Rudalics
620951fe22 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).
2016-03-04 08:37:53 +01:00
Artur Malabarba
2e78353fab * lisp/isearch.el (isearch-define-mode-toggle): Fix toggling logic 2016-03-03 19:03:16 -03:00
Mark Oteiza
66d2717888 Complete temperature units in calc-convert-temperature
* lisp/calc/calc-units.el (calc-convert-temperature): Complete with
temperature units in math-standard-units.
2016-03-03 17:56:44 +00:00
Dmitry Gutov
dbb02bfadc Make sure to use case-sensitive search
* lisp/progmodes/xref.el (xref-collect-references): Make sure to
use case-sensitive search.
2016-03-03 02:36:27 +02:00
Ulf Jasper
8b01e6969f 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.
2016-03-02 19:03:27 +01:00
Alan Third
100346aa22 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.
2016-03-02 17:21:39 +00:00
Alan Third
5aba61ea21 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.
2016-03-02 17:21:38 +00:00
Nicolas Petton
6287381da4 ; Auto-commit of loaddefs files. 2016-03-02 18:03:12 +01:00
Nicolas Petton
041a140db0 Bump version to 25.0.92
* README:
* configure.ac:
* msdos/sed2v2.inp: Bump version to 25.0.92.
2016-03-02 17:05:22 +01:00
Nicolas Petton
d6f6b7db92 * etc/AUTHORS: Update the AUTHORS file 2016-03-02 17:04:36 +01:00
Nicolas Petton
5cf7c393b7 authors.el updates
* admin/authors.el (authors-ignored-files): Addition.
2016-03-02 17:03:59 +01:00
Nicolas Petton
a26f1933db ; fix changelog entries 2016-03-02 17:03:21 +01:00
Nicolas Petton
fbc85c79ba ; make change-history-commit 2016-03-02 13:46:19 +01:00
Michael Albinus
06da00c6cf Fix Bug#22859
* lisp/filenotify.el (file-notify-callback): Return a `deleted'
event in case of kqueue and file1 is nil.  (Bug#22859)
2016-03-02 10:24:55 +00:00
Eli Zaretskii
ab30bf5e87 ; * src/w32proc.c: Update the commentary to sys_select. 2016-03-01 20:18:10 +02:00
Eli Zaretskii
14810299f2 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)
2016-03-01 18:41:04 +02:00
Alan Mackenzie
60e0596402 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.
2016-03-01 15:10:52 +00:00
Glenn Morris
733fb9fdf5 ; Auto-commit of loaddefs files. 2016-03-01 07:19:06 -05:00
Michael Albinus
f5d14353c2 Fix targets in test/automated/Makefile.in
* test/automated/Makefile.in: Use $(SELECTOR_DEFAULT) also for
empty target and target all.
2016-03-01 10:58:01 +01:00
Oscar Fuentes
38698b6eaa ; * lisp/vc/vc-hooks.el: corrected docstring of face
Do not merge to master
2016-03-01 04:55:31 +01:00
Leo Liu
b6d6304179 Comment on last change to define-derived-mode
* lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
2016-03-01 11:51:34 +08:00
Lars Ingebrigtsen
7c1e6ebfcb 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 144bb0cf32)
2016-03-01 14:50:01 +11:00
Lars Ingebrigtsen
cb1e3da12e 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").
2016-03-01 11:31:52 +11:00
Anders Lindgren
bbe8a899ac 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.
2016-02-29 21:54:15 +01:00
Lars Ingebrigtsen
dc42d0ca0b 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 cad0bc7055)
2016-02-29 22:21:30 +11:00
Lars Ingebrigtsen
9781dc4da3 Make <div> in <li> not insert extra newlines
* lisp/net/shr.el (shr-tag-div): Make <div> in <li> not insert
extra newlines (bug#19587).

Backport:

(cherry picked from commit 379a846b85)
2016-02-29 18:06:59 +11:00
Dmitry Gutov
aae436e2d8 Uncomment the next-error-function integration in xref
* lisp/progmodes/xref.el (xref--xref-buffer-mode):
Uncomment the next-error-function integration
(http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20489#110).
2016-02-29 05:16:41 +02:00
Dmitry Gutov
5f0d0965bd Remove the word "valid", to avoid ambiguity
* doc/emacs/maintaining.texi (Identifier Search)
(Looking Up Identifiers): Remove the word "valid" (bug#22692).
2016-02-29 04:45:00 +02:00
Michael Albinus
52f64cc2e7 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25 2016-02-28 11:09:12 +01:00
Michael Albinus
5a44bfea9d Set auto-revert-use-notify to nil in global-auto-revert-mode. (Bug#22814)
* etc/NEWS:
* etc/PROBLEMS: Mention this.

* lisp/autorevert.el (global-auto-revert-mode): Set
`auto-revert-use-notify' to nil.  (Bug#22814)
2016-02-28 10:54:45 +01:00
Paul Eggert
433407d823 * etc/TODO: Minor quoting and grammar fixes. 2016-02-28 01:27:35 -08:00
Friedrich Beckmann
0d60bfc431 Fix ModelSim error parsing
* lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Fix
ModelSim error parsing (bug#5768).

Copyright-paperwork-exempt: yes
2016-02-28 17:04:09 +11:00
Lars Ingebrigtsen
5cac11aa06 Make parse-time-string-chars faster
* lisp/calendar/parse-time.el (parse-time-string-chars): Clean
up the code (backport:).
2016-02-28 15:39:33 +10:30
Lars Ingebrigtsen
b13cab683c Add a eww command to toggle paragraph direction
* lisp/net/eww.el (eww-toggle-paragraph-direction): New
command and keystroke.

* doc/misc/eww.texi (Advanced): Mention the `D' command.
2016-02-28 14:52:56 +10:30
Glenn Morris
4e46128131 * nextstep/WISHLIST: Merge into etc/TODO and remove.
* etc/TODO: Merge in items from nextstep/WISHLIST.
* nextstep/README: Update for this change.
2016-02-27 11:05:10 -08:00
Andreas Schwab
9e078e592f Fix char signedness issue in bidi code
* src/dispextern.h (struct bidi_t): Change type of resolved_level
and isolate_level to signed char.  (Bug#22830)
2016-02-27 16:59:50 +01:00