1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 19:31:02 -08:00
Commit graph

124486 commits

Author SHA1 Message Date
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
Andreas Schwab
064adf6ff0 * lib-src/pop.c (socket_connection): Fix format string. 2016-02-27 14:25:15 +01:00
Eli Zaretskii
14060a9c16 Avoid inflooping in thing-at-point-looking-at
* lisp/thingatpt.el (thing-at-point-looking-at): Avoid inflooping
with regular expressions whose matching doesn't move point.
(Bug#22756)
Describe the argument DISTANCE in the doc string.
2016-02-27 13:27:36 +02:00
Leo Liu
098d47bcf7 * lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change. 2016-02-27 13:48:43 +08:00
Michael Albinus
b5db8e0461 etc/PROBLEMS: Mention problems with using file descriptors
* etc/PROBLEMS: Mention problems with using file descriptors
of kqueue file notification library.
2016-02-26 21:00:28 +01:00
Kaushal Modi
ec10ef95cf * lisp/apropos.el (apropos-variable): Doc fix. (Bug#22813). 2016-02-26 20:32:12 +02:00
Eli Zaretskii
d2dd614716 Remove unneeded workaround in xftfont.c
* src/xftfont.c (xftfont_open): Remove "dirty workaround" for
XftTextExtents8 behavior, as it is no longer needed.  Suggested by
Fangwen Yu <yynyygy@gmail.com>.  (Bug#22383)
2016-02-25 21:59:57 +02:00
Eli Zaretskii
9b7593c47a ; * etc/NEWS: Reflect latest changes in saveplace. 2016-02-25 21:22:58 +02:00
Stefan Monnier
fde0cd1adc * lisp/saveplace.el (save-place-local-mode): New minor mode
(toggle-save-place): Define as obsolete alias.
(save-place--setup-hooks): New function.
(save-place-mode): Use it.
2016-02-25 13:44:43 -05:00
Eli Zaretskii
06a872b71d Fix redisplay on a TTY after 'make-frame'
* src/xdisp.c (clear_garbaged_frames): Don't clear/redraw a
garbaged TTY frame if it is not the selected frame.  (Bug#22794)
2016-02-25 19:57:47 +02:00
Alan Mackenzie
95f5a4337c Make double-click-1 work with unbalanced parens in CC Mode. Fixes bug#5560.
* lisp/mouse.el (mouse-start-end): check the syntax of alleged parens with
`syntax-after' to ensure syntax-table text properties are respected.
2016-02-25 09:31:23 +00:00
Magnus Henoch
7d206fc604 Input method polish-slash should not use keyboard translation
* lisp/leim/quail/latin-pre.el ("polish-slash"): Input method
polish-slash should not use keyboard translation (bug#19081).
2016-02-25 16:11:40 +10:30
Chris Feng
8be32cf45c Fix an assertion
* src/dispnew.c (clear_glyph_matrix_rows): Test matrix->nrows == 0 (which
implies start == 0) separately.
2016-02-25 09:34:55 +08:00
Eli Zaretskii
040e0d6b3b Fix 'toggle-save-place'
* lisp/saveplace.el (toggle-save-place): Set up hooks necessary to
support save-place in the buffer.  Autoload the command.
2016-02-24 22:56:32 +02:00
Stefan Monnier
5244db2915 * src/keyboard.c: Don't inadvertently set immediate_echo (bug#22581)
* src/keyboard.c (read_key_sequence): Don't inadvertently set
immediate_echo when we don't want any echo-keystrokes.
(echo_keystrokes_p): Move earlier.
2016-02-24 15:50:54 -05:00
Chris Zheng
9d0b103a45 Minor fixes in calculator.el
* lisp/calculator.el (calculator-mode-map): Bind `E' for
`calculator-exp'.
(calculator-last-input): Fix a bug with pressing F1.
(Bug#20764)

Copyright-paperwork-exempt: yes
2016-02-24 22:35:18 +02:00
Anders Lindgren
e6a3819560 Update HISTORY section in readme for the NextStep interface.
* nextstep/README: Update HISTORY after suggestion
from former maintainer Adrian Robert.
2016-02-24 21:25:09 +01:00
Eli Zaretskii
f67f1edd69 ; * doc/lispref/modes.texi (Font Lock Basics): Minor rewording. 2016-02-24 22:00:45 +02:00
Eli Zaretskii
7c81a0b9c6 Improve documentation of 'save-place-mode'
* lisp/saveplace.el (toggle-save-place): Update the doc string wrt
turning on 'save-place-mode' globally.

* etc/NEWS: Mention the need to call 'save-place-mode' for turning
on the mode in all buffers.
2016-02-24 21:54:21 +02:00
Chris Feng
cab3f0a222 Allocate glyph matrices for the initial frame
* src/frame.c (make_initial_frame): Allocate glyph matrices (Bug#22787).

* src/dispnew.c (clear_glyph_matrix_rows): matrix->nrows can be 0.

Copyright-paperwork-exempt: yes
2016-02-24 08:58:02 +01:00
Lars Ingebrigtsen
e01c72f8f4 Fix white space in last checkin 2016-02-24 13:55:29 +11:00
Dima Kogan
370eb67604 Make `insert-pair' always leave the cursor where documented
* lisp/emacs-lisp/lisp.el (insert-pair): The docstring of
insert-pair states that after insertion, the point ends up
after the opening character. This was not true if the pair was
inserted to surround a region (bug#16949).
2016-02-24 13:54:17 +11:00
Kaushal Modi
b594393d4d etc/NEWS: Mention the new second parameter to `package-install'
* etc/NEWS: Mention the new second parameter to
`package-install' (bug#22784).
2016-02-24 13:30:30 +11:00
John F. Trudeau
ce4bdd77b0 Highlight assignments in Makefiles more correctly
* lisp/progmodes/make-mode.el (makefile-macroassign-regex):
Highlight assignments preceded by a TAB character correctly
(bug#20787).

Copyright-paperwork-exempt: yes

Backport:

(cherry picked from commit bbd86c5642)
2016-02-24 12:22:15 +11:00
Eli Zaretskii
bd58c136d6 Improve documentation of focus-related hooks
* doc/lispref/commands.texi (Focus Events): Mention focus-related
hooks.  (Bug#21728)
2016-02-23 19:42:14 +02:00
Eli Zaretskii
00a4720318 Further improve doc string of 'disable-point-adjustment'
* src/keyboard.c (syms_of_keyboard): <disable-point-adjustment>
<global-disable-point-adjustment>: Clarify doc strings.  (Bug#22771)
2016-02-23 19:35:21 +02:00
Michael Albinus
c582def527 Further adaptions in file-notify-tests.el for w32notify
* test/automated/file-notify-tests.el
(file-notify--test-read-event-timeout, file-notify--test-timeout):
Decrease values.
(file-notify-test03-autorevert)
(file-notify-test04-file-validity)
(file-notify-test05-dir-validity): Run tests also for w32notify.
(file-notify-test08-watched-file-in-watched-dir):
Adapt expected events for w32notify.
2016-02-23 13:51:36 +01:00
Jan Tatarik
a1585e18c0 Don't bug out on localised dates in gnus-icalendar
* lisp/gnus/gnus-icalendar.el
(gnus-icalendar-event:org-timestamp): Don't bug out on
localised dates.
2016-02-23 21:17:41 +11:00
Drew Adams
dfe16506a9 (ls-lisp-insert-directory): Make -B work
* lisp/ls-lisp.el (ls-lisp-insert-directory): Make -B work
(bug#20776).

Backport:

(cherry picked from commit ef52e66efd)
2016-02-23 21:13:35 +11:00
Vaidheeswaran C
42bc065a6a Make buttons in header lines work
* lisp/help-mode.el (help-button-action): `help-xref-button' in
header line doesn't work (bug#21024).

Backport:

(cherry picked from commit c11e565a6b)
2016-02-23 20:47:24 +11:00
Christopher Wellons
7bc4820ffd Make setf for frame-height/width work again
* lisp/emacs-lisp/cl-lib.el (frame-height): Make setf for
frame-height/width work again (bug#21979).
2016-02-23 15:45:08 +11:00
Łukasz Stelmach
1af5e6e0ac Encode header strings before printing
* lisp/ps-print.el (ps-generate-header-line): Encode the
header strings to avoid problems with non-ASCII headers
(bug#22611).

Backport:

(cherry picked from commit 3cedbdcc71)
2016-02-23 14:56:11 +11:00
Nicolas Richard
6620944f83 (cl-union): Do not ignore :test argument when lists are equal.
* cl-seq.el (cl-union): Do not ignore :test argument when lists are equal.

* test/automated/cl-seq-tests.el: New file (bug#22729).
2016-02-23 14:38:30 +11:00
Lars Ingebrigtsen
17dd3fb4a5 Add isearch' to basic-faces'
* doc/lispref/display.texi (Basic Faces): Mention the isearch
and lazy-highlight faces.

* lisp/replace.el (match): Add `isearch' to the `basic-faces'
group, too (bug#22760).
2016-02-23 13:31:32 +11:00
Dmitry Gutov
c1ec7434c3 Make $, : and @ "prefix characters" in ruby-mode
* lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Change the
syntax classes of $, : and @ to "prefix character"
(http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00272.html).
(ruby-syntax-propertize): Undo that specifically for colons
followed by an opening paren or bracket.
(ruby-font-lock-keyword-beg-re): Include colon character.
(ruby-font-lock-keywords): Adjust the constants matcher for `:'
not being a symbol constituent anymore.
2016-02-23 02:28:40 +02:00
Dmitry Gutov
e72a26e009 Make find-tag-default-bounds more strict
* lisp/subr.el (find-tag-default-bounds): Delegate to
bounds-of-thing-at-point (bug#22692).
2016-02-23 02:28:40 +02:00
Michael Albinus
1bc0e0a5b7 Minor fixes in filenotify.el
* lisp/filenotify.el (top): Require 'cl-lib.
(file-notify--rm-descriptor)
(file-notify--event-watched-file): Use cl-caadr.
(file-notify-callback): Handle also `ignore' events from inotify.
2016-02-22 22:05:00 +01:00
Michael Albinus
a9c48d5c9e Additional fixes for file notification
* lisp/filenotify.el (top): Require 'cl when compiling.
(file-notify--event-watched-file): New defun.
(file-notify--rm-descriptor, file-notify-callback):
Handle case of several monitors running in parallel.

* test/automated/file-notify-tests.el
(file-notify--test-event-test): Simplify test.
(file-notify--test-with-events): Get rid of outer definition.
Check also results of tests performed in callbacks.
(file-notify-test02-events): No wrapping when calling
`file-notify-rm-watch'.  No special checking for callback tests.
(file-notify-test07-backup): Adapt expected events for gfilenotify.
(file-notify-test08-watched-file-in-watched-dir): Improve.
2016-02-22 18:52:37 +01:00
Eli Zaretskii
6bd9d697fd Fix documentation of 'global-disable-point-adjustment'
* src/keyboard.c (syms_of_keyboard) <disable-point-adjustment>
<global-disable-point-adjustment>: Doc fixes.  (Bug#22771)
2016-02-22 19:30:01 +02:00
Paul Eggert
8c22ac9115 ; Spelling fix 2016-02-22 07:44:28 -08:00
Daiki Ueno
29757844e5 Set file modes of pinentry socket for extra safety
* lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
(pinentry-start): Change the file modes of the socket file to 0700.
This is just for extra safety since the parent directory is already
protected with `server-ensure-safe-dir'.
2016-02-22 11:49:19 +09:00
Daiki Ueno
2667b3ebae Clarify GnuPG version compatibility chapter
* doc/misc/epa.texi (GnuPG version compatibility): Make the gpg-agent
description a bit clearer.
2016-02-22 10:46:35 +09:00
Daiki Ueno
5e34c3671a Revert "Change the default socket location for pinentry"
This reverts commit e34fbdee8a.
It turned out that the address is fixed in Pinentry itself.
2016-02-22 10:45:53 +09:00