aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog.2
diff options
context:
space:
mode:
authorPaul Eggert2016-01-30 13:56:23 -0800
committerPaul Eggert2016-01-30 13:56:23 -0800
commit99fa8c3dbf333f1e3fa7d6449d4b4428ce439ce1 (patch)
treefc459c16ca5f7204aa5a21529f8a189bfb45f831 /ChangeLog.2
parent3005605776955593e0b416de9e1ebf158114343e (diff)
parent875577bcc8d6139d61f91118d0907b847912b3e1 (diff)
downloademacs-99fa8c3dbf333f1e3fa7d6449d4b4428ce439ce1.tar.gz
emacs-99fa8c3dbf333f1e3fa7d6449d4b4428ce439ce1.zip
-
Diffstat (limited to 'ChangeLog.2')
-rw-r--r--ChangeLog.24939
1 files changed, 4909 insertions, 30 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2
index 7bb0862d886..9157eb50c62 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -1,3 +1,182 @@
12016-01-30 Nicolas Petton <nicolas@petton.fr>
2
3 Bump version to 25.0.90
4
5 * README:
6 * configure.ac:
7 * msdos/sed2v2.inp: Bump version to 25.0.90.
8
92016-01-30 Nicolas Petton <nicolas@petton.fr>
10
11 * etc/AUTHORS: Update the AUTHORS file
12
132016-01-30 Nicolas Petton <nicolas@petton.fr>
14
15 authors.el updates
16
17 * admin/authors.el (authors-renamed-files-alist): Additions.
18
192016-01-30 Nicolas Petton <nicolas@petton.fr>
20
21 Make it possible to run make change-history on emacs-25
22
23 * Makefile.in: Check if the current branch is emacs-25 instead of
24 master.
25
262016-01-30 lu4nx <lx@shellcodes.org>
27
28 Support Go language in 'etags'
29
30 * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
31 <Go_help>: New help.
32 <Go_suffixes>: New variable.
33 (Go_functions): New function.
34 <lang_names>: Add entry for Go. (Bug#22370)
35
36 * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
37 * doc/man/etags.1: Mention Go support.
38
39 * etc/NEWS: Mention Go support.
40
41 * test/etags/go-src/test.go:
42 * test/etags/go-src/test1.go: New test files.
43 * test/etags/Makefile (GOSRC): New variable.
44 (SRCS): Add $(GOSRC).
45 * test/etags/ETAGS.good_1:
46 * test/etags/ETAGS.good_2:
47 * test/etags/ETAGS.good_3:
48 * test/etags/ETAGS.good_4:
49 * test/etags/ETAGS.good_5:
50 * test/etags/ETAGS.good_6:
51 * test/etags/CTAGS.good: Adapt to addition of Go tests.
52
532016-01-30 Eli Zaretskii <eliz@gnu.org>
54
55 Improve Ruby support in 'etags'
56
57 * lib-src/etags.c (Ruby_functions): Tag constants. Don't tag
58 singleton classes. Remove class qualifiers from tags generated
59 for method and constant names. (Bug#22241)
60
61 * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
62 are tagged by etags in Ruby.
63
64 * etc/NEWS: Mention that constants are tagged by etags in Ruby.
65
66 * test/etags/ruby-src/test1.ruby: Add more tests.
67 * test/etags/ETAGS.good_1:
68 * test/etags/ETAGS.good_2:
69 * test/etags/ETAGS.good_3:
70 * test/etags/ETAGS.good_4:
71 * test/etags/ETAGS.good_5:
72 * test/etags/ETAGS.good_6:
73 * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
74 tests.
75
762016-01-30 Eli Zaretskii <eliz@gnu.org>
77
78 Adjust etags test results to changes in copyright years
79
80 * test/etags/CTAGS.good:
81 * test/etags/ETAGS.good_1:
82 * test/etags/ETAGS.good_2:
83 * test/etags/ETAGS.good_3:
84 * test/etags/ETAGS.good_4:
85 * test/etags/ETAGS.good_5:
86 * test/etags/ETAGS.good_6: Adjust to shift in characters and
87 in line numbers.
88
892016-01-30 Andreas Schwab <schwab@linux-m68k.org>
90
91 Revert "Re-enable checks in member, memql, delete to complain about non-lists"
92
93 This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
94
952016-01-30 Nicolas Petton <nicolas@petton.fr>
96
97 Make it possible to run make change-history on emacs-25
98
99 * Makefile.in: Check if the current branch is emacs-25 instead of
100 master.
101
1022016-01-30 Dmitry Gutov <dgutov@yandex.ru>
103
104 Don't fiddle with DEFAULT
105
106 * lisp/progmodes/project.el (project--completing-read-strict):
107 Don't change DEFAULT, whether is has any matches in
108 COLLECTION, or not.
109
1102016-01-30 Eli Zaretskii <eliz@gnu.org>
111
112 Document xwidget commands and functions
113
114 * doc/lispref/display.texi (Xwidgets): New section, describes some
115 of the xwidget primitives.
116 * doc/lispref/display.texi (Display): Update the chapter menu.
117 * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
118 * doc/emacs/emacs.texi (Top): Update the master menu to include
119 the xwidget node.
120
1212016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
122
123 Build fix for shr.el
124
125 * shr.el (seq): Require.
126
1272016-01-30 Dmitry Gutov <dgutov@yandex.ru>
128
129 Improve project-find-file yet again!
130
131 * lisp/progmodes/project.el (project--completing-read-strict):
132 New function.
133 (project-find-file-in): Use it.
134 (project-file-completion-table): Move the default
135 implementation inside the cl-defgeneric form.
136 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
137
1382016-01-30 Dmitry Gutov <dgutov@yandex.ru>
139
140 Don't pass DIR to 'hg status'
141
142 * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
143 Don't pass DIR to 'hg status' (bug#22481).
144
1452016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
146
147 Fix typo in previous commits
148
149 * lisp/progmodes/project.el (project-find-file-in):
150 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
151 commit.
152
1532016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
154
155 Improve project-find-file
156
157 * lisp/progmodes/project.el (project-file-completion-table): New.
158 (project-find-file, project-or-external-find-file): Default to filename
159 at point.
160 (project-file-completion-table): New, split out from
161 project--find-file-in.
162 (project-find-file-in): Renamed from project--find-file-in, use
163 project-file-completion-table.
164
165 * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
166 (xref--find-ignores-arguments): Add doc string.
167
1682016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
169
170 Implement vc-mtn-find-ignore-file, fix some doc strings
171
172 * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
173
174 * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
175
176 * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
177
178 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
179
12016-01-23 Michael Albinus <michael.albinus@gmx.de> 1802016-01-23 Michael Albinus <michael.albinus@gmx.de>
2 181
3 Improve user name completion in Tramp 182 Improve user name completion in Tramp
@@ -83,6 +262,7 @@
83 `ses--renamed-cell-symb-list', this variable is renamed to 262 `ses--renamed-cell-symb-list', this variable is renamed to
84 `ses--in-killing-named-cell-list', and its setting is done in 263 `ses--in-killing-named-cell-list', and its setting is done in
85 functions `ses-delete-row' and , `ses-delete-column' now. 264 functions `ses-delete-row' and , `ses-delete-column' now.
265 (ses-rename-cell): Make cell new name a buffer local variable.
86 (ses-rename-cell): Change correction of 266 (ses-rename-cell): Change correction of
87 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning 267 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
88 computation of the range over which `cursor-intangible' property was 268 computation of the range over which `cursor-intangible' property was
@@ -91,6 +271,2916 @@
91 `next-single-property-change' rather than computing the end column 271 `next-single-property-change' rather than computing the end column
92 from column widths. 272 from column widths.
93 273
2742016-01-30 Andreas Schwab <schwab@linux-m68k.org>
275
276 Re-enable checks in member, memql, delete to complain about non-lists
277
278 * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
279
2802016-01-30 Martin Rudalics <rudalics@gmx.at>
281
282 c:/emacs-git/next/ChangeLog
283
2842016-01-30 Eli Zaretskii <eliz@gnu.org>
285
286 Minor improvements to 'pcase' documentation
287
288 * doc/lispref/control.texi (Pattern matching case statement):
289 Improve the documentation of 'pcase' per comments. See two
290 discussion threads on emacs-devel@gnu.org for the details:
291 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
292 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
293
2942016-01-30 Glenn Morris <rgm@gnu.org>
295
296 Don't use eval to quieten prolog.el compilation.
297
298 * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
299 (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
300
3012016-01-30 Glenn Morris <rgm@gnu.org>
302
303 Mark some risky prolog variables.
304
305 * lisp/progmodes/prolog.el (prolog-system-version)
306 (prolog-keywords, prolog-types, prolog-mode-specificators)
307 (prolog-determinism-specificators, prolog-directives)
308 (prolog-program-name, prolog-program-switches)
309 (prolog-consult-string, prolog-compile-string)
310 (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
311 Mark anything processed by prolog-find-value-by-system as risky.
312
3132016-01-30 Glenn Morris <rgm@gnu.org>
314
315 * lisp/custom.el (defcustom): Doc fix.
316
317 * doc/lispref/customize.texi (Variable Definitions):
318 Defcustom should always have a type.
319
3202016-01-30 Glenn Morris <rgm@gnu.org>
321
322 * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
323 Fix :type.
324
325 * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
326
3272016-01-30 Michael Albinus <michael.albinus@gmx.de>
328
329 Fix Bug#22452
330
331 * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
332 * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
333 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
334 * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
335 Mark it as connected.
336
337 * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
338 connection property "connected" is set. (Bug#22452)
339
3402016-01-30 Glenn Morris <rgm@gnu.org>
341
342 * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
343
344 * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
345 if not compiled with xwidgets.
346
3472016-01-30 Paul Eggert <eggert@cs.ucla.edu>
348
349 C-u C-x = example doc fix
350
351 * doc/emacs/mule.texi (International Chars):
352 Adjust example to match current behavior of C-u C-x =.
353
3542016-01-30 Paul Eggert <eggert@cs.ucla.edu>
355
356 malloc.h hygiene
357
358 This attempts to future-proof Emacs a bit against possible glibc
359 changes, by having Emacs use <malloc.h> declarations rather than
360 coding them up by hand. Problem noted by Florian Weimer in:
361 https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
362 Implement this mainly by moving malloc.h-related functions from
363 emacs.c (which does not include <malloc.h>) to alloc.c (which does).
364 * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
365 New function.
366 The remaining changes to this file apply only if DOUG_LEA_MALLOC.
367 (alloc_unexec_pre, alloc_unexec_post): New functions.
368 (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
369 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
370 (__malloc_initialize_hook): Use it.
371 (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
372 Move here from ...
373 * src/emacs.c: ... here.
374 (malloc_get_state, malloc_set_state): Remove extern decls.
375 (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
376 All uses changed to similarly-named new function.
377 (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
378 * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
379 New decls.
380
3812016-01-30 Eli Zaretskii <eliz@gnu.org>
382
383 * doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
384
3852016-01-30 Paul Eggert <eggert@cs.ucla.edu>
386
387 Remove never-set var handle_user_signal_hook
388
389 * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
390 Remove never-set var. All uses removed.
391
3922016-01-30 K. Handa <handa@gnu.org>
393
394 Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
395
396 * src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
397 second glyph only when there are enough glyphs.
398
399 (cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)
400
4012016-01-30 K. Handa <handa@gnu.org>
402
403 support rendering of wider range of combinging characters by ftfont backend
404
405 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
406 supports rendering of combining characters, call
407 font-shape-gstring.
408
409 * src/font.c (Ffont_get): Handle `combining-capability' property.
410 (syms_of_font): New symbol ":combining-capability'.
411
412 * src/font.h (struct font_driver): New member combining_capability.
413
414 * src/ftfont.c: Include "category.h".
415 (ftfont_driver): Initialize combining_capability to
416 ftfont_combining_capability.
417 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
418 FLT in advance.
419 (ftfont_combining_capability): New function.
420
421 (cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)
422
4232016-01-30 Anders Lindgren <andlind@gmail.com>
424
425 Fixed NextStep fullscreen issue (bug#22468)
426
427 When in fullscreen mode, `[screen visibleFrame]' sometimes
428 includes, sometimes excludes the menu bar. This could cause
429 a frame to be placed too low when in fullscreen mode.
430
431 * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
432 (constrain_frame_rect): New parameter, isFullscreen, when true don't
433 query the height of the menu bar.
434 (ns_constrain_all_frames): Pass `false' (isFullscreen) to
435 `constrain_frame_rect'.
436 ([EmacsView initFrameFromEmacs:]): Trace.
437 ([EmacsView isFullscreen]): Trace.
438 ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
439 state to `constrain_frame_rect'.
440
4412016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
442
443 * lisp/files.el: Use a fixed file name for the second dir-locals file
444
445 (dir-locals-file): Revert to its original fixed value.
446 (dir-locals-file-2): New const.
447 (dir-locals--all-files): Don't use `file-name-all-completions'.
448 Instead, just check for the 2 dir-locals files and return a list
449 of the ones that exit (if any).
450
451 * etc/NEWS: Document the change.
452
453 * doc/emacs/custom.texi (Directory Variables): Document the change.
454
455 * doc/lispref/variables.texi (Directory Local Variables): Update
456 accordingly.
457
4582016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
459
460 * lisp/files-x.el (modify-dir-local-variable): Small rewrite
461
462 Change a variable name to be more meaningful, and reorder some of
463 the code with no change in behaviour.
464
4652016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
466
467 * lisp/files.el (dir-locals-find-file): Refactor return values
468
469 Returning a cache remains unchanged, but the case of returning a
470 file (or pattern) is now changed to return the contaning
471 directory.
472
473 (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
474 and make obsolete.
475 (dir-locals-read-from-dir): Simplify accordingly.
476 (hack-dir-local-variables): Simplify accordingly and rename a
477 variable.
478
4792016-01-30 Glenn Morris <rgm@gnu.org>
480
481 * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
482 Declare.
483
484 * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
485
486 * configure.ac (--with-cairo): Say it's experimental.
487
488 * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
489 Rename using American spelling. Update all uses.
490
4912016-01-30 Glenn Morris <rgm@gnu.org>
492
493 Yet more xwidget doc fixes.
494
495 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
496 (xwidget-insert, xwidget-webkit-browse-url)
497 (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
498 (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
499 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
500 (xwidget-webkit-show-id-element)
501 (xwidget-webkit-show-id-or-named-element)
502 (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
503 (xwidget-webkit-execute-script-rv)
504 (xwidget-webkit-copy-selection-as-kill, xwidget-get)
505 (xwidget-put): Doc fixes.
506 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
507 (xwidget-webkit-show-id-element)
508 (xwidget-webkit-show-id-or-named-element): Prompt fixes.
509
5102016-01-30 Ted Zlatanov <tzz@lifelogs.com>
511
512 * lisp/gnus/gnus-art.el (gnus-blocked-images):
513 Add explicit nil choice and tags.
514
5152016-01-30 Paul Eggert <eggert@cs.ucla.edu>
516
517 Spelling fixes
518
5192016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 (font-lock-ensure-function): Fix bug#22399
522
523 * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
524 font-lock-mode is not enabled (bug#22399).
525
5262016-01-30 Alan Mackenzie <acm@muc.de>
527
528 Expunge "allow" + infinitive from source and doc, part 2.
529
530 Do the same for "permit", "enable", "prevent", and (where appropriate)
531 "require".
532
533 doc/misc/reftex.texi:
534 doc/misc/url.texi:
535 lib/get-permissions.c:
536 lib/strftime.c:
537 lisp/org/org-element.el:
538 lisp/org/org-mobile.el:
539 lisp/textmodes/reftex-vars.el:
540 src/bidi.c:
541 src/emacs.c:
542 src/xdisp.c:
543 test/etags/c-src/emacs/src/lisp.h:
544
545 Expunge the likes of "This allows to do something" from the above files.
546
5472016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
548
549 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
550
551 `special-mode' is already read-only.
552
5532016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
554
555 * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
556
5572016-01-30 Paul Eggert <eggert@cs.ucla.edu>
558
559 Port "$@" to OpenIndiana ksh93
560
561 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
562 Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
563 (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
564 bug in long-dead shells, so remove the workaround.
565 * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
566 Use plain "$@" rather than ${1+"$@"}.
567
5682016-01-30 Paul Eggert <eggert@cs.ucla.edu>
569
570 * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
571
5722016-01-30 Paul Eggert <eggert@cs.ucla.edu>
573
574 Improve wording for SMB support
575
576 * doc/misc/tramp.texi (External methods): Improve and modernize
577 wording for discussion of smbclient. There is no longer any
578 need to mention the laundry list of old MS Windows implementations
579 of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
580
5812016-01-30 Paul Eggert <eggert@cs.ucla.edu>
582
583 Merge from gnulib
584
585 This incorporates:
586 2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
587 2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
588 2016-01-15 detect utimes() correctly on OS/2 kLIBC
589 2016-01-15 openat_proc_name: port to OS/2 kLIBC
590 2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
591 2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
592 2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
593 2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
594 2016-01-14 sig2str: list all signals on FreeBSD >= 7
595 2016-01-13 acl-permissions: port to USE_ACL==0 platforms
596 2016-01-12 mktime: rename macro to avoid glibc clash
597 2016-01-12 Port "$@" to OpenIndiana ksh93
598 2016-01-12 Port Universal Time settings to strict POSIX
599 * build-aux/gitlog-to-changelog, build-aux/update-copyright:
600 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
601 * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
602 * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
603 * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
604 * m4/fcntl.m4, m4/utimes.m4:
605 Copy from gnulib.
606 * m4/gnulib-comp.m4: Regenerate.
607
6082016-01-30 Alan Mackenzie <acm@muc.de>
609
610 Expunge "allow" + infinitive without direct object from source and doc.
611
612 Do the same for "permit", "enable", and "prevent".
613
614 * doc/emacs/mule.texi:
615 * doc/lispref/control.texi:
616 * doc/lispref/display.texi:
617 * doc/lispref/frames.texi:
618 * doc/lispref/functions.texi:
619 * doc/lispref/nonascii.texi:
620 * doc/lispref/streams.texi:
621 * doc/lispref/windows.texi:
622 * doc/misc/dbus.texi:
623 * doc/misc/eww.texi:
624 * doc/misc/flymake.texi:
625 * doc/misc/octave-mode.texi:
626 * doc/misc/org.texi:
627 * doc/misc/reftex.texi:
628 * doc/misc/tramp.texi:
629 * doc/misc/wisent.texi:
630 * etc/NEWS:
631 * lisp/autorevert.el:
632 * lisp/cedet/mode-local.el:
633 * lisp/cedet/semantic/senator.el:
634 * lisp/cedet/semantic/wisent.el:
635 * lisp/dos-fns.el:
636 * lisp/frameset.el:
637 * lisp/gnus/gnus-agent.el:
638 * lisp/gnus/mm-util.el:
639 * lisp/international/characters.el:
640 * lisp/ldefs-boot.el:
641 * lisp/mail/mailclient.el:
642 * lisp/man.el:
643 * lisp/mh-e/mh-search.el:
644 * lisp/net/tramp-cmds.el:
645 * lisp/net/tramp-gvfs.el:
646 * lisp/org/org-crypt.el:
647 * lisp/org/org-element.el:
648 * lisp/org/org-feed.el:
649 * lisp/org/org.el:
650 * lisp/org/ox-ascii.el:
651 * lisp/org/ox-icalendar.el:
652 * lisp/org/ox-publish.el:
653 * lisp/org/ox.el:
654 * lisp/play/gamegrid.el:
655 * lisp/play/gomoku.el:
656 * lisp/progmodes/antlr-mode.el:
657 * lisp/progmodes/python.el:
658 * lisp/progmodes/vhdl-mode.el:
659 * lisp/strokes.el:
660 * lisp/textmodes/ispell.el:
661 * lisp/tree-widget.el:
662 * lisp/vc/pcvs.el:
663 * lisp/window.el:
664 * src/lisp.h:
665 * src/w32.c:
666 * src/w32heap.c:
667 * src/w32term.c:
668 * src/window.c:
669 * src/xfaces.c:
670
671 Replace solecisms like "This allow to do something" with a correct
672 alternative, such as "This allow you to do something", "This allows
673 something to be done" or "This allows the doing of something".
674
6752016-01-30 l3thal <kwhite@gnu.org>
676
677 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
678
6792016-01-30 Kelvin White <kwhite@gnu.org>
680
681 Add NEWS entry for asynchronous reconnect in ERC
682
6832016-01-30 l3thal <kwhite@gnu.org>
684
685 Add NEWS entry for asynchronous reconnect in ERC
686
6872016-01-30 Kelvin White <kwhite@gnu.org>
688
689 browse-url.el: Add 'google-chrome' to supported browsers.
690
6912016-01-30 Paul Eggert <eggert@cs.ucla.edu>
692
693 Port Tramp manual to latest Texinfo
694
695 Otherwise, 'make pdf' did not work (Bug#22416).
696 * doc/misc/tramp.texi (xxx, yyy): Remove macros.
697 (trampfn): Specialize to the case where METHOD is nonempty.
698 The 2nd argument is now user@host, not 2nd user and 3rd host args.
699 All uses changed.
700 (trampf): New macro.
701
7022016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
703
704 * eww.el (eww-render): Protect against empty content-types.
705
7062016-01-30 Nicolas Petton <nicolas@petton.fr>
707
708 authors.el updates
709
710 * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
711 Additions.
712
7132016-01-30 Dmitry Gutov <dgutov@yandex.ru>
714
715 Rename xref-query-replace to xref-query-replace-in-results
716
717 * lisp/progmodes/xref.el(xref-query-replace):
718 Rename to xref-query-replace-in-results.
719 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
720
721 * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
722 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
723 * doc/emacs/dired.texi (Operating on Files):
724 * doc/emacs/maintaining.texi (Xref Commands)
725 (Identifier Search, Identifier Search): Update accordingly.
726
7272016-01-30 Dmitry Gutov <dgutov@yandex.ru>
728
729 Update cl-defgeneric and cl-defmethod docstrings
730
731 * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
732 (cl-defgeneric): Rename BODY to DEFAULT-BODY.
733 (cl-defmethod): Mention that multiple dispatch arguments are
734 allowed. Document supported types. (Bug#22336)
735
7362016-01-30 Dmitry Gutov <dgutov@yandex.ru>
737
738 Comment out next-error-function integration in xref
739
740 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
741 Comment out next-error-function integration
742 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
743
7442016-01-30 John Wiegley <johnw@newartisans.com>
745
746 Correct a use of "which" in intro.texi
747
7482016-01-30 Alan Mackenzie <acm@muc.de>
749
750 Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
751
752 * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
753 context of case labels (including "default") more rigorously.
754 (c-guess-basic-syntax CASE 15): Consequential amendment.
755
756 * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
757
7582016-01-30 Oscar Fuentes <ofv@wanadoo.es>
759
760 Don't operate on menu bar of nonexistent frame
761
762 * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
763 is valid before redisplaying its menu. Fixes bug#22438.
764
7652016-01-30 Anders Lindgren <andlind@gmail.com>
766
767 Unbreak the GNUstep build.
768
769 * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
770 predefined "caution" image. Add trace.
771 (x_set_window_size): Remove unused variables `cols' and `rows'.
772 (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
773 GNUstep is used.
774 ([EmacsView updateFrameSize:]): Remove unused variable `win'.
775 ([EmacsWindow zoom:]): Remove unused variable `f'.
776
7772016-01-30 Eli Zaretskii <eliz@gnu.org>
778 John Wiegley <johnw@gnu.org>
779 Michael Heerdegen <michael_heerdegen@web.de>
780
781 Improve documentation of 'pcase'
782
783 * doc/lispref/control.texi (Pattern matching case statement):
784 Reorganize, expand, and improve wording.
785
786 * etc/NEWS: Mention that 'pcase' changes are documented.
787
7882016-01-30 Paul Eggert <eggert@cs.ucla.edu>
789
790 * etc/NEWS: Say that Cairo is experimental.
791
7922016-01-30 Paul Eggert <eggert@cs.ucla.edu>
793
794 Report error for PNG under Cairo
795
796 * src/image.c (lookup_rgb_color): Signal a file error instead
797 of dumping core when mishandling an image.
798
7992016-01-30 Arash Esbati <esbati@gmx.de>
800
801 Delete a spurious backquote (tiny change)
802
803 * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
804 spurious backquote which raises an error with emacs 25.
805
8062016-01-30 Paul Eggert <eggert@cs.ucla.edu>
807
808 Pacify --enable-gcc-warnings --with-cairo
809
810 Problem reported by Alexander Kuleshov in:
811 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
812 * src/gtkutil.c (xg_get_page_setup):
813 Use switch rather than if-then-else.
814 * src/image.c (COLOR_TABLE_SUPPORT):
815 Define directly rather than via #define and optional later #undef.
816 (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
817 Crash when the pixel is undefined, as there is a genuine bug
818 here (Bug#22442).
819 * src/image.c (tiff_load, gif_load, svg_load_image)
820 (x_kill_gs_process) [USE_CAIRO]:
821 * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
822 Omit unused locals, or move them to where they’re needed.
823 (x_clear_area1): Now ATTRIBUTE_UNUSED.
824
8252016-01-30 Eli Zaretskii <eliz@gnu.org>
826
827 Update documentation for Dired search and replace
828
829 * doc/emacs/dired.texi (Operating on Files): Update descriptions
830 of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
831 'dired-do-find-regexp-and-replace'.
832
833 * etc/NEWS: Mention xref-related changes in Dired.
834
8352016-01-30 Paul Eggert <eggert@cs.ucla.edu>
836
837 Port recent xdisp.c fix to picky C compilers
838
839 * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
840 putting #if inside the arguments to a standard function, which
841 the C standard says has undefined behavior.
842
8432016-01-30 Alan Mackenzie <acm@muc.de>
844
845 Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
846
847 * lisp/progmodes/cc-engine.el (c-forward-declarator): New function.
848 (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
849 contained in the preceding arg list.
850
851 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Use the new function
852 `c-forward-declarator' in place of inline code.
853
8542016-01-30 Eli Zaretskii <eliz@gnu.org>
855
856 Fix the build with --enable-checking=glyphs
857
858 * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
859 build without xwidget support.
860
8612016-01-30 Eli Zaretskii <eliz@gnu.org>
862
863 Document cl-generic.el
864
865 * doc/lispref/functions.texi (Generic Functions): New section.
866 (Bug#22336)
867 (Functions): Update the chapter menu.
868 * doc/lispref/elisp.texi: Update the master menu.
869
8702016-01-30 Paul Eggert <eggert@cs.ucla.edu>
871
872 xwidgets style cleanup
873
874 Adjust the newly-added Xwidgets code so that it uses a more-typical
875 Emacs style. This should not affect behavior, except that in
876 a few places it adds runtime checks that Lisp arguments are of
877 the proper type, and in one place it uses more-precise arithmetic.
878 * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
879 * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
880 Include xwidget.h unconditionally.
881 * src/buffer.c (Fkill_buffer):
882 * src/dispnew.c (update_window):
883 * src/emacs.c (main):
884 * src/print.c (print_object):
885 * src/window.c (Fdelete_window_internal):
886 * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
887 (get_next_element, set_iterator_to_next, next_element_from_xwidget)
888 (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
889 (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
890 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
891 Call xwidget functions and macros without worrying about
892 HAVE_XWIDGETS when the code is a no-op on non-xwidget
893 platforms.
894 * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
895 (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
896 (struct it.xwidget):
897 * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
898 Always define.
899 * src/emacsgtkfixed.h: Omit unnecessary comment.
900 * src/keyboard.c: Fix spacing.
901 * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
902 Define to be a no-op if not HAVE_XWIDGETS.
903 * src/xwidget.c: Include xwidget.h first (after config.h)
904 to make sure that it can stand by itself.
905 (Fmake_xwidget, Fxwidget_webkit_execute_script):
906 Fix typo in doc string.
907 (Fmake_xwidget): Check type of args.
908 (Fmake_xwidget, offscreen_damage_event)
909 (webkit_document_load_finished_cb, webkit_download_cb)
910 (webkit_new_window_policy_decision_requested_cb)
911 (webkit_navigation_policy_decision_requested_cb)
912 (xwidget_osr_draw_cb, xwidget_osr_event_forward)
913 (xwidget_osr_event_set_embedder, xwidget_init_view):
914 Omit unnecessary casts.
915 * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
916 (xwidget_show_view, xwidget_hide_view)
917 (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
918 (xwidget_touched):
919 * src/xwidget.h (struct xwidget.kill_without_query)
920 (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
921 Use bool for boolean.
922 * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
923 Simplify by using list functions.
924 (WEBKIT_FN_INIT): Omit unnecessary test for nil.
925 (Fxwidget_resize): Check type of integer args
926 before doing any work. Check that they are nonnegative.
927 (Fxwidget_set_adjustment): Check type of integer arg.
928 Avoid redundant call to gtk_scrolled_window_get_vadjustment.
929 Simplify. Use double, not float.
930 (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
931 (valid_xwidget_spec_p): Simplify.
932 (xwidget_spec_value): Omit unused arg FOUND. All callers changed.
933 * src/xwidget.h: Include lisp.h first, so that includers do
934 not need to worry about doing that before including this file.
935 Make this .h file safe to include even on non-HAVE_XWIDGETS
936 configurations, to simplify the includers.
937 (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
938 (xwidget_end_redisplay, lookup_xwidget)
939 (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
940 Now a no-op if !HAVE_XWIDGETS, to simplify callers.
941 (struct glyph_matrix, struct glyph_string, struct xwidget)
942 (struct xwidget_view, struct window):
943 New forward or incomplete decls, so that includers need not
944 assume the corresponding .h files are already included, or that
945 HAVE_XWIDGETS is defined.
946 (struct xwidget_type, xwidget_from_id): Remove; unused.
947
9482016-01-30 Michael Albinus <michael.albinus@gmx.de>
949
950 Backport kqueue integration from master
951
952 * configure.ac (--with-file-notification): Add kqueue.
953 (top): Remove special test for "${HAVE_NS}" and
954 ${with_file_notification}, this is handled inside gfilenotify
955 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
956 instead of library specific variables. Add error message for
957 gfile on Nextstep.
958
959 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
960 Fix some glitches in the example.
961
962 * etc/NEWS: Mention kqueue.
963
964 * lisp/filenotify.el (file-notify--library)
965 (file-notify-descriptors, file-notify-callback)
966 (file-notify-add-watch, file-notify-rm-watch)
967 (file-notify-valid-p): Add kqueue support.
968 (file-notify--rm-descriptor): Remove WHAT arg.
969
970 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
971
972 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
973
974 * src/inotify.c (inotifyevent_to_event): Extract file name from
975 watch_object if the event doesn't provide it.
976 (Finotify_add_watch): Add file name to watch_object.
977
978 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
979
980 * src/kqueue.c: New file.
981
982 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
983
984 * test/automated/file-notify-tests.el
985 (file-notify--test-expected-events): Remove.
986 (file-notify--test-cleanup): Do not set that variable.
987 (file-notify--test-timeout) Use different timeouts for
988 different libraries.
989 (file-notify--test-library): New defun.
990 (file-notify--test-event-test): Make stronger checks.
991 (file-notify--test-with-events): EVENTS can also be a list of
992 lists. Flush outstanding events before running the body.
993 Make timeout heuristically depend on the number of events.
994 (file-notify-test01-add-watch, file-notify-test02-events)
995 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
996 Rewrite in order to call file monitors but directory monitors.
997 (file-notify-test02-events, file-notify-test04-file-validity): Do
998 not skip cygwin tests. Add additional test for file creation.
999 Adapt expected result for different backends.
1000 (file-notify-test03-autorevert): Some of the tests don't work for
1001 w32notify.
1002 (file-notify-test06-many-events): New test.
1003
10042016-01-30 John Wiegley <johnw@newartisans.com>
1005
1006 Further corrections to the pcase docstring
1007
10082016-01-30 Eli Zaretskii <eliz@gnu.org>
1009
1010 * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
1011
10122016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
1013
1014 In xref-collect-references, force backends to respect the 'dir' arg
1015
1016 * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
1017 to use `default-directory'.
1018
10192016-01-30 John Wiegley <johnw@newartisans.com>
1020
1021 Minor correction to pcase docstring
1022
10232016-01-30 John Wiegley <johnw@newartisans.com>
1024
1025 Write a new docstring for the pcase macro
1026
1027 * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
1028
10292016-01-30 Stephen Berman <stephen.berman@gmx.net>
1030
1031 Avoid byte-compiler warning in todo-mode (bug#21953)
1032
1033 * lisp/calendar/todo-mode.el (todo-convert-legacy-files): Add limit argument
1034 to looking-back to comply with advertised-calling-convention.
1035
10362016-01-30 Stephen Berman <stephen.berman@gmx.net>
1037
1038 Fix desktop support in todo-mode and doc-view (bug#22377)
1039
1040 * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
1041 * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
1042
1043 * lisp/calendar/todo-mode.el (todo-modes-set-2):
1044 * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
1045
10462016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1047
1048 No need to configure gobject-introspection
1049
1050 It wasn’t needed for the recently-installed xwidget_mvp code; see:
1051 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
1052 * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
1053 (HAVE_GIR):
1054 * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
1055 Remove. All uses removed.
1056 * configure.ac (emacs_config_features): Don’t worry about GIR.
1057
10582016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1059
1060 Don’t export C symbols not used elsewhere
1061
1062 These were recently added, mostly as part of xwidget code.
1063 * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
1064 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
1065 Now static functions here, not macros in emacsgtkfixed.h.
1066 * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
1067 Remove. All uses replaced by definiens.
1068 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
1069 Remove; these are now static functions in emacsgtkfixed.c.
1070 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
1071 Remove; unused.
1072 (emacs_fixed_get_type): Remove decl; no longer extern.
1073 * src/xwidget.c (offscreen_damage_event)
1074 (webkit_mime_type_policy_typedecision_requested_cb)
1075 (webkit_new_window_policy_decision_requested_cb)
1076 (webkit_navigation_policy_decision_requested_cb)
1077 (xwidget_spec_value, xwidget_view_lookup)
1078 (xwidget_start_redisplay, xwidget_touch):
1079 Now static.
1080 * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
1081 Remove decls.
1082
10832016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1084
1085 Support squiggly heredocs in ruby-mode
1086
1087 * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1088 Support squiggly heredocs added in Ruby 2.3.
1089
1090 * test/indent/ruby.rb: Add squiggly example.
1091
10922016-01-30 Glenn Morris <rgm@gnu.org>
1093
1094 * configure.ac (emacs_config_features): Remove WEBKIT.
1095
10962016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1097
1098 Port to platforms with gtk3 but not webkitgtk3
1099
1100 I ran into this problem on my Fedora 23 installation;
1101 Emacs configured but did not build when --with-xwidgets was specified.
1102 * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
1103 (DOES_XWIDGETS_USE_GIR): New var.
1104 If --with-xwidgets is specified, report an error if not
1105 doable, to be consistent with the other --with options.
1106 Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
1107 not work at all without webkitgtk3. Simplify use of
1108 EMACS_CHECK_MODULES. Output message about gobject
1109 introspection only if xwidgets are used.
1110 * etc/NEWS: Users need webkitgtk3, not merely webkit.
1111 * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
1112 since this file is no longer compiled if webkitgtk3 is not available.
1113
11142016-01-30 Eli Zaretskii <eliz@gnu.org>
1115
1116 Fix doc string of 'isearch-search-fun-function'
1117
1118 * lisp/isearch.el (isearch-search-fun-function)
1119 (isearch-search-string): Doc fixes. (Bug#22411)
1120
11212016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * lisp/xwidget.el: Nitpicks
1124
1125 * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
1126 Use with-current-buffer rather than save-excursion + set-buffer.
1127
11282016-01-30 Glenn Morris <rgm@gnu.org>
1129
1130 Don't hard-code 1 as point-min.
1131
1132 * lisp/image-mode.el (image-display-size):
1133 * lisp/xwidget.el (xwidget-webkit-last-session)
1134 (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
1135
11362016-01-30 Glenn Morris <rgm@gnu.org>
1137
1138 * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
1139
11402016-01-30 Glenn Morris <rgm@gnu.org>
1141
1142 Trivial doc copyedits.
1143
1144 * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
1145 (Fxwidget_webkit_get_title, Fxwidget_resize)
1146 (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
1147 (Fxwidget_info, Fxwidget_view_lookup)
1148 (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
1149
11502016-01-30 Glenn Morris <rgm@gnu.org>
1151
1152 Avoid advising image-display-size for xwidgets.
1153
1154 * lisp/xwidget.el (xwidget-image-display-size): Remove.
1155 (image-display-size): Remove advice.
1156 * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
1157 (image-display-size): Incorporate xwidget code directly.
1158
11592016-01-30 Glenn Morris <rgm@gnu.org>
1160
1161 Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
1162
1163 * lisp/xwidget.el (window-configuration-change-hook)
1164 (kill-buffer-query-functions): Only modify these hooks if
1165 compiled with xwidget support.
1166
11672016-01-30 Glenn Morris <rgm@gnu.org>
1168
1169 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
1170
11712016-01-30 Glenn Morris <rgm@gnu.org>
1172
1173 * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
1174
1175 * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
1176
1177 * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
1178
11792016-01-30 Katsumi Yamaoka <yamaoka@jpl.org>
1180
1181 * lisp/gnus/nnir.el (nnir-request-update-mark):
1182 Default to the original mark.
1183 cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
1184 and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
1185
11862016-01-30 Glenn Morris <rgm@gnu.org>
1187
1188 * lisp/xwidget.el (report-xwidget-bug): Remove.
1189
1190 (top-level): No longer require reporter.
1191
11922016-01-30 Joakim Verona <joakim@verona.se>
1193 Grégoire Jadi <daimrod@gmail.com>
1194
1195 Support for the new Xwidget feature.
1196
1197 * configure.ac:
1198 (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
1199 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
1200 * src/xdisp.c:
1201 (handle_display_spec, handle_single_display_spec, push_it)
1202 (pop_it, set_iterator_to_next, dump_glyph)
1203 (calc_pixel_width_or_height, fill_xwidget_glyph_string)
1204 (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
1205 (produce_xwidget_glyph, x_produce_glyphs)
1206 (get_window_cursor_type):
1207 * src/window.c (Fdelete_window_internal):
1208 * src/termhooks.h (e):
1209 * src/print.c (print_object):
1210 * src/lisp.h (ptrdiff_t):
1211 * src/keyboard.c (kbd_buffer_get_event, make_lispy_event)
1212 (syms_of_keyboard):
1213 * src/emacs.c (main):
1214 * src/dispnew.c (update_window, scrolling_window):
1215 * src/dispextern.h (g, i):
1216 * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
1217 (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
1218 * src/keyboard.c (kbd_buffer_get_event):
1219 * src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
1220 (emacs_fixed_class_init): Add case for an xwidget view.
1221
1222 * src/xwidget.c, src/xwidget.h, lisp/xwidget.el: New files for xwidgets
1223
1224
1225 Various improvements to the Xwidget feature.
1226 * src/xwidget.c:
1227 * src/emacsgtkfixed.c:
1228 * lisp/xwidget.el:
1229
12302016-01-30 Eli Zaretskii <eliz@gnu.org>
1231
1232 Improve documentation of 'alist-get'
1233
1234 * doc/lispref/variables.texi (Setting Generalized Variables): Add
1235 'alist-get' to the list of functions that can appear in PLACE
1236 argument of 'setf'.
1237
12382016-01-30 Eli Zaretskii <eliz@gnu.org>
1239
1240 Minor copyedits of doc/emacs/maintaining.texi
1241
1242 * doc/emacs/maintaining.texi (List Identifiers): More accurate
1243 description of "C-M-i" wrt tags tables.
1244 (Tags Tables): Move the definition of "tag" to a footnote.
1245
12462016-01-30 Eli Zaretskii <eliz@gnu.org>
1247
1248 Unbreak the Cygwin-w32 build
1249
1250 * src/w32fns.c (globals_of_w32fns): Move the initialization of
1251 resetstkoflw into a part that isn't compiled on Cygwin.
1252 (Bug#22403)
1253
12542016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1255
1256 * shr.el (shr-table-body): Allow tables to have text children.
1257
12582016-01-30 Phillip Lord <phillip.lord@russet.org.uk>
1259
1260 Cope with multiple overlapping faces.
1261
1262 * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
1263 left.
1264 (hfy-face-resolve-face): Handle font specification as well as font
1265 name. Documentation update. (Bug#21990)
1266
12672016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1268
1269 Fix spurious escapes in describe-input-method
1270
1271 Problem reported by Vincent Belaïche (Bug#22309).
1272 * lisp/international/mule-cmds.el (describe-language-environment):
1273 * lisp/international/quail.el (quail-help):
1274 Apply substitute-command-keys to doc strings before displaying them.
1275
12762016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1277
1278 Minor improvements to (random t) documentation
1279
1280 * doc/lispref/numbers.texi (Random Numbers):
1281 * src/fns.c (Frandom):
1282 Omit unnecessary details about randomness fallback.
1283 Say that it is a fallback.
1284
12852016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 Rename methods in Ruby etags example file
1288
1289 * test/etags/ruby-src/test.rb: Rename the example methods to
1290 correspond to the common terminology used in Ruby.
1291 * test/etags/CTAGS.good:
1292 * test/etags/ETAGS.good_1:
1293 * test/etags/ETAGS.good_2:
1294 * test/etags/ETAGS.good_3:
1295 * test/etags/ETAGS.good_4:
1296 * test/etags/ETAGS.good_5:
1297 * test/etags/ETAGS.good_6: Adjust accordingly.
1298
12992016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1300
1301 Propertize backtick in 'def `(abc)' as symbol constituent
1302
1303 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
1304 Propertize backtick in 'def `(abc)' as symbol constituent.
1305 (ruby-syntax-propertize-function):
1306 Rename to ruby-syntax-propertize.
1307
13082016-01-30 Eli Zaretskii <eliz@gnu.org>
1309
1310 Fix scrolling under scroll-preserve-screen-position on TTY
1311
1312 * src/window.c (window_scroll_line_based): When setting point to
1313 preserve screen coordinates, don't let cursor enter either of the
1314 two scroll margins. (Bug#22395)
1315
13162016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1317
1318 Fix shr table rendering of nested tables
1319
1320 * shr.el (shr-table-body): Don't include all tbodies in nested
1321 tables in the levels above.
1322
13232016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1324
1325 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
1326
13272016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1328
1329 Add xref-based replacements for Dired search commands
1330
1331 * lisp/dired-aux.el (dired-do-find-regexp)
1332 (dired-do-find-regexp-and-replace): New commands.
1333 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
1334
1335 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
1336 `Q' to the new commands.
1337
1338 * lisp/progmodes/xref.el (xref-query-replace)
1339 (xref-collect-matches): Add progress reporters.
1340 (xref--find-ignores-arguments): Return nil for zero ignores.
1341 (xref--show-xrefs): Add an optional argument.
1342 (xref-collect-matches): Drop the assert. 'find' accepts a
1343 regular file in place of directory argument, too.
1344
13452016-01-30 Alan Mackenzie <acm@muc.de>
1346
1347 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
1348
13492016-01-30 Eli Zaretskii <eliz@gnu.org>
1350
1351 Improve user documentation of Xref
1352
1353 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
1354 (Looking Up Identifiers, Identifier Search, List Identifiers):
1355 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
1356 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
1357 for the details.
1358
13592016-01-30 Eli Zaretskii <eliz@gnu.org>
1360
1361 Fix scrolling under scroll-preserve-screen-position and margins
1362
1363 * src/window.c (window_scroll_pixel_based): When setting point to
1364 preserve screen coordinates, don't let cursor enter either of the
1365 two scroll margins. Fix incorrect usage of
1366 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
1367 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
1368
13692016-01-30 Eli Zaretskii <eliz@gnu.org>
1370
1371 Unbreak the MS-Windows build
1372
1373 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
1374 WINDOWSNT, to avoid link failure. (Bug#22202)
1375
13762016-01-30 Alan Mackenzie <acm@muc.de>
1377
1378 Desktop: protect users against inadvertant upgrading of desktop file.
1379
1380 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
1381
1382 * etc/NEWS: Add an entry about upgrading a desktop file.
1383
1384 * lisp/desktop.el (desktop-file-version): Amend doc string.
1385 (desktop-native-file-version, desktop-io-file-version): new variables.
1386 (desktop-clear): Set desktop-io-file-version to nil.
1387 (desktop-buffer-info): make the presence of the last item on the list
1388 conditional on (>= desktop-io-file-version 208).
1389 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
1390 Amend the doc string. Add code to determine the output file version.
1391 (desktop-create-buffer): Set desktop-io-file-version to the input file's
1392 version.
1393
13942016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1395
1396 Initialize GnuTLS before calling gnutls_rnd
1397
1398 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
1399 Don’t set gnutls_global_initialized if gnutls_global_init fails.
1400 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
1401 if 2.12 or later, which has gnutls_rnd.
1402 (emacs_gnutls_global_init, gnutls_rnd): New fallback
1403 placeholder macros if before 2.12.
1404 (init_random): Initialize gnutls globals before trying to
1405 use gnutls_rnd.
1406
14072016-01-30 Andreas Schwab <schwab@linux-m68k.org>
1408
1409 Don't use GnuTLS before it is initialized
1410
1411 * src/sysdep.c (init_random): Don't use gnutls_rnd.
1412
14132016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1414
1415 Port cleanup attribute to OpenBSD
1416
1417 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
1418 sprintf, and this messes up 'configure' when it tests for the cleanup
1419 attribute. Work around the problem by using __has_attribute directly.
1420 Problem reported by Joakim Jalap (Bug#22385).
1421 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
1422 * m4/ax_gcc_var_attribute.m4: Remove.
1423 * src/conf_post.h (__has_attribute): Provide a substitute, for
1424 non-GCC or older GCC compilers. All uses changed to assume
1425 the substitute. Check for the cleanup attribute.
1426 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
1427
14282016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1429
1430 Prefer GnuTLS when acquiring random seed
1431
1432 This attempts to improve on the fix for Bug#22202.
1433 * configure.ac (HAVE_DEV_URANDOM): Remove.
1434 Check /dev/urandom existence at run time, not at build time,
1435 since the device could exist in the former but not the latter.
1436 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
1437 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
1438 (random_seed): New typedef.
1439 (set_random_seed): New static function.
1440 (seed_random): Use them.
1441 (init_random): Use random_seed instead of uintmax_t, so as to
1442 not consume more entropy than needed. Prefer gnutls_rnd if it
1443 works; this avoids a redundant open of /dev/urandom on
1444 GNU/Linux with modern GnuTLS.
1445
14462016-01-30 Eli Zaretskii <eliz@gnu.org>
1447
1448 Improve documentation of dynamic modules
1449
1450 * doc/lispref/loading.texi (How Programs Do Loading): Update the
1451 description of searching for files in 'load' when Emacs was built
1452 with support for dynamic modules.
1453
14542016-01-30 Eli Zaretskii <eliz@gnu.org>
1455
1456 * INSTALL: Document --with-modules.
1457
14582016-01-30 Eli Zaretskii <eliz@gnu.org>
1459
1460 Document 'function-put'
1461
1462 * doc/lispref/symbols.texi (Symbol Plists): Document
1463 'function-put'. Update documentation of 'function-get'.
1464
14652016-01-30 Eli Zaretskii <eliz@gnu.org>
1466
1467 Document 'funcall-interactively'
1468
1469 * doc/lispref/commands.texi (Interactive Call): Document
1470 'funcall-interactively'.
1471 * doc/lispref/functions.texi (Calling Functions): Mention
1472 'funcall-interactively' and provide a cross-reference.
1473
14742016-01-30 Eli Zaretskii <eliz@gnu.org>
1475
1476 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
1477
1478 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
1479
14802016-01-30 Eli Zaretskii <eliz@gnu.org>
1481
1482 Document renaming of selection-related functions
1483
1484 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
1485 functions into the corresponding "gui-*" functions. Make the
1486 description slightly less X-centric.
1487
14882016-01-30 Eli Zaretskii <eliz@gnu.org>
1489
1490 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
1491
14922016-01-30 Eli Zaretskii <eliz@gnu.org>
1493
1494 Document 'define-inline'
1495
1496 * doc/lispref/functions.texi (Defining Functions): Document
1497 'define-inline' and related macros.
1498
1499 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
1500
15012016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
1502
1503 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
1504
1505 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
1506
15072016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
1508
1509 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
1510
1511 instead of manually writing a dir-locals file.
1512
15132016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
1514
1515 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
1516
1517 (dir-locals-file)
1518 * lisp/files-x.el (modify-dir-local-variable)
1519 * lisp/dos-fns.el (dosified-file-name)
1520 * lisp/help-fns.el (describe-variable): Change accordingly.
1521
15222016-01-30 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1523
1524 Fix incompatbilities with MS-Windows 2000 and older
1525
1526 * src/w32.c <multiByteToWideCharFlags>: New global variable.
1527 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
1528 Use it instead of the literal MB_ERR_INVALID_CHARS.
1529 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
1530 appropriate for the underlying OS version. For details, see
1531 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1532 * src/w32.h: Declare multiByteToWideCharFlags.
1533 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
1534 (add_tray_notification): Use multiByteToWideCharFlags instead of
1535 the literal MB_ERR_INVALID_CHARS.
1536 (_resetstkoflw_proc): New typedef.
1537 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
1538 pointer, as this function is absent in msvcrt.dll shipped with W2K
1539 and older systems.
1540
15412016-01-30 Eli Zaretskii <eliz@gnu.org>
1542
1543 Mention in PROBLEMS an issue with MS-Windows NT4
1544
1545 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
1546 on Windows NT4. For the details, see
1547 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1548
15492016-01-30 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1550
1551 Ensure 8-byte aligned memory allocation on MS-Windows 9X
1552
1553 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
1554 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
1555 (malloc_after_dump_9x, realloc_after_dump_9x)
1556 (free_after_dump_9x): New functions. (Bug#22379) See also
1557 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
1558 for more details about the original problem.
1559
1560 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
1561 (free_after_dump_9x): Add prototypes.
1562
15632016-01-30 Eli Zaretskii <eliz@gnu.org>
1564
1565 Fix tests for active region in hideif.el
1566
1567 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
1568 'use-region-p' to test whether to operate on region, instead of
1569 testing 'mark-active'.
1570
15712016-01-30 Eli Zaretskii <eliz@gnu.org>
1572
1573 Fix interactive specs in some hideif.el commands
1574
1575 * lisp/progmodes/hideif.el (hif-evaluate-macro)
1576 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
1577 in commands that should only act on the region if it's active.
1578
15792016-01-30 Phillip Lord <phillip.lord@russet.org.uk>
1580
1581 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
1582
15832016-01-30 Phillip Lord <phillip.lord@russet.org.uk>
1584
1585 Enable test selector from command line
1586
1587 * test/automated/Makefile.in: Change variable manipulation to avoid
1588 over-writing selector.
1589
15902016-01-30 Alan Mackenzie <acm@muc.de>
1591
1592 Don't confuse "::" with ":" when trying to parse member initializers.
1593
1594 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
1595 more robustly for ":" token when searching backwards for it.
1596
1597 * lisp/progmodes/cc-langs.el (c-:$-multichar-token-regexp): New language
1598 variable.
1599
16002016-01-30 Eli Zaretskii <eliz@gnu.org>
1601
1602 Ensure positive number of glyphs for margins of positive width
1603
1604 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
1605 positive value when a non-zero width of the marginal area was
1606 requested. (Bug#22356)
1607
16082016-01-30 Eli Zaretskii <eliz@gnu.org>
1609
1610 Fix crashes when mini-window has non-zero margins
1611
1612 * src/window.c (resize_frame_windows): Use 'new_size' to set
1613 minibuffer window's 'total_cols' value, as 'size' might be in
1614 pixels. (Bug#22356)
1615
16162016-01-30 Alan Mackenzie <acm@muc.de>
1617
1618 In comment-dwim with style `extra-line', respect indent-tabs-mode.
1619
1620 This fixes bug #22369.
1621
1622 * lisp/newcomment.el (comment-make-bol-ws): New function.
1623 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
1624
16252016-01-30 Eli Zaretskii <eliz@gnu.org>
1626
1627 Make 'random' seeds cryptographically secure if possible
1628
1629 * configure.ac: Check for "/dev/urandom".
1630
1631 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
1632 for the seed from "/dev/urandom".
1633 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
1634 * src/fns.c (Frandom): Update the doc string to indicate that
1635 system entropy is used when available.
1636 * src/w32.c: Include wincrypt.h.
1637 (w32_init_crypt_random, w32_init_random): New functions, use the
1638 CryptGenRandom API.
1639 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
1640 * src/w32.h (w32_init_random): Add prototype.
1641
1642 * doc/lispref/numbers.texi (Random Numbers): Document more details
1643 about 't' as the argument to 'random'.
1644
1645 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
1646 strong seed if possible.
1647
1648 (Bug#22202)
1649
16502016-01-30 Eli Zaretskii <eliz@gnu.org>
1651
1652 Unhide the --no-line-directive option to 'etags'
1653
1654 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
1655 option. (Bug#22306)
1656
1657 * doc/man/etags.1: Document the --no-line-directive option.
1658
16592016-01-30 Alan J Third <alan@idiocy.org> (tiny change)
1660
1661 Fix picture-mode wrt double-width characters
1662
1663 * lisp/textmodes/picture.el (picture-insert): Check the width of
1664 the character being replaced, not just that of the replacement.
1665 (Bug#1808)
1666
16672016-01-30 Eric Abrahamsen <eric@ericabrahamsen.net>
1668
1669 Honor docstring of gnus-group-get-new-news
1670
1671 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
1672 but non-numeric, unconditionally consider all groups to need updating.
1673
16742016-01-30 Simen Heggestøyl <simenheg@gmail.com>
1675
1676 Disallow parenthesis in non-pseudo CSS selectors
1677
1678 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
1679 parenthesis in selectors except for in the function notation that
1680 might appear right after a pseudo-class.
1681 * test/indent/scss-mode.scss: Add a test for it.
1682
16832016-01-30 Katsumi Yamaoka <yamaoka@jpl.org>
1684
1685 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
1686
16872016-01-30 Michael Albinus <michael.albinus@gmx.de>
1688
1689 check-maybe shall run only default tests
1690
1691 * test/automated/Makefile.in (check, check-expensive): Depend on
1692 mostlyclean.
1693 (check-maybe): Re-run only default tests.
1694 (check-doit): Use code of check-maybe.
1695 (mostlyclean): Move *.log files away.
1696
16972016-01-30 Mark Oteiza <mvoteiza@udel.edu>
1698
1699 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
1700
17012016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1702
1703 Un-obsolete tags-loop-continue
1704
1705 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
1706 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
1707
17082016-01-30 Eli Zaretskii <eliz@gnu.org>
1709
1710 Document obsoletion of 'intangible' and 'point-entered/left'
1711
1712 * doc/lispref/text.texi (Special Properties): Document the new
1713 properties 'cursor-intangible' and 'cursor-sensor-functions'.
1714 Document the obsolete status of 'intangible', 'pointer-left',
1715 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
1716 * doc/lispref/display.texi (Overlay Properties): Document that
1717 'intangible' overlay property is obsolete.
1718
1719 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
1720
17212016-01-30 Eli Zaretskii <eliz@gnu.org>
1722
1723 Updater documentation of 'looking-back'
1724
1725 * doc/lispref/searching.texi (Regexp Search): Update documentation
1726 of 'looking-back'. Fix markup.
1727
17282016-01-30 Eli Zaretskii <eliz@gnu.org>
1729
1730 Document 'pre-redisplay-functions'
1731
1732 * doc/lispref/hooks.texi (Standard Hooks):
1733 * doc/lispref/display.texi (Forcing Redisplay): Document
1734 'pre-redisplay-functions'.
1735
17362016-01-30 Eli Zaretskii <eliz@gnu.org>
1737
1738 Document the new deafault value of 'load-read-function'
1739
1740 * doc/lispref/loading.texi (How Programs Do Loading): Document the
1741 change in the default value of 'load-read-function'.
1742
17432016-01-30 Eli Zaretskii <eliz@gnu.org>
1744
1745 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
1746
1747 * doc/lispref/nonascii.texi (Text Representations): Document
1748 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
1749
17502016-01-30 Eli Zaretskii <eliz@gnu.org>
1751
1752 Document the new prefix-command hooks
1753
1754 * doc/lispref/hooks.texi (Standard Hooks): Document
1755 `prefix-command-echo-keystrokes-functions' and
1756 `prefix-command-preserve-state-hook'.
1757
17582016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1759
1760 Fix one more misuse of time-stamp-time-zone
1761
1762 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
1763 than the unportable "GMT" for time zone.
1764
17652016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1766
1767 Fix NNTP NEWGROUPS off-by-a-few-hours bug
1768
1769 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
1770 in Universal Time, since we’re telling the server “GMT”.
1771
17722016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1773
1774 Update publicsuffix.txt from upstream
1775
1776 * etc/publicsuffix.txt: Update from
1777 https://publicsuffix.org/list/effective_tld_names.dat
1778 dated 2016-01-12 11:52:01 UTC.
1779
17802016-01-30 Glenn Morris <rgm@gnu.org>
1781
1782 Fix some declarations.
1783
1784 * lisp/descr-text.el (internal-char-font):
1785 * lisp/cedet/mode-local.el (xref-item-location):
1786 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
1787 (epg-sub-key-capability, epg-sub-key-validity):
1788 * lisp/international/mule-util.el (internal-char-font):
1789 Fix declarations.
1790
17912016-01-30 Glenn Morris <rgm@gnu.org>
1792
1793 Fix some custom types.
1794
1795 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
1796 * lisp/gnus/gnus.el (gnus-valid-select-methods):
1797 * lisp/mail/rmail.el (rmail-get-coding-function):
1798 * lisp/net/newst-treeview.el (newsticker-groups-filename):
1799 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
1800 * lisp/textmodes/tildify.el (tildify-space-predicates):
1801 * lisp/url/url-tramp.el (url-tramp-protocols):
1802 Fix custom types.
1803
18042016-01-30 Glenn Morris <rgm@gnu.org>
1805
1806 Add some missing version tags.
1807
1808 * lisp/electric.el (electric-quote-comment)
1809 (electric-quote-string, electric-quote-paragraph):
1810 * lisp/epg-config.el (epg-gpgconf-program):
1811 * lisp/rect.el (rectangle-preview):
1812 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
1813 * lisp/emacs-lisp/package.el (package-selected-packages)
1814 (package-hidden-regexps):
1815 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
1816 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
1817 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
1818 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
1819 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
1820 (mml-smime-sign-with-sender, mml2015-always-trust)
1821 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
1822 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
1823 (browse-url-conkeror-arguments):
1824 * lisp/net/newst-reader.el (newsticker-download-logos):
1825 * lisp/progmodes/gud.el (gud-guiler-command-name):
1826 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
1827 * lisp/progmodes/project.el (project-vc):
1828 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
1829 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
1830 (python-shell-completion-native-disabled-interpreters)
1831 (python-shell-completion-native-enable)
1832 (python-shell-completion-native-output-timeout)
1833 (python-shell-completion-native-try-output-timeout):
1834 * lisp/progmodes/xref.el (xref):
1835 * lisp/term/screen.el (xterm-screen-extra-capabilities):
1836 * lisp/term/xterm.el (xterm-max-cut-length):
1837 Add missing version tags.
1838
18392016-01-30 Glenn Morris <rgm@gnu.org>
1840
1841 * test/automated/core-elisp-tests.el
1842 (core-elisp-tests-1-defvar-in-let): Add a custom type.
1843
18442016-01-30 Glenn Morris <rgm@gnu.org>
1845
1846 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
1847
1848 Remove comments that do not apply since 2005-08-09. (Bug#22349)
1849
18502016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1851
1852 Merge from gnulib
1853
1854 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
1855 It also updates to the latest version of texinfo.tex.
1856 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
1857 * build-aux/update-copyright, doc/misc/texinfo.tex:
1858 Update from gnulib.
1859
18602016-01-30 Eli Zaretskii <eliz@gnu.org>
1861
1862 Update documentation of 'process-running-child-p'
1863
1864 * doc/lispref/processes.texi (Input to Processes): Document the
1865 changes in return value of 'process-running-child-p'.
1866
18672016-01-30 Eli Zaretskii <eliz@gnu.org>
1868
1869 Update documentation of 'deactivate-mark'.
1870
1871 * doc/lispref/markers.texi (The Mark): Document that
1872 'deactivate-mark' is now buffer-local when set.
1873
18742016-01-30 Eli Zaretskii <eliz@gnu.org>
1875
1876 Update documentation of 'completion-table-dynamic'
1877
1878 * doc/lispref/minibuf.texi (Programmed Completion): Document the
1879 new optional argument to 'completion-table-dynamic'.
1880
18812016-01-30 Eli Zaretskii <eliz@gnu.org>
1882
1883 Document changes in 'read-buffer' and 'read-buffer-function'
1884
1885 * doc/lispref/minibuf.texi (High-Level Completion): Document the
1886 4th argument to 'read-buffer' and 'read-buffer-function'.
1887
18882016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1889
1890 Fix time-stamp-time-zone bugs introduced in July
1891
1892 This fixes a bug introduced when the July changes to
1893 format-time-string installed, as the changes were not
1894 correctly handled in this module (Bug#22302).
1895 Also, document time stamp time zones.
1896 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
1897 (time-stamp--format): New private function.
1898 (time-stamp-string, time-stamp-string-preprocess)
1899 (time-stamp-do-number): Use it.
1900 * doc/emacs/files.texi (Time Stamps): Mention time zones.
1901 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
1902
19032016-01-30 Eli Zaretskii <eliz@gnu.org>
1904
1905 Make piping to subprocesses more robust on MS-Windows
1906
1907 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
1908 buffer can hold. Don't return -1 if something has been written to
1909 the pipe. Zero out 'errno' before calling '_write', to avoid
1910 returning a stale value. (Bug#22344)
1911 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
1912 * src/w32.c (pipe2): Use it to request a user-defined size for the
1913 pipe being created.
1914
1915 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
1916
1917 * doc/emacs/msdos.texi (Windows Processes): Document
1918 'w32-pipe-buffer-size'.
1919
19202016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1921
1922 test/automated/vc-hg.el: Support out-of-tree build
1923
1924 * test/automated/vc-hg.el
1925 (vc-hg-annotate-extract-revision-at-line-with-filename)
1926 (vc-hg-annotate-extract-revision-at-line-with-both):
1927 Don't refer to source-directory.
1928 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
1929
19302016-01-30 Michael Albinus <michael.albinus@gmx.de>
1931
1932 Minor change in tramp-tests.el
1933
1934 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
1935 Use `dired-uncache' instead of a Tramp internal function.
1936
19372016-01-30 Peter Feigl <peter.feigl@nexoid.at>
1938
1939 * etc/HELLO: Add Armenian and Mongolian greetings.
1940
1941 (Bug#22346)
1942
19432016-01-30 Alan Mackenzie <acm@muc.de>
1944
1945 Java Mode: Fontify identifiers in the presence of annotations.
1946
1947 * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
1948 Don't move point when the defun fails.
1949 (c-forward-decl-or-cast-1): Correct a usage of match data.
1950
1951 * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
1952 (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
1953 removed variable.
1954
1955 * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
1956
19572016-01-30 Eli Zaretskii <eliz@gnu.org>
1958
1959 Avoid an infloop when we run out of memory
1960
1961 * src/alloc.c (garbage_collect_1): Don't bother saving and
1962 restoring the echo-area message if we are GC'ing after running out
1963 of memory. This avoids an infloop due to repeated attempts to
1964 allocate memory for the cons cell needed to save the message,
1965 which signals the memory-full error, which attempts to save the
1966 echo-area message, which signals memory-full again, etc.
1967
19682016-01-30 Eli Zaretskii <eliz@gnu.org>
1969
1970 Avoid unnecessary failures of auto-saving after fatal error
1971
1972 * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
1973 the benefit of FAT volumes if we are called as part of shutting
1974 down due to a fatal error, which probably means we are trying to
1975 auto-save the session.
1976 * src/lread.c (check_obarray): Don't bother making the obarray
1977 valid if we are shutting down due to a fatal error. This avoids
1978 interfering with auto-saving the crashed session.
1979
19802016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1981
1982 Simplify HAVE_MODULES use in mark_maybe_pointer
1983
1984 * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
1985 so that later code can use 'if' rather than '#ifdef'.
1986 (mark_maybe_pointer): Simplify based on HAVE_MODULES now
1987 always working.
1988
19892016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1990
1991 Revert attempt to use 'noexcept' in typedef
1992
1993 This use of 'noexcept' runs afoul of the C++11 standard.
1994 Problem reported by Philipp Stephani in:
1995 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
1996 * src/emacs-module.c (emacs_finalizer_function):
1997 Move this typedef here ...
1998 * src/emacs-module.h: ... from here, and use only the C
1999 version of the typedef. The typedef is now private since it
2000 is never used in the .h file now and anyway it seemed to be
2001 causing more confusion than it cured.
2002 (make_user_ptr, get_user_finalizer, set_user_finalizer):
2003 Open-code the type instead.
2004
20052016-01-30 Eli Zaretskii <eliz@gnu.org>
2006
2007 Update documentation of 'indirect-function'
2008
2009 * doc/lispref/eval.texi (Function Indirection): Update the
2010 documentation of 'indirect-function'.
2011
20122016-01-30 Eli Zaretskii <eliz@gnu.org>
2013
2014 Update documentation for obsoleting 'syntax-begin-function'
2015
2016 * doc/lispref/syntax.texi (Position Parse): Undocument
2017 'syntax-begin-function' that is now obsolete.
2018
20192016-01-30 Eli Zaretskii <eliz@gnu.org>
2020
2021 Document new features if Eshell
2022
2023 * doc/misc/eshell.texi (Input/Output): Document the new
2024 '#<bufname>' syntax.
2025 (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
2026 Disable "Key Index" generation, as there are no @kindex entries in
2027 this manual.
2028
20292016-01-30 Michael Albinus <michael.albinus@gmx.de>
2030
2031 Handle too long commands in Tramp
2032
2033 * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
2034 (tramp-do-file-attributes-with-ls): Send sequence of commands, in
2035 order to not exceed shell command line limit.
2036
2037 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
2038 (tramp--test-utf8): Include Arabic file name, again.
2039
20402016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2041
2042 * .gitattributes: *.cur and *.pif are binary files too.
2043
20442016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
2047
20482016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
2051
2052 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
2053 within $(...).
2054 * test/indent/shell.sh: Add corresponding test.
2055
20562016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
2059
2060 (mark_memory): Simplify loop. Don't assume a pointer-sized word can be
2061 cast to Lisp_Object.
2062
20632016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2064
2065 Use short date for 'hg annotate', and output the author
2066
2067 * lisp/vc/vc-hg.el (vc-hg-annotate-command):
2068 Change '-d' to '-dq'. (Bug#21805)
2069 (vc-hg-annotate-switches): Default to "-u" "--follow".
2070 (vc-hg-annotate-re): Update to recognize the short date format
2071 and the optional username.
2072 (vc-hg-annotate-time)
2073 (vc-hg-annotate-extract-revision-at-line): Update accordingly.
2074
2075 * test/automated/vc-hg.el: New file.
2076
20772016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2078
2079 Spelling fix
2080
20812016-01-30 Eli Zaretskii <eliz@gnu.org>
2082
2083 Document user-level functions in project.el
2084
2085 * lisp/progmodes/project.el (project-find-file)
2086 (project-or-external-find-file): Add doc strings.
2087
20882016-01-30 Eli Zaretskii <eliz@gnu.org>
2089
2090 Document the user-level features of the Xref package
2091
2092 * doc/emacs/maintaining.texi (Maintaining): Add a list of
2093 described features.
2094 (Xref): New section, made out of thoroughly rewritten "Tags"
2095 section.
2096 (Find Identifiers, Looking Up Identifiers, Xref Commands)
2097 (Identifier Search, List Identifiers): New subsections,
2098 incorporating the old tags commands and the new xref commands.
2099 (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
2100 Section and subsections demoted to a lower level.
2101 * doc/emacs/search.texi (Search):
2102 * doc/emacs/windows.texi (Pop Up Window):
2103 * doc/emacs/frames.texi (Creating Frames):
2104 * doc/emacs/programs.texi (Imenu, Symbol Completion):
2105 * doc/emacs/building.texi (Grep Searching):
2106 * doc/emacs/dired.texi (Operating on Files):
2107 * doc/emacs/glossary.texi (Glossary): All references to tags changed.
2108
21092016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * doc/lispref/loading.texi: Add `define-type' entry for load-history
2112
2113 * doc/lispref/loading.texi (Where Defined): Remove incorrect
2114 cl-defmethod description, and add missing define-type entry.
2115
21162016-01-30 Eli Zaretskii <eliz@gnu.org>
2117
2118 Improve doc strings and prompts in xref.el
2119
2120 * lisp/progmodes/xref.el (xref-backend-functions)
2121 (xref-find-definitions): Doc fixes.
2122 (xref-query-replace): Doc fix. Improve prompts for arguments.
2123
21242016-01-30 Alan Mackenzie <acm@muc.de>
2125
2126 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
2127
2128 * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
2129 `font-lock-extend-regions-wholelines' from
2130 `font-lock-extend-region-functions' rather than setting the latter to
2131 nil.
2132
21332016-01-30 Michael Albinus <michael.albinus@gmx.de>
2134
2135 Fix coding system for Tramp on OS X.
2136
2137 * lisp/net/tramp-compat.el: Require ucs-normalize.
2138
2139 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2140 Set coding system to `utf-8-hfs' for Mac OS X.
2141
2142 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
2143 Flush directory properties when needed.
2144 (tramp--test-utf8): Include Chinese file name, again.
2145
21462016-01-30 Eli Zaretskii <eliz@gnu.org>
2147
2148 Update 'load-history' docs
2149
2150 * doc/lispref/loading.texi (Where Defined): Update the list of
2151 forms in 'load-history' by adding the forms created for the
2152 'cl-generic' generics. (Bug#21422)
2153
21542016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2155
2156 Fix (error ...) error
2157
2158 Problem reported by Glenn Morris in:
2159 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
2160 * lisp/vc/add-log.el (change-log-goto-source): Fix typos
2161 introduced in my Aug 28 change, where I got confused by the
2162 two meanings of (error ...).
2163
21642016-01-30 Alan Mackenzie <acm@muc.de>
2165
2166 Correctly analyze brace arguments in templated C++ function declarations.
2167
2168 * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
2169 POS and LIMIT parameters, like the other c-go-list-* functions have.
2170
2171 * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
2172 for a ?\( rather than a ?<. (c-looking-at-inexpr-block): Handle names
2173 followed by template specifiers.
2174
21752016-01-30 Glenn Morris <rgm@gnu.org>
2176
2177 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
2178
2179 * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
2180
21812016-01-30 Mark Oteiza <mvoteiza@udel.edu>
2182
2183 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
2184
21852016-01-30 Alan Mackenzie <acm@muc.de>
2186
2187 Respect fontification region calculated by major mode. Fixes bug #22316.
2188
2189 * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
2190 fontification region has been calculated by a function on
2191 font-lock-extend-after-change-region-function use this region rather than
2192 changing the end position to somewhere else.
2193
21942016-01-30 Eli Zaretskii <eliz@gnu.org>
2195
2196 Improve documentation of Delete Selection mode
2197
2198 * lisp/delsel.el (delete-selection-mode)
2199 (delete-selection-helper): Update and expand the doc strings.
2200 (Bug#22296)
2201
2202 * doc/emacs/mark.texi (Using Region): Document the behavior of
2203 delete commands in Delete Selection mode. (Bug#22296)
2204
2205 * doc/lispref/markers.texi (The Mark): Document how to add the
2206 support for Delete Selection mode to Lisp programs. (Bug#22296)
2207
22082016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2209
2210 Fix two project-find-file issues
2211
2212 * lisp/progmodes/project.el (project--value-in-dir):
2213 Temporarily set enable-local-variables to :all.
2214 (project-find-file, project-or-external-find-file):
2215 All autoloads.
2216 (project--find-file-in): Require xref.
2217
22182016-01-30 Eli Zaretskii <eliz@gnu.org>
2219
2220 Clarify doc string of 'dired-current-directory'
2221
2222 * lisp/dired.el (dired-current-directory): Doc fix: clarify that
2223 the return value might not end in a slash when called with the
2224 optional argument non-nil. (Bug#6273)
2225
22262016-01-30 Eli Zaretskii <eliz@gnu.org>
2227
2228 Use the face of preceding text for displaying the ellipsis
2229
2230 * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
2231 text in it->saved_face_id for displaying the ellipsis, and ignore
2232 the face, if any, of the invisible text. (Bug#22320)
2233
22342016-01-30 Michael Albinus <michael.albinus@gmx.de>
2235
2236 Suppress Chinese file name test for OSX in tramp-tests.el
2237
2238 * test/automated/tramp-tests.el (tramp--test-utf8):
2239 Remove instrumentation. Suppress Chinese file name test for OSX.
2240
22412016-01-30 Glenn Morris <rgm@gnu.org>
2242
2243 * admin/admin.el (set-version): Also handle the NEWS file.
2244
22452016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2246
2247 apropos-library: Skip obvious duplicates; don't error on generics
2248
2249 * lisp/apropos.el (apropos-library): Skip "was an autoload"
2250 entries, to avoid obvious duplicates. For each cl-defmethod
2251 entry, take just its function symbol (bug#21422).
2252
22532016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2254
2255 Add project-find-file and project-or-external-find-file
2256
2257 * lisp/minibuffer.el (completion-category-defaults):
2258 Add `project-file' category.
2259
2260 * lisp/progmodes/project.el (project-find-file)
2261 (project-or-external-find-file): New commands.
2262 (project--find-file-in): New private function.
2263
2264 * lisp/progmodes/xref.el (xref-collect-matches): Use
2265 `expand-file-name' on DIR, to expand the tildes.
2266 (xref--find-ignores-arguments): Extract from
2267 `xref--rgrep-command'.
2268
22692016-01-30 Leo Liu <sdl.web@gmail.com>
2270
2271 Add defvar-local to lisp-imenu-generic-expression
2272
2273 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
2274 defvar-local.
2275
22762016-01-30 Leo Liu <sdl.web@gmail.com>
2277
2278 Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
2279
2280 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
2281 Don't declare (indent 1).
2282
22832016-01-30 Glenn Morris <rgm@gnu.org>
2284
2285 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
2286
22872016-01-30 Glenn Morris <rgm@gnu.org>
2288
2289 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
2290
2291 Avoid specifying the length of a time object (it has not been "2"
2292 for some time).
2293
22942016-01-30 Andreas Schwab <schwab@linux-m68k.org>
2295
2296 Properly encode/decode base64Binary data in SOAP
2297
2298 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
2299 base64Binary value as utf-8.
2300 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
2301
23022016-01-30 Eli Zaretskii <eliz@gnu.org>
2303
2304 Obey coding-system-for-write when writing stdout/stderr in batch
2305
2306 * src/print.c (printchar_to_stream):
2307 * src/xdisp.c (message_to_stderr): If coding-system-for-write has
2308 a non-nil value, use it to encode output in preference to
2309 locale-coding-system. See the discussions in
2310 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
2311 for the details.
2312
2313 * doc/lispref/os.texi (Terminal Output): Document how to send
2314 non-ASCII text via 'send-string-to-terminal'.
2315 (Batch Mode): Document how text written to standard streams is
2316 encoded. Fix inaccuracy regarding which output streams are used
2317 by output functions in batch mode.
2318
23192016-01-30 Xue Fuqiao <xfq.free@gmail.com>
2320
2321 * doc/misc/efaq.texi (Packages that do not come with Emacs):
2322 Update the URI of MELPA and marmalade-repo. Reported by CHENG Gao
2323 <chenggao@royau.me> in
2324 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
2325
23262016-01-30 Maksim Golubev <maksim.golubev72@gmail.com> (tiny change)
2327
2328 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
2329
2330 Fix backslash. (Bug#22224)
2331
23322016-01-30 Federico Beffa <beffa@ieee.org> (tiny change)
2333
2334 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
2335
2336 Make it actually work. (Bug#22265)
2337
23382016-01-30 Alan Mackenzie <acm@muc.de>
2339
2340 Remove function wrongly on AWK Mode value of context fontification hook.
2341
2342 * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
2343 swap order of entries so that awk's entry isn't superseded by the default.
2344
2345 * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
2346 to handle nil value of c-before-context-fontification-functions.
2347
23482016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2349
2350 * src/buffer.c: Stick with ASCII in doc string.
2351
23522016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2353
2354 Reword transient-mark-mode doc string
2355
2356 * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
2357 The value 'lambda (literally) can be interpreted as (quote lambda),
2358 which is not intended here; we want just the lambda symbol.
2359
23602016-01-30 Eli Zaretskii <eliz@gnu.org>
2361
2362 Update doc string of 'selective-display'
2363
2364 * src/buffer.c (syms_of_buffer) <selective-display>: Say that
2365 using it with the value of 't' is obsolete. (Bug#1092)
2366
23672016-01-30 Alan Mackenzie <acm@muc.de>
2368
2369 Make C++ buffers writeable when writing their initial text properties.
2370
2371 This is a correction to yesterday's CC Mode patch.
2372
2373 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
2374 c-save-buffer-state around the function rather than a mere `let'.
2375
23762016-01-30 Michael Albinus <michael.albinus@gmx.de>
2377
2378 Additional changes for "make check-expensive"
2379
2380 * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
2381 Explain make target `check-expensive'.
2382
2383 * etc/NEWS: Mention new make target `check-expensive'.
2384
2385 * test/automated/Makefile.in (check-doit): New target.
2386 (check, check-expensive): Use it.
2387
23882016-01-30 Alan Mackenzie <acm@muc.de>
2389
2390 Apply text properties for <, > in new after-change function (C++ Java Modes).
2391
2392 These are category/syntax-table properties to give < and > paren syntax.
2393 Also apply certain `c-type' text properties to the insides of <..> constructs
2394 to ensure that identifiers contained by them get fontified. This patch fixes
2395 bug #681.
2396
2397 * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
2398 after-change action.
2399
2400 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
2401 change region to include <s and >s which might not be already marked as
2402 parens, rather than just when paren text properties are removed.
2403 (c-restore-<>-properties): New after-change function, which applies text
2404 properties marking < and > with paren syntax.
2405
2406 * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
2407 properties are applied to the interiors of <...> constructs, to ensure
2408 fontification of identifiers there.
2409
2410 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
2411 c-restore-<>-properties to this list for C++ and Java.
2412
2413 * lisp/progmodes/cc-mode.el (c-common-init): When invoking
2414 c-before-font-lock-functions, exclude c-restore-<>-properties from the
2415 functions invoked.
2416 (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
2417 to allow modification by before-change functions.
2418 (c-after-change): Amend c-new-END here, rather than initializing it and
2419 c-new-BEG.
2420
24212016-01-30 Michael Albinus <michael.albinus@gmx.de>
2422
2423 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
2424
24252016-01-30 Michael Albinus <michael.albinus@gmx.de>
2426
2427 Introduce check-expensive tests.
2428
2429 * Makefile.in (check-expensive):
2430 * test/automated/Makefile.in (check-expensive): New target.
2431
2432 * test/automated/auto-revert-tests.el
2433 (auto-revert-test01-auto-revert-several-files):
2434 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
2435 * test/automated/tramp-tests.el (tramp-test26-process-file)
2436 (tramp-test27-start-file-process, tramp-test28-shell-command)
2437 (tramp-test29-vc-registered)
2438 (tramp-test31-special-characters-with-stat)
2439 (tramp-test31-special-characters-with-perl)
2440 (tramp-test31-special-characters-with-ls)
2441 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
2442 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
2443 (tramp-test35-unload): Tag the tests as :expensive-test.
2444
24452016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2446
2447 shr-tag-video bug fix
2448
2449 * shr.el (shr-tag-video): Protect against the `poster' being
2450 empty.
2451
24522016-01-30 Michael Albinus <michael.albinus@gmx.de>
2453
2454 Minor fixes in tramp-tests.el
2455
2456 * test/automated/tramp-tests.el (tramp-test26-process-file):
2457 Move point properly.
2458 (tramp-test29-vc-registered): Work with relative file names.
2459
24602016-01-30 Eli Zaretskii <eliz@gnu.org>
2461
2462 Ensure redisplay when 'truncate-lines' is set
2463
2464 * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
2465 (Bug#22303)
2466
24672016-01-30 Eli Zaretskii <eliz@gnu.org>
2468
2469 Fix a doc string of 'transient-mark-mode'
2470
2471 * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
2472 "lambda" in doc string from becoming a link to lambda expressions.
2473
24742016-01-30 Eli Zaretskii <eliz@gnu.org>
2475
2476 MS-Windows followup to latest gnulib update
2477
2478 * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
2479
24802016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2481
2482 Spelling fix
2483
24842016-01-30 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
2485
2486 Do secure signed Bcc handling
2487
2488 * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
2489 (bug#18718).
2490
24912016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2492
2493 Avoid stdio in SIGINT handler
2494
2495 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
2496 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2497 * lib/ignore-value.h: New file, from gnulib.
2498 * src/keyboard.c: Include it.
2499 (write_stdout, read_stdin): New functions.
2500 (handle_interrupt): Use them instead of printf and getchar,
2501 and avoid fflush when handling signals.
2502
25032016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2504
2505 * doc/misc/texinfo.tex: Revert unwanted copyright change.
2506
25072016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
2508
2509 * lisp/align.el (align): Simplify a lambda
2510
2511 * lisp/align.el (align): Fix arg order in call to `align-region'
2512
25132016-01-30 Eli Zaretskii <eliz@gnu.org>
2514
2515 Fix compilation next-error in buffers with selective-display
2516
2517 * lisp/progmodes/compile.el (compilation-beginning-of-line): New
2518 function.
2519 (compilation-internal-error-properties)
2520 (compilation-next-error-function, compilation-set-window): Use
2521 it. (Bug#1092)
2522
25232016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2524
2525 * lisp/net/nsm.el (nsm-check-protocol): Fix typo in the message.
2526
25272016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2528
2529 Add SHA1 warnings for high network security settings
2530
2531 * lisp/net/nsm.el (nsm-check-protocol): When using high security, warn
2532 about SHA1 certificates, which are now believed to be open to
2533 spoofing.
2534
25352016-01-30 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
2536
2537 Refactor mml-smime.el, mml1991.el, mml2015.el
2538
2539 (Maybe this is the last merge from Gnus git to Emacs git)
2540
2541 Cf. discussion on ding mailing list, messages in
2542 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
2543 Common code from the three files mml-smime.el, mml1991.el, and
2544 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
2545 to gnus-util.el.
2546
2547 The code is supported by test cases with necessary test keys.
2548
2549 Documentation in message.texi is updated.
2550
2551 * doc/misc/message.texi (Security, Using S/MIME):
2552 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
2553 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
2554 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
2555
2556 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
2557 New functions.
2558
2559 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
2560 (epa--select-keys): Autoload.
2561 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
2562 (mml-secure-openpgp-signers): New user option;
2563 make mml1991-signers and mml2015-signers obsolete aliases to it.
2564 (mml-secure-smime-signers): New user option;
2565 make mml-smime-signers an obsolete alias to it.
2566 (mml-secure-openpgp-encrypt-to-self): New user option;
2567 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
2568 aliases to it.
2569 (mml-secure-smime-encrypt-to-self): New user option;
2570 make mml-smime-encrypt-to-self an obsolete alias to it.
2571 (mml-secure-openpgp-sign-with-sender): New user option;
2572 make mml2015-sign-with-sender an obsolete alias to it.
2573 (mml-secure-smime-sign-with-sender): New user option;
2574 make mml-smime-sign-with-sender an obsolete alias to it.
2575 (mml-secure-openpgp-always-trust): New user option;
2576 make mml2015-always-trust an obsolete alias to it.
2577 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
2578 New user options.
2579 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
2580 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
2581 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
2582 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
2583 (mml-secure-passphrase-callback, mml-secure-check-user-id)
2584 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
2585 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
2586 (mml-secure-fingerprint, mml-secure-filter-keys)
2587 (mml-secure-normalize-cust-name, mml-secure-select-keys)
2588 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
2589 (mml-secure-self-recipients, mml-secure-recipients)
2590 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
2591
2592 * lisp/gnus/mml-smime.el: Require epg;
2593 refactor declaration and autoloading of epg functions.
2594 (mml-smime-use): Doc fix.
2595 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
2596 Obsolete.
2597 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
2598 Use format instead of gnus-format-message.
2599 (mml-smime-epg-secret-key-id-list): Remove variable.
2600 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
2601 (mml-smime-epg-find-usable-secret-key): Remove functions.
2602 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
2603
2604 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
2605 (mml1991-passphrase-cache-expiry): Obsolete.
2606 (mml1991-epg-secret-key-id-list): Remove variable.
2607 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
2608 (mml1991-epg-find-usable-secret-key): Remove functions.
2609 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
2610
2611 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
2612 (mml2015-passphrase-cache-expiry): Obsolete.
2613 (mml2015-epg-secret-key-id-list): Remove variable.
2614 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
2615 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
2616 (mml2015-epg-find-usable-secret-key): Remove functions.
2617 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
2618 (mml2015-epg-encrypt): Refactor.
2619
26202016-01-30 Glenn Morris <rgm@gnu.org>
2621
2622 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
2623
2624 Explicitly ignore case. (Bug#22262)
2625
26262016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 (semantic-symref-derive-find-filepatterns): Return a list
2629
2630 * lisp/cedet/semantic/symref/grep.el
2631 (semantic-symref-derive-find-filepatterns): Return a list.
2632 (semantic-symref-perform-search): Quote the result here once and for all.
2633
26342016-01-30 Eli Zaretskii <eliz@gnu.org>
2635
2636 Fix xref-find-references on MS-Windows
2637
2638 * lisp/cedet/semantic/symref/grep.el
2639 (semantic-symref-derive-find-filepatterns): Use
2640 'shell-quote-argument' instead of manually quoting in a way that
2641 only works with Posix shells. (Bug#22289)
2642
26432016-01-30 Eli Zaretskii <eliz@gnu.org>
2644
2645 Document new features of tildify-mode
2646
2647 * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
2648 (tildify-mode): Spelling fixes in doc strings.
2649
2650 * etc/NEWS: Reformat the tildify-mode entry.
2651
26522016-01-30 Eli Zaretskii <eliz@gnu.org>
2653
2654 Document new features of Whitespace mode
2655
2656 * doc/emacs/display.texi (Useless Whitespace): Document
2657 'whitespace-toggle-options' and the new 'big-indent' style.
2658 Document 'whitespace-big-indent-regexp'. Document the Global
2659 Whitespace mode.
2660
26612016-01-30 Eli Zaretskii <eliz@gnu.org>
2662
2663 Improve documentation of new Hide-IfDef features
2664
2665 * etc/NEWS: Expand and reword Hide-IfDef section.
2666
26672016-01-30 Leo Liu <sdl.web@gmail.com>
2668
2669 Fix regression in font-locking cl-assert and cl-check-type
2670
2671 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
2672 el-errs-re.
2673
26742016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2675
2676 Spelling and grammar fixes
2677
26782016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2679
2680 Fix copyright years by hand
2681
2682 These are dates that admin/update-copyright did not update, or
2683 updated incorrectly.
2684
26852016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2686
2687 Update copyright year to 2016
2688
2689 Run admin/update-copyright.
2690
26912016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2692
2693 Merge from gnulib
2694
2695 This mostly just updates copyright dates of gnulib files.
2696 It also updates to the latest version of texinfo.tex.
2697
26982016-01-30 Mark Oteiza <mvoteiza@udel.edu>
2699
2700 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
2701
27022016-01-30 Mark Oteiza <mvoteiza@udel.edu>
2703
2704 Port chart.el methods to cl-generic.
2705
2706 cl-call-next-method cannot be used inside EIEIO's defmethod.
2707 * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
2708 * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
2709 (chart-draw-title, chart-size-in-dir, chart-draw-axis):
2710 (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
2711 (chart-translate-namezone, chart-draw-data, chart-add-sequence):
2712 (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
2713
27142016-01-30 Brian Burns <bburns.km@gmail.com>
2715
2716 Add nt/INSTALL.W64 build instructions
2717
2718 * nt/INSTALL.W64: New file.
2719 * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
2720
27212016-01-30 Joakim Jalap <joakim.jalap@fastmail.com>
2722
2723 Add new input method 'programmer-dvorak'
2724
2725 * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
2726 input method.
2727
2728 * etc/NEWS: Mention it.
2729
27302016-01-30 Eli Zaretskii <eliz@gnu.org>
2731
2732 Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
2733
2734 * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
2735 original M-TAB binding in a buffer-local variable.
2736 (flyspell-auto-correct-word): Invoke the original binding of M-TAB
2737 if that is recorded, when point is in a place where flyspell
2738 should not be active (e.g., because the user turned on
2739 'flyspell-prog-mode'). (Bug#18533)
2740
27412016-01-30 Eli Zaretskii <eliz@gnu.org>
2742
2743 Fix EWW rendering of long RTL lines
2744
2745 * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
2746 of the selected window before filling its lines. (Bug#22250)
2747
27482016-01-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
2749
2750 fix bug#21054
2751
2752 * lisp/ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
2753
27542016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2755
2756 Clean up cairo printing code
2757
2758 * src/gtkutil.c (xg_get_page_setup): Use listn.
2759 * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
2760 decode_window_system_frame and FRAME_VISIBLE_P.
2761 (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
2762 of Fdisplay.
2763 * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
2764 instead of Fdisplay. Temporarily unblock_input around QUIT.
2765
27662016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2767
2768 Move variables to inner loop, preparing for Mac port merge
2769
2770 * src/keyboard.c (command_loop_1): Move variables `cmd',
2771 `keybuf', and `i' to inner loop.
2772
27732016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2774
2775 Add handle_user_signal_hook
2776
2777 * src/keyboard.h (handle_user_signal_hook): New declaration.
2778 * src/keyboard.c (handle_user_signal_hook): New variable.
2779 (handle_user_signal): Call it.
2780
27812016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2782
2783 Avoid writing to purespace
2784
2785 * src/alloc.c (Fmake_string): Don't write to empty string contents.
2786 (allocate_vector): Don't write to empty vector size.
2787 * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
2788 Don't call unnecessary XSETCAR or XSETCDR.
2789 * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
2790 write to empty string size_byte.
2791
27922016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2793
2794 Remove unused variable
2795
2796 * lisp/international/mule-cmds.el: Remove unused variable
2797 `mac-system-coding-system'.
2798
27992016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2800
2801 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
2802
28032016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2804
2805 Use posix_openpt instead of openpty on Darwin
2806
2807 * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
2808 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
2809 Darwin-specific definitions. Use posix_openpt instead.
2810
28112016-01-30 Shakthi Kannan <shakthimaan@gmail.com>
2812
2813 Document support for ':documentation' in Lisp mode
2814
2815 * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
2816 (lisp-string-after-doc-keyword-p)
2817 (lisp-font-lock-syntactic-face-function): Add doc strings.
2818
28192016-01-30 Shakthi Kannan <shakthimaan@gmail.com>
2820
2821 Document new features of TeX mode
2822
2823 * doc/emacs/text.texi (TeX Print): Document
2824 'tex-print-file-extension'.
2825 * doc/emacs/programs.texi (Misc for Programs): Document support
2826 for Prettify Symbols mode in TeX mode.
2827
28282016-01-30 Eli Zaretskii <eliz@gnu.org>
2829
2830 Clarify docs of hscroll in RTL text
2831
2832 * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
2833 meaning of a window's horizontal scroll amount for RTL paragraphs.
2834
28352016-01-30 Eli Zaretskii <eliz@gnu.org>
2836
2837 Fix rendering of HTML pages that use character composition
2838
2839 * src/indent.c (Fvertical_motion): Fix the case when point starts
2840 in the middle of a composition, as in shr-vertical-motion.
2841 (Bug#22250)
2842
28432016-01-30 Eli Zaretskii <eliz@gnu.org>
2844
2845 Avoid some compiler warnings in w32.c
2846
2847 * src/w32.c (codepage_for_filenames, crlf_to_lf)
2848 (ansi_encode_filename, socket_to_fd, sys_write)
2849 (check_windows_init_file): Avoid compiler warnings about
2850 differences in pointer signedness.
2851
28522016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2853
2854 Undo ill-advised change
2855
2856 * lisp/progmodes/xref.el (xref-collect-matches): Undo
2857 ill-advised change. The hits come in the order that `find'
2858 produces them in, which isn't alphabetical.
2859
28602016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2861
2862 Unbreak completion in python-mode buffers
2863
2864 * lisp/progmodes/python.el (python-shell-completion-at-point):
2865 Unbreak in python-mode buffers.
2866
28672016-01-30 Eli Zaretskii <eliz@gnu.org>
2868
2869 Fix typos in CC Mode manual
2870
2871 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
2872 typos. (Bug#22267)
2873
28742016-01-30 Eli Zaretskii <eliz@gnu.org>
2875
2876 Avoid assertion violations in compact_font_cache_entry
2877
2878 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
2879 avoid assertion violation in ASIZE. (Bug#22263)
2880
28812016-01-30 Eli Zaretskii <eliz@gnu.org>
2882
2883 Fix filling text with bidirectional characters in shr.el
2884
2885 * lisp/net/shr.el (shr-insert-document): Bind
2886 bidi-display-reordering to nil while filling lines. This is
2887 required for when a line includes characters whose bidi
2888 directionality is opposite to the base paragraph direction,
2889 because columns are counted in the logical order. (Bug#22250)
2890
28912016-01-30 Martin Rudalics <rudalics@gmx.at>
2892
2893 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
2894
28952016-01-30 Michael Albinus <michael.albinus@gmx.de>
2896
2897 Sync with Tramp 2.2.13
2898
2899 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
2900
2901 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
2902 Use `tramp-compat-funcall'.
2903
2904 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
2905 Make `split-string' call compatible with older Emacsen.
2906
2907 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
2908
29092016-01-30 Lambda Coder <sjLambda@gmail.com>
2910
2911 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
2912
29132016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2914
2915 Mention that tls.el is secure by default, and will fail
2916
29172016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2918
2919 Make tls.el use trustfiles by default
2920
2921 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
2922 (open-tls-stream): Insert the trustfile by looking at
2923 `gnutls-trustfiles'.
2924
29252016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2926
2927 Refactor out gnutls-trustfiles
2928
2929 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
2930
29312016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2932
2933 Remove --insecure from gnutls-cli invocation
2934
2935 * tls.el (tls-program): Default to using secure TLS
2936 connections (bug#19284).
2937
29382016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2939
2940 Spelling fix
2941
29422016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2943
2944 Port report-emacs-bug to deterministic builds
2945
2946 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
2947 recent "built on" change to deterministic builds where
2948 emacs-build-system will be nil. See:
2949 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
2950
29512016-01-30 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
2952
2953 Fix URL auth error message
2954
2955 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
2956 message more correct (bug#20069).
2957
29582016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2959
2960 shr link traversal fixup
2961
2962 * shr.el (shr-next-link): Don't bug out on adjacent links.
2963
2964 Backport:
2965
2966 (cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)
2967
29682016-01-30 Tom Tromey <tom@tromey.com>
2969
2970 set :safe on css-indent-offset
2971
2972 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
2973
29742016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2975
2976 * eww.el (eww-mode): Remove superfluous bidi reset.
2977
29782016-01-30 James Stout <james.wolf.stout@gmail.com> (tiny change)
2979
2980 Make chunked encoding trailer detection more compliant
2981
2982 * lisp/url/url-http.el
2983 (url-http-chunked-encoding-after-change-function): Make
2984 trailer detection more compliant (bug#16345).
2985
29862016-01-30 Martin Rudalics <rudalics@gmx.at>
2987
2988 Fix Bug#10873 in `report-emacs-bug'
2989
2990 * lisp/mail/emacsbug.el (report-emacs-bug): If
2991 `report-emacs-bug-no-explanations' is nil, make sure we can show
2992 mail and warnings buffer on this frame (Bug#10873).
2993
29942016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2995
2996 Always reset the bidi direction
2997
2998 * eww.el (eww-display-html): Always reset the bidi direction
2999 to `left-to-right' (bug#22257).
3000
30012016-01-30 Alan Mackenzie <acm@muc.de>
3002
3003 Allow line comments ending with escaped NL to be continued to the next line.
3004
3005 Use this in C, C++, and Objective C Modes. Fixes bug#22246
3006
3007 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
3008 (forw-comment, back-comment): On encountering an end of comment character,
3009 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
3010
3011 * doc/lispref/syntax.texi (Control Parsing): Describe
3012 `comment-end-can-be-escaped'.
3013
3014 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
3015
3016 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
3017
30182016-01-30 Dmitry Gutov <dgutov@yandex.ru>
3019
3020 Rename project-library-roots to project-external-roots
3021
3022 * lisp/progmodes/project.el (project-library-roots): Rename to
3023 project-external-roots.
3024 (project-library-roots-function): Rename to
3025 project-vc-external-roots-function. Only use it in the VC
3026 backend, for now. Update project-external-roots accordingly.
3027 (project-vc-library-roots): Remove.
3028 (project-or-libraries-find-regexp):
3029 Rename to project-or-external-find-regexp.
3030
3031 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
3032 Rename to elisp-load-path-roots.
3033
3034 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
3035 an anonymous function for the default value of
3036 project-vc-external-roots-function.
3037
30382016-01-30 Deniz Dogan <deniz@dogan.se>
3039
3040 Clear erc user list upon disconnection
3041
3042 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
3043 lists upon disconnection. This prevents invalid channel
3044 user lists when reconnecting (bug#10947).
3045
30462016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3047
3048 Don't bug out in erc after waking from sleep
3049
3050 * lisp/erc/erc-backend.el (erc-server-send-ping): If the server has
3051 closed connection, this may already have been detected and
3052 `erc-server-last-received-time' has been set to nil (bug#13608).
3053
30542016-01-30 David Edmondson <dme@dme.org>
3055
3056 Proxy error in erc with multiple clients
3057
3058 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
3059 generated when multiple IRC clients talk to a single IRC proxy
3060 (bug#19034).
3061
3062 Backport:
3063
3064 (cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)
3065
30662016-01-30 Dima Kogan <dima@secretsauce.net>
3067
3068 Ensure that we don't have several timers in erc
3069
3070 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
3071 for existing timers in the alist before adding new ones. If a
3072 timer already exists, it is cancelled and
3073 overwritten. (bug#19292).
3074
30752016-01-30 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
3076
3077 Fix mml-sec build warnings
3078
3079 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
3080 (bug#18718).
3081
3082 Backport:
3083
3084 (cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)
3085
30862016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3087
3088 Don't insert erc logs at the end
3089
3090 * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
3091 at the start of the buffer, not at the end (bug#20496).
3092
30932016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3094
3095 (eww-setup-buffer): Restore left-to-right defaults
3096
3097 * eww.el (eww-setup-buffer): Restore left-to-right defaults.
3098
3099 Backport:
3100
3101 (cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)
3102
31032016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3104
3105 Don't join erc channels doubly
3106
3107 * lisp/erc/erc-join.el (erc-autojoin-channels): Don't join channels
3108 more than once (if you have several nicks) (bug#20695).
3109
31102016-01-30 Eli Zaretskii <eliz@gnu.org>
3111
3112 Avoid leaving "ghost" of mouse pointer on MS-Windows
3113
3114 * src/w32term.c (frame_set_mouse_pixel_position):
3115 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
3116 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
3117 * src/w32term.c (frame_set_mouse_pixel_position): Include
3118 w32common.h.
3119
31202016-01-30 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
3121
3122 Fix auth source lookups from erc with port numbers
3123
3124 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
3125 numbers (bug#20541).
3126
31272016-01-30 Fran Litterio <flitterio@gmail.com>
3128
3129 Run erc-kill-channel-hook always on exit
3130
3131 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
3132 when erc-kill-queries-on-quit is set (bug#21187).
3133
31342016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3135
3136 Spelling fix
3137
3138 * test/automated/url-parse-tests.el:
3139 (url-generic-parse-url/same-document-reference):
3140 Rename from url-generic-parse-url/same-decument-reference.
3141
31422016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3143
3144 Reword initial *scratch* for brevity, appearance
3145
3146 * lisp/startup.el (initial-scratch-message):
3147 Reword to avoid apostrophes, and to make it shorter.
3148 See the thread starting in:
3149 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
3150
31512016-01-30 Leo Liu <sdl.web@gmail.com>
3152
3153 Add ert-deftest to lisp-mode.el
3154
3155 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression,
3156 lisp-el-font-lock-keywords-1): Add ert-deftest.
3157
31582016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3159
3160 Mark imap changes as not needing doc changes
3161
3162 * lisp/net/imap.el (imap-ssl-open): Remove
3163
31642016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3165
3166 Use built-in encryption in imap.el
3167
3168 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
3169 (imap-starttls-open): Use open-network-stream instead of starttls.el.
3170 (imap-tls-open): Use open-network-stream instead of tls.el.
3171
31722016-01-30 Eli Zaretskii <eliz@gnu.org>
3173
3174 Don't try using /bin/sh in artist.el on MS-Windows
3175
3176 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
3177 New function.
3178 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
3179 (Bug#20167)
3180
31812016-01-30 Wolfgang Jenkner <wjenkner@inode.at>
3182
3183 Always define gmalloc etc. in src/gmalloc.c
942016-01-19 John Wiegley <johnw@newartisans.com> 31842016-01-19 John Wiegley <johnw@newartisans.com>
95 3185
96 - 3186 -
@@ -3024,6 +6114,27 @@
3024 6114
3025 Include the tests for the URL parsing fixes 6115 Include the tests for the URL parsing fixes
3026 6116
61172016-01-30 Alain Schneble <a.s@realize.ch>
6118
6119 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
6120
6121 * test/automated/url-parse-tests.el: Add tests covering url-generic-parse-url.
6122 * test/automated/url-expand-tests.el: Add tests covering url-expand-file-name.
6123 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
6124 information in URL-struct.
6125 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
6126 path and query into nil path and query, respectively.
6127 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
6128 empty path into an absolute ("/") path.
6129 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
6130 fragment-only URIs. Do not just return them unchanged.
6131 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
6132 reference URI should not drop the last segment.
6133
6134 Backport:
6135
6136 (cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)
6137
30272015-12-26 Eli Zaretskii <eliz@gnu.org> 61382015-12-26 Eli Zaretskii <eliz@gnu.org>
3028 6139
3029 Document 'url-user-agent'. 6140 Document 'url-user-agent'.
@@ -3081,6 +6192,40 @@
3081 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons 6192 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
3082 only in the first component. (bug#5362) 6193 only in the first component. (bug#5362)
3083 6194
61952016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
6196
6197 Follow <meta> redirects in eww
6198
6199 Merge conflict, but I think I resolved it.
6200
6201 Follow meta refresh tags in eww
6202
6203 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
6204
6205 Backport:
6206
62072016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
6208
6209 Allow http://user:pass@foo/ URLs again
6210
6211 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
6212 user/passwords in URLs (bug#19046).
6213
6214 Backport:
6215
6216 (cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)
6217
62182016-01-30 Samer Masterson <samer@samertm.com>
6219
6220 Autoload url-insert-buffer-contents
6221
6222 * lisp/url/url-handlers.el: Add autoload cookie so that
6223 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
6224
6225 Backport:
6226
6227 (cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)
6228
30842015-12-25 Eli Zaretskii <eliz@gnu.org> 62292015-12-25 Eli Zaretskii <eliz@gnu.org>
3085 6230
3086 Make sure *scratch* etc. use forward slashes in its default-directory 6231 Make sure *scratch* etc. use forward slashes in its default-directory
@@ -3114,7 +6259,8 @@
3114 6259
31152015-12-25 Leo Liu <sdl.web@gmail.com> 62602015-12-25 Leo Liu <sdl.web@gmail.com>
3116 6261
3117 * ido.el (ido-add-virtual-buffers-to-list): Use bookmark-get-filename. 6262 * lisp/ido.el (ido-add-virtual-buffers-to-list):
6263 Use bookmark-get-filename.
3118 6264
31192015-12-25 Michael Albinus <michael.albinus@gmx.de> 62652015-12-25 Michael Albinus <michael.albinus@gmx.de>
3120 6266
@@ -3187,7 +6333,7 @@
3187 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs' 6333 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs'
3188 as the file name coding system. 6334 as the file name coding system.
3189 6335
3190 * src/nsfns.c (ns-convert-utf8-nfd-to-nfc): Removed. 6336 * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
3191 6337
31922015-12-22 Tom Tromey <tom@tromey.com> 63382015-12-22 Tom Tromey <tom@tromey.com>
3193 6339
@@ -3196,6 +6342,7 @@
3196 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept 6342 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
3197 "bug NNNN". (Bug #18588) 6343 "bug NNNN". (Bug #18588)
3198 6344
63452016-01-30 Tom Tromey <tom@tromey.com>
31992015-12-22 Tom Tromey <tom@tromey.com> 63462015-12-22 Tom Tromey <tom@tromey.com>
3200 6347
3201 add some cl-* aliases to lisp-mode imenu 6348 add some cl-* aliases to lisp-mode imenu
@@ -3246,6 +6393,7 @@
3246 `display-buffer' with ACTION instead of NOT-THIS-WINDOW 6393 `display-buffer' with ACTION instead of NOT-THIS-WINDOW
3247 (Bug#22221). 6394 (Bug#22221).
3248 6395
63962016-01-30 Juri Linkov <juri@linkov.net>
32492015-12-21 Juri Linkov <juri@linkov.net> 63972015-12-21 Juri Linkov <juri@linkov.net>
3250 6398
3251 * lisp/saveplace.el (toggle-save-place, save-place-to-alist) 6399 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
@@ -3257,6 +6405,7 @@
3257 6405
3258 Add FIXME comment re stack overflow and modules 6406 Add FIXME comment re stack overflow and modules
3259 6407
64082016-01-30 Paul Eggert <eggert@cs.ucla.edu>
32602015-12-20 Paul Eggert <eggert@cs.ucla.edu> 64092015-12-20 Paul Eggert <eggert@cs.ucla.edu>
3261 6410
3262 Revert some recent emacs-module commentary 6411 Revert some recent emacs-module commentary
@@ -3264,6 +6413,11 @@
3264 Most of the recently-added commentary was incorrect, due to the 6413 Most of the recently-added commentary was incorrect, due to the
3265 possibility of stack overflow. 6414 possibility of stack overflow.
3266 6415
64162016-01-30 Paul Eggert <eggert@cs.ucla.edu>
6417
6418 Spelling fix: prefer "cooperate" to "co-operate"
6419
64202016-01-30 Paul Eggert <eggert@cs.ucla.edu>
32672015-12-20 Paul Eggert <eggert@cs.ucla.edu> 64212015-12-20 Paul Eggert <eggert@cs.ucla.edu>
3268 6422
3269 Spelling fix: prefer "cooperate" to "co-operate" 6423 Spelling fix: prefer "cooperate" to "co-operate"
@@ -3303,7 +6457,8 @@
3303 6457
33042015-12-19 Michael Albinus <michael.albinus@gmx.de> 64582015-12-19 Michael Albinus <michael.albinus@gmx.de>
3305 6459
3306 * tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check. 6460 * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option):
6461 Improve check.
3307 6462
33082015-12-19 Eli Zaretskii <eliz@gnu.org> 64632015-12-19 Eli Zaretskii <eliz@gnu.org>
3309 6464
@@ -3395,6 +6550,7 @@
3395 signal an error if VISIT is non-nil, to more faithfully emulate 6550 signal an error if VISIT is non-nil, to more faithfully emulate
3396 the behavior of 'insert-file-contents'. (Bug#22160) 6551 the behavior of 'insert-file-contents'. (Bug#22160)
3397 6552
65532016-01-30 Paul Eggert <eggert@cs.ucla.edu>
33982015-12-18 Paul Eggert <eggert@cs.ucla.edu> 65542015-12-18 Paul Eggert <eggert@cs.ucla.edu>
3399 6555
3400 Remove SunOS 4.x cruft 6556 Remove SunOS 4.x cruft
@@ -3403,6 +6559,7 @@
3403 * lib-src/pop.c [sun]: Remove no-longer-needed include. 6559 * lib-src/pop.c [sun]: Remove no-longer-needed include.
3404 * lwlib/xlwmenu.c (SUNSO41): Remove. 6560 * lwlib/xlwmenu.c (SUNSO41): Remove.
3405 6561
65622016-01-30 Paul Eggert <eggert@cs.ucla.edu>
34062015-12-18 Paul Eggert <eggert@cs.ucla.edu> 65632015-12-18 Paul Eggert <eggert@cs.ucla.edu>
3407 6564
3408 Merge from gnulib 6565 Merge from gnulib
@@ -3462,6 +6619,7 @@
3462 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width): 6619 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
3463 Don't call x-display-pixel-width/-height on ttys. 6620 Don't call x-display-pixel-width/-height on ttys.
3464 6621
66222016-01-30 Dmitry Gutov <dgutov@yandex.ru>
34652015-12-17 Dmitry Gutov <dgutov@yandex.ru> 66232015-12-17 Dmitry Gutov <dgutov@yandex.ru>
3466 6624
3467 Use 'hg id' in vc-hg-previous-revision 6625 Use 'hg id' in vc-hg-previous-revision
@@ -3591,6 +6749,7 @@
3591 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y 6749 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
3592 when `right' is integer. 6750 when `right' is integer.
3593 6751
67522016-01-30 foudfou <foudil.newbie+git@gmail.com>
35942015-12-14 foudfou <foudil.newbie+git@gmail.com> (tiny change) 67532015-12-14 foudfou <foudil.newbie+git@gmail.com> (tiny change)
3595 6754
3596 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region. 6755 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
@@ -3703,6 +6862,7 @@
3703 6862
3704 ... in case of Tramp. (Bug#20821) 6863 ... in case of Tramp. (Bug#20821)
3705 6864
68652016-01-30 Paul Eggert <eggert@cs.ucla.edu>
37062015-12-12 Paul Eggert <eggert@cs.ucla.edu> 68662015-12-12 Paul Eggert <eggert@cs.ucla.edu>
3707 6867
3708 Fix performance regression with gcc -O0 6868 Fix performance regression with gcc -O0
@@ -3986,12 +7146,18 @@
3986 * lisp/mail/rmailout.el (rmail-output-read-file-name): 7146 * lisp/mail/rmailout.el (rmail-output-read-file-name):
3987 Fix display-warning usage. 7147 Fix display-warning usage.
3988 7148
71492016-01-30 Glenn Morris <rgm@gnu.org>
39892015-12-07 Glenn Morris <rgm@gnu.org> 71502015-12-07 Glenn Morris <rgm@gnu.org>
3990 7151
3991 * lisp/calendar/cal-html.el: Require diary-lib. 7152 * lisp/calendar/cal-html.el: Require diary-lib.
3992 7153
3993 (cal-html-list-diary-entries): Handle no diary. (Bug#21994) 7154 (cal-html-list-diary-entries): Handle no diary. (Bug#21994)
3994 7155
71562016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7157
7158 Add Obsolete-since header to eudcb-ph.el
7159
7160 * lisp/obsolete/eudcb-ph.el: Add Obsolete-since header.
39952015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org> 71612015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org>
3996 7162
3997 Add Obsolete-since header to eudcb-ph.el 7163 Add Obsolete-since header to eudcb-ph.el
@@ -4068,6 +7234,7 @@
4068 Make lax check for utf8. 7234 Make lax check for utf8.
4069 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate. 7235 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
4070 7236
72372016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
40712015-12-06 Thomas Fitzsimmons <fitzsim@fitzsim.org> 72382015-12-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4072 7239
4073 Make eudcb-ph.el obsolete 7240 Make eudcb-ph.el obsolete
@@ -4079,6 +7246,7 @@
4079 (eudc-ph-bbdb-conversion-alist): Make obsolete. 7246 (eudc-ph-bbdb-conversion-alist): Make obsolete.
4080 * etc/NEWS: Mention this. (Bug#21191) 7247 * etc/NEWS: Mention this. (Bug#21191)
4081 7248
72492016-01-30 Paul Eggert <eggert@cs.ucla.edu>
40822015-12-06 Paul Eggert <eggert@cs.ucla.edu> 72502015-12-06 Paul Eggert <eggert@cs.ucla.edu>
4083 7251
4084 Remove overenthusiastic eassert 7252 Remove overenthusiastic eassert
@@ -4176,6 +7344,7 @@
4176 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert): 7344 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
4177 Make it working also when filenotify isn't used. 7345 Make it working also when filenotify isn't used.
4178 7346
73472016-01-30 Juri Linkov <juri@linkov.net>
41792015-12-05 Juri Linkov <juri@linkov.net> 73482015-12-05 Juri Linkov <juri@linkov.net>
4180 7349
4181 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): 7350 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
@@ -4269,6 +7438,7 @@
4269 * etc/NEWS: Fix wording and spelling of undo-related entries. 7438 * etc/NEWS: Fix wording and spelling of undo-related entries.
4270 Mark them as documented. 7439 Mark them as documented.
4271 7440
74412016-01-30 Glenn Morris <rgm@gnu.org>
42722015-12-04 Glenn Morris <rgm@gnu.org> 74422015-12-04 Glenn Morris <rgm@gnu.org>
4273 7443
4274 * lisp/net/net-utils.el: Small improvements. 7444 * lisp/net/net-utils.el: Small improvements.
@@ -4279,6 +7449,7 @@
4279 (ifconfig-program-options): Check the actual program in use. 7449 (ifconfig-program-options): Check the actual program in use.
4280 (arp-program): Check sbin directories. 7450 (arp-program): Check sbin directories.
4281 7451
74522016-01-30 (tiny change) Arash Esbati <esbati@gmx.de> (tiny change)
42822015-12-04 Arash Esbati <esbati@gmx.de> (tiny change) 74532015-12-04 Arash Esbati <esbati@gmx.de> (tiny change)
4283 7454
4284 Fix wrong-type-argument integer-or-marker-p nil error 7455 Fix wrong-type-argument integer-or-marker-p nil error
@@ -4520,6 +7691,7 @@
4520 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is 7691 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
4521 not run thru `format'. 7692 not run thru `format'.
4522 7693
76942016-01-30 Dmitry Gutov <dgutov@yandex.ru>
45232015-12-01 Dmitry Gutov <dgutov@yandex.ru> 76952015-12-01 Dmitry Gutov <dgutov@yandex.ru>
4524 7696
4525 APPEND etags--xref-backend to xref-backend-functions 7697 APPEND etags--xref-backend to xref-backend-functions
@@ -4613,6 +7785,7 @@
4613 7785
4614 * src/lread.c (syms_of_lread): Doc fix. 7786 * src/lread.c (syms_of_lread): Doc fix.
4615 7787
77882016-01-30 Dmitry Gutov <dgutov@yandex.ru>
46162015-11-30 Dmitry Gutov <dgutov@yandex.ru> 77892015-11-30 Dmitry Gutov <dgutov@yandex.ru>
4617 7790
4618 Don't mistake certain JS method calls for keywords 7791 Don't mistake certain JS method calls for keywords
@@ -4620,6 +7793,15 @@
4620 * lisp/progmodes/js.el (js--ctrl-statement-indentation): 7793 * lisp/progmodes/js.el (js--ctrl-statement-indentation):
4621 Braceless keyword can't come after a period (bug#22063). 7794 Braceless keyword can't come after a period (bug#22063).
4622 7795
77962016-01-30 David Reitter <david.reitter@gmail.com>
7797
7798 Read frame_title_format from buffer-local variable for NS port
7799
7800 * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
7801 icon-title-format variables from buffer in appropriate window.
7802 (Bug#22048)
7803
78042016-01-30 Juri Linkov <juri@linkov.net>
46232015-11-30 David Reitter <david.reitter@gmail.com> 78052015-11-30 David Reitter <david.reitter@gmail.com>
4624 7806
4625 Read frame_title_format from buffer-local variable for NS port 7807 Read frame_title_format from buffer-local variable for NS port
@@ -4715,7 +7897,7 @@
4715 7897
4716 Fix scrambling of html-rendered item buffers 7898 Fix scrambling of html-rendered item buffers
4717 7899
4718 * net/newst-treeview.el (newsticker--treeview-render-text): Fix 7900 * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
4719 scrambling of contents by wrapping call to html-renderer in 7901 scrambling of contents by wrapping call to html-renderer in
4720 save-selected-window. 7902 save-selected-window.
4721 7903
@@ -4746,6 +7928,7 @@
4746 7928
4747 Spelling and grammar fixes 7929 Spelling and grammar fixes
4748 7930
79312016-01-30 Dmitry Gutov <dgutov@yandex.ru>
47492015-11-29 Dmitry Gutov <dgutov@yandex.ru> 79322015-11-29 Dmitry Gutov <dgutov@yandex.ru>
4750 7933
4751 Make lisp-completion-at-point a wrapper instead of an alias 7934 Make lisp-completion-at-point a wrapper instead of an alias
@@ -4957,7 +8140,7 @@
4957 8140
4958 Simplify the prologue of emacs-module.c functions 8141 Simplify the prologue of emacs-module.c functions
4959 8142
4960 * emacs-module.c (MODULE_FUNCTION_BEGIN): New macro. 8143 * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
4961 (module_make_global_ref) 8144 (module_make_global_ref)
4962 (module_free_global_ref, module_make_function, module_funcall) 8145 (module_free_global_ref, module_make_function, module_funcall)
4963 (module_intern, module_type_of, module_extract_integer) 8146 (module_intern, module_type_of, module_extract_integer)
@@ -5048,6 +8231,15 @@
5048 * lisp/replace.el (replace-character-fold): Clarify which commands 8231 * lisp/replace.el (replace-character-fold): Clarify which commands
5049 are affected by this variable. 8232 are affected by this variable.
5050 8233
82342016-01-30 Mark Oteiza <mvoteiza@udel.edu>
8235
8236 Backport: Add interactive seek command.
8237
8238 * lisp/mpc.el (mpc-cmd-seekcur): New function.
8239 (mpc-seek-current): New command.
8240 (mpc-mode-menu): Add entry for mpc-seek-current
8241 (mpc-mode-map): Bind mpc-seek-current to "g"
8242
50512015-11-27 Dmitry Gutov <dgutov@yandex.ru> 82432015-11-27 Dmitry Gutov <dgutov@yandex.ru>
5052 8244
5053 Autoload etags when using its xref backend 8245 Autoload etags when using its xref backend
@@ -5174,7 +8366,7 @@
5174 8366
5175 Fix regression after merge. 8367 Fix regression after merge.
5176 8368
5177 * undo.c (prepare_record): Remove call to run_undoable_change. 8369 * src/undo.c (prepare_record): Remove call to run_undoable_change.
5178 8370
51792015-11-26 Phillip Lord <phillip.lord@russet.org.uk> 83712015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
5180 8372
@@ -5184,7 +8376,7 @@
5184 8376
5185 * lisp/simple.el (undo-auto--add-boundary): Clean up code to 8377 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
5186 better support intercalating calls. 8378 better support intercalating calls.
5187 * src/keyboard.c,src/keyboard.h (command_loop_1): Store value of 8379 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
5188 point and current buffer before each command. 8380 point and current buffer before each command.
5189 * src/undo.c (record_point): Now only record the point. 8381 * src/undo.c (record_point): Now only record the point.
5190 * src/undo.c (prepare_record): Functionality removed form 8382 * src/undo.c (prepare_record): Functionality removed form
@@ -5224,6 +8416,7 @@
5224 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an 8416 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
5225 odd number of arguments, generate a `signal' instead of the normal code. 8417 odd number of arguments, generate a `signal' instead of the normal code.
5226 8418
84192016-01-30 Dmitry Gutov <dgutov@yandex.ru>
52272015-11-25 Dmitry Gutov <dgutov@yandex.ru> 84202015-11-25 Dmitry Gutov <dgutov@yandex.ru>
5228 8421
5229 Use find-tag-default for xref-backend-identifier-at-point 8422 Use find-tag-default for xref-backend-identifier-at-point
@@ -5234,6 +8427,7 @@
5234 (xref-backend-identifier-at-point): Define in terms of the new 8427 (xref-backend-identifier-at-point): Define in terms of the new
5235 function. 8428 function.
5236 8429
84302016-01-30 Paul Eggert <eggert@cs.ucla.edu>
52372015-11-25 Paul Eggert <eggert@cs.ucla.edu> 84312015-11-25 Paul Eggert <eggert@cs.ucla.edu>
5238 8432
5239 * src/undo.c (record_property_change): Remove now-unused local. 8433 * src/undo.c (record_property_change): Remove now-unused local.
@@ -5247,9 +8441,9 @@
5247 Calling them directly from prepare_to_modify_buffer_1 ensures that they 8441 Calling them directly from prepare_to_modify_buffer_1 ensures that they
5248 are always run at the same point. 8442 are always run at the same point.
5249 8443
5250 * undo.c (run_undoable_changes,syms_of_undo): Remove function 8444 * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
5251 and symbol used. 8445 and symbol used.
5252 * insdel.c (run_undoable_changes): Add function and symbol. 8446 * src/insdel.c (run_undoable_changes): Add function and symbol.
5253 8447
52542015-11-25 Eli Zaretskii <eliz@gnu.org> 84482015-11-25 Eli Zaretskii <eliz@gnu.org>
5255 8449
@@ -5325,6 +8519,1443 @@
5325 See: T.V Raman in: 8519 See: T.V Raman in:
5326 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html 8520 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
5327 8521
85222016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8523
8524 Pass SVN commit message through log-edit-extract-headers
8525
8526 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
8527 log-edit-extract-headers (bug#18954).
8528
85292016-01-30 Alan Mackenzie <acm@muc.de>
8530
8531 CC Mode: Eliminate compiler warning messages.
8532
8533 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
8534 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
8535 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
8536 (c-awk-set-syntax-table-properties): Clarify comments about
8537 `font-lock-syntactic-keywords'.
8538
8539 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
8540 of this before the real (interpreted) one, to satisfy the byte compiler.
8541
85422016-01-30 Simen Heggestøyl <simenheg@gmail.com>
8543
8544 Extend the test suite for json.el
8545
8546 * lisp/json.el (json-plist-p): Clarify docstring.
8547
8548 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
8549 macro.
8550 (test-json-join, test-json-alist-p)
8551 (test-json-plist-p, test-json-advance, test-json-peek)
8552 (test-json-pop, test-json-skip-whitespace)
8553 (test-json-read-keyword, test-json-encode-keyword)
8554 (test-json-read-number, test-json-encode-number)
8555 (test-json-read-escaped-char, test-json-read-string)
8556 (test-json-encode-string, test-json-encode-key)
8557 (test-json-new-object, test-json-add-to-object)
8558 (test-json-read-object, test-json-encode-list)
8559 (test-json-read-array, test-json-encode-array)
8560 (test-json-read, test-json-read-from-string)
8561 (test-json-encode): New tests.
8562 (json-read-simple-alist): Merged into `test-json-read-object'.
8563 (json-encode-string-with-special-chars): Merged into
8564 `test-json-encode-string'.
8565 (json-read-string-with-special-chars): Split into
8566 `test-json-encode-string' and `test-json-read-from-string'.
8567
85682016-01-30 Anders Lindgren <andlind@gmail.com>
8569
8570 Fixed bug#18283: Enable applescript in NextStep.
8571
8572 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
8573
85742016-01-30 Eli Zaretskii <eliz@gnu.org>
8575
8576 Allow completion on dynamic module files in load-library
8577
8578 * lisp/files.el (load-library): Bind completion-ignored-extensions
8579 to nil, to allow completion on dynamic modules typed as file
8580 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8581
85822016-01-30 Alan Mackenzie <acm@muc.de>
8583
8584 CC Mode: eliminate almost all byte compilation warnings
8585
8586 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
8587 (cc-require): Remove the crude hack that saved and restored
8588 byte-compile-noruntime-functions.
8589 (cc-conditional-require, cc-conditional-require-after-load): New macros.
8590
8591 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
8592 cc-fix.el using the new macros in cc-bytecomp.el.
8593
8594 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
8595 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
8596 forms to remove the superflous quotes.
8597
85982016-01-30 Eli Zaretskii <eliz@gnu.org>
8599
8600 Add one more mod-test test
8601
8602 * modules/mod-test/test.el (mod-test-sum-test): Test the error
8603 signaled when the function is invoked with a wrong number of
8604 arguments.
8605
86062016-01-30 Philipp Stephani <phst@google.com>
8607
8608 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
8609
86102016-01-30 Eli Zaretskii <eliz@gnu.org>
8611
8612 Implement dynlib_addr for MS-Windows
8613
8614 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
8615 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
8616 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
8617 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
8618 if undefined.
8619 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
8620 zero.
8621 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
8622 the full file name of the module for a given address.
8623
86242016-01-30 Alan Mackenzie <acm@muc.de>
8625
8626 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
8627
86282016-01-30 Alan Mackenzie <acm@muc.de>
8629
8630 Squashed commit of the following:
8631
8632 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
8633 Author: Alan Mackenzie <acm@muc.de>
8634 Date: Tue Nov 24 16:50:09 2015 +0000
8635
8636 Byte compile: minor amendments.
8637
8638 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
8639 add a comment to explain the binding of variables around a subsidiary
8640 compilation.
8641 (byte-compile-new-defuns): Amend the doc string.
8642
8643 commit c537bfed1dda1593d218956ff00c6105a3ff0316
8644 Author: Alan Mackenzie <acm@muc.de>
8645 Date: Sat Nov 21 18:43:57 2015 +0000
8646
8647 Byte compiler: fix spurious warnings "might not be defined at runtime".
8648
8649 Also initialize byte-compile-noruntime-functions between runs.
8650
8651 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
8652 (byte-compile-initial-macro-environment): For eval-when-compile: bind
8653 byte-compile-unresolved-functions and byte-compile-new-defuns around
8654 byte-compile-top-level, to prevent spurious entries being made.
8655 (byte-compile-warn-about-unresolved-functions): Check whether function is
8656 in byte-compile-new-defuns before emitting a warning about it.
8657 (byte-compile-from-buffer): Initialize new variable and
8658 byte-compile-noruntime-functions to nil.
8659 (byte-compile-file-form-require): record all new functions defined by a
8660 `require' in byte-compile-new-defuns.
8661 (byte-compile-file-form-defmumble): record the new alias in
8662 byte-compile-new-defuns.
8663
86642016-01-30 Eli Zaretskii <eliz@gnu.org>
8665
8666 Fix crash at startup related to GC of font entities
8667
8668 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
8669 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
8670 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
8671 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
8672 Don't ifdef away font cache compaction on NT_GUI, as the problems
8673 which led to that seem to have been solved.
8674 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
8675 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
8676 cousins. (Bug#21999)
8677
86782016-01-30 Alan Mackenzie <acm@muc.de>
8679
8680 Byte compile: Output an error, not a warning, for odd number of args to setq
8681
8682 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
8683
86842016-01-30 Ken Raeburn <raeburn@raeburn.org>
8685
8686 Fix kbd_buffer iteration loop in readable_events
8687
8688 * src/keyboard.c (readable_events): Wrap the event pointer back to the
8689 start of the kbd_buffer array inside the top of the loop instead of
8690 right before checking the loop condition, since kbd_fetch_ptr and
8691 kbd_store_ptr point past the end of the array to mean that element 0
8692 is next. (bug#21935)
8693
86942016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8695
8696 Improve text-quoting-style doc again
8697
8698 * doc/lispref/help.texi (Keys in Documentation):
8699 Omit overkill discussion of ‘setq’. Mention Emacs versions
8700 where ‘grave’ style was standard.
8701
87022016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8703
8704 Improve text-quoting-style doc
8705
87062016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8707
8708 Simplify module_make_function
8709
8710 * src/emacs-module.c (module_make_function):
8711 Simplify by calling build_unibyte_string.
8712
87132016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8714
8715 Port better to FreeBSD’s dlfunc vs dlsym
8716
8717 This avoids warnings when converting between void * and
8718 function pointers, which strict C11 does not allow.
8719 * configure.ac (dlfunc): Check for existence.
8720 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
8721 (dynlib_func): New function.
8722 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
8723 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
8724 dynlib_sym, for function pointers.
8725
87262016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8727
8728 Simplify use of emacs_finalizer_function type
8729
8730 * src/emacs-module.h (emacs_finalizer_function):
8731 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
8732 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
8733
87342016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8735
8736 module_format_fun_env fixes
8737
8738 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
8739 * src/emacs-module.c (module_format_fun_env):
8740 Convert path and sym to UTF-8.
8741 Don’t use VLAs, as the C11 standard says they’re optional,
8742 and anyway they can cause core dumps with large allocations.
8743 Use exprintf rather than snprintf, as exprintf handles arbitrarily
8744 long strings. Simplify the code a bit.
8745
87462016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8747
8748 Don't use package-user-dir in elisp-library-roots if it's not bound
8749
8750 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
8751 use package-user-dir if it's not bound (bug#19759).
8752
87532016-01-30 Anders Lindgren <andlind@gmail.com>
8754
8755 New visible-bell for NextStep (OS X El Capitan compatible).
8756
8757 Instead of inverting a rectangle in the middle of the frame, use
8758 the standard NextStep image "caution", represented using an
8759 warning sign with an exclamation mark. (Bug#21662)
8760
8761 Implemented based on a suggestion drafted by Mustafa Kocaturk.
8762
8763 * src/nsterm.m (EmacsBell): New class for managing the caution
8764 image. Support multiple active bells, the image is removed once
8765 all bells have timed out.
8766 (ns_timeout): Removed, no longer used.
8767 (ns_ring_bell): Reimplemented to use EmacsBell.
8768
87692016-01-30 Johan Bockgård <bojohan@gnu.org>
8770
8771 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
8772
8773 (remove-function): Ditto. (Bug#20376)
8774
87752016-01-30 Mark Oteiza <mvoteiza@udel.edu>
8776
8777 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
8778
87792016-01-30 Eli Zaretskii <eliz@gnu.org>
8780
8781 Improve how non-ASCII strings are accepted from modules
8782
8783 * src/emacs-module.c (module_make_function, module_make_string):
8784 Build a unibyte Lisp string and then decode it by UTF-8, instead
8785 of building a multibyte string without decoding. This is more
8786 tolerant to deviations from UTF-8.
8787
87882016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8789
8790 Port recent module changes to pickier compilers
8791
8792 * src/emacs-module.c (module_make_function)
8793 (module_make_string): Add casts to fix pointer signedness issues.
8794
87952016-01-30 Philipp Stephani <phst@google.com>
8796
8797 Fix how strings are accepted from modules
8798
8799 * src/emacs-module.c (module_make_function, module_make_string): Use
8800 make_multibyte_string.
8801 (module_copy_string_contents): Encode before reading the byte
8802 size. Return false if and only if an error occurred.
8803
88042016-01-30 Eli Zaretskii <eliz@gnu.org>
8805
8806 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
8807
88082016-01-30 Shakthi Kannan <shakthimaan@gmail.com>
8809
8810 Add the tamil-dvorak input method
8811
8812 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
8813
8814 * etc/NEWS: Mention the new input method.
8815
88162016-01-30 Martin Rudalics <rudalics@gmx.at>
8817
8818 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
8819
8820 * src/frame.c (adjust_frame_size): Don't set
8821 FRAME_WINDOW_SIZES_CHANGED here ...
8822 * src/window.c (resize_frame_windows): ... but here, as suggested
8823 by Stefan Monnier. Also remove some dead code along the way.
8824
88252016-01-30 Alan Mackenzie <acm@muc.de>
8826
8827 * etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
8828
88292016-01-30 Alan Mackenzie <acm@muc.de>
8830
8831 Signal an error when `setf' gets an odd number of arguments.
8832
8833 * lisp/emacs-lisp/gv.el (setf): Amend.
8834
88352016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
8836
8837 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
8838
88392016-01-30 Alan Mackenzie <acm@muc.de>
8840
8841 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
8842
88432016-01-30 Alan Mackenzie <acm@muc.de>
8844
8845 Expunge occurrences of `setq' with an odd number of arguments.
8846
8847 * lisp/apropos.el (apropos-documentation):
8848 * lisp/obsolete/complete.el (PC-include-file-all-completions):
8849 * lisp/progmodes/compile.el (compilation-goto-locus):
8850 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
8851 Insert missing nil at end of `setq' forms.
8852
8853 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
8854 erroneous trailing variable name from a setq, thus allowing a compilation
8855 properly to track functions not defined at runtime.
8856
88572016-01-30 John Wiegley <johnw@newartisans.com>
8858
8859 Add a note about a questionable use of bool in xdisp.c
8860
88612016-01-30 Alan Mackenzie <acm@muc.de>
8862
8863 Issue a warning from the byte compiler on a malformed `setq' form.
8864
8865 Partly fixes bug#20241.
8866 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
8867 `setq' form with an odd number of arguments is compiled.
8868
88692016-01-30 Alan Mackenzie <acm@muc.de>
8870
8871 Don't let cconv_convert insert a nil argument into a `setq' form.
8872
8873 Fixes bug#21983.
8874 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
8875 argument into a `setq' when there're an odd number of args. This enables the
8876 byte compiler to issue a message in this case.
8877
88782016-01-30 Alan Mackenzie <acm@muc.de>
8879
8880 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
8881
8882 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
8883 (syms_of_eval): Add a DEFSYM for Qsetq.
8884
88852016-01-30 Martin Rudalics <rudalics@gmx.at>
8886
8887 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
8888
8889 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
8890
88912016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8892
8893 Add EUDC BBDB 3 entry in NEWS
8894
8895 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
8896
88972016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8898
8899 Improve EUDC to BBDB 3 export
8900
8901 * lisp/net/eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
8902 entry to single item. Add company conversion.
8903 * lisp/net/eudc-export.el (eudc-bbdbify-company): New function.
8904 (bbdb-parse-phone): Declare function.
8905 (eudc-bbdbify-phone): Add BBDB 3 support.
8906 (Bug#21971)
8907
89082016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8909
8910 Add BBDB 3 support for EUDC export
8911
8912 * lisp/net/eudc.el: Add bbdb-version defvar.
8913 (eudc--using-bbdb-3-or-newer-p): New function.
8914 * lisp/net/eudc-export.el (eudc-create-bbdb-record): Add support for
8915 bbdb-create-internal argument list changes introduced in BBDB 3.
8916 * lisp/net/eudcb-bbdb.el: Remove bbdb-version defvar.
8917 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
8918 (Bug#21971)
8919
89202016-01-30 Eli Zaretskii <eliz@gnu.org>
8921
8922 Allow loading modules by 'load-file'
8923
8924 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
8925 2nd arg, to avoid the "binding stack not balanced" error.
8926 (syms_of_lread) <module-file-suffix>: New Lisp variable.
8927
8928 * lisp/files.el (module-file-suffix): Declare.
8929 (load-file): Remove 'module-file-suffix' from
8930 'completion-ignored-extensions', to allow completion on modules.
8931
8932 * etc/NEWS: Mention 'module-file-suffix'.
8933
89342016-01-30 Eli Zaretskii <eliz@gnu.org>
8935
8936 Fix unoptimized builds
8937
8938 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
8939 builds.
8940
89412016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8942
8943 Work around the asynchronous-empty-diff problem
8944
8945 * lisp/vc/vc-rcs.el (vc-rcs-diff):
8946 * lisp/vc/vc-mtn.el (vc-mtn-diff):
8947 * lisp/vc/vc-hg.el (vc-hg-diff):
8948 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
8949 do a synchronous process call (bug#21969).
8950
89512016-01-30 Karl Fogel <kfogel@red-bean.com>
8952
8953 Finish excising electric indent from `open-line'
8954
8955 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
8956
8957 * test/automated/simple-test.el (open-line-indent, open-line-hook):
8958 Adjust accordingly.
8959
8960 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
8961 (git commit c59353896) started. It turns out that having INTERACTIVE
8962 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
8963 still had the electric indent behavior, as `post-self-insert-hook'
8964 normally contains `electric-indent-post-self-insert-function' ever
8965 since `electric-indent-mode' has been on by default. Tracing the code
8966 change in `open-line' is mildly twisty, because Artur Malabarba's
8967 earliest two commits of 24 Oct 2015 first removed the `interactive'
8968 form entirely (git commit 6939896e2) and then restored it with the new
8969 extra "p" already added (git commit bd4f04f86), such that there is no
8970 single-commit diff in which one sees the second "p" appear. Thus this
8971 change is effectively a reversion of parts of each of those commits.
8972
8973 This could close bug#21884, at least until further discussion.
8974
89752016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8976
8977 Adhere closer to the "implicit tag name" definition
8978
8979 * lisp/progmodes/etags.el (etags-tags-completion-table):
8980 Adhere closer to the "implicit tag name" definition. Simplify
8981 the regexp. Search for the explicit tag name first, and when
8982 not found, search locally for the implicit one. (Bug#21934)
8983
89842016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 Unrevert most of regexp reentrancy abort patch
8987
8988 The problem was in:
8989 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
8990 which is hence not unreverted.
8991 The rest is:
8992 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
8993 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
8994 All callers in regex.c changed back to the _FAST versions.
8995
8996 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
8997 propertization in backward-sexp.
8998
89992016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9000
9001 Revert regexp reentrancy abort patch
9002
9003 Although the patch does fix Bug#21688 and prevents a core dump,
9004 it also makes the message-mode-propertize test fail; see:
9005 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
9006 Perhaps someone else can come up with a better fix some day.
9007 * src/syntax.c (update_syntax_table_forward):
9008 Propertize even when truncated.
9009 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
9010 (UPDATE_SYNTAX_TABLE_FAST): Remove.
9011 All callers changed back to the non-_FAST versions.
9012
90132016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9014
9015 Add a few safety checks when ENABLE_CHECKING
9016
9017 This was motivated by the recent addition of module code,
9018 which added some ENABLE_CHECKING-enabled checks that are
9019 useful elsewhere too.
9020 * src/alloc.c (compact_font_cache_entry):
9021 * src/fns.c (sweep_weak_table):
9022 * src/lread.c (oblookup):
9023 Use gc_asize rather than doing it by hand.
9024 * src/emacs-module.c (module_make_global_ref)
9025 (module_free_global_ref, module_vec_size):
9026 Omit assertions that lisp.h now checks.
9027 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
9028 check that the result is nonnegative. Use eassume, as this
9029 info can help a bit when optimizing production code.
9030 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
9031 to be consistent with the USE_LSB_TAG case.
9032 (gc_asize): New function, when ASIZE is needed in the gc.
9033 (gc_aset): Use it.
9034 (HASH_TABLE_P): Move definition up, so that it can be used ...
9035 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
9036
90372016-01-30 Eli Zaretskii <eliz@gnu.org>
9038
9039 Simplify recording of main thread's ID on MS-Windows
9040
9041 * src/w32term.c (w32_initialize):
9042 * src/w32console.c (initialize_w32_display):
9043 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
9044 ID independently for each type of session (GUI, TTY, batch).
9045 * src/w32term.c (w32_init_main_thread): New function, records the
9046 main thread's thread ID.
9047 * src/w32term.h: Add prototype for w32_init_main_thread.
9048 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
9049
9050 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
9051 main_thread, for consistency with other threading libraries. All
9052 users changed. Include w32term.h.
9053 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
9054 make sure the main thread is alive, as we hold a handle on it
9055 opened by w32_init_main_thread.
9056 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
9057 w32_init_main_thread, instead of calling the requisite APIs once
9058 more.
9059
90602016-01-30 Mark Oteiza <mvoteiza@udel.edu>
9061
9062 Backport: Fix issue where a new tempfile was created every refresh
9063
9064 * lisp/mpc.el (mpc-format): Leave dir as relative path
9065
90662016-01-30 Eli Zaretskii <eliz@gnu.org>
9067
9068 Call 'window-size-change-functions' for mini-windows
9069
9070 * src/window.c (grow_mini_window, shrink_mini_window): Set the
9071 frame's 'window_sizes_changed' flag.
9072 * src/xdisp.c (redisplay_internal): Call the hooks on
9073 'window-size-change-functions' if the call to 'echo_area_display'
9074 sets the frame's 'window_sizes_changed' flag.
9075 (syms_of_xdisp) <window-size-change-functions>:
9076 Update doc string to indicate the mini-window resizes trigger a
9077 call to the hooks, and don't promise that will happen "before
9078 redisplay". (Bug#19576, Bug#21333)
9079
9080 * doc/lispref/windows.texi (Window Hooks): Update the description
9081 of 'window-size-change-functions'.
9082
90832016-01-30 Eli Zaretskii <eliz@gnu.org>
9084
9085 Improve documentation of dynamic modules
9086
9087 * src/fns.c (Frequire): Doc fix to include the dynamic module
9088 support.
9089 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
9090 dynamic module support.
9091 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
9092 wrt the MUST-SUFFIX argument.
9093
9094 * etc/NEWS: Expand documentation of dynamically loaded modules.
9095
90962016-01-30 Philipp Stephani <phst@google.com> (tiny change)
9097
9098 Initial documentation for dynamic modules
9099
9100 * etc/NEWS: Mention the new support for dynamically loaded modules.
9101
91022016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9103
9104 Add xref--etags-backend to xref-backing-functions using add-hook
9105
9106 * lisp/progmodes/xref.el (xref-backend-functions): Move the
9107 default value into a separate `add-hook' call (bug#21964).
9108
9109 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
9110 Don't declare the xref-backend-functions variable.
9111 It doesn't make any difference.
9112
91132016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9114
9115 Fix double-decrement bug when freeing global refs
9116
9117 * src/emacs-module.c (module_free_global_ref): Add a FIXME
9118 comment about error reporting. Fix a recently-introduced typo
9119 that double-decremented the refcount.
9120
91212016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9122
9123 Declare emacs_module_init in the module API
9124
9125 * src/emacs-module.h (emacs_module_init): New decl.
9126 Without it, GCC might complain about a module that defines
9127 emacs_module_init without using it. This also checks the
9128 API better.
9129
91302016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9131
9132 Fix module test to use ptrdiff_t nargs too
9133
9134 * modules/mod-test/mod-test.c (Fmod_test_return_t)
9135 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
9136 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
9137 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
9138 (Fmod_test_userptr_get, Fmod_test_vector_fill)
9139 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
9140 (finalizer): Remove; no longer used.
9141
91422016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9143
9144 Fix reindent-introduced typo in module code
9145
9146 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
9147 introduced while reindenting the code earlier, and add a
9148 comment explaining the unusual use of do-while here.
9149
91502016-01-30 Anders Lindgren <andlind@gmail.com>
9151
9152 Fixed bug#19576: `write-file' saves wrong buffer.
9153
9154 If a function on the hook `window-size-change-functions' doesn't
9155 restore the current buffer, functions that save and restore the
9156 current window configuration (like `y-or-no-p') could silently
9157 change the current buffer. When `write-file' asked the user
9158 confirmation to overwrite a file, `y-or-no-p' changed the current
9159 buffer, and the wrong buffer was saved to the file.
9160
9161 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
9162 using the `norecord' parameter.
9163 (follow-window-size-change): Restore current buffer. Call
9164 `select-frame' using the `norecord' parameter. Cleanup.
9165
91662016-01-30 John Wiegley <johnw@newartisans.com>
9167
9168 Correct a documentation error in frames.texi
9169
91702016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
9171
9172 * lisp/cedet/mode-local.el: Delete obsolete comment
9173
91742016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9175
9176 Module function arg counts are ptrdiff_t, not int
9177
9178 * src/emacs-module.c (struct module_fun_env)
9179 (module_make_function, module_funcall, Fmodule_call):
9180 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
9181 Use ptrdiff_t, not int, for arg counts.
9182 * src/emacs-module.c (module_make_function): Don’t bother
9183 checking arity against MOST_POSITIVE_FIXNUM, as that’s
9184 unnecessary here. Make the checking clearer by negating it.
9185 (module_make_function, Fmodule_call): No need to use xzalloc
9186 since the storage doesn’t need to be cleared.
9187 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
9188 for it, and many implementations are buggy with large VLAs anyway.
9189 Use SAFE_ALLOCA_LISP instead.
9190 (module_vec_set): Don’t crash if i < 0.
9191 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
9192 (module_vec_set, module_vec_get): Do fixnum checks only when
9193 i is out of array bounds, for efficiency in the usual case.
9194 (Fmodule_load): Simplify fixnum range check.
9195 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
9196 integer overflow in array allocation size.
9197
91982016-01-30 Eli Zaretskii <eliz@gnu.org>
9199
9200 Minor improvements in module test
9201
9202 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
9203 about missing prototype of malloc.
9204 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
9205 compiler warnings.
9206
92072016-01-30 Eli Zaretskii <eliz@gnu.org>
9208
9209 Improve MS-Windows implementation in dynlib.c
9210
9211 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
9212 No need to include windows.h, as w32.h already does that.
9213 <dynlib_last_err>: New static variable.
9214 (dynlib_reset_last_error): New function.
9215 (dynlib_open): Convert forward slashes to backslashes. Convert
9216 file names from UTF-8 to either UTF-16 or the current ANSI
9217 codepage, and call either LoadLibraryW or LoadLibraryA. If the
9218 argument is NULL, return a handle to the main module, like
9219 'dlopen' does. Record the error, if any, for use by dynlib_error.
9220 (dynlib_sym): Check the handle for validity. Record the error, if
9221 any, for use by dynlib_error.
9222 (dynlib_error): Call w32_strerror to produce the error string, and
9223 zero out the last error code, like dlerror does.
9224 (dynlib_close): Check the handle for validity. Record the error,
9225 if any, for use by dynlib_error. Don't call FreeLibrary with a
9226 handle for the main module.
9227 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
9228
92292016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9230
9231 Include-file tweaks for modules
9232
9233 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
9234 * src/dynlib.h: Do not include config.h.
9235 It’s every .c file’s responsibility to include config.h first.
9236 * src/emacs-module.c: Include emacs-module.h immediately after
9237 config.h, to test that emacs-module.h doesn’t depend on
9238 include files other than config.h.
9239
92402016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9241
9242 Simplify push_handler and profile its malloc
9243
9244 * src/lisp.h (PUSH_HANDLER): Remove.
9245 All callers changed to use push_handler directly.
9246 * src/eval.c (internal_condition_case)
9247 (internal_condition_case_1, internal_condition_case_2)
9248 (internal_condition_case_n):
9249 Use same pattern as for other invokers of push_handler.
9250 (push_handler, push_handler_nosignal): Use call-by-value
9251 instead of call-by-reference. All uses changed.
9252 (push_handler): Simplify by rewriting in terms of
9253 push_handler_nosignal.
9254 (push_handler_nosignal): Profile any newly allocated memory.
9255
92562016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9257
9258 * src/emacs-module.h: Include stddef.h, not stdlib.h.
9259
92602016-01-30 Juanma Barranquero <lekktu@gmail.com>
9261
9262 Discover repository version in linked worktrees (bug#21930)
9263
9264 * lisp/version.el (emacs-repository--version-git-1): Do not assume
9265 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
9266 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
9267 is nil too.
9268
92692016-01-30 Juri Linkov <juri@linkov.net>
9270
9271 * lisp/replace.el (occur-regexp-descr): New function.
9272 (occur-1, occur-engine): Use it.
9273
9274 * lisp/isearch.el (isearch-occur): Propertize regexp with
9275 isearch-string and isearch-regexp-function-descr for
9276 occur-regexp-descr to display the correct description
9277 message in the header (bug#21176, bug#21180).
9278
92792016-01-30 Karl Fogel <kfogel@red-bean.com>
9280
9281 Revert `open-line' electric-indent sensitivity
9282
9283 * lisp/simple.el (open-line): Remove electric indent code.
9284 (electric-indent-just-newline): Don't declare.
9285
9286 * test/automated/simple-test.el (open-line-indent): Adjust test.
9287
9288 This partly reverts Artur Malabarba's change that added electric
9289 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
9290 commit bd4f04f86), and adjusts a new test he added right afterwards
9291 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
9292 However, the new INTERACTIVE argument to `open-line', which he also
9293 added in the first commit, is not reverted here.
9294
9295 See the thread "Questioning the new behavior of `open-line'." on the
9296 Emacs Devel mailing list, and in particular this message:
9297
9298 From: Artur Malabarba
9299 Subject: Re: Questioning the new behavior of `open-line'.
9300 To: Karl Fogel
9301 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
9302 Date: Wed, 18 Nov 2015 21:03:58 +0000
9303 Message-ID: \
9304 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
9305
9306 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
9307
93082016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9309
9310 Omit unnecessary clear in Fmodule_load
9311
9312 * src/emacs-module.c (Fmodule_load):
9313 Simplify and avoid unnecessary initialization of priv member to 0.
9314
9315 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
9316
93172016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9318
9319 Prefer signed integer types in module code
9320
9321 Generally speaking, at the C level the Emacs source code prefers
9322 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
9323 partly to avoid the usual signedness confusion when comparing values.
9324 Change the module API to follow this convention.
9325 Use ‘int’ for small values that can’t exceed INT_MAX.
9326 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
9327 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
9328 (Fmod_test_vector_eq):
9329 * src/emacs-module.c (struct emacs_value_frame)
9330 (module_make_global_ref, module_free_global_ref)
9331 (module_copy_string_contents, module_make_string)
9332 (module_vec_set, module_vec_get, module_vec_size):
9333 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
9334 * src/lread.c (suffix_p):
9335 Prefer signed to unsigned integer types.
9336
93372016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9338
9339 Omit ‘const’ on locals
9340
9341 Remove ‘const’ qualifier from locals that were newly added.
9342 We don’t normally bother declaring locals with ‘const’ even
9343 though they are not modified, for the same reason we don’t
9344 bother declaring them with ‘register’ even though their
9345 addresses are not taken; the advantage in compile-time
9346 checking isn’t worth the loss of readability.
9347 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
9348 (Fmod_test_vector_fill, Fmod_test_vector_eq):
9349 * src/emacs-module.c (MODULE_SETJMP_1)
9350 (module_make_global_ref, module_free_global_ref)
9351 (module_non_local_exit_get, module_make_function)
9352 (module_extract_integer, module_extract_float)
9353 (module_get_user_ptr, module_set_user_ptr)
9354 (module_get_user_finalizer, module_set_user_finalizer)
9355 (module_vec_get, Fmodule_call)
9356 (module_non_local_exit_signal_1)
9357 (module_non_local_exit_throw_1, lisp_to_value)
9358 (finalize_storage, allocate_emacs_value, mark_modules)
9359 (module_handle_signal, module_handle_throw)
9360 (module_format_fun_env):
9361 * src/eval.c (push_handler, push_handler_nosignal)
9362 (init_handler):
9363 * src/lread.c (suffix_p):
9364 Omit unnecessary ‘const’.
9365
93662016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9367
9368 Prefer intmax_t to int64_t in module code
9369
9370 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
9371 * src/emacs-module.c (module_extract_integer)
9372 (module_make_integer):
9373 * src/emacs-module.h (struct emacs_env_25):
9374 Prefer intmax_t to int64_t. This doesn’t change the generated
9375 code on any of the machines Emacs currently ports to, but it’s
9376 at least in theory more future-proof as C99 doesn’t guarantee
9377 that int64_t exists.
9378
93792016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9380
9381 Rename module.c to emacs-module.c, etc.
9382
9383 * src/emacs-module.c: Rename from src/module.c.
9384 * src/emacs-module.h: Rename from src/module.h.
9385 All uses changed.
9386
93872016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9388
9389 Fix minor module problems found by static checking
9390
9391 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
9392 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
9393 * src/emacs-module.c (Fmodule_load): Fix pointer signedness bug.
9394 (Fmodule_call): Tell GCC that the default case is unreachable.
9395
93962016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9397
9398 Style fixes for indenting etc. in module code
9399
9400 This is mostly indenting and spacing changes. Also, remove
9401 some unnecessary static decls instead of bothering to reindent them.
9402 * src/emacs-module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
9403 as most other Emacs files do for this sort of thing.
9404
94052016-01-30 Eli Zaretskii <eliz@gnu.org>
9406
9407 Minor improvements in modules testing Makefile
9408
9409 * modules/mod-test/Makefile (EMACS, SO): New variables.
9410 (CFLAGS): When SO = dll, don't use -fPIC.
9411 (check): New target, runs the test.
9412
94132016-01-30 Eli Zaretskii <eliz@gnu.org>
9414
9415 * .gitignore: Add "*.dll".
9416
94172016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9418
9419 Migrate modules/.gitignore into .gitignore
9420
9421 * .gitignore: Add former contents of modules/.gitignore.
9422 * modules/.gitignore: Remove.
9423
94242016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9425
9426 Add copyright notices to module code
9427
9428 Put them in the usual format for GNU Emacs copyright notices.
9429
94302016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9431
9432 Rename emacs_module.h to module.h
9433
9434 * src/module.h: Rename from src/emacs_module.h.
9435 All uses changed.
9436
94372016-01-30 Juanma Barranquero <lekktu@gmail.com>
9438
9439 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
9440
9441 * src/lread.c (Fload): Remove unused variable `size'
9442
94432016-01-30 Alan Mackenzie <acm@muc.de>
9444
9445 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
9446
94472016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9448
9449 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
9450
9451 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
9452 vc-parent-buffer over log-view-mode fallback (bug#21955).
9453
94542016-01-30 Alan Mackenzie <acm@muc.de>
9455
9456 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
9457
94582016-01-30 Ken Brown <kbrown@cornell.edu>
9459
9460 * configure.ac (LIBMODULES): Don’t define on Cygwin
9461
94622016-01-30 Eli Zaretskii <eliz@gnu.org>
9463
9464 Fix MS-Windows build --with-modules
9465
9466 * src/module.c: Reformat copyright commentary.
9467 (module_vec_get): Use explicit cast to size_t to avoid compiler
9468 warning in 32-bit builds.
9469 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
9470 Compare thread IDs directly, as GetThreadId is not available
9471 before Windows Vista.
9472 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
9473 without using APIs and constants not available on XP and older
9474 systems. Obtain and store the thread ID as well.
9475
94762016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9477 Philipp Stephani <phst@google.com>
9478
9479 Add dynamic module test and helper script
9480
9481 Add 'modhelp.py' script (python2) to automate module testing and
9482 module generation.
9483
9484 To build and test all modules in the modules/ dir
9485 $ ./modhelp.py test
9486
9487 To generate a module from template code (good starting point)
9488 $ ./modhelp init mynewtestmodule
9489
9490 See the script -h option for more documentation.
9491
9492 * modules/modhelp.py: New module helper script.
9493 * modules/mod-test/Makefile: New file. Makefile for the test module.
9494 * modules/mod-test/mod-test.c: New file. Test module source file.
9495 * modules/mod-test/test.el: New file. ert test suite for the test module.
9496 * modules/.gitignore: New file. Local .gitignore file.
9497
94982016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9499
9500 Make 'Fload' look for modules
9501
9502 'Fload' can now load dynamic modules. This also makes 'require' work.
9503
9504 * src/lread.c:
9505 (suffix_p): New function.
9506 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
9507 with a module suffix.
9508 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
9509
95102016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9511 Philipp Stephani <phst@google.com>
9512
9513 Add dynamic module module support
9514
9515 * configure.ac: Add '--with-modules' option. Conditionally add
9516 dynlib.o and module.o to the list of objects. Add any system
9517 specific flags to the linker flags to support dynamic libraries.
9518 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
9519 attributes.
9520 * src/Makefile.in: Conditionally add module objects and linker flags.
9521 * src/alloc.c (garbage_collect_1): protect module local values from
9522 GC.
9523 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
9524 * src/emacs-module.h: New header file included by modules. Public
9525 module API.
9526 * src/emacs-module.c: New module implementation file.
9527
95282016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9529
9530 Add new User Pointer (User_Ptr) type
9531
9532 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
9533 (XUSER_PTR): New User_Ptr accessor.
9534 * src/alloc.c (make_user_ptr): New function.
9535 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
9536 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
9537 (Fuser-ptrp): New user pointer type predicate function.
9538 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
9539 subr.
9540 * src/print.c (print_object): Add printer for User_Ptr type.
9541
95422016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9543 Philipp Stephani <phst@google.com>
9544
9545 Add portable layer for dynamic loading
9546
9547 * src/dynlib.h: New file.
9548 * src/dynlib.c: New file.
9549
95502016-01-30 Philipp Stephani <phst@google.com>
9551
9552 Add catch-all & no-signal version of PUSH_HANDLER
9553
9554 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
9555 a new "catch-all" handler type.
9556
9557 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
9558 functions.
9559 * src/fns.c (hash_remove_from_table): Expose function public.
9560 * src/lisp.h: New handler type, define macro to push_handler call.
9561
95622016-01-30 Ken Brown <kbrown@cornell.edu>
9563
9564 Silence byte-compiler warning
9565
9566 * lisp/server.el (server-process-filter): Silence byte-compiler
9567 warning.
9568
95692016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9570
9571 Quote symbols in docstrings using `'
9572
9573 Be more systematic about quoting symbols `like-this' rather than
9574 `like-this or 'like-this' in docstrings. This follows up Artur
9575 Malabarba's email in:
9576 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
9577
95782016-01-30 Peder O. Klingenberg <peder@klingenberg.no>
9579
9580 Fix savegames in dunnet
9581
9582 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
9583 of separate implementation.
9584
95852016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9586
9587 * lisp/emacs-lisp/package.el (package--with-response-buffer):
9588
9589 Ensure we're at the start of the buffer before searching for
9590 the end of headers.
9591
95922016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9593
9594 * admin/release-process: Improve wording.
9595
95962016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9597
9598 Backport: * CONTRIBUTE: Remove information about feature freeze.
9599
9600 (cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)
9601
96022016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9603
9604 Backport: Document the release process
9605
9606 * admin/notes/versioning: Add information about RC releases.
9607 * admin/release-process: Document the release process.
9608 * admin/authors.el (authors-ignored-files):
9609 * admin/README: Change FOR-RELEASE to release-process.
9610 * CONTRIBUTE:
9611 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
9612
9613 (cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)
9614
96152016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9616
9617 Backport: * admin/release-process: Rename from admin/FOR-RELEASE.
9618
9619 (cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)
9620
96212016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9622
9623 Backport: Mention CONTRIBUTE in README
9624
9625 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
9626 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
9627 * README: Mention CONTRIBUTE.
9628
9629 (cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)
9630
96312016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9632
9633 Fix docstring quoting problems with ‘ '’
9634
9635 Problem reported by Artur Malabarba in:
9636 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
9637 Most of these fixes are to documentation; many involve fixing
9638 longstanding quoting glitches that are independent of the
9639 recent substitute-command-keys changes. The changes to code are:
9640 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
9641 (describe-mode-local-overload):
9642 Substitute docstrings before displaying them.
9643 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
9644 Quote the generated docstring for later substitution.
9645
96462016-01-30 Eli Zaretskii <eliz@gnu.org>
9647
9648 Improve configure --help text for wide ints
9649
9650 * configure.ac (wide-int): Clarify user-level advantages and
9651 disadvantages.
9652
96532016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
9654
9655 Improve doc string
9656
9657 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
9658
96592016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9660
9661 eval_sub followed dangling pointer when debugging
9662
9663 Problem reported by Pip Cet (Bug#21245).
9664 This bug could occur in eval_sub if the C compiler reused
9665 storage associated with the ‘argvals’ local after ‘argvals’
9666 went out of scope, and if the Elisp debugger stopped on Elisp
9667 function exit and accessed ‘argvals’. It could also occur if
9668 a variadic function was called with so many arguments (over
9669 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
9670 SAFE_FREE freed the arguments, then the memory manager used
9671 the storage for other purposes, then the debugger accessed the
9672 arguments.
9673 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
9674 function body. Simplify local decls.
9675 When allocating args via SAFE_ALLOCA, call
9676 debugger before invoking SAFE_FREE, as the debugger needs
9677 access to the args.
9678 (eval_sub, apply_lambda): Rework to avoid need for
9679 set_backtrace_debug_on_exit hack. This is cleaner,
9680 and should work better with buggy custom debuggers.
9681
96822016-01-30 Daiki Ueno <ueno@gnu.org>
9683
9684 * lisp/image-mode.el: Support encrypted file
9685
9686 (image-toggle-display-image): Read content from the buffer instead
9687 of the file, if the buffer holds a decrypted data. (Bug#21870)
9688
96892016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9690
9691 ELF unexec: align section header
9692
9693 This ports the recent unexelf.c changes to Fedora x86-64
9694 when configured with GCC’s -fsanitize=undefined option.
9695 * src/unexelf.c (unexec): Align new_data2_size to a multiple
9696 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
9697 pointer aligned appropriately for its type.
9698
96992016-01-30 Andreas Schwab <schwab@linux-m68k.org>
9700
9701 Do more checks on bytecode objects (Bug#21929)
9702
9703 * src/eval.c (funcall_lambda): Check size of compiled function
9704 object.
9705 (Ffetch_bytecode): Likewise.
9706
97072016-01-30 Johan Bockgård <bojohan@gnu.org>
9708
9709 pcase.el: Fix edebugging of backquoted cons patterns
9710
9711 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
9712 cons patterns. (Bug#21920)
9713
97142016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9715
9716 Improve fix for regex reentrancy abort
9717
9718 Suggested by Stefan Monnier (Bug#21688).
9719 * src/syntax.c (update_syntax_table_forward):
9720 Remove recently-added PROPERTIZE arg, and assume it is true.
9721 All callers changed.
9722 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
9723 Invoke update_syntax_table directly.
9724
97252016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9726
9727 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
9728
9729 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
9730
9731 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
9732
97332016-01-30 Vasily Korytov <vasily.korytov@yahoo.com>
9734
9735 Recognize .rbw and .pyw files (bug#18753)
9736
9737 * lisp/progmodes/python.el (auto-mode-alist):
9738 Recognize .pyw files.
9739
9740 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
9741 Recognize .rbw files.
9742
97432016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9744
9745 Fix ruby-mode auto-mode-alist entry
9746
9747 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
9748 around the extensions (bug#21257).
9749
97502016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9751
9752 Fix etags completion near eob
9753
9754 * lisp/progmodes/etags.el (tags-completion-at-point-function):
9755 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
9756
97572016-01-30 Alan Mackenzie <acm@muc.de>
9758
9759 De-pessimize detection of C++ member initialization lists.
9760
9761 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
9762 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
9763 is only called when a construct "looks right" rather than continually.
9764 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
9765
97662016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9767
9768 Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.
9769
9770 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
9771 `url-insert-buffer-contents'.
9772 (url-insert-buffer-contents): New function
9773
9774 (package--with-response-buffer): Use `url-insert-buffer-contents'.
9775 The previous code had some issues with decoding. Refactoring that
9776 function allows us to use the decoding from url-handlers while still
9777 treating both sync and async requests the same.
9778
97792016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
9780
9781 Improve a few doc strings, comments
9782
9783 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
9784 * lisp/cedet/ede/locate.el (ede-locate-base):
9785 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
9786 * src/fns.c (Fdelq): Improve doc string.
9787
9788 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
9789
97902016-01-30 Anders Lindgren <andlind@gmail.com>
9791
9792 Enhance NSTRACE (trace output for NextStep).
9793
9794 Trace can be disabled for groups of functions. By default, event
9795 functions and functions that generate lots of output are disabled.
9796
9797 Trace output of Objective-C functions now use the "[ClassName
9798 parameter:]" form.
9799
9800 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
9801 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
9802 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
9803 controlling in which function groups trace should be active.
9804 (NSTRACE_WHEN): Support for silencing a function, this also
9805 silencing all called functions.
9806 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
9807 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
9808 print the full screen state in NSTRACE functions.
9809
9810 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
9811 can be accessed from multiple threads.
9812 (nstrace_enabled_global): New variable, when FALSE, trace is
9813 silenced.
9814 (nstrace_restore_global_trace_state): New function, used to
9815 restore `nstrace_enabled_global' at end of block.
9816 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
9817 ([EmacsWindow setFrame:display:animation:])
9818 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
9819 and call corresponding super function.
9820 (Many functions): Add or enhance trace output.
9821
9822 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
9823
9824 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
9825
9826 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
9827 and call corresponding super function.
9828
98292016-01-30 Anders Lindgren <andlind@gmail.com>
9830
9831 Fixed a toolbar related issue on OS X.
9832
9833 Earlier, when toggling the tool-bar in a maximized frame, the
9834 frame size didn't match the number of text lines, leaving an
9835 unused area at the bottom of the frame.
9836
9837 * src/nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
9838 fullscreen modes when tool bar is disabled.
9839
98402016-01-30 Anders Lindgren <andlind@gmail.com>
9841
9842 Fixed OS X 10.6.8 build issue (bug#21862).
9843
9844 * src/nsterm.h (EmacsView): Add missing declarations.
9845 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
9846 the standard method but without the notification parameter.
9847 Intended to be used for direct calls.
9848 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
9849 version of `windowDidBecomeKey'. Made the notification method call
9850 the non-notification method instead of the vice versa.
9851 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
9852 needed.
9853
98542016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9855
9856 * lisp/faces.el (faces--attribute-at-point): Fix an issue
9857
9858 Previous code would signal an error when the face at point was
9859 a manually built list of attributes such as '(:foregroud "white").
9860
9861 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
9862
98632016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9864
9865 Fix regex abort when it tries to reenter itself
9866
9867 Problem reported by Ken Raeburn.
9868 Solution suggested by Stefan Monnier (Bug#21688).
9869 * src/regex.c (re_match_2_internal):
9870 Use new _FAST functions to avoid regex code reentering itself.
9871 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
9872 All callers changed.
9873 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
9874 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
9875
98762016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9877
9878 Improve Ruby 1.9-style keyword keys highlighting
9879
9880 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
9881 Handle required keyword arguments (bug#21367).
9882 And highlight the colon together with the name.
9883
98842016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9885
9886 Unify the absolutely equal xref-backend-references implementations
9887
9888 * lisp/progmodes/elisp-mode.el (xref-backend-references):
9889 Remove.
9890
9891 * lisp/progmodes/etags.el (xref-backend-references):
9892 Remove.
9893
9894 * lisp/progmodes/xref.el (xref-backend-references):
9895 Define the default implementation.
9896
98972016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9898
9899 Update project-find-regexp for the new xref API
9900
9901 * lisp/progmodes/project.el (project--read-regexp):
9902 Update to use the new xref API methods.
9903
9904 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
9905
99062016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9907
9908 Fix replacing a match with a shorter string
9909
9910 In effect, partially reverting fe973fc.
9911
9912 * lisp/progmodes/xref.el (xref-query-replace): Store the end
9913 of each match as a marker again, instead of length.
9914 (xref--query-replace-1): Update accordingly.
9915
99162016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9917
9918 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
9919
9920 Signal user-errors instead.
9921
99222016-01-30 Eli Zaretskii <eliz@gnu.org>
9923
9924 Document 'describe-symbol'
9925
9926 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
9927 (Name Help): Document "C-h o" and describe-symbol.
9928
9929 * lisp/help-fns.el (describe-symbol): Doc fix.
9930
99312016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9932
9933 Change test name to avoid spellcheck issue.
9934
99352016-01-30 Eli Zaretskii <eliz@gnu.org>
9936
9937 Avoid signaling an error in 'describe-symbol'
9938
9939 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
9940 exists as a function/variable/face/etc., but is undocumented.
9941
9942 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
9943 test.
9944
99452016-01-30 Eli Zaretskii <eliz@gnu.org>
9946
9947 * INSTALL (--with-cairo): Document this new configure option.
9948
99492016-01-30 Eli Zaretskii <eliz@gnu.org>
9950
9951 Document that GNU Make >= 3.81 is required to build Emacs
9952
9953 * doc/lispref/internals.texi (Building Emacs): Document that GNU
9954 Make 3.81 or later is now required.
9955
99562016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9957
9958 Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
53282015-11-24 Dmitry Gutov <dgutov@yandex.ru> 99592015-11-24 Dmitry Gutov <dgutov@yandex.ru>
5329 9960
5330 Pass SVN commit message through log-edit-extract-headers 9961 Pass SVN commit message through log-edit-extract-headers
@@ -8086,27 +12717,15 @@
8086 `url-insert-buffer-contents'. 12717 `url-insert-buffer-contents'.
8087 (url-insert-buffer-contents): New function 12718 (url-insert-buffer-contents): New function
8088 12719
80892015-11-15 Artur Malabarba <bruce.connor.am@gmail.com> 127202016-01-30 Eli Zaretskii <eliz@gnu.org>
8090
8091 * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async
8092 12721
8093 (package--with-work-buffer-async): Reimplement as 12722 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
8094 `package--with-response-buffer'.
8095 (package--with-work-buffer): Mark obsolete.
8096 (package--with-response-buffer): New macro. This is a more self
8097 contained and less contrived version of
8098 `package--with-work-buffer-async'. It uses keyword arguments,
8099 doesn't have async on the name, doesn't fallback on
8100 `package--with-work-buffer', and has _much_ simpler error
8101 handling.
8102 12723
8103 (package--check-signature, package--download-one-archive) 127242016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8104 (package-install-from-archive, describe-package-1): Use it.
8105 12725
8106 (package--download-and-read-archives): Let 12726 Merge branch 'master' into emacs-25
8107 `package--download-one-archive' take care of calling
8108 `package--update-downloads-in-progress'.
8109 12727
127282016-01-30 Dmitry Gutov <dgutov@yandex.ru>
81102015-11-15 Stefan Monnier <monnier@iro.umontreal.ca> 127292015-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
8111 12730
8112 * lisp/progmodes/verilog-mode.el: Use with-silent-modifications 12731 * lisp/progmodes/verilog-mode.el: Use with-silent-modifications
@@ -8226,6 +12845,11 @@
8226 (xref-backend-references, xref-backend-definitions) 12845 (xref-backend-references, xref-backend-definitions)
8227 (xref-backend-apropos): New generic methods. 12846 (xref-backend-apropos): New generic methods.
8228 12847
128482016-01-30 Juri Linkov <juri@linkov.net>
12849
12850 Support rectangular regions for more commands
12851
12852 * lisp/simple.el (region-extract-function): Handle the arg value ‘bounds’.
82292015-11-13 Juri Linkov <juri@linkov.net> 128532015-11-13 Juri Linkov <juri@linkov.net>
8230 12854
8231 Support rectangular regions for more commands 12855 Support rectangular regions for more commands
@@ -8269,6 +12893,7 @@
8269 Search for all matches in the hit line. Add `highlight' face to 12893 Search for all matches in the hit line. Add `highlight' face to
8270 the matched region in the summary. Update both callers. 12894 the matched region in the summary. Update both callers.
8271 12895
128962016-01-30 Dmitry Gutov <dgutov@yandex.ru>
82722015-11-13 Dmitry Gutov <dgutov@yandex.ru> 128972015-11-13 Dmitry Gutov <dgutov@yandex.ru>
8273 12898
8274 Replace xref-match-bounds with xref-match-length 12899 Replace xref-match-bounds with xref-match-length
@@ -8286,6 +12911,16 @@
8286 (xref-query-replace): Ditto. And check that the search results 12911 (xref-query-replace): Ditto. And check that the search results
8287 are up-to-date. 12912 are up-to-date.
8288 12913
129142016-01-30 John Wiegley <johnw@newartisans.com>
12915
12916 Merge remote-tracking branch 'origin/master' into emacs-25
12917
129182016-01-30 l3thal <kwhite@gnu.org>
12919
12920 Merge branch 'erc-async-reconnect' into emacs-25
12921
12922 Reconnect asynchronously.
12923
82892015-11-13 Paul Eggert <eggert@cs.ucla.edu> 129242015-11-13 Paul Eggert <eggert@cs.ucla.edu>
8290 12925
8291 Merge from gnulib 12926 Merge from gnulib
@@ -8305,6 +12940,138 @@
8305 mflt_run to leave the output areas unchanged on failure, as 12940 mflt_run to leave the output areas unchanged on failure, as
8306 this isn’t part of its interface spec. 12941 this isn’t part of its interface spec.
8307 12942
129432016-01-30 Eli Zaretskii <eliz@gnu.org>
12944
12945 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
12946
129472016-01-30 Paul Eggert <eggert@cs.ucla.edu>
12948
12949 Port recent XCB changes to 64-bit ‘long int’
12950
12951 For historical reasons, libX11 represents 32-bit values like Atoms as
12952 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
12953 do that, so adapt the recent XCB code to behave properly on 64-bit
12954 platforms. Also, fix what appears to be a bug in the interpretation
12955 of xcb_get_property_value_length, at least on my Fedora platform
12956 which is running libxcb-1.11-5.fc21.
12957 * src/xfns.c (x_real_pos_and_offsets):
12958 * src/xterm.c (get_current_wm_state):
12959 xcb_get_property_value_length returns a byte count, not a word count.
12960 For 32-bit quantities, xcb_get_property_value returns a vector
12961 of 32-bit words, not of (possibly 64-bit) long int.
12962
12963 Backport.
12964
129652016-01-30 Paul Eggert <eggert@cs.ucla.edu>
12966
12967 * src/undo.c (run_undoable_change): Now static.
12968
12969 Backport.
12970
129712016-01-30 Eli Zaretskii <eliz@gnu.org>
12972
12973 Remove support for ':timeout' from w32 tray notifications
12974
12975 * src/w32fns.c (Fw32_notification_notify): Delete the code that
12976 supports ':timeout'.
12977 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
12978 with dbusbind.c when D-Bus is compiled in.
12979
12980 * doc/lispref/os.texi (Desktop Notifications): Don't mention
12981 ':timeout'.
12982
12983 Backport.
12984
129852016-01-30 Juanma Barranquero <lekktu@gmail.com>
12986
12987 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
12988
12989 (simple-test--transpositions): New macro.
12990 (simple-transpose-subr): New test.
12991
12992 Backport.
12993
129942016-01-30 Juanma Barranquero <lekktu@gmail.com>
12995
12996 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
12997
12998 Backport.
12999
130002016-01-30 Juanma Barranquero <lekktu@gmail.com>
13001
13002 * src/undo.c: Small fixes for previous change
13003
13004 (run_undoable_change): Mark void argument list.
13005 (record_property_change): Remove unused variable `boundary'.
13006
13007 Backport.
13008
130092016-01-30 Eli Zaretskii <eliz@gnu.org>
13010
13011 Add a few more variables to redisplay--variables
13012
13013 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
13014 and bidi-display-reordering to the list.
13015
13016 Backport.
13017
130182016-01-30 Eli Zaretskii <eliz@gnu.org>
13019
13020 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
13021
13022 Backport.
13023
130242016-01-30 Eli Barzilay <eli@barzilay.org>
13025
13026 Fix point positioning after transposing with negative arg
13027
13028 * lisp/simple.el (transpose-subr): When invoked with a negative
13029 argument, move point to after the transposed text, like we do
13030 when invoked with a positive argument. (Bug#21885)
13031
13032 Backport.
13033
130342016-01-30 Eli Zaretskii <eliz@gnu.org>
13035
13036 Fix last change in shr.el
13037
13038 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
13039 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
13040
13041 Backport.
13042
130432016-01-30 Eli Zaretskii <eliz@gnu.org>
13044
13045 Fix last change
13046
13047 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
13048 Don't DEFSYM tray notification symbols if D-Bus is being used.
13049
13050 Backport.
13051
130522016-01-30 Eli Zaretskii <eliz@gnu.org>
13053
13054 Another fix for MinGW64 and Cygwin builds due to notifications
13055
13056 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
13057 being compiled into Emacs.
13058 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
13059 Sw32_notification_notify and Sw32_notification_close if the code
13060 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13061
13062 Backport.
13063
130642016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13065
13066 Remove intern calls and XXX comments from Fx_export_frames
13067
13068 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
13069 Qsvg instead of intern calls. Use "postscript" instead of "ps"
13070 for consistency with image types. Remove XXX comments.
13071 (syms_of_xfns) <Qpdf>: DEFSYM it.
13072
13073 Backport.
13074
83082015-11-13 Paul Eggert <eggert@cs.ucla.edu> 130752015-11-13 Paul Eggert <eggert@cs.ucla.edu>
8309 13076
8310 Port recent XCB changes to 64-bit ‘long int’ 13077 Port recent XCB changes to 64-bit ‘long int’
@@ -8325,6 +13092,13 @@
8325 13092
8326 * src/undo.c (run_undoable_change): Now static. 13093 * src/undo.c (run_undoable_change): Now static.
8327 13094
130952016-01-30 Michael Albinus <michael.albinus@gmx.de>
13096
13097 Adapt Tramp version, do not merge with master
13098
13099 * doc/misc/trampver.texi (trampver):
13100 * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
13101
83282015-11-13 Eli Zaretskii <eliz@gnu.org> 131022015-11-13 Eli Zaretskii <eliz@gnu.org>
8329 13103
8330 Remove support for ':timeout' from w32 tray notifications 13104 Remove support for ':timeout' from w32 tray notifications
@@ -8396,6 +13170,7 @@
8396 Sw32_notification_notify and Sw32_notification_close if the code 13170 Sw32_notification_notify and Sw32_notification_close if the code
8397 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>. 13171 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8398 13172
131732016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
83992015-11-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 131742015-11-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8400 13175
8401 Remove intern calls and XXX comments from Fx_export_frames 13176 Remove intern calls and XXX comments from Fx_export_frames
@@ -8405,6 +13180,7 @@
8405 for consistency with image types. Remove XXX comments. 13180 for consistency with image types. Remove XXX comments.
8406 (syms_of_xfns) <Qpdf>: DEFSYM it. 13181 (syms_of_xfns) <Qpdf>: DEFSYM it.
8407 13182
131832016-01-30 Eric Hanchrow <eric.hanchrow@gmail.com>
84082015-11-12 Eric Hanchrow <eric.hanchrow@gmail.com> 131842015-11-12 Eric Hanchrow <eric.hanchrow@gmail.com>
8409 13185
8410 shr: don't invoke unbound function (Bug#21895) 13186 shr: don't invoke unbound function (Bug#21895)
@@ -8414,12 +13190,19 @@
8414 13190
84152015-11-12 Juanma Barranquero <lekktu@gmail.com> 131912015-11-12 Juanma Barranquero <lekktu@gmail.com>
8416 13192
8417 * test/automated/keymaps-test.el: Fix test to make it repeatable 13193 * test/automated/keymap-tests.el: Fix test to make it repeatable
8418 13194
8419 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map 13195 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
8420 entry to its initial value to make the test repeatable in interactive 13196 entry to its initial value to make the test repeatable in interactive
8421 sessions (assuming it doesn't fail and crashes Emacs, of course). 13197 sessions (assuming it doesn't fail and crashes Emacs, of course).
8422 13198
131992016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
13200
13201 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
13202
132032016-01-30 Phillip Lord <phillip.lord@russet.org.uk>
13204
13205 : Tests for undo-auto functionality.
84232015-11-12 Artur Malabarba <bruce.connor.am@gmail.com> 132062015-11-12 Artur Malabarba <bruce.connor.am@gmail.com>
8424 13207
8425 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): 13208 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
@@ -8440,7 +13223,7 @@
8440 13223
84412015-11-12 Juri Linkov <juri@linkov.net> 132242015-11-12 Juri Linkov <juri@linkov.net>
8442 13225
8443 Bind [?\S-\ ] to previous line command in Dired-like modes 13226 Bind [?\S-\ ] to previous line command in Dired-like modes.
8444 13227
8445 * lisp/arc-mode.el (archive-mode-map): 13228 * lisp/arc-mode.el (archive-mode-map):
8446 * lisp/dired.el (dired-mode-map): 13229 * lisp/dired.el (dired-mode-map):
@@ -8547,6 +13330,23 @@
8547 better with a "^" in the `interactive' declaration so selection works 13330 better with a "^" in the `interactive' declaration so selection works
8548 as expected. 13331 as expected.
8549 13332
133332016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
13334
13335 Sync with soap-client repository, version 3.0.2
13336
13337 * lisp/net/soap-client.el: Bump version to 3.0.2.
13338
13339 * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
13340
13341 * lisp/net/soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
13342 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
13343
13344 * lisp/net/soap-client.el: Support Emacs versions that do not have
13345 define-error.
13346
13347 * lisp/net/soap-inspect.el: Remove version header.
13348
13349 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
85502015-11-11 Thomas Fitzsimmons <fitzsim@fitzsim.org> 133502015-11-11 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8551 13351
8552 Sync with soap-client repository, version 3.0.2 13352 Sync with soap-client repository, version 3.0.2
@@ -8568,7 +13368,7 @@
8568 13368
85692015-11-11 Alan Mackenzie <acm@muc.de> 133692015-11-11 Alan Mackenzie <acm@muc.de>
8570 13370
8571 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start 13371 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
8572 13372
8573 * lisp/progmodes/cc-engine.el (c-backward-single-comment) 13373 * lisp/progmodes/cc-engine.el (c-backward-single-comment)
8574 (c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1) 13374 (c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1)
@@ -8624,7 +13424,7 @@
8624 13424
86252015-11-11 Przemysław Wojnowski <esperanto@cumego.com> 134252015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
8626 13426
8627 New file with obarray functions 13427 New file with obarray functions.
8628 13428
8629 * lisp/obarray.el: Basic obarray functions extracted from abbrev.el. 13429 * lisp/obarray.el: Basic obarray functions extracted from abbrev.el.
8630 * test/automated/obarray-tests.el: New file. 13430 * test/automated/obarray-tests.el: New file.
@@ -8648,6 +13448,67 @@
8648 * doc/lispref/os.texi (Desktop Notifications): Describe the native 13448 * doc/lispref/os.texi (Desktop Notifications): Describe the native
8649 w32 tray notifications. 13449 w32 tray notifications.
8650 13450
134512016-01-30 Alan Mackenzie <acm@muc.de>
13452
13453 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
13454
13455 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
13456 Windows" and new @defun selected-window-group.
13457 (Window Start and End): Describe new &optional parameter GROUP and
13458 ...-group-function for window-start, window-end, set-window-start, and
13459 pos-visible-in-window-p.
13460 (Textual Scrolling) Describe the same for recenter.
13461 doc/lispref/positions.texi (Screen Lines): Describe the same for
13462 move-to-window-line.
13463
13464 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
13465 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
13466 new optional parameter "group". At the beginning of each, check whether the
13467 corresponding ...-group-function is set to a function, and if so execute this
13468 function in place of the normal processing.
13469 (syms_of_window): Define symbols for the six new variables below.
13470 (window-start-group-function, window-end-group-function)
13471 (set-window-start-group-function, recenter-group-function)
13472 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
13473 New permanent local buffer local variables.
13474 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
13475 Fpos_visible_in_window_p.
13476
13477 lisp/window.el (selected-window-group-function): New permanent local buffer
13478 local variable.
13479 (selected-window-group): New function.
13480
13481 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
13482 enable, kill them at mode disable. Add/remove follow-after-change to/from
13483 after-change-functions.
13484 (follow-start-end-invalid): New variable.
13485 (follow-redisplay): Manipulate follow-start-end-invalid.
13486 (follow-after-change, follow-window-start, follow-window-end)
13487 (follow-set-window-start, follow-pos-visible-in-window-p)
13488 (follow-move-to-window-line, follow-sit-for): New functions.
13489
13490 lisp/isearch.el (isearch-call-message): New macro.
13491 (isearch-update, with-isearch-suspended, isearch-del-char)
13492 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
13493 (with-isearch-suspended): Rearrange code such that isearch-call-message is
13494 invoked before point is moved.
13495 (isearch-message): Add comment about where point must be at function call.
13496 (isearch-search): Remove call to isearch-message.
13497 (isearch-lazy-highlight-window-group): New variable.
13498 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
13499 the battery of tests to ...
13500 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
13501 Note: (sit-for 0) is still called.
13502 (isearch-lazy-highlight-update): Check membership of
13503 isearch-lazy-highlight-window-group. Don't set the `window' overlay
13504 property.
13505 (isearch-update, isearch-done, isearch-string-out-of-window)
13506 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
13507 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
13508 (isearch-lazy-highlight-update): Call the six amended primitives (see
13509 src/window.c above) with the new `group' argument set to t, to cooperate
13510 with Follow Mode.
13511
86512015-11-11 Michael Albinus <michael.albinus@gmx.de> 135122015-11-11 Michael Albinus <michael.albinus@gmx.de>
8652 13513
8653 Optimize `file-equal-p' and `file-in-directory-p' in Tramp 13514 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
@@ -8783,6 +13644,13 @@
8783 introduced by my recent commit adding/changing the above functions 13644 introduced by my recent commit adding/changing the above functions
8784 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978). 13645 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
8785 13646
136472016-01-30 Noah Friedman <friedman@splode.com>
13648
13649 (ydump-buffer): Handle case where gap is at the start of buffer.
13650 I don't recall if older versions of gdb were less strict but you
13651 cannot dump a 0-length range in gdb 7.9.1.
13652
136532016-01-30 Dmitry Gutov <dgutov@yandex.ru>
87862015-11-09 Noah Friedman <friedman@splode.com> 136542015-11-09 Noah Friedman <friedman@splode.com>
8787 13655
8788 * etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at 13656 * etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at
@@ -8795,6 +13663,12 @@
8795 13663
8796 Merge branch 'project-next' 13664 Merge branch 'project-next'
8797 13665
136662016-01-30 Dmitry Gutov <dgutov@yandex.ru>
13667
13668 Fold `project-ask-user' into `project-current'
13669
13670 * lisp/progmodes/project.el (project-find-functions): Remove
13671 `project-ask-user'.
87982015-11-09 Dmitry Gutov <dgutov@yandex.ru> 136722015-11-09 Dmitry Gutov <dgutov@yandex.ru>
8799 13673
8800 Fold `project-ask-user' into `project-current' 13674 Fold `project-ask-user' into `project-current'
@@ -8886,6 +13760,7 @@
8886 any Emacs integer. 13760 any Emacs integer.
8887 * src/lisp.h (lisp_word_count): Remove; no longer used. 13761 * src/lisp.h (lisp_word_count): Remove; no longer used.
8888 13762
137632016-01-30 Dmitry Gutov <dgutov@yandex.ru>
88892015-11-08 Dmitry Gutov <dgutov@yandex.ru> 137642015-11-08 Dmitry Gutov <dgutov@yandex.ru>
8890 13765
8891 Make sure that the ignore file exists 13766 Make sure that the ignore file exists
@@ -8893,6 +13768,9 @@
8893 * lisp/vc/vc.el (vc-default-ignore-completion-table): 13768 * lisp/vc/vc.el (vc-default-ignore-completion-table):
8894 Make sure that the ignore file exists. 13769 Make sure that the ignore file exists.
8895 13770
137712016-01-30 Michael Sperber <mike@xemacs.org>
13772
13773 * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
88962015-11-08 Michael Sperber <mike@xemacs.org> 137742015-11-08 Michael Sperber <mike@xemacs.org>
8897 13775
8898 * gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to 13776 * gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
@@ -27103,6 +31981,7 @@
27103 31981
27104This file records repository revisions from 31982This file records repository revisions from
27105commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to 31983commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
319842016-01-30f9a297dc45a40c9b7175715ffe4f1612 (inclusive).
27106commit 8cdb9ac0fb060366bc823de84ecdba258716addb (inclusive). 31985commit 8cdb9ac0fb060366bc823de84ecdba258716addb (inclusive).
27107See ChangeLog.1 for earlier changes. 31986See ChangeLog.1 for earlier changes.
27108 31987