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)
Lars Ingebrigtsen [Mon, 29 Feb 2016 07:06:36 +0000 (18:06 +1100)]
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
379a846b8548dc32a9019ef0a37c02f62cd9bad1)
Dmitry Gutov [Mon, 29 Feb 2016 03:16:41 +0000 (05:16 +0200)]
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).
Dmitry Gutov [Mon, 29 Feb 2016 02:45:00 +0000 (04:45 +0200)]
Remove the word "valid", to avoid ambiguity
* doc/emacs/maintaining.texi (Identifier Search)
(Looking Up Identifiers): Remove the word "valid" (bug#22692).
Michael Albinus [Sun, 28 Feb 2016 10:09:12 +0000 (11:09 +0100)]
Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
Michael Albinus [Sun, 28 Feb 2016 09:54:45 +0000 (10:54 +0100)]
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)
Paul Eggert [Sun, 28 Feb 2016 09:26:52 +0000 (01:26 -0800)]
* etc/TODO: Minor quoting and grammar fixes.
Friedrich Beckmann [Sun, 28 Feb 2016 06:04:09 +0000 (17:04 +1100)]
Fix ModelSim error parsing
* lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist): Fix
ModelSim error parsing (bug#5768).
Copyright-paperwork-exempt: yes
Lars Ingebrigtsen [Sun, 28 Feb 2016 05:09:33 +0000 (15:39 +1030)]
Make parse-time-string-chars faster
* lisp/calendar/parse-time.el (parse-time-string-chars): Clean
up the code (backport:).
Lars Ingebrigtsen [Sun, 28 Feb 2016 04:22:56 +0000 (14:52 +1030)]
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.
Glenn Morris [Sat, 27 Feb 2016 19:05:10 +0000 (11:05 -0800)]
* nextstep/WISHLIST: Merge into etc/TODO and remove.
* etc/TODO: Merge in items from nextstep/WISHLIST.
* nextstep/README: Update for this change.
Andreas Schwab [Sat, 27 Feb 2016 15:53:03 +0000 (16:53 +0100)]
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)
Andreas Schwab [Sat, 27 Feb 2016 13:19:06 +0000 (14:19 +0100)]
* lib-src/pop.c (socket_connection): Fix format string.
Eli Zaretskii [Sat, 27 Feb 2016 11:27:36 +0000 (13:27 +0200)]
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.
Leo Liu [Sat, 27 Feb 2016 05:48:01 +0000 (13:48 +0800)]
* lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change.
Michael Albinus [Fri, 26 Feb 2016 20:00:28 +0000 (21:00 +0100)]
etc/PROBLEMS: Mention problems with using file descriptors
* etc/PROBLEMS: Mention problems with using file descriptors
of kqueue file notification library.
Kaushal Modi [Fri, 26 Feb 2016 18:32:12 +0000 (20:32 +0200)]
* lisp/apropos.el (apropos-variable): Doc fix. (Bug#22813).
Eli Zaretskii [Thu, 25 Feb 2016 19:59:57 +0000 (21:59 +0200)]
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)
Eli Zaretskii [Thu, 25 Feb 2016 19:22:58 +0000 (21:22 +0200)]
; * etc/NEWS: Reflect latest changes in saveplace.
Stefan Monnier [Thu, 25 Feb 2016 18:44:43 +0000 (13:44 -0500)]
* 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.
Eli Zaretskii [Thu, 25 Feb 2016 17:57:47 +0000 (19:57 +0200)]
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)
Alan Mackenzie [Thu, 25 Feb 2016 09:31:23 +0000 (09:31 +0000)]
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.
Magnus Henoch [Thu, 25 Feb 2016 05:40:19 +0000 (16:10 +1030)]
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).
Chris Feng [Thu, 25 Feb 2016 01:34:55 +0000 (09:34 +0800)]
Fix an assertion
* src/dispnew.c (clear_glyph_matrix_rows): Test matrix->nrows == 0 (which
implies start == 0) separately.
Eli Zaretskii [Wed, 24 Feb 2016 20:56:32 +0000 (22:56 +0200)]
Fix 'toggle-save-place'
* lisp/saveplace.el (toggle-save-place): Set up hooks necessary to
support save-place in the buffer. Autoload the command.
Stefan Monnier [Wed, 24 Feb 2016 20:50:54 +0000 (15:50 -0500)]
* 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.
Chris Zheng [Wed, 24 Feb 2016 20:35:18 +0000 (22:35 +0200)]
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
Anders Lindgren [Wed, 24 Feb 2016 20:25:09 +0000 (21:25 +0100)]
Update HISTORY section in readme for the NextStep interface.
* nextstep/README: Update HISTORY after suggestion
from former maintainer Adrian Robert.
Eli Zaretskii [Wed, 24 Feb 2016 20:00:45 +0000 (22:00 +0200)]
; * doc/lispref/modes.texi (Font Lock Basics): Minor rewording.
Eli Zaretskii [Wed, 24 Feb 2016 19:54:21 +0000 (21:54 +0200)]
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.
Chris Feng [Wed, 24 Feb 2016 07:58:02 +0000 (08:58 +0100)]
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
Lars Ingebrigtsen [Wed, 24 Feb 2016 02:55:29 +0000 (13:55 +1100)]
Fix white space in last checkin
Dima Kogan [Wed, 24 Feb 2016 02:54:17 +0000 (13:54 +1100)]
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).
Kaushal Modi [Wed, 24 Feb 2016 02:30:30 +0000 (13:30 +1100)]
etc/NEWS: Mention the new second parameter to `package-install'
* etc/NEWS: Mention the new second parameter to
`package-install' (bug#22784).
John F. Trudeau [Wed, 24 Feb 2016 01:21:06 +0000 (12:21 +1100)]
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
bbd86c5642bd62c43d72391669f28eaa14459fd5)
Eli Zaretskii [Tue, 23 Feb 2016 17:42:14 +0000 (19:42 +0200)]
Improve documentation of focus-related hooks
* doc/lispref/commands.texi (Focus Events): Mention focus-related
hooks. (Bug#21728)
Eli Zaretskii [Tue, 23 Feb 2016 17:35:21 +0000 (19:35 +0200)]
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)
Michael Albinus [Tue, 23 Feb 2016 12:51:36 +0000 (13:51 +0100)]
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.
Jan Tatarik [Tue, 23 Feb 2016 10:17:41 +0000 (21:17 +1100)]
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.
Drew Adams [Tue, 23 Feb 2016 10:12:55 +0000 (21:12 +1100)]
(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
ef52e66efd78aac4c4e5bd5e11870e5ba3b37a1e)
Vaidheeswaran C [Tue, 23 Feb 2016 09:46:00 +0000 (20:46 +1100)]
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
c11e565a6b6d09fa39d4c3ef65bef08190eaecc1)
Christopher Wellons [Tue, 23 Feb 2016 04:45:08 +0000 (15:45 +1100)]
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).
Łukasz Stelmach [Tue, 23 Feb 2016 03:54:30 +0000 (14:54 +1100)]
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
3cedbdcc71ebefc12bd20ec84f74251fe99ee7d0)
Nicolas Richard [Tue, 23 Feb 2016 03:38:30 +0000 (14:38 +1100)]
(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).
Lars Ingebrigtsen [Tue, 23 Feb 2016 02:31:25 +0000 (13:31 +1100)]
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).
Dmitry Gutov [Tue, 23 Feb 2016 00:27:49 +0000 (02:27 +0200)]
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.
Dmitry Gutov [Mon, 22 Feb 2016 22:56:51 +0000 (00:56 +0200)]
Make find-tag-default-bounds more strict
* lisp/subr.el (find-tag-default-bounds): Delegate to
bounds-of-thing-at-point (bug#22692).
Michael Albinus [Mon, 22 Feb 2016 21:05:00 +0000 (22:05 +0100)]
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.
Michael Albinus [Mon, 22 Feb 2016 17:52:37 +0000 (18:52 +0100)]
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.
Eli Zaretskii [Mon, 22 Feb 2016 17:30:01 +0000 (19:30 +0200)]
Fix documentation of 'global-disable-point-adjustment'
* src/keyboard.c (syms_of_keyboard) <disable-point-adjustment>
<global-disable-point-adjustment>: Doc fixes. (Bug#22771)
Paul Eggert [Mon, 22 Feb 2016 15:44:01 +0000 (07:44 -0800)]
; Spelling fix
Daiki Ueno [Mon, 22 Feb 2016 02:28:11 +0000 (11:28 +0900)]
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'.
Daiki Ueno [Mon, 22 Feb 2016 01:40:42 +0000 (10:40 +0900)]
Clarify GnuPG version compatibility chapter
* doc/misc/epa.texi (GnuPG version compatibility): Make the gpg-agent
description a bit clearer.
Daiki Ueno [Mon, 22 Feb 2016 01:45:53 +0000 (10:45 +0900)]
Revert "Change the default socket location for pinentry"
This reverts commit
e34fbdee8aca84b98393b06b2450837d175999ca.
It turned out that the address is fixed in Pinentry itself.
Dmitry Gutov [Sun, 21 Feb 2016 22:40:53 +0000 (00:40 +0200)]
Kill off xref--display-history
Now that the core workflow keeps the xref window visible, there's
less value in storing this history. And it never was
comprehensive enough to undo scrolling changes.
* lisp/progmodes/xref.el (xref--display-history)
(xref--save-to-history, xref-quit): Remove.
(xref--show-pos-in-buf): Update accordingly.
(xref--xref-buffer-mode-map): Remove xref-quit binding.
Dmitry Gutov [Sun, 21 Feb 2016 22:26:24 +0000 (00:26 +0200)]
Keep the xref buffer visible until the user quits it explicitly
* lisp/progmodes/xref.el (xref--pop-to-location):
Rename WINDOW argument to ACTION.
(xref--with-dedicated-window): New macro.
(xref--show-pos-in-buf): Rename from `xref--display-position'.
Add and handle new argument, SELECTED. Use the above macro.
(xref--show-location): Add SELECTED argument.
(xref-show-location-at-point): Make an effort to avoid the
original window when showing the location.
(xref-goto-xref): Don't quit the xref window (bug#20487 and
http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01133.html).
(xref--query-replace-1): Use xref--with-dedicated-window as well.
(xref--next-error-function): Call xref--show-location instead of
xref--pop-to-location.
(xref--show-xrefs): Rename WINDOW argument to DISPLAY-ACTION.
Only pass that value to xref--pop-to-location. Pass the current
selected window to xref-show-xrefs-function as the `window'
property.
(xref--find-xrefs, xref--find-definitions): Rename WINDOW argument
to DISPLAY-ACTION as well.
Daiki Ueno [Sun, 21 Feb 2016 21:06:50 +0000 (06:06 +0900)]
Change the default socket location for pinentry
* lisp/net/pinentry.el: Require 'cl-lib for `cl-letf'.
(pinentry--socket-dir): Change the default from /tmp/emacsXXX to
~/.emacs.d/pinentry.
(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'.
Daiki Ueno [Sun, 21 Feb 2016 21:05:14 +0000 (06:05 +0900)]
Mention how to enable pinentry feature
* etc/NEWS: Mention "gpgconf --reload gpg-agent".
* lisp/net/pinentry.el: Likewise.
Paul Eggert [Sun, 21 Feb 2016 20:34:00 +0000 (12:34 -0800)]
Sync with gnulib
This incorporates:
2016-02-10 stdalign: port to older HP and IBM cc
* doc/misc/texinfo.tex, lib/stdalign.in.h: Copy from gnulib.
David Engster [Sun, 21 Feb 2016 16:16:45 +0000 (17:16 +0100)]
Remove `semanticdb-save-all-db-idle' from `auto-save-hook'
* lisp/cedet/semantic/db-mode.el (semanticdb-hooks): Do not put
`semanticdb-save-all-db-idle' into `auto-save-hook'. The latter is
not an idle hook, so it's not appropriate to call it there. It will
already be called in the `semantic-idle-work-core-handler', which
runs when Emacs is actually idle.
David Engster [Sun, 21 Feb 2016 16:11:01 +0000 (17:11 +0100)]
Restore point when writing semantic table to disk
* lisp/cedet/semantic/db-file.el (object-write): Wrap call to
`semantic-fetch-tags' in `save-excursion', since it might move point
in current buffer. (Bug #22287)
Daiki Ueno [Sun, 21 Feb 2016 09:20:40 +0000 (18:20 +0900)]
Mention pinentry.el in epa manual
* doc/misc/epa.texi (GnuPG version compatibility): New chapter,
describing the differences between three GnuPG branches, and how
to enable pinentry.el.
(Caching Passphrases): Add xref to the compatibility chapter.
Michael Albinus [Sun, 21 Feb 2016 08:58:55 +0000 (09:58 +0100)]
Fix Bug#22736
* lisp/filenotify.el (file-notify-callback): Use the proper
descriptor when calling the callback. (Bug#22736)
* test/automated/file-notify-tests.el
(file-notify--test-event-handler): Deactivate trace.
(file-notify-test08-watched-file-in-watched-dir): Bind
`file-notify--test-tmpfile' temporarily in `dir-callback'.
Wieland Hoffmann [Sun, 21 Feb 2016 02:32:22 +0000 (13:32 +1100)]
Grammar fix in doc string
* lisp/custom.el (defgroup): Grammar fix in doc string.
Copyright-paperwork-exempt: yes
Daiki Ueno [Sat, 20 Feb 2016 22:26:40 +0000 (07:26 +0900)]
Naming fix for consistency
* lisp/epg-config.el (epg-find-configuration): Rename from
`epg-configuration-find' to be consistent with other epg-* functions.
Change all callers.
Daiki Ueno [Sat, 20 Feb 2016 22:11:04 +0000 (07:11 +0900)]
Prefer customized value for GnuPG executable
* lisp/epg-config.el (epg-configuration-find): Don't check GPG
configuration if it is already set with custom. (Bug#22747)
Eli Zaretskii [Sat, 20 Feb 2016 16:59:14 +0000 (18:59 +0200)]
Fix memory reservation on MS-Windows
* src/w32heap.c (mmap_alloc): Reserve memory in 64KB granular
units. This avoids leaving gaps in reserved memory regions that
no one can use, since memory reservation must produce 64KB-aligned
addresses. (Bug#22526)
Anders Lindgren [Sat, 20 Feb 2016 15:24:40 +0000 (16:24 +0100)]
Update NextStep readme and add wish list.
* nextstep/README: Rewritten from scratch. New sections on
"History", "Overview of Cocoa and Objective-C", "Guidelines",
"Tracing Support", and "GNUStep". Expanded the "See Also" section.
* nextstep/WISHLIST: New file containing list of issues and ideas
associated with the NS port of Emacs.
Michael Albinus [Sat, 20 Feb 2016 13:20:54 +0000 (14:20 +0100)]
Report also result in `file-notify--test-event-handler'
Michael Albinus [Sat, 20 Feb 2016 13:04:36 +0000 (14:04 +0100)]
Improve file-notify-test08-watched-file-in-watched-dir
* test/automated/file-notify-tests.el (file-notify--test-desc2):
New variable.
(file-notify--test-cleanup): Use it.
(file-notify--test-event-handler): Enable trace.
(file-notify-test08-watched-file-in-watched-dir): Tag it as
:expensive-test. Rewrite callbacks to use
`file-notify--test-event-handler'. Read events in loop. Check
`file-notify--test-results'.
(file-notify-test08-watched-file-in-watched-dir): Fix docstring.
Stephen Berman [Sat, 20 Feb 2016 12:44:47 +0000 (13:44 +0100)]
Fix todo-mode item date editing bugs
* lisp/calendar/todo-mode.el (todo-edit-item--header): Prevent out of
range error by making sure the value of the numerical month date
component cannot be nil. Prevent wrong type error on trying to edit
day number in February by making sure numerical instead of string
value of the year component is passed to todo-read-date.
(todo-read-date): When using the numerical month date component make
sure to use `*' for an arbitrary month instead of its numerical value.
Eli Zaretskii [Sat, 20 Feb 2016 11:03:20 +0000 (13:03 +0200)]
Fix "[:upper:]" for non-ASCII characters
* src/regex.c (re_match_2_internal): Support [:upper:] and
[:lower:] for non-ASCII characters. (Bug#18150)
Lars Ingebrigtsen [Sat, 20 Feb 2016 08:05:45 +0000 (19:05 +1100)]
Allow customising the article mode cursor behavior
* doc/misc/gnus.texi (HTML): Mention gnus-article-show-cursor.
* lisp/gnus/gnus-art.el (gnus-article-show-cursor): New variable.
(gnus-article-mode): Use it.
Ari Roponen [Sat, 20 Feb 2016 07:57:44 +0000 (18:57 +1100)]
Use pop-to-buffer-same-window in woman.el
* lisp/woman.el (woman-really-find-file): Work around going to
the wrong buffer by using `pop-to-buffer-same-window' (bug#22332).
(WoMan-find-buffer): Ditto.
Tassilo Horn [Sat, 20 Feb 2016 07:33:11 +0000 (08:33 +0100)]
New filenotify test for bug#22736
* test/automated/file-notify-tests.el
(file-notify-test08-watched-file-in-watched-dir):
(file-notify--test-desc1): New filenotify test for bug#22736
Marcin Borkowski [Sat, 20 Feb 2016 07:33:48 +0000 (18:33 +1100)]
Report critical battery errors
* lisp/battery.el (battery-pmset): Report critical battery
errors (bug#18157).
Kaushal Modi [Fri, 19 Feb 2016 05:55:54 +0000 (16:55 +1100)]
Make eww message toggling message clearer
* lisp/net/eww.el (eww-toggle-fonts): Make the message
clearer.
Copyright-paperwork-exempt: Yes
Mark Oteiza [Fri, 19 Feb 2016 02:38:44 +0000 (21:38 -0500)]
* lisp/calc/calc-units.el (math-standard-units): Update to 2014 CODATA adjustment.
Eli Zaretskii [Thu, 18 Feb 2016 17:42:17 +0000 (19:42 +0200)]
; Improve character-folding entries in NEWS
* etc/NEWS: Expand description of character-folding support.
Suggested by Mark Oteiza <mvoteiza@udel.edu>.
Martin Rudalics [Thu, 18 Feb 2016 10:25:07 +0000 (11:25 +0100)]
Fix bugs in window resizing code
* lisp/window.el (adjust-window-trailing-edge): Fix mismatched
parenthesis.
(shrink-window, enlarge-window): Fix bug#22723 where windows
with preserved size would not get resized. Also now signal an
error when the window cannot be shrunk or enlarged as requested.
Eli Zaretskii [Wed, 17 Feb 2016 15:48:30 +0000 (17:48 +0200)]
Fix decoding DOS EOL in a unibyte buffer
* src/coding.c (decode_eol): Loop over bytes, not characters.
(Bug#5251)
Alan Mackenzie [Wed, 17 Feb 2016 11:53:01 +0000 (11:53 +0000)]
Correct c-parse-state cache manipulation error.
* lisp/progmodes/cc-engine.el (c-invalidate-state-cache-1): Correct a
comparison bound. Amend comments.
Daiki Ueno [Wed, 17 Feb 2016 07:44:16 +0000 (16:44 +0900)]
Take advantage of new GnuPG version check function
* lisp/emacs-lisp/package.el (epg-configuration-find): Declare.
(package-refresh-contents): Use `epg-configuration-find' to check if EPG
is usable.
Daiki Ueno [Wed, 17 Feb 2016 07:32:25 +0000 (16:32 +0900)]
Make GnuPG version check robuster
We changed the default gpg program to "gpg2" from "gpg" in the commit
f93d669a16bd3cb3f43f0c8cfd22fe18b627a6a1. However, there are two
maintained branches (2.0 and 2.1) and Emacs doesn't work well with 2.0
series. Check the actual version of "gpg2" at run time, and properly
divert to "gpg" if necessary.
* lisp/epg-config.el: Require 'cl-lib for `cl-destructuring-bind'.
(epg-config--program-alist): New variable.
(epg--configurations): New variable.
(epg-configuration-find): New function.
(epg-config--make-gpg-configuration): New function.
(epg-config--make-gpgsm-configuration): New function.
(epg-configuration): Mark as obsolete.
* lisp/epg.el (epg-context): Use `epg-configuration-find'.
Paul Eggert [Wed, 17 Feb 2016 07:25:21 +0000 (23:25 -0800)]
Fix x-load-color-file pointer signedness
* src/xfaces.c (Fx_load_color_file) [!HAVE_X_WINDOWS]:
For sscanf and int *, use %d, not %u.
Problem found on Ubuntu 15.10 x32, which lacks X support.
Paul Eggert [Tue, 16 Feb 2016 23:01:50 +0000 (15:01 -0800)]
* lisp/time-stamp.el (time-stamp-time-zone): Fix doc string punct.