aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Petton2016-01-30 14:39:23 +0100
committerNicolas Petton2016-01-30 16:00:54 +0100
commite6b7b6d89ff9288a49099f041752908b5eb9613e (patch)
treef319ac6d6f540319274bd470a91f4db5f0f3ff74
parenteea0a2359f33a100cb340a7988d20cd78ebcd4a4 (diff)
downloademacs-e6b7b6d89ff9288a49099f041752908b5eb9613e.tar.gz
emacs-e6b7b6d89ff9288a49099f041752908b5eb9613e.zip
; ChangeLog fixes
* ChangeLog.2: Auto-update of the ChangeLog file, as well as entry fixes.
-rw-r--r--ChangeLog.28371
1 files changed, 8370 insertions, 1 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2
index f406916df11..aaa2d5c2b3c 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -1,3 +1,8372 @@
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
1802016-01-29 Vincent Belaïche <vincentb1@users.sourceforge.net>
181
182 Correct a whole bunch of bugs coming with renamed cell relocation.
183
184 This is the same change as commit on master branch. See
185 http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=badcd38aa86ed7973f2be2743c405710973a0bdd
186
187 * lisp/ses.el (ses-localvars): rename variable
188 `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
189 and adjust the comment about it.
190 (ses-plist-delq): new defun.
191 (ses--ses-buffer-list): new defvar.
192 (ses--unbind-cell-name): new defun.
193 (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
194 (ses-relocate-formula): Undo change of
195 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
196 preventing relocation for named cell --- now doing this is delegated
197 to function `ses-relocate-symbol'.
198 (ses-relocate-range): In docstring, undo change of
199 2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
200 lower case as it is not a variable.
201 (ses-relocate-all): Cell name relocation : 1) check that cell is a
202 renamed cell by testing `ses-cell' property to :ses-named, rather than
203 comparing name to corresponding standard name. Set rowcol of renamed
204 cell into the hashmap --- `ses-cell' property must not be used for
205 that as the same name can be used for different locations in different
206 SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
207 `local-variable-p' to check if cell name is already in use in this
208 sheet or needs initialisation.
209 (ses-relocate-all): Cell value relocation : 1) like for name
210 relocation use the `ses-cell' property rather than comparing actual
211 name to corresponding standard name. 2) Correct bug introduced in
212 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
213 made the other way round than the intention --- ie value relocation
214 was disabled for standard cell, not for renamed cell as was the
215 intention.
216 (ses-relocate-all): Add loop for unbinding deleted renamed cells
217 names.
218 (ses-killbuffer-hook): new defun.
219 (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
220 kill buffer hook, plus pushing current buffer if new in list.
221 (ses-delete-row, ses-delete-column): Collect deleted renamed cells
222 into `ses--in-killing-named-cell-list'.
223 (ses-rename-cell): Remove update of variable
224 `ses--renamed-cell-symb-list', this variable is renamed to
225 `ses--in-killing-named-cell-list', and its setting is done in
226 functions `ses-delete-row' and , `ses-delete-column' now.
227 (ses-rename-cell): Make cell new name a buffer local variable.
228 (ses-rename-cell): Change correction of
229 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
230 computation of the range over which `cursor-intangible' property was
231 to be updated. This correction was ok for non spilling cells, but not
232 for cells spilling over following blank cells. Simply use
233 `next-single-property-change' rather than computing the end column
234 from column widths.
235
2362016-01-29 Andreas Schwab <schwab@linux-m68k.org>
237
238 Re-enable checks in member, memql, delete to complain about non-lists
239
240 * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
241
2422016-01-29 Martin Rudalics <rudalics@gmx.at>
243
244 c:/emacs-git/next/ChangeLog
245
2462016-01-29 Eli Zaretskii <eliz@gnu.org>
247
248 Minor improvements to 'pcase' documentation
249
250 * doc/lispref/control.texi (Pattern matching case statement):
251 Improve the documentation of 'pcase' per comments. See two
252 discussion threads on emacs-devel@gnu.org for the details:
253 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
254 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
255
2562016-01-29 Glenn Morris <rgm@gnu.org>
257
258 Don't use eval to quieten prolog.el compilation.
259
260 * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
261 (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
262
2632016-01-29 Glenn Morris <rgm@gnu.org>
264
265 Mark some risky prolog variables.
266
267 * lisp/progmodes/prolog.el (prolog-system-version)
268 (prolog-keywords, prolog-types, prolog-mode-specificators)
269 (prolog-determinism-specificators, prolog-directives)
270 (prolog-program-name, prolog-program-switches)
271 (prolog-consult-string, prolog-compile-string)
272 (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
273 Mark anything processed by prolog-find-value-by-system as risky.
274
2752016-01-28 Glenn Morris <rgm@gnu.org>
276
277 * lisp/custom.el (defcustom): Doc fix.
278
279 * doc/lispref/customize.texi (Variable Definitions):
280 Defcustom should always have a type.
281
2822016-01-28 Glenn Morris <rgm@gnu.org>
283
284 * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
285 Fix :type.
286
287 * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
288
2892016-01-28 Michael Albinus <michael.albinus@gmx.de>
290
291 Fix Bug#22452
292
293 * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
294 * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
295 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
296 * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
297 Mark it as connected.
298
299 * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
300 connection property "connected" is set. (Bug#22452)
301
3022016-01-27 Glenn Morris <rgm@gnu.org>
303
304 * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
305
306 * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
307 if not compiled with xwidgets.
308
3092016-01-27 Paul Eggert <eggert@cs.ucla.edu>
310
311 C-u C-x = example doc fix
312
313 * doc/emacs/mule.texi (International Chars):
314 Adjust example to match current behavior of C-u C-x =.
315
3162016-01-27 Paul Eggert <eggert@cs.ucla.edu>
317
318 malloc.h hygiene
319
320 This attempts to future-proof Emacs a bit against possible glibc
321 changes, by having Emacs use <malloc.h> declarations rather than
322 coding them up by hand. Problem noted by Florian Weimer in:
323 https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
324 Implement this mainly by moving malloc.h-related functions from
325 emacs.c (which does not include <malloc.h>) to alloc.c (which does).
326 * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
327 New function.
328 The remaining changes to this file apply only if DOUG_LEA_MALLOC.
329 (alloc_unexec_pre, alloc_unexec_post): New functions.
330 (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
331 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
332 (__malloc_initialize_hook): Use it.
333 (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
334 Move here from ...
335 * src/emacs.c: ... here.
336 (malloc_get_state, malloc_set_state): Remove extern decls.
337 (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
338 All uses changed to similarly-named new function.
339 (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
340 * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
341 New decls.
342
3432016-01-26 Eli Zaretskii <eliz@gnu.org>
344
345 * doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
346
3472016-01-26 Paul Eggert <eggert@cs.ucla.edu>
348
349 Remove never-set var handle_user_signal_hook
350
351 * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
352 Remove never-set var. All uses removed.
353
3542016-01-26 K. Handa <handa@gnu.org>
355
356 Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
357
358 * src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
359 second glyph only when there are enough glyphs.
360
361 (cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)
362
3632016-01-26 K. Handa <handa@gnu.org>
364
365 support rendering of wider range of combinging characters by ftfont backend
366
367 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
368 supports rendering of combining characters, call
369 font-shape-gstring.
370
371 * src/font.c (Ffont_get): Handle `combining-capability' property.
372 (syms_of_font): New symbol ":combining-capability'.
373
374 * src/font.h (struct font_driver): New member combining_capability.
375
376 * src/ftfont.c: Include "category.h".
377 (ftfont_driver): Initialize combining_capability to
378 ftfont_combining_capability.
379 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
380 FLT in advance.
381 (ftfont_combining_capability): New function.
382
383 (cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)
384
3852016-01-26 Anders Lindgren <andlind@gmail.com>
386
387 Fixed NextStep fullscreen issue (bug#22468)
388
389 When in fullscreen mode, `[screen visibleFrame]' sometimes
390 includes, sometimes excludes the menu bar. This could cause
391 a frame to be placed too low when in fullscreen mode.
392
393 * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
394 (constrain_frame_rect): New parameter, isFullscreen, when true don't
395 query the height of the menu bar.
396 (ns_constrain_all_frames): Pass `false' (isFullscreen) to
397 `constrain_frame_rect'.
398 ([EmacsView initFrameFromEmacs:]): Trace.
399 ([EmacsView isFullscreen]): Trace.
400 ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
401 state to `constrain_frame_rect'.
402
4032016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
404
405 * lisp/files.el: Use a fixed file name for the second dir-locals file
406
407 (dir-locals-file): Revert to its original fixed value.
408 (dir-locals-file-2): New const.
409 (dir-locals--all-files): Don't use `file-name-all-completions'.
410 Instead, just check for the 2 dir-locals files and return a list
411 of the ones that exit (if any).
412
413 * etc/NEWS: Document the change.
414
415 * doc/emacs/custom.texi (Directory Variables): Document the change.
416
417 * doc/lispref/variables.texi (Directory Local Variables): Update
418 accordingly.
419
4202016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
421
422 * lisp/files-x.el (modify-dir-local-variable): Small rewrite
423
424 Change a variable name to be more meaningful, and reorder some of
425 the code with no change in behaviour.
426
4272016-01-26 Artur Malabarba <bruce.connor.am@gmail.com>
428
429 * lisp/files.el (dir-locals-find-file): Refactor return values
430
431 Returning a cache remains unchanged, but the case of returning a
432 file (or pattern) is now changed to return the contaning
433 directory.
434
435 (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
436 and make obsolete.
437 (dir-locals-read-from-dir): Simplify accordingly.
438 (hack-dir-local-variables): Simplify accordingly and rename a
439 variable.
440
4412016-01-26 Glenn Morris <rgm@gnu.org>
442
443 * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
444 Declare.
445
446 * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
447
448 * configure.ac (--with-cairo): Say it's experimental.
449
450 * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
451 Rename using American spelling. Update all uses.
452
4532016-01-26 Glenn Morris <rgm@gnu.org>
454
455 Yet more xwidget doc fixes.
456
457 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
458 (xwidget-insert, xwidget-webkit-browse-url)
459 (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
460 (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
461 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
462 (xwidget-webkit-show-id-element)
463 (xwidget-webkit-show-id-or-named-element)
464 (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
465 (xwidget-webkit-execute-script-rv)
466 (xwidget-webkit-copy-selection-as-kill, xwidget-get)
467 (xwidget-put): Doc fixes.
468 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
469 (xwidget-webkit-show-id-element)
470 (xwidget-webkit-show-id-or-named-element): Prompt fixes.
471
4722016-01-25 Ted Zlatanov <tzz@lifelogs.com>
473
474 * lisp/gnus/gnus-art.el (gnus-blocked-images):
475 Add explicit nil choice and tags.
476
4772016-01-25 Paul Eggert <eggert@cs.ucla.edu>
478
479 Spelling fixes
480
4812016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
482
483 (font-lock-ensure-function): Fix bug#22399
484
485 * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
486 font-lock-mode is not enabled (bug#22399).
487
4882016-01-25 Alan Mackenzie <acm@muc.de>
489
490 Expunge "allow" + infinitive from source and doc, part 2.
491
492 Do the same for "permit", "enable", "prevent", and (where appropriate)
493 "require".
494
495 doc/misc/reftex.texi:
496 doc/misc/url.texi:
497 lib/get-permissions.c:
498 lib/strftime.c:
499 lisp/org/org-element.el:
500 lisp/org/org-mobile.el:
501 lisp/textmodes/reftex-vars.el:
502 src/bidi.c:
503 src/emacs.c:
504 src/xdisp.c:
505 test/etags/c-src/emacs/src/lisp.h:
506
507 Expunge the likes of "This allows to do something" from the above files.
508
5092016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
510
511 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
512
513 `special-mode' is already read-only.
514
5152016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
516
517 * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
518
5192016-01-25 Paul Eggert <eggert@cs.ucla.edu>
520
521 Port "$@" to OpenIndiana ksh93
522
523 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
524 Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
525 (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
526 bug in long-dead shells, so remove the workaround.
527 * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
528 Use plain "$@" rather than ${1+"$@"}.
529
5302016-01-25 Paul Eggert <eggert@cs.ucla.edu>
531
532 * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
533
5342016-01-25 Paul Eggert <eggert@cs.ucla.edu>
535
536 Improve wording for SMB support
537
538 * doc/misc/tramp.texi (External methods): Improve and modernize
539 wording for discussion of smbclient. There is no longer any
540 need to mention the laundry list of old MS Windows implementations
541 of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
542
5432016-01-24 Paul Eggert <eggert@cs.ucla.edu>
544
545 Merge from gnulib
546
547 This incorporates:
548 2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
549 2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
550 2016-01-15 detect utimes() correctly on OS/2 kLIBC
551 2016-01-15 openat_proc_name: port to OS/2 kLIBC
552 2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
553 2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
554 2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
555 2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
556 2016-01-14 sig2str: list all signals on FreeBSD >= 7
557 2016-01-13 acl-permissions: port to USE_ACL==0 platforms
558 2016-01-12 mktime: rename macro to avoid glibc clash
559 2016-01-12 Port "$@" to OpenIndiana ksh93
560 2016-01-12 Port Universal Time settings to strict POSIX
561 * build-aux/gitlog-to-changelog, build-aux/update-copyright:
562 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
563 * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
564 * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
565 * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
566 * m4/fcntl.m4, m4/utimes.m4:
567 Copy from gnulib.
568 * m4/gnulib-comp.m4: Regenerate.
569
5702016-01-24 Alan Mackenzie <acm@muc.de>
571
572 Expunge "allow" + infinitive without direct object from source and doc.
573
574 Do the same for "permit", "enable", and "prevent".
575
576 * doc/emacs/mule.texi:
577 * doc/lispref/control.texi:
578 * doc/lispref/display.texi:
579 * doc/lispref/frames.texi:
580 * doc/lispref/functions.texi:
581 * doc/lispref/nonascii.texi:
582 * doc/lispref/streams.texi:
583 * doc/lispref/windows.texi:
584 * doc/misc/dbus.texi:
585 * doc/misc/eww.texi:
586 * doc/misc/flymake.texi:
587 * doc/misc/octave-mode.texi:
588 * doc/misc/org.texi:
589 * doc/misc/reftex.texi:
590 * doc/misc/tramp.texi:
591 * doc/misc/wisent.texi:
592 * etc/NEWS:
593 * lisp/autorevert.el:
594 * lisp/cedet/mode-local.el:
595 * lisp/cedet/semantic/senator.el:
596 * lisp/cedet/semantic/wisent.el:
597 * lisp/dos-fns.el:
598 * lisp/frameset.el:
599 * lisp/gnus/gnus-agent.el:
600 * lisp/gnus/mm-util.el:
601 * lisp/international/characters.el:
602 * lisp/ldefs-boot.el:
603 * lisp/mail/mailclient.el:
604 * lisp/man.el:
605 * lisp/mh-e/mh-search.el:
606 * lisp/net/tramp-cmds.el:
607 * lisp/net/tramp-gvfs.el:
608 * lisp/org/org-crypt.el:
609 * lisp/org/org-element.el:
610 * lisp/org/org-feed.el:
611 * lisp/org/org.el:
612 * lisp/org/ox-ascii.el:
613 * lisp/org/ox-icalendar.el:
614 * lisp/org/ox-publish.el:
615 * lisp/org/ox.el:
616 * lisp/play/gamegrid.el:
617 * lisp/play/gomoku.el:
618 * lisp/progmodes/antlr-mode.el:
619 * lisp/progmodes/python.el:
620 * lisp/progmodes/vhdl-mode.el:
621 * lisp/strokes.el:
622 * lisp/textmodes/ispell.el:
623 * lisp/tree-widget.el:
624 * lisp/vc/pcvs.el:
625 * lisp/window.el:
626 * src/lisp.h:
627 * src/w32.c:
628 * src/w32heap.c:
629 * src/w32term.c:
630 * src/window.c:
631 * src/xfaces.c:
632
633 Replace solecisms like "This allow to do something" with a correct
634 alternative, such as "This allow you to do something", "This allows
635 something to be done" or "This allows the doing of something".
636
6372016-01-24 l3thal <kwhite@gnu.org>
638
639 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
640
6412016-01-24 Kelvin White <kwhite@gnu.org>
642
643 Add NEWS entry for asynchronous reconnect in ERC
644
6452016-01-24 l3thal <kwhite@gnu.org>
646
647 Add NEWS entry for asynchronous reconnect in ERC
648
6492016-01-24 Kelvin White <kwhite@gnu.org>
650
651 browse-url.el: Add 'google-chrome' to supported browsers.
652
6532016-01-24 Paul Eggert <eggert@cs.ucla.edu>
654
655 Port Tramp manual to latest Texinfo
656
657 Otherwise, 'make pdf' did not work (Bug#22416).
658 * doc/misc/tramp.texi (xxx, yyy): Remove macros.
659 (trampfn): Specialize to the case where METHOD is nonempty.
660 The 2nd argument is now user@host, not 2nd user and 3rd host args.
661 All uses changed.
662 (trampf): New macro.
663
6642016-01-24 Lars Ingebrigtsen <larsi@gnus.org>
665
666 * eww.el (eww-render): Protect against empty content-types.
667
6682016-01-24 Nicolas Petton <nicolas@petton.fr>
669
670 authors.el updates
671
672 * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
673 Additions.
674
6752016-01-24 Dmitry Gutov <dgutov@yandex.ru>
676
677 Rename xref-query-replace to xref-query-replace-in-results
678
679 * lisp/progmodes/xref.el(xref-query-replace):
680 Rename to xref-query-replace-in-results.
681 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
682
683 * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
684 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
685 * doc/emacs/dired.texi (Operating on Files):
686 * doc/emacs/maintaining.texi (Xref Commands)
687 (Identifier Search, Identifier Search): Update accordingly.
688
6892016-01-24 Dmitry Gutov <dgutov@yandex.ru>
690
691 Update cl-defgeneric and cl-defmethod docstrings
692
693 * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
694 (cl-defgeneric): Rename BODY to DEFAULT-BODY.
695 (cl-defmethod): Mention that multiple dispatch arguments are
696 allowed. Document supported types. (Bug#22336)
697
6982016-01-23 Dmitry Gutov <dgutov@yandex.ru>
699
700 Comment out next-error-function integration in xref
701
702 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
703 Comment out next-error-function integration
704 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
705
7062016-01-23 John Wiegley <johnw@newartisans.com>
707
708 Correct a use of "which" in intro.texi
709
7102016-01-23 Alan Mackenzie <acm@muc.de>
711
712 Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
713
714 * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
715 context of case labels (including "default") more rigorously.
716 (c-guess-basic-syntax CASE 15): Consequential amendment.
717
718 * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
719
7202016-01-23 Oscar Fuentes <ofv@wanadoo.es>
721
722 Don't operate on menu bar of nonexistent frame
723
724 * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
725 is valid before redisplaying its menu. Fixes bug#22438.
726
7272016-01-23 Anders Lindgren <andlind@gmail.com>
728
729 Unbreak the GNUstep build.
730
731 * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
732 predefined "caution" image. Add trace.
733 (x_set_window_size): Remove unused variables `cols' and `rows'.
734 (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
735 GNUstep is used.
736 ([EmacsView updateFrameSize:]): Remove unused variable `win'.
737 ([EmacsWindow zoom:]): Remove unused variable `f'.
738
7392016-01-23 Eli Zaretskii <eliz@gnu.org>
740 John Wiegley <johnw@gnu.org>
741 Michael Heerdegen <michael_heerdegen@web.de>
742
743 Improve documentation of 'pcase'
744
745 * doc/lispref/control.texi (Pattern matching case statement):
746 Reorganize, expand, and improve wording.
747
748 * etc/NEWS: Mention that 'pcase' changes are documented.
749
7502016-01-23 Paul Eggert <eggert@cs.ucla.edu>
751
752 * etc/NEWS: Say that Cairo is experimental.
753
7542016-01-23 Paul Eggert <eggert@cs.ucla.edu>
755
756 Report error for PNG under Cairo
757
758 * src/image.c (lookup_rgb_color): Signal a file error instead
759 of dumping core when mishandling an image.
760
7612016-01-23 Arash Esbati <esbati@gmx.de>
762
763 Delete a spurious backquote (tiny change)
764
765 * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
766 spurious backquote which raises an error with emacs 25.
767
7682016-01-23 Paul Eggert <eggert@cs.ucla.edu>
769
770 Pacify --enable-gcc-warnings --with-cairo
771
772 Problem reported by Alexander Kuleshov in:
773 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
774 * src/gtkutil.c (xg_get_page_setup):
775 Use switch rather than if-then-else.
776 * src/image.c (COLOR_TABLE_SUPPORT):
777 Define directly rather than via #define and optional later #undef.
778 (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
779 Crash when the pixel is undefined, as there is a genuine bug
780 here (Bug#22442).
781 * src/image.c (tiff_load, gif_load, svg_load_image)
782 (x_kill_gs_process) [USE_CAIRO]:
783 * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
784 Omit unused locals, or move them to where they’re needed.
785 (x_clear_area1): Now ATTRIBUTE_UNUSED.
786
7872016-01-23 Eli Zaretskii <eliz@gnu.org>
788
789 Update documentation for Dired search and replace
790
791 * doc/emacs/dired.texi (Operating on Files): Update descriptions
792 of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
793 'dired-do-find-regexp-and-replace'.
794
795 * etc/NEWS: Mention xref-related changes in Dired.
796
7972016-01-23 Paul Eggert <eggert@cs.ucla.edu>
798
799 Port recent xdisp.c fix to picky C compilers
800
801 * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
802 putting #if inside the arguments to a standard function, which
803 the C standard says has undefined behavior.
804
8052016-01-22 Alan Mackenzie <acm@muc.de>
806
807 Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
808
809 * lisp/progmodes/cc-engine.el (c-forward-declarator): New function.
810 (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
811 contained in the preceding arg list.
812
813 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Use the new function
814 `c-forward-declarator' in place of inline code.
815
8162016-01-22 Eli Zaretskii <eliz@gnu.org>
817
818 Fix the build with --enable-checking=glyphs
819
820 * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
821 build without xwidget support.
822
8232016-01-22 Eli Zaretskii <eliz@gnu.org>
824
825 Document cl-generic.el
826
827 * doc/lispref/functions.texi (Generic Functions): New section.
828 (Bug#22336)
829 (Functions): Update the chapter menu.
830 * doc/lispref/elisp.texi: Update the master menu.
831
8322016-01-22 Paul Eggert <eggert@cs.ucla.edu>
833
834 xwidgets style cleanup
835
836 Adjust the newly-added Xwidgets code so that it uses a more-typical
837 Emacs style. This should not affect behavior, except that in
838 a few places it adds runtime checks that Lisp arguments are of
839 the proper type, and in one place it uses more-precise arithmetic.
840 * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
841 * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
842 Include xwidget.h unconditionally.
843 * src/buffer.c (Fkill_buffer):
844 * src/dispnew.c (update_window):
845 * src/emacs.c (main):
846 * src/print.c (print_object):
847 * src/window.c (Fdelete_window_internal):
848 * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
849 (get_next_element, set_iterator_to_next, next_element_from_xwidget)
850 (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
851 (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
852 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
853 Call xwidget functions and macros without worrying about
854 HAVE_XWIDGETS when the code is a no-op on non-xwidget
855 platforms.
856 * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
857 (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
858 (struct it.xwidget):
859 * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
860 Always define.
861 * src/emacsgtkfixed.h: Omit unnecessary comment.
862 * src/keyboard.c: Fix spacing.
863 * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
864 Define to be a no-op if not HAVE_XWIDGETS.
865 * src/xwidget.c: Include xwidget.h first (after config.h)
866 to make sure that it can stand by itself.
867 (Fmake_xwidget, Fxwidget_webkit_execute_script):
868 Fix typo in doc string.
869 (Fmake_xwidget): Check type of args.
870 (Fmake_xwidget, offscreen_damage_event)
871 (webkit_document_load_finished_cb, webkit_download_cb)
872 (webkit_new_window_policy_decision_requested_cb)
873 (webkit_navigation_policy_decision_requested_cb)
874 (xwidget_osr_draw_cb, xwidget_osr_event_forward)
875 (xwidget_osr_event_set_embedder, xwidget_init_view):
876 Omit unnecessary casts.
877 * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
878 (xwidget_show_view, xwidget_hide_view)
879 (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
880 (xwidget_touched):
881 * src/xwidget.h (struct xwidget.kill_without_query)
882 (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
883 Use bool for boolean.
884 * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
885 Simplify by using list functions.
886 (WEBKIT_FN_INIT): Omit unnecessary test for nil.
887 (Fxwidget_resize): Check type of integer args
888 before doing any work. Check that they are nonnegative.
889 (Fxwidget_set_adjustment): Check type of integer arg.
890 Avoid redundant call to gtk_scrolled_window_get_vadjustment.
891 Simplify. Use double, not float.
892 (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
893 (valid_xwidget_spec_p): Simplify.
894 (xwidget_spec_value): Omit unused arg FOUND. All callers changed.
895 * src/xwidget.h: Include lisp.h first, so that includers do
896 not need to worry about doing that before including this file.
897 Make this .h file safe to include even on non-HAVE_XWIDGETS
898 configurations, to simplify the includers.
899 (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
900 (xwidget_end_redisplay, lookup_xwidget)
901 (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
902 Now a no-op if !HAVE_XWIDGETS, to simplify callers.
903 (struct glyph_matrix, struct glyph_string, struct xwidget)
904 (struct xwidget_view, struct window):
905 New forward or incomplete decls, so that includers need not
906 assume the corresponding .h files are already included, or that
907 HAVE_XWIDGETS is defined.
908 (struct xwidget_type, xwidget_from_id): Remove; unused.
909
9102016-01-22 Michael Albinus <michael.albinus@gmx.de>
911
912 Backport kqueue integration from master
913
914 * configure.ac (--with-file-notification): Add kqueue.
915 (top): Remove special test for "${HAVE_NS}" and
916 ${with_file_notification}, this is handled inside gfilenotify
917 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
918 instead of library specific variables. Add error message for
919 gfile on Nextstep.
920
921 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
922 Fix some glitches in the example.
923
924 * etc/NEWS: Mention kqueue.
925
926 * lisp/filenotify.el (file-notify--library)
927 (file-notify-descriptors, file-notify-callback)
928 (file-notify-add-watch, file-notify-rm-watch)
929 (file-notify-valid-p): Add kqueue support.
930 (file-notify--rm-descriptor): Remove WHAT arg.
931
932 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
933
934 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
935
936 * src/inotify.c (inotifyevent_to_event): Extract file name from
937 watch_object if the event doesn't provide it.
938 (Finotify_add_watch): Add file name to watch_object.
939
940 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
941
942 * src/kqueue.c: New file.
943
944 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
945
946 * test/automated/file-notify-tests.el
947 (file-notify--test-expected-events): Remove.
948 (file-notify--test-cleanup): Do not set that variable.
949 (file-notify--test-timeout) Use different timeouts for
950 different libraries.
951 (file-notify--test-library): New defun.
952 (file-notify--test-event-test): Make stronger checks.
953 (file-notify--test-with-events): EVENTS can also be a list of
954 lists. Flush outstanding events before running the body.
955 Make timeout heuristically depend on the number of events.
956 (file-notify-test01-add-watch, file-notify-test02-events)
957 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
958 Rewrite in order to call file monitors but directory monitors.
959 (file-notify-test02-events, file-notify-test04-file-validity): Do
960 not skip cygwin tests. Add additional test for file creation.
961 Adapt expected result for different backends.
962 (file-notify-test03-autorevert): Some of the tests don't work for
963 w32notify.
964 (file-notify-test06-many-events): New test.
965
9662016-01-22 John Wiegley <johnw@newartisans.com>
967
968 Further corrections to the pcase docstring
969
9702016-01-22 Eli Zaretskii <eliz@gnu.org>
971
972 * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
973
9742016-01-22 Stephen Leake <stephen_leake@stephe-leake.org>
975
976 In xref-collect-references, force backends to respect the 'dir' arg
977
978 * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
979 to use `default-directory'.
980
9812016-01-22 John Wiegley <johnw@newartisans.com>
982
983 Minor correction to pcase docstring
984
9852016-01-22 John Wiegley <johnw@newartisans.com>
986
987 Write a new docstring for the pcase macro
988
989 * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
990
9912016-01-21 Stephen Berman <stephen.berman@gmx.net>
992
993 Avoid byte-compiler warning in todo-mode (bug#21953)
994
995 * lisp/calendar/todo-mode.el (todo-convert-legacy-files): Add limit argument
996 to looking-back to comply with advertised-calling-convention.
997
9982016-01-21 Stephen Berman <stephen.berman@gmx.net>
999
1000 Fix desktop support in todo-mode and doc-view (bug#22377)
1001
1002 * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
1003 * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
1004
1005 * lisp/calendar/todo-mode.el (todo-modes-set-2):
1006 * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
1007
10082016-01-21 Paul Eggert <eggert@cs.ucla.edu>
1009
1010 No need to configure gobject-introspection
1011
1012 It wasn’t needed for the recently-installed xwidget_mvp code; see:
1013 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
1014 * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
1015 (HAVE_GIR):
1016 * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
1017 Remove. All uses removed.
1018 * configure.ac (emacs_config_features): Don’t worry about GIR.
1019
10202016-01-20 Paul Eggert <eggert@cs.ucla.edu>
1021
1022 Don’t export C symbols not used elsewhere
1023
1024 These were recently added, mostly as part of xwidget code.
1025 * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
1026 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
1027 Now static functions here, not macros in emacsgtkfixed.h.
1028 * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
1029 Remove. All uses replaced by definiens.
1030 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
1031 Remove; these are now static functions in emacsgtkfixed.c.
1032 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
1033 Remove; unused.
1034 (emacs_fixed_get_type): Remove decl; no longer extern.
1035 * src/xwidget.c (offscreen_damage_event)
1036 (webkit_mime_type_policy_typedecision_requested_cb)
1037 (webkit_new_window_policy_decision_requested_cb)
1038 (webkit_navigation_policy_decision_requested_cb)
1039 (xwidget_spec_value, xwidget_view_lookup)
1040 (xwidget_start_redisplay, xwidget_touch):
1041 Now static.
1042 * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
1043 Remove decls.
1044
10452016-01-20 Dmitry Gutov <dgutov@yandex.ru>
1046
1047 Support squiggly heredocs in ruby-mode
1048
1049 * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1050 Support squiggly heredocs added in Ruby 2.3.
1051
1052 * test/indent/ruby.rb: Add squiggly example.
1053
10542016-01-20 Glenn Morris <rgm@gnu.org>
1055
1056 * configure.ac (emacs_config_features): Remove WEBKIT.
1057
10582016-01-20 Paul Eggert <eggert@cs.ucla.edu>
1059
1060 Port to platforms with gtk3 but not webkitgtk3
1061
1062 I ran into this problem on my Fedora 23 installation;
1063 Emacs configured but did not build when --with-xwidgets was specified.
1064 * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
1065 (DOES_XWIDGETS_USE_GIR): New var.
1066 If --with-xwidgets is specified, report an error if not
1067 doable, to be consistent with the other --with options.
1068 Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
1069 not work at all without webkitgtk3. Simplify use of
1070 EMACS_CHECK_MODULES. Output message about gobject
1071 introspection only if xwidgets are used.
1072 * etc/NEWS: Users need webkitgtk3, not merely webkit.
1073 * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
1074 since this file is no longer compiled if webkitgtk3 is not available.
1075
10762016-01-20 Eli Zaretskii <eliz@gnu.org>
1077
1078 Fix doc string of 'isearch-search-fun-function'
1079
1080 * lisp/isearch.el (isearch-search-fun-function)
1081 (isearch-search-string): Doc fixes. (Bug#22411)
1082
10832016-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * lisp/xwidget.el: Nitpicks
1086
1087 * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
1088 Use with-current-buffer rather than save-excursion + set-buffer.
1089
10902016-01-20 Glenn Morris <rgm@gnu.org>
1091
1092 Don't hard-code 1 as point-min.
1093
1094 * lisp/image-mode.el (image-display-size):
1095 * lisp/xwidget.el (xwidget-webkit-last-session)
1096 (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
1097
10982016-01-20 Glenn Morris <rgm@gnu.org>
1099
1100 * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
1101
11022016-01-20 Glenn Morris <rgm@gnu.org>
1103
1104 Trivial doc copyedits.
1105
1106 * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
1107 (Fxwidget_webkit_get_title, Fxwidget_resize)
1108 (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
1109 (Fxwidget_info, Fxwidget_view_lookup)
1110 (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
1111
11122016-01-20 Glenn Morris <rgm@gnu.org>
1113
1114 Avoid advising image-display-size for xwidgets.
1115
1116 * lisp/xwidget.el (xwidget-image-display-size): Remove.
1117 (image-display-size): Remove advice.
1118 * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
1119 (image-display-size): Incorporate xwidget code directly.
1120
11212016-01-20 Glenn Morris <rgm@gnu.org>
1122
1123 Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
1124
1125 * lisp/xwidget.el (window-configuration-change-hook)
1126 (kill-buffer-query-functions): Only modify these hooks if
1127 compiled with xwidget support.
1128
11292016-01-20 Glenn Morris <rgm@gnu.org>
1130
1131 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
1132
11332016-01-19 Glenn Morris <rgm@gnu.org>
1134
1135 * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
1136
1137 * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
1138
1139 * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
1140
11412016-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
1142
1143 * lisp/gnus/nnir.el (nnir-request-update-mark):
1144 Default to the original mark.
1145 cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
1146 and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
1147
11482016-01-19 Glenn Morris <rgm@gnu.org>
1149
1150 * lisp/xwidget.el (report-xwidget-bug): Remove.
1151
1152 (top-level): No longer require reporter.
1153
11542016-01-19 Joakim Verona <joakim@verona.se>
1155 Grégoire Jadi <daimrod@gmail.com>
1156
1157 Support for the new Xwidget feature.
1158
1159 * configure.ac:
1160 (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
1161 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
1162 * src/xdisp.c:
1163 (handle_display_spec, handle_single_display_spec, push_it)
1164 (pop_it, set_iterator_to_next, dump_glyph)
1165 (calc_pixel_width_or_height, fill_xwidget_glyph_string)
1166 (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
1167 (produce_xwidget_glyph, x_produce_glyphs)
1168 (get_window_cursor_type):
1169 * src/window.c (Fdelete_window_internal):
1170 * src/termhooks.h (e):
1171 * src/print.c (print_object):
1172 * src/lisp.h (ptrdiff_t):
1173 * src/keyboard.c (kbd_buffer_get_event, make_lispy_event)
1174 (syms_of_keyboard):
1175 * src/emacs.c (main):
1176 * src/dispnew.c (update_window, scrolling_window):
1177 * src/dispextern.h (g, i):
1178 * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
1179 (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
1180 * src/keyboard.c (kbd_buffer_get_event):
1181 * src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
1182 (emacs_fixed_class_init): Add case for an xwidget view.
1183
1184 * src/xwidget.c, src/xwidget.h, lisp/xwidget.el: New files for xwidgets
1185
1186
1187 Various improvements to the Xwidget feature.
1188 * src/xwidget.c:
1189 * src/emacsgtkfixed.c:
1190 * lisp/xwidget.el:
1191
11922016-01-19 Eli Zaretskii <eliz@gnu.org>
1193
1194 Improve documentation of 'alist-get'
1195
1196 * doc/lispref/variables.texi (Setting Generalized Variables): Add
1197 'alist-get' to the list of functions that can appear in PLACE
1198 argument of 'setf'.
1199
12002016-01-19 Eli Zaretskii <eliz@gnu.org>
1201
1202 Minor copyedits of doc/emacs/maintaining.texi
1203
1204 * doc/emacs/maintaining.texi (List Identifiers): More accurate
1205 description of "C-M-i" wrt tags tables.
1206 (Tags Tables): Move the definition of "tag" to a footnote.
1207
12082016-01-19 Eli Zaretskii <eliz@gnu.org>
1209
1210 Unbreak the Cygwin-w32 build
1211
1212 * src/w32fns.c (globals_of_w32fns): Move the initialization of
1213 resetstkoflw into a part that isn't compiled on Cygwin.
1214 (Bug#22403)
1215
12162016-01-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1217
1218 * shr.el (shr-table-body): Allow tables to have text children.
1219
12202016-01-19 Phillip Lord <phillip.lord@russet.org.uk>
1221
1222 Cope with multiple overlapping faces.
1223
1224 * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
1225 left.
1226 (hfy-face-resolve-face): Handle font specification as well as font
1227 name. Documentation update. (Bug#21990)
1228
12292016-01-19 Paul Eggert <eggert@cs.ucla.edu>
1230
1231 Fix spurious escapes in describe-input-method
1232
1233 Problem reported by Vincent Belaïche (Bug#22309).
1234 * lisp/international/mule-cmds.el (describe-language-environment):
1235 * lisp/international/quail.el (quail-help):
1236 Apply substitute-command-keys to doc strings before displaying them.
1237
12382016-01-19 Paul Eggert <eggert@cs.ucla.edu>
1239
1240 Minor improvements to (random t) documentation
1241
1242 * doc/lispref/numbers.texi (Random Numbers):
1243 * src/fns.c (Frandom):
1244 Omit unnecessary details about randomness fallback.
1245 Say that it is a fallback.
1246
12472016-01-19 Dmitry Gutov <dgutov@yandex.ru>
1248
1249 Rename methods in Ruby etags example file
1250
1251 * test/etags/ruby-src/test.rb: Rename the example methods to
1252 correspond to the common terminology used in Ruby.
1253 * test/etags/CTAGS.good:
1254 * test/etags/ETAGS.good_1:
1255 * test/etags/ETAGS.good_2:
1256 * test/etags/ETAGS.good_3:
1257 * test/etags/ETAGS.good_4:
1258 * test/etags/ETAGS.good_5:
1259 * test/etags/ETAGS.good_6: Adjust accordingly.
1260
12612016-01-19 Dmitry Gutov <dgutov@yandex.ru>
1262
1263 Propertize backtick in 'def `(abc)' as symbol constituent
1264
1265 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
1266 Propertize backtick in 'def `(abc)' as symbol constituent.
1267 (ruby-syntax-propertize-function):
1268 Rename to ruby-syntax-propertize.
1269
12702016-01-18 Eli Zaretskii <eliz@gnu.org>
1271
1272 Fix scrolling under scroll-preserve-screen-position on TTY
1273
1274 * src/window.c (window_scroll_line_based): When setting point to
1275 preserve screen coordinates, don't let cursor enter either of the
1276 two scroll margins. (Bug#22395)
1277
12782016-01-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1279
1280 Fix shr table rendering of nested tables
1281
1282 * shr.el (shr-table-body): Don't include all tbodies in nested
1283 tables in the levels above.
1284
12852016-01-18 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
1288
12892016-01-18 Dmitry Gutov <dgutov@yandex.ru>
1290
1291 Add xref-based replacements for Dired search commands
1292
1293 * lisp/dired-aux.el (dired-do-find-regexp)
1294 (dired-do-find-regexp-and-replace): New commands.
1295 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
1296
1297 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
1298 `Q' to the new commands.
1299
1300 * lisp/progmodes/xref.el (xref-query-replace)
1301 (xref-collect-matches): Add progress reporters.
1302 (xref--find-ignores-arguments): Return nil for zero ignores.
1303 (xref--show-xrefs): Add an optional argument.
1304 (xref-collect-matches): Drop the assert. 'find' accepts a
1305 regular file in place of directory argument, too.
1306
13072016-01-18 Alan Mackenzie <acm@muc.de>
1308
1309 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
1310
13112016-01-18 Eli Zaretskii <eliz@gnu.org>
1312
1313 Improve user documentation of Xref
1314
1315 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
1316 (Looking Up Identifiers, Identifier Search, List Identifiers):
1317 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
1318 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
1319 for the details.
1320
13212016-01-18 Eli Zaretskii <eliz@gnu.org>
1322
1323 Fix scrolling under scroll-preserve-screen-position and margins
1324
1325 * src/window.c (window_scroll_pixel_based): When setting point to
1326 preserve screen coordinates, don't let cursor enter either of the
1327 two scroll margins. Fix incorrect usage of
1328 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
1329 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
1330
13312016-01-18 Eli Zaretskii <eliz@gnu.org>
1332
1333 Unbreak the MS-Windows build
1334
1335 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
1336 WINDOWSNT, to avoid link failure. (Bug#22202)
1337
13382016-01-18 Alan Mackenzie <acm@muc.de>
1339
1340 Desktop: protect users against inadvertant upgrading of desktop file.
1341
1342 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
1343
1344 * etc/NEWS: Add an entry about upgrading a desktop file.
1345
1346 * lisp/desktop.el (desktop-file-version): Amend doc string.
1347 (desktop-native-file-version, desktop-io-file-version): new variables.
1348 (desktop-clear): Set desktop-io-file-version to nil.
1349 (desktop-buffer-info): make the presence of the last item on the list
1350 conditional on (>= desktop-io-file-version 208).
1351 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
1352 Amend the doc string. Add code to determine the output file version.
1353 (desktop-create-buffer): Set desktop-io-file-version to the input file's
1354 version.
1355
13562016-01-18 Paul Eggert <eggert@cs.ucla.edu>
1357
1358 Initialize GnuTLS before calling gnutls_rnd
1359
1360 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
1361 Don’t set gnutls_global_initialized if gnutls_global_init fails.
1362 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
1363 if 2.12 or later, which has gnutls_rnd.
1364 (emacs_gnutls_global_init, gnutls_rnd): New fallback
1365 placeholder macros if before 2.12.
1366 (init_random): Initialize gnutls globals before trying to
1367 use gnutls_rnd.
1368
13692016-01-18 Andreas Schwab <schwab@linux-m68k.org>
1370
1371 Don't use GnuTLS before it is initialized
1372
1373 * src/sysdep.c (init_random): Don't use gnutls_rnd.
1374
13752016-01-17 Paul Eggert <eggert@cs.ucla.edu>
1376
1377 Port cleanup attribute to OpenBSD
1378
1379 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
1380 sprintf, and this messes up 'configure' when it tests for the cleanup
1381 attribute. Work around the problem by using __has_attribute directly.
1382 Problem reported by Joakim Jalap (Bug#22385).
1383 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
1384 * m4/ax_gcc_var_attribute.m4: Remove.
1385 * src/conf_post.h (__has_attribute): Provide a substitute, for
1386 non-GCC or older GCC compilers. All uses changed to assume
1387 the substitute. Check for the cleanup attribute.
1388 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
1389
13902016-01-17 Paul Eggert <eggert@cs.ucla.edu>
1391
1392 Prefer GnuTLS when acquiring random seed
1393
1394 This attempts to improve on the fix for Bug#22202.
1395 * configure.ac (HAVE_DEV_URANDOM): Remove.
1396 Check /dev/urandom existence at run time, not at build time,
1397 since the device could exist in the former but not the latter.
1398 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
1399 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
1400 (random_seed): New typedef.
1401 (set_random_seed): New static function.
1402 (seed_random): Use them.
1403 (init_random): Use random_seed instead of uintmax_t, so as to
1404 not consume more entropy than needed. Prefer gnutls_rnd if it
1405 works; this avoids a redundant open of /dev/urandom on
1406 GNU/Linux with modern GnuTLS.
1407
14082016-01-16 Eli Zaretskii <eliz@gnu.org>
1409
1410 Improve documentation of dynamic modules
1411
1412 * doc/lispref/loading.texi (How Programs Do Loading): Update the
1413 description of searching for files in 'load' when Emacs was built
1414 with support for dynamic modules.
1415
14162016-01-16 Eli Zaretskii <eliz@gnu.org>
1417
1418 * INSTALL: Document --with-modules.
1419
14202016-01-16 Eli Zaretskii <eliz@gnu.org>
1421
1422 Document 'function-put'
1423
1424 * doc/lispref/symbols.texi (Symbol Plists): Document
1425 'function-put'. Update documentation of 'function-get'.
1426
14272016-01-16 Eli Zaretskii <eliz@gnu.org>
1428
1429 Document 'funcall-interactively'
1430
1431 * doc/lispref/commands.texi (Interactive Call): Document
1432 'funcall-interactively'.
1433 * doc/lispref/functions.texi (Calling Functions): Mention
1434 'funcall-interactively' and provide a cross-reference.
1435
14362016-01-16 Eli Zaretskii <eliz@gnu.org>
1437
1438 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
1439
1440 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
1441
14422016-01-16 Eli Zaretskii <eliz@gnu.org>
1443
1444 Document renaming of selection-related functions
1445
1446 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
1447 functions into the corresponding "gui-*" functions. Make the
1448 description slightly less X-centric.
1449
14502016-01-16 Eli Zaretskii <eliz@gnu.org>
1451
1452 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
1453
14542016-01-16 Eli Zaretskii <eliz@gnu.org>
1455
1456 Document 'define-inline'
1457
1458 * doc/lispref/functions.texi (Defining Functions): Document
1459 'define-inline' and related macros.
1460
1461 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
1462
14632016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1464
1465 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
1466
1467 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
1468
14692016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1470
1471 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
1472
1473 instead of manually writing a dir-locals file.
1474
14752016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1476
1477 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
1478
1479 (dir-locals-file)
1480 * lisp/files-x.el (modify-dir-local-variable)
1481 * lisp/dos-fns.el (dosified-file-name)
1482 * lisp/help-fns.el (describe-variable): Change accordingly.
1483
14842016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1485
1486 Fix incompatbilities with MS-Windows 2000 and older
1487
1488 * src/w32.c <multiByteToWideCharFlags>: New global variable.
1489 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
1490 Use it instead of the literal MB_ERR_INVALID_CHARS.
1491 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
1492 appropriate for the underlying OS version. For details, see
1493 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1494 * src/w32.h: Declare multiByteToWideCharFlags.
1495 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
1496 (add_tray_notification): Use multiByteToWideCharFlags instead of
1497 the literal MB_ERR_INVALID_CHARS.
1498 (_resetstkoflw_proc): New typedef.
1499 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
1500 pointer, as this function is absent in msvcrt.dll shipped with W2K
1501 and older systems.
1502
15032016-01-16 Eli Zaretskii <eliz@gnu.org>
1504
1505 Mention in PROBLEMS an issue with MS-Windows NT4
1506
1507 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
1508 on Windows NT4. For the details, see
1509 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1510
15112016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1512
1513 Ensure 8-byte aligned memory allocation on MS-Windows 9X
1514
1515 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
1516 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
1517 (malloc_after_dump_9x, realloc_after_dump_9x)
1518 (free_after_dump_9x): New functions. (Bug#22379) See also
1519 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
1520 for more details about the original problem.
1521
1522 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
1523 (free_after_dump_9x): Add prototypes.
1524
15252016-01-16 Eli Zaretskii <eliz@gnu.org>
1526
1527 Fix tests for active region in hideif.el
1528
1529 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
1530 'use-region-p' to test whether to operate on region, instead of
1531 testing 'mark-active'.
1532
15332016-01-16 Eli Zaretskii <eliz@gnu.org>
1534
1535 Fix interactive specs in some hideif.el commands
1536
1537 * lisp/progmodes/hideif.el (hif-evaluate-macro)
1538 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
1539 in commands that should only act on the region if it's active.
1540
15412016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
1542
1543 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
1544
15452016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
1546
1547 Enable test selector from command line
1548
1549 * test/automated/Makefile.in: Change variable manipulation to avoid
1550 over-writing selector.
1551
15522016-01-15 Alan Mackenzie <acm@muc.de>
1553
1554 Don't confuse "::" with ":" when trying to parse member initializers.
1555
1556 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
1557 more robustly for ":" token when searching backwards for it.
1558
1559 * lisp/progmodes/cc-langs.el (c-:$-multichar-token-regexp): New language
1560 variable.
1561
15622016-01-15 Eli Zaretskii <eliz@gnu.org>
1563
1564 Ensure positive number of glyphs for margins of positive width
1565
1566 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
1567 positive value when a non-zero width of the marginal area was
1568 requested. (Bug#22356)
1569
15702016-01-15 Eli Zaretskii <eliz@gnu.org>
1571
1572 Fix crashes when mini-window has non-zero margins
1573
1574 * src/window.c (resize_frame_windows): Use 'new_size' to set
1575 minibuffer window's 'total_cols' value, as 'size' might be in
1576 pixels. (Bug#22356)
1577
15782016-01-15 Alan Mackenzie <acm@muc.de>
1579
1580 In comment-dwim with style `extra-line', respect indent-tabs-mode.
1581
1582 This fixes bug #22369.
1583
1584 * lisp/newcomment.el (comment-make-bol-ws): New function.
1585 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
1586
15872016-01-15 Eli Zaretskii <eliz@gnu.org>
1588
1589 Make 'random' seeds cryptographically secure if possible
1590
1591 * configure.ac: Check for "/dev/urandom".
1592
1593 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
1594 for the seed from "/dev/urandom".
1595 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
1596 * src/fns.c (Frandom): Update the doc string to indicate that
1597 system entropy is used when available.
1598 * src/w32.c: Include wincrypt.h.
1599 (w32_init_crypt_random, w32_init_random): New functions, use the
1600 CryptGenRandom API.
1601 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
1602 * src/w32.h (w32_init_random): Add prototype.
1603
1604 * doc/lispref/numbers.texi (Random Numbers): Document more details
1605 about 't' as the argument to 'random'.
1606
1607 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
1608 strong seed if possible.
1609
1610 (Bug#22202)
1611
16122016-01-15 Eli Zaretskii <eliz@gnu.org>
1613
1614 Unhide the --no-line-directive option to 'etags'
1615
1616 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
1617 option. (Bug#22306)
1618
1619 * doc/man/etags.1: Document the --no-line-directive option.
1620
16212016-01-15 Alan J Third <alan@idiocy.org> (tiny change)
1622
1623 Fix picture-mode wrt double-width characters
1624
1625 * lisp/textmodes/picture.el (picture-insert): Check the width of
1626 the character being replaced, not just that of the replacement.
1627 (Bug#1808)
1628
16292016-01-15 Eric Abrahamsen <eric@ericabrahamsen.net>
1630
1631 Honor docstring of gnus-group-get-new-news
1632
1633 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
1634 but non-numeric, unconditionally consider all groups to need updating.
1635
16362016-01-14 Simen Heggestøyl <simenheg@gmail.com>
1637
1638 Disallow parenthesis in non-pseudo CSS selectors
1639
1640 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
1641 parenthesis in selectors except for in the function notation that
1642 might appear right after a pseudo-class.
1643 * test/indent/scss-mode.scss: Add a test for it.
1644
16452016-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
1646
1647 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
1648
16492016-01-14 Michael Albinus <michael.albinus@gmx.de>
1650
1651 check-maybe shall run only default tests
1652
1653 * test/automated/Makefile.in (check, check-expensive): Depend on
1654 mostlyclean.
1655 (check-maybe): Re-run only default tests.
1656 (check-doit): Use code of check-maybe.
1657 (mostlyclean): Move *.log files away.
1658
16592016-01-14 Mark Oteiza <mvoteiza@udel.edu>
1660
1661 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
1662
16632016-01-14 Dmitry Gutov <dgutov@yandex.ru>
1664
1665 Un-obsolete tags-loop-continue
1666
1667 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
1668 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
1669
16702016-01-13 Eli Zaretskii <eliz@gnu.org>
1671
1672 Document obsoletion of 'intangible' and 'point-entered/left'
1673
1674 * doc/lispref/text.texi (Special Properties): Document the new
1675 properties 'cursor-intangible' and 'cursor-sensor-functions'.
1676 Document the obsolete status of 'intangible', 'pointer-left',
1677 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
1678 * doc/lispref/display.texi (Overlay Properties): Document that
1679 'intangible' overlay property is obsolete.
1680
1681 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
1682
16832016-01-13 Eli Zaretskii <eliz@gnu.org>
1684
1685 Updater documentation of 'looking-back'
1686
1687 * doc/lispref/searching.texi (Regexp Search): Update documentation
1688 of 'looking-back'. Fix markup.
1689
16902016-01-13 Eli Zaretskii <eliz@gnu.org>
1691
1692 Document 'pre-redisplay-functions'
1693
1694 * doc/lispref/hooks.texi (Standard Hooks):
1695 * doc/lispref/display.texi (Forcing Redisplay): Document
1696 'pre-redisplay-functions'.
1697
16982016-01-13 Eli Zaretskii <eliz@gnu.org>
1699
1700 Document the new deafault value of 'load-read-function'
1701
1702 * doc/lispref/loading.texi (How Programs Do Loading): Document the
1703 change in the default value of 'load-read-function'.
1704
17052016-01-13 Eli Zaretskii <eliz@gnu.org>
1706
1707 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
1708
1709 * doc/lispref/nonascii.texi (Text Representations): Document
1710 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
1711
17122016-01-13 Eli Zaretskii <eliz@gnu.org>
1713
1714 Document the new prefix-command hooks
1715
1716 * doc/lispref/hooks.texi (Standard Hooks): Document
1717 `prefix-command-echo-keystrokes-functions' and
1718 `prefix-command-preserve-state-hook'.
1719
17202016-01-13 Paul Eggert <eggert@cs.ucla.edu>
1721
1722 Fix one more misuse of time-stamp-time-zone
1723
1724 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
1725 than the unportable "GMT" for time zone.
1726
17272016-01-13 Paul Eggert <eggert@cs.ucla.edu>
1728
1729 Fix NNTP NEWGROUPS off-by-a-few-hours bug
1730
1731 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
1732 in Universal Time, since we’re telling the server “GMT”.
1733
17342016-01-13 Paul Eggert <eggert@cs.ucla.edu>
1735
1736 Update publicsuffix.txt from upstream
1737
1738 * etc/publicsuffix.txt: Update from
1739 https://publicsuffix.org/list/effective_tld_names.dat
1740 dated 2016-01-12 11:52:01 UTC.
1741
17422016-01-13 Glenn Morris <rgm@gnu.org>
1743
1744 Fix some declarations.
1745
1746 * lisp/descr-text.el (internal-char-font):
1747 * lisp/cedet/mode-local.el (xref-item-location):
1748 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
1749 (epg-sub-key-capability, epg-sub-key-validity):
1750 * lisp/international/mule-util.el (internal-char-font):
1751 Fix declarations.
1752
17532016-01-13 Glenn Morris <rgm@gnu.org>
1754
1755 Fix some custom types.
1756
1757 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
1758 * lisp/gnus/gnus.el (gnus-valid-select-methods):
1759 * lisp/mail/rmail.el (rmail-get-coding-function):
1760 * lisp/net/newst-treeview.el (newsticker-groups-filename):
1761 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
1762 * lisp/textmodes/tildify.el (tildify-space-predicates):
1763 * lisp/url/url-tramp.el (url-tramp-protocols):
1764 Fix custom types.
1765
17662016-01-13 Glenn Morris <rgm@gnu.org>
1767
1768 Add some missing version tags.
1769
1770 * lisp/electric.el (electric-quote-comment)
1771 (electric-quote-string, electric-quote-paragraph):
1772 * lisp/epg-config.el (epg-gpgconf-program):
1773 * lisp/rect.el (rectangle-preview):
1774 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
1775 * lisp/emacs-lisp/package.el (package-selected-packages)
1776 (package-hidden-regexps):
1777 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
1778 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
1779 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
1780 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
1781 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
1782 (mml-smime-sign-with-sender, mml2015-always-trust)
1783 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
1784 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
1785 (browse-url-conkeror-arguments):
1786 * lisp/net/newst-reader.el (newsticker-download-logos):
1787 * lisp/progmodes/gud.el (gud-guiler-command-name):
1788 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
1789 * lisp/progmodes/project.el (project-vc):
1790 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
1791 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
1792 (python-shell-completion-native-disabled-interpreters)
1793 (python-shell-completion-native-enable)
1794 (python-shell-completion-native-output-timeout)
1795 (python-shell-completion-native-try-output-timeout):
1796 * lisp/progmodes/xref.el (xref):
1797 * lisp/term/screen.el (xterm-screen-extra-capabilities):
1798 * lisp/term/xterm.el (xterm-max-cut-length):
1799 Add missing version tags.
1800
18012016-01-13 Glenn Morris <rgm@gnu.org>
1802
1803 * test/automated/core-elisp-tests.el
1804 (core-elisp-tests-1-defvar-in-let): Add a custom type.
1805
18062016-01-13 Glenn Morris <rgm@gnu.org>
1807
1808 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
1809
1810 Remove comments that do not apply since 2005-08-09. (Bug#22349)
1811
18122016-01-12 Paul Eggert <eggert@cs.ucla.edu>
1813
1814 Merge from gnulib
1815
1816 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
1817 It also updates to the latest version of texinfo.tex.
1818 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
1819 * build-aux/update-copyright, doc/misc/texinfo.tex:
1820 Update from gnulib.
1821
18222016-01-12 Eli Zaretskii <eliz@gnu.org>
1823
1824 Update documentation of 'process-running-child-p'
1825
1826 * doc/lispref/processes.texi (Input to Processes): Document the
1827 changes in return value of 'process-running-child-p'.
1828
18292016-01-12 Eli Zaretskii <eliz@gnu.org>
1830
1831 Update documentation of 'deactivate-mark'.
1832
1833 * doc/lispref/markers.texi (The Mark): Document that
1834 'deactivate-mark' is now buffer-local when set.
1835
18362016-01-12 Eli Zaretskii <eliz@gnu.org>
1837
1838 Update documentation of 'completion-table-dynamic'
1839
1840 * doc/lispref/minibuf.texi (Programmed Completion): Document the
1841 new optional argument to 'completion-table-dynamic'.
1842
18432016-01-12 Eli Zaretskii <eliz@gnu.org>
1844
1845 Document changes in 'read-buffer' and 'read-buffer-function'
1846
1847 * doc/lispref/minibuf.texi (High-Level Completion): Document the
1848 4th argument to 'read-buffer' and 'read-buffer-function'.
1849
18502016-01-12 Paul Eggert <eggert@cs.ucla.edu>
1851
1852 Fix time-stamp-time-zone bugs introduced in July
1853
1854 This fixes a bug introduced when the July changes to
1855 format-time-string installed, as the changes were not
1856 correctly handled in this module (Bug#22302).
1857 Also, document time stamp time zones.
1858 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
1859 (time-stamp--format): New private function.
1860 (time-stamp-string, time-stamp-string-preprocess)
1861 (time-stamp-do-number): Use it.
1862 * doc/emacs/files.texi (Time Stamps): Mention time zones.
1863 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
1864
18652016-01-12 Eli Zaretskii <eliz@gnu.org>
1866
1867 Make piping to subprocesses more robust on MS-Windows
1868
1869 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
1870 buffer can hold. Don't return -1 if something has been written to
1871 the pipe. Zero out 'errno' before calling '_write', to avoid
1872 returning a stale value. (Bug#22344)
1873 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
1874 * src/w32.c (pipe2): Use it to request a user-defined size for the
1875 pipe being created.
1876
1877 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
1878
1879 * doc/emacs/msdos.texi (Windows Processes): Document
1880 'w32-pipe-buffer-size'.
1881
18822016-01-11 Dmitry Gutov <dgutov@yandex.ru>
1883
1884 test/automated/vc-hg.el: Support out-of-tree build
1885
1886 * test/automated/vc-hg.el
1887 (vc-hg-annotate-extract-revision-at-line-with-filename)
1888 (vc-hg-annotate-extract-revision-at-line-with-both):
1889 Don't refer to source-directory.
1890 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
1891
18922016-01-11 Michael Albinus <michael.albinus@gmx.de>
1893
1894 Minor change in tramp-tests.el
1895
1896 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
1897 Use `dired-uncache' instead of a Tramp internal function.
1898
18992016-01-11 Peter Feigl <peter.feigl@nexoid.at>
1900
1901 * etc/HELLO: Add Armenian and Mongolian greetings.
1902
1903 (Bug#22346)
1904
19052016-01-11 Alan Mackenzie <acm@muc.de>
1906
1907 Java Mode: Fontify identifiers in the presence of annotations.
1908
1909 * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
1910 Don't move point when the defun fails.
1911 (c-forward-decl-or-cast-1): Correct a usage of match data.
1912
1913 * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
1914 (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
1915 removed variable.
1916
1917 * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
1918
19192016-01-11 Eli Zaretskii <eliz@gnu.org>
1920
1921 Avoid an infloop when we run out of memory
1922
1923 * src/alloc.c (garbage_collect_1): Don't bother saving and
1924 restoring the echo-area message if we are GC'ing after running out
1925 of memory. This avoids an infloop due to repeated attempts to
1926 allocate memory for the cons cell needed to save the message,
1927 which signals the memory-full error, which attempts to save the
1928 echo-area message, which signals memory-full again, etc.
1929
19302016-01-11 Eli Zaretskii <eliz@gnu.org>
1931
1932 Avoid unnecessary failures of auto-saving after fatal error
1933
1934 * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
1935 the benefit of FAT volumes if we are called as part of shutting
1936 down due to a fatal error, which probably means we are trying to
1937 auto-save the session.
1938 * src/lread.c (check_obarray): Don't bother making the obarray
1939 valid if we are shutting down due to a fatal error. This avoids
1940 interfering with auto-saving the crashed session.
1941
19422016-01-11 Paul Eggert <eggert@cs.ucla.edu>
1943
1944 Simplify HAVE_MODULES use in mark_maybe_pointer
1945
1946 * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
1947 so that later code can use 'if' rather than '#ifdef'.
1948 (mark_maybe_pointer): Simplify based on HAVE_MODULES now
1949 always working.
1950
19512016-01-11 Paul Eggert <eggert@cs.ucla.edu>
1952
1953 Revert attempt to use 'noexcept' in typedef
1954
1955 This use of 'noexcept' runs afoul of the C++11 standard.
1956 Problem reported by Philipp Stephani in:
1957 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
1958 * src/emacs-module.c (emacs_finalizer_function):
1959 Move this typedef here ...
1960 * src/emacs-module.h: ... from here, and use only the C
1961 version of the typedef. The typedef is now private since it
1962 is never used in the .h file now and anyway it seemed to be
1963 causing more confusion than it cured.
1964 (make_user_ptr, get_user_finalizer, set_user_finalizer):
1965 Open-code the type instead.
1966
19672016-01-10 Eli Zaretskii <eliz@gnu.org>
1968
1969 Update documentation of 'indirect-function'
1970
1971 * doc/lispref/eval.texi (Function Indirection): Update the
1972 documentation of 'indirect-function'.
1973
19742016-01-10 Eli Zaretskii <eliz@gnu.org>
1975
1976 Update documentation for obsoleting 'syntax-begin-function'
1977
1978 * doc/lispref/syntax.texi (Position Parse): Undocument
1979 'syntax-begin-function' that is now obsolete.
1980
19812016-01-10 Eli Zaretskii <eliz@gnu.org>
1982
1983 Document new features if Eshell
1984
1985 * doc/misc/eshell.texi (Input/Output): Document the new
1986 '#<bufname>' syntax.
1987 (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
1988 Disable "Key Index" generation, as there are no @kindex entries in
1989 this manual.
1990
19912016-01-10 Michael Albinus <michael.albinus@gmx.de>
1992
1993 Handle too long commands in Tramp
1994
1995 * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
1996 (tramp-do-file-attributes-with-ls): Send sequence of commands, in
1997 order to not exceed shell command line limit.
1998
1999 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
2000 (tramp--test-utf8): Include Arabic file name, again.
2001
20022016-01-10 Paul Eggert <eggert@cs.ucla.edu>
2003
2004 * .gitattributes: *.cur and *.pif are binary files too.
2005
20062016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
2009
20102016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2011
2012 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
2013
2014 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
2015 within $(...).
2016 * test/indent/shell.sh: Add corresponding test.
2017
20182016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2019
2020 * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
2021
2022 (mark_memory): Simplify loop. Don't assume a pointer-sized word can be
2023 cast to Lisp_Object.
2024
20252016-01-10 Dmitry Gutov <dgutov@yandex.ru>
2026
2027 Use short date for 'hg annotate', and output the author
2028
2029 * lisp/vc/vc-hg.el (vc-hg-annotate-command):
2030 Change '-d' to '-dq'. (Bug#21805)
2031 (vc-hg-annotate-switches): Default to "-u" "--follow".
2032 (vc-hg-annotate-re): Update to recognize the short date format
2033 and the optional username.
2034 (vc-hg-annotate-time)
2035 (vc-hg-annotate-extract-revision-at-line): Update accordingly.
2036
2037 * test/automated/vc-hg.el: New file.
2038
20392016-01-10 Paul Eggert <eggert@cs.ucla.edu>
2040
2041 Spelling fix
2042
20432016-01-09 Eli Zaretskii <eliz@gnu.org>
2044
2045 Document user-level functions in project.el
2046
2047 * lisp/progmodes/project.el (project-find-file)
2048 (project-or-external-find-file): Add doc strings.
2049
20502016-01-09 Eli Zaretskii <eliz@gnu.org>
2051
2052 Document the user-level features of the Xref package
2053
2054 * doc/emacs/maintaining.texi (Maintaining): Add a list of
2055 described features.
2056 (Xref): New section, made out of thoroughly rewritten "Tags"
2057 section.
2058 (Find Identifiers, Looking Up Identifiers, Xref Commands)
2059 (Identifier Search, List Identifiers): New subsections,
2060 incorporating the old tags commands and the new xref commands.
2061 (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
2062 Section and subsections demoted to a lower level.
2063 * doc/emacs/search.texi (Search):
2064 * doc/emacs/windows.texi (Pop Up Window):
2065 * doc/emacs/frames.texi (Creating Frames):
2066 * doc/emacs/programs.texi (Imenu, Symbol Completion):
2067 * doc/emacs/building.texi (Grep Searching):
2068 * doc/emacs/dired.texi (Operating on Files):
2069 * doc/emacs/glossary.texi (Glossary): All references to tags changed.
2070
20712016-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * doc/lispref/loading.texi: Add `define-type' entry for load-history
2074
2075 * doc/lispref/loading.texi (Where Defined): Remove incorrect
2076 cl-defmethod description, and add missing define-type entry.
2077
20782016-01-09 Eli Zaretskii <eliz@gnu.org>
2079
2080 Improve doc strings and prompts in xref.el
2081
2082 * lisp/progmodes/xref.el (xref-backend-functions)
2083 (xref-find-definitions): Doc fixes.
2084 (xref-query-replace): Doc fix. Improve prompts for arguments.
2085
20862016-01-09 Alan Mackenzie <acm@muc.de>
2087
2088 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
2089
2090 * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
2091 `font-lock-extend-regions-wholelines' from
2092 `font-lock-extend-region-functions' rather than setting the latter to
2093 nil.
2094
20952016-01-09 Michael Albinus <michael.albinus@gmx.de>
2096
2097 Fix coding system for Tramp on OS X.
2098
2099 * lisp/net/tramp-compat.el: Require ucs-normalize.
2100
2101 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2102 Set coding system to `utf-8-hfs' for Mac OS X.
2103
2104 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
2105 Flush directory properties when needed.
2106 (tramp--test-utf8): Include Chinese file name, again.
2107
21082016-01-09 Eli Zaretskii <eliz@gnu.org>
2109
2110 Update 'load-history' docs
2111
2112 * doc/lispref/loading.texi (Where Defined): Update the list of
2113 forms in 'load-history' by adding the forms created for the
2114 'cl-generic' generics. (Bug#21422)
2115
21162016-01-09 Paul Eggert <eggert@cs.ucla.edu>
2117
2118 Fix (error ...) error
2119
2120 Problem reported by Glenn Morris in:
2121 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
2122 * lisp/vc/add-log.el (change-log-goto-source): Fix typos
2123 introduced in my Aug 28 change, where I got confused by the
2124 two meanings of (error ...).
2125
21262016-01-08 Alan Mackenzie <acm@muc.de>
2127
2128 Correctly analyze brace arguments in templated C++ function declarations.
2129
2130 * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
2131 POS and LIMIT parameters, like the other c-go-list-* functions have.
2132
2133 * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
2134 for a ?\( rather than a ?<. (c-looking-at-inexpr-block): Handle names
2135 followed by template specifiers.
2136
21372016-01-08 Glenn Morris <rgm@gnu.org>
2138
2139 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
2140
2141 * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
2142
21432016-01-08 Mark Oteiza <mvoteiza@udel.edu>
2144
2145 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
2146
21472016-01-08 Alan Mackenzie <acm@muc.de>
2148
2149 Respect fontification region calculated by major mode. Fixes bug #22316.
2150
2151 * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
2152 fontification region has been calculated by a function on
2153 font-lock-extend-after-change-region-function use this region rather than
2154 changing the end position to somewhere else.
2155
21562016-01-08 Eli Zaretskii <eliz@gnu.org>
2157
2158 Improve documentation of Delete Selection mode
2159
2160 * lisp/delsel.el (delete-selection-mode)
2161 (delete-selection-helper): Update and expand the doc strings.
2162 (Bug#22296)
2163
2164 * doc/emacs/mark.texi (Using Region): Document the behavior of
2165 delete commands in Delete Selection mode. (Bug#22296)
2166
2167 * doc/lispref/markers.texi (The Mark): Document how to add the
2168 support for Delete Selection mode to Lisp programs. (Bug#22296)
2169
21702016-01-08 Dmitry Gutov <dgutov@yandex.ru>
2171
2172 Fix two project-find-file issues
2173
2174 * lisp/progmodes/project.el (project--value-in-dir):
2175 Temporarily set enable-local-variables to :all.
2176 (project-find-file, project-or-external-find-file):
2177 All autoloads.
2178 (project--find-file-in): Require xref.
2179
21802016-01-08 Eli Zaretskii <eliz@gnu.org>
2181
2182 Clarify doc string of 'dired-current-directory'
2183
2184 * lisp/dired.el (dired-current-directory): Doc fix: clarify that
2185 the return value might not end in a slash when called with the
2186 optional argument non-nil. (Bug#6273)
2187
21882016-01-08 Eli Zaretskii <eliz@gnu.org>
2189
2190 Use the face of preceding text for displaying the ellipsis
2191
2192 * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
2193 text in it->saved_face_id for displaying the ellipsis, and ignore
2194 the face, if any, of the invisible text. (Bug#22320)
2195
21962016-01-08 Michael Albinus <michael.albinus@gmx.de>
2197
2198 Suppress Chinese file name test for OSX in tramp-tests.el
2199
2200 * test/automated/tramp-tests.el (tramp--test-utf8):
2201 Remove instrumentation. Suppress Chinese file name test for OSX.
2202
22032016-01-08 Glenn Morris <rgm@gnu.org>
2204
2205 * admin/admin.el (set-version): Also handle the NEWS file.
2206
22072016-01-08 Dmitry Gutov <dgutov@yandex.ru>
2208
2209 apropos-library: Skip obvious duplicates; don't error on generics
2210
2211 * lisp/apropos.el (apropos-library): Skip "was an autoload"
2212 entries, to avoid obvious duplicates. For each cl-defmethod
2213 entry, take just its function symbol (bug#21422).
2214
22152016-01-07 Dmitry Gutov <dgutov@yandex.ru>
2216
2217 Add project-find-file and project-or-external-find-file
2218
2219 * lisp/minibuffer.el (completion-category-defaults):
2220 Add `project-file' category.
2221
2222 * lisp/progmodes/project.el (project-find-file)
2223 (project-or-external-find-file): New commands.
2224 (project--find-file-in): New private function.
2225
2226 * lisp/progmodes/xref.el (xref-collect-matches): Use
2227 `expand-file-name' on DIR, to expand the tildes.
2228 (xref--find-ignores-arguments): Extract from
2229 `xref--rgrep-command'.
2230
22312016-01-07 Leo Liu <sdl.web@gmail.com>
2232
2233 Add defvar-local to lisp-imenu-generic-expression
2234
2235 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
2236 defvar-local.
2237
22382016-01-07 Leo Liu <sdl.web@gmail.com>
2239
2240 Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
2241
2242 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
2243 Don't declare (indent 1).
2244
22452016-01-07 Glenn Morris <rgm@gnu.org>
2246
2247 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
2248
22492016-01-07 Glenn Morris <rgm@gnu.org>
2250
2251 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
2252
2253 Avoid specifying the length of a time object (it has not been "2"
2254 for some time).
2255
22562016-01-06 Andreas Schwab <schwab@linux-m68k.org>
2257
2258 Properly encode/decode base64Binary data in SOAP
2259
2260 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
2261 base64Binary value as utf-8.
2262 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
2263
22642016-01-06 Eli Zaretskii <eliz@gnu.org>
2265
2266 Obey coding-system-for-write when writing stdout/stderr in batch
2267
2268 * src/print.c (printchar_to_stream):
2269 * src/xdisp.c (message_to_stderr): If coding-system-for-write has
2270 a non-nil value, use it to encode output in preference to
2271 locale-coding-system. See the discussions in
2272 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
2273 for the details.
2274
2275 * doc/lispref/os.texi (Terminal Output): Document how to send
2276 non-ASCII text via 'send-string-to-terminal'.
2277 (Batch Mode): Document how text written to standard streams is
2278 encoded. Fix inaccuracy regarding which output streams are used
2279 by output functions in batch mode.
2280
22812016-01-06 Xue Fuqiao <xfq.free@gmail.com>
2282
2283 * doc/misc/efaq.texi (Packages that do not come with Emacs):
2284 Update the URI of MELPA and marmalade-repo. Reported by CHENG Gao
2285 <chenggao@royau.me> in
2286 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
2287
22882016-01-06 Maksim Golubev <maksim.golubev72@gmail.com> (tiny change)
2289
2290 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
2291
2292 Fix backslash. (Bug#22224)
2293
22942016-01-06 Federico Beffa <beffa@ieee.org> (tiny change)
2295
2296 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
2297
2298 Make it actually work. (Bug#22265)
2299
23002016-01-05 Alan Mackenzie <acm@muc.de>
2301
2302 Remove function wrongly on AWK Mode value of context fontification hook.
2303
2304 * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
2305 swap order of entries so that awk's entry isn't superseded by the default.
2306
2307 * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
2308 to handle nil value of c-before-context-fontification-functions.
2309
23102016-01-05 Paul Eggert <eggert@cs.ucla.edu>
2311
2312 * src/buffer.c: Stick with ASCII in doc string.
2313
23142016-01-05 Paul Eggert <eggert@cs.ucla.edu>
2315
2316 Reword transient-mark-mode doc string
2317
2318 * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
2319 The value 'lambda (literally) can be interpreted as (quote lambda),
2320 which is not intended here; we want just the lambda symbol.
2321
23222016-01-05 Eli Zaretskii <eliz@gnu.org>
2323
2324 Update doc string of 'selective-display'
2325
2326 * src/buffer.c (syms_of_buffer) <selective-display>: Say that
2327 using it with the value of 't' is obsolete. (Bug#1092)
2328
23292016-01-05 Alan Mackenzie <acm@muc.de>
2330
2331 Make C++ buffers writeable when writing their initial text properties.
2332
2333 This is a correction to yesterday's CC Mode patch.
2334
2335 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
2336 c-save-buffer-state around the function rather than a mere `let'.
2337
23382016-01-05 Michael Albinus <michael.albinus@gmx.de>
2339
2340 Additional changes for "make check-expensive"
2341
2342 * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
2343 Explain make target `check-expensive'.
2344
2345 * etc/NEWS: Mention new make target `check-expensive'.
2346
2347 * test/automated/Makefile.in (check-doit): New target.
2348 (check, check-expensive): Use it.
2349
23502016-01-04 Alan Mackenzie <acm@muc.de>
2351
2352 Apply text properties for <, > in new after-change function (C++ Java Modes).
2353
2354 These are category/syntax-table properties to give < and > paren syntax.
2355 Also apply certain `c-type' text properties to the insides of <..> constructs
2356 to ensure that identifiers contained by them get fontified. This patch fixes
2357 bug #681.
2358
2359 * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
2360 after-change action.
2361
2362 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
2363 change region to include <s and >s which might not be already marked as
2364 parens, rather than just when paren text properties are removed.
2365 (c-restore-<>-properties): New after-change function, which applies text
2366 properties marking < and > with paren syntax.
2367
2368 * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
2369 properties are applied to the interiors of <...> constructs, to ensure
2370 fontification of identifiers there.
2371
2372 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
2373 c-restore-<>-properties to this list for C++ and Java.
2374
2375 * lisp/progmodes/cc-mode.el (c-common-init): When invoking
2376 c-before-font-lock-functions, exclude c-restore-<>-properties from the
2377 functions invoked.
2378 (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
2379 to allow modification by before-change functions.
2380 (c-after-change): Amend c-new-END here, rather than initializing it and
2381 c-new-BEG.
2382
23832016-01-04 Michael Albinus <michael.albinus@gmx.de>
2384
2385 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
2386
23872016-01-04 Michael Albinus <michael.albinus@gmx.de>
2388
2389 Introduce check-expensive tests.
2390
2391 * Makefile.in (check-expensive):
2392 * test/automated/Makefile.in (check-expensive): New target.
2393
2394 * test/automated/auto-revert-tests.el
2395 (auto-revert-test01-auto-revert-several-files):
2396 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
2397 * test/automated/tramp-tests.el (tramp-test26-process-file)
2398 (tramp-test27-start-file-process, tramp-test28-shell-command)
2399 (tramp-test29-vc-registered)
2400 (tramp-test31-special-characters-with-stat)
2401 (tramp-test31-special-characters-with-perl)
2402 (tramp-test31-special-characters-with-ls)
2403 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
2404 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
2405 (tramp-test35-unload): Tag the tests as :expensive-test.
2406
24072016-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2408
2409 shr-tag-video bug fix
2410
2411 * shr.el (shr-tag-video): Protect against the `poster' being
2412 empty.
2413
24142016-01-04 Michael Albinus <michael.albinus@gmx.de>
2415
2416 Minor fixes in tramp-tests.el
2417
2418 * test/automated/tramp-tests.el (tramp-test26-process-file):
2419 Move point properly.
2420 (tramp-test29-vc-registered): Work with relative file names.
2421
24222016-01-04 Eli Zaretskii <eliz@gnu.org>
2423
2424 Ensure redisplay when 'truncate-lines' is set
2425
2426 * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
2427 (Bug#22303)
2428
24292016-01-04 Eli Zaretskii <eliz@gnu.org>
2430
2431 Fix a doc string of 'transient-mark-mode'
2432
2433 * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
2434 "lambda" in doc string from becoming a link to lambda expressions.
2435
24362016-01-04 Eli Zaretskii <eliz@gnu.org>
2437
2438 MS-Windows followup to latest gnulib update
2439
2440 * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
2441
24422016-01-04 Paul Eggert <eggert@cs.ucla.edu>
2443
2444 Spelling fix
2445
24462016-01-04 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
2447
2448 Do secure signed Bcc handling
2449
2450 * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
2451 (bug#18718).
2452
24532016-01-04 Paul Eggert <eggert@cs.ucla.edu>
2454
2455 Avoid stdio in SIGINT handler
2456
2457 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
2458 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2459 * lib/ignore-value.h: New file, from gnulib.
2460 * src/keyboard.c: Include it.
2461 (write_stdout, read_stdin): New functions.
2462 (handle_interrupt): Use them instead of printf and getchar,
2463 and avoid fflush when handling signals.
2464
24652016-01-04 Paul Eggert <eggert@cs.ucla.edu>
2466
2467 * doc/misc/texinfo.tex: Revert unwanted copyright change.
2468
24692016-01-03 Artur Malabarba <bruce.connor.am@gmail.com>
2470
2471 * lisp/align.el (align): Simplify a lambda
2472
2473 * lisp/align.el (align): Fix arg order in call to `align-region'
2474
24752016-01-03 Eli Zaretskii <eliz@gnu.org>
2476
2477 Fix compilation next-error in buffers with selective-display
2478
2479 * lisp/progmodes/compile.el (compilation-beginning-of-line): New
2480 function.
2481 (compilation-internal-error-properties)
2482 (compilation-next-error-function, compilation-set-window): Use
2483 it. (Bug#1092)
2484
24852016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2486
2487 * lisp/net/nsm.el (nsm-check-protocol): Fix typo in the message.
2488
24892016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2490
2491 Add SHA1 warnings for high network security settings
2492
2493 * lisp/net/nsm.el (nsm-check-protocol): When using high security, warn
2494 about SHA1 certificates, which are now believed to be open to
2495 spoofing.
2496
24972016-01-03 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
2498
2499 Refactor mml-smime.el, mml1991.el, mml2015.el
2500
2501 (Maybe this is the last merge from Gnus git to Emacs git)
2502
2503 Cf. discussion on ding mailing list, messages in
2504 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
2505 Common code from the three files mml-smime.el, mml1991.el, and
2506 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
2507 to gnus-util.el.
2508
2509 The code is supported by test cases with necessary test keys.
2510
2511 Documentation in message.texi is updated.
2512
2513 * doc/misc/message.texi (Security, Using S/MIME):
2514 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
2515 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
2516 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
2517
2518 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
2519 New functions.
2520
2521 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
2522 (epa--select-keys): Autoload.
2523 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
2524 (mml-secure-openpgp-signers): New user option;
2525 make mml1991-signers and mml2015-signers obsolete aliases to it.
2526 (mml-secure-smime-signers): New user option;
2527 make mml-smime-signers an obsolete alias to it.
2528 (mml-secure-openpgp-encrypt-to-self): New user option;
2529 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
2530 aliases to it.
2531 (mml-secure-smime-encrypt-to-self): New user option;
2532 make mml-smime-encrypt-to-self an obsolete alias to it.
2533 (mml-secure-openpgp-sign-with-sender): New user option;
2534 make mml2015-sign-with-sender an obsolete alias to it.
2535 (mml-secure-smime-sign-with-sender): New user option;
2536 make mml-smime-sign-with-sender an obsolete alias to it.
2537 (mml-secure-openpgp-always-trust): New user option;
2538 make mml2015-always-trust an obsolete alias to it.
2539 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
2540 New user options.
2541 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
2542 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
2543 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
2544 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
2545 (mml-secure-passphrase-callback, mml-secure-check-user-id)
2546 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
2547 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
2548 (mml-secure-fingerprint, mml-secure-filter-keys)
2549 (mml-secure-normalize-cust-name, mml-secure-select-keys)
2550 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
2551 (mml-secure-self-recipients, mml-secure-recipients)
2552 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
2553
2554 * lisp/gnus/mml-smime.el: Require epg;
2555 refactor declaration and autoloading of epg functions.
2556 (mml-smime-use): Doc fix.
2557 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
2558 Obsolete.
2559 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
2560 Use format instead of gnus-format-message.
2561 (mml-smime-epg-secret-key-id-list): Remove variable.
2562 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
2563 (mml-smime-epg-find-usable-secret-key): Remove functions.
2564 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
2565
2566 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
2567 (mml1991-passphrase-cache-expiry): Obsolete.
2568 (mml1991-epg-secret-key-id-list): Remove variable.
2569 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
2570 (mml1991-epg-find-usable-secret-key): Remove functions.
2571 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
2572
2573 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
2574 (mml2015-passphrase-cache-expiry): Obsolete.
2575 (mml2015-epg-secret-key-id-list): Remove variable.
2576 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
2577 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
2578 (mml2015-epg-find-usable-secret-key): Remove functions.
2579 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
2580 (mml2015-epg-encrypt): Refactor.
2581
25822016-01-02 Glenn Morris <rgm@gnu.org>
2583
2584 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
2585
2586 Explicitly ignore case. (Bug#22262)
2587
25882016-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
2589
2590 (semantic-symref-derive-find-filepatterns): Return a list
2591
2592 * lisp/cedet/semantic/symref/grep.el
2593 (semantic-symref-derive-find-filepatterns): Return a list.
2594 (semantic-symref-perform-search): Quote the result here once and for all.
2595
25962016-01-02 Eli Zaretskii <eliz@gnu.org>
2597
2598 Fix xref-find-references on MS-Windows
2599
2600 * lisp/cedet/semantic/symref/grep.el
2601 (semantic-symref-derive-find-filepatterns): Use
2602 'shell-quote-argument' instead of manually quoting in a way that
2603 only works with Posix shells. (Bug#22289)
2604
26052016-01-02 Eli Zaretskii <eliz@gnu.org>
2606
2607 Document new features of tildify-mode
2608
2609 * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
2610 (tildify-mode): Spelling fixes in doc strings.
2611
2612 * etc/NEWS: Reformat the tildify-mode entry.
2613
26142016-01-02 Eli Zaretskii <eliz@gnu.org>
2615
2616 Document new features of Whitespace mode
2617
2618 * doc/emacs/display.texi (Useless Whitespace): Document
2619 'whitespace-toggle-options' and the new 'big-indent' style.
2620 Document 'whitespace-big-indent-regexp'. Document the Global
2621 Whitespace mode.
2622
26232016-01-02 Eli Zaretskii <eliz@gnu.org>
2624
2625 Improve documentation of new Hide-IfDef features
2626
2627 * etc/NEWS: Expand and reword Hide-IfDef section.
2628
26292016-01-02 Leo Liu <sdl.web@gmail.com>
2630
2631 Fix regression in font-locking cl-assert and cl-check-type
2632
2633 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
2634 el-errs-re.
2635
26362016-01-01 Paul Eggert <eggert@cs.ucla.edu>
2637
2638 Spelling and grammar fixes
2639
26402016-01-01 Paul Eggert <eggert@cs.ucla.edu>
2641
2642 Fix copyright years by hand
2643
2644 These are dates that admin/update-copyright did not update, or
2645 updated incorrectly.
2646
26472016-01-01 Paul Eggert <eggert@cs.ucla.edu>
2648
2649 Update copyright year to 2016
2650
2651 Run admin/update-copyright.
2652
26532016-01-01 Paul Eggert <eggert@cs.ucla.edu>
2654
2655 Merge from gnulib
2656
2657 This mostly just updates copyright dates of gnulib files.
2658 It also updates to the latest version of texinfo.tex.
2659
26602015-12-31 Mark Oteiza <mvoteiza@udel.edu>
2661
2662 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
2663
26642015-12-31 Mark Oteiza <mvoteiza@udel.edu>
2665
2666 Port chart.el methods to cl-generic.
2667
2668 cl-call-next-method cannot be used inside EIEIO's defmethod.
2669 * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
2670 * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
2671 (chart-draw-title, chart-size-in-dir, chart-draw-axis):
2672 (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
2673 (chart-translate-namezone, chart-draw-data, chart-add-sequence):
2674 (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
2675
26762015-12-31 Brian Burns <bburns.km@gmail.com>
2677
2678 Add nt/INSTALL.W64 build instructions
2679
2680 * nt/INSTALL.W64: New file.
2681 * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
2682
26832015-12-31 Joakim Jalap <joakim.jalap@fastmail.com>
2684
2685 Add new input method 'programmer-dvorak'
2686
2687 * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
2688 input method.
2689
2690 * etc/NEWS: Mention it.
2691
26922015-12-31 Eli Zaretskii <eliz@gnu.org>
2693
2694 Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
2695
2696 * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
2697 original M-TAB binding in a buffer-local variable.
2698 (flyspell-auto-correct-word): Invoke the original binding of M-TAB
2699 if that is recorded, when point is in a place where flyspell
2700 should not be active (e.g., because the user turned on
2701 'flyspell-prog-mode'). (Bug#18533)
2702
27032015-12-31 Eli Zaretskii <eliz@gnu.org>
2704
2705 Fix EWW rendering of long RTL lines
2706
2707 * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
2708 of the selected window before filling its lines. (Bug#22250)
2709
27102015-12-31 Vincent Belaïche <vincentb1@users.sourceforge.net>
2711
2712 fix bug#21054
2713
2714 * lisp/ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
2715
27162015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2717
2718 Clean up cairo printing code
2719
2720 * src/gtkutil.c (xg_get_page_setup): Use listn.
2721 * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
2722 decode_window_system_frame and FRAME_VISIBLE_P.
2723 (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
2724 of Fdisplay.
2725 * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
2726 instead of Fdisplay. Temporarily unblock_input around QUIT.
2727
27282015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2729
2730 Move variables to inner loop, preparing for Mac port merge
2731
2732 * src/keyboard.c (command_loop_1): Move variables `cmd',
2733 `keybuf', and `i' to inner loop.
2734
27352015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2736
2737 Add handle_user_signal_hook
2738
2739 * src/keyboard.h (handle_user_signal_hook): New declaration.
2740 * src/keyboard.c (handle_user_signal_hook): New variable.
2741 (handle_user_signal): Call it.
2742
27432015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2744
2745 Avoid writing to purespace
2746
2747 * src/alloc.c (Fmake_string): Don't write to empty string contents.
2748 (allocate_vector): Don't write to empty vector size.
2749 * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
2750 Don't call unnecessary XSETCAR or XSETCDR.
2751 * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
2752 write to empty string size_byte.
2753
27542015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2755
2756 Remove unused variable
2757
2758 * lisp/international/mule-cmds.el: Remove unused variable
2759 `mac-system-coding-system'.
2760
27612015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2762
2763 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
2764
27652015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2766
2767 Use posix_openpt instead of openpty on Darwin
2768
2769 * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
2770 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
2771 Darwin-specific definitions. Use posix_openpt instead.
2772
27732015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
2774
2775 Document support for ':documentation' in Lisp mode
2776
2777 * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
2778 (lisp-string-after-doc-keyword-p)
2779 (lisp-font-lock-syntactic-face-function): Add doc strings.
2780
27812015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
2782
2783 Document new features of TeX mode
2784
2785 * doc/emacs/text.texi (TeX Print): Document
2786 'tex-print-file-extension'.
2787 * doc/emacs/programs.texi (Misc for Programs): Document support
2788 for Prettify Symbols mode in TeX mode.
2789
27902015-12-30 Eli Zaretskii <eliz@gnu.org>
2791
2792 Clarify docs of hscroll in RTL text
2793
2794 * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
2795 meaning of a window's horizontal scroll amount for RTL paragraphs.
2796
27972015-12-30 Eli Zaretskii <eliz@gnu.org>
2798
2799 Fix rendering of HTML pages that use character composition
2800
2801 * src/indent.c (Fvertical_motion): Fix the case when point starts
2802 in the middle of a composition, as in shr-vertical-motion.
2803 (Bug#22250)
2804
28052015-12-30 Eli Zaretskii <eliz@gnu.org>
2806
2807 Avoid some compiler warnings in w32.c
2808
2809 * src/w32.c (codepage_for_filenames, crlf_to_lf)
2810 (ansi_encode_filename, socket_to_fd, sys_write)
2811 (check_windows_init_file): Avoid compiler warnings about
2812 differences in pointer signedness.
2813
28142015-12-30 Dmitry Gutov <dgutov@yandex.ru>
2815
2816 Undo ill-advised change
2817
2818 * lisp/progmodes/xref.el (xref-collect-matches): Undo
2819 ill-advised change. The hits come in the order that `find'
2820 produces them in, which isn't alphabetical.
2821
28222015-12-30 Dmitry Gutov <dgutov@yandex.ru>
2823
2824 Unbreak completion in python-mode buffers
2825
2826 * lisp/progmodes/python.el (python-shell-completion-at-point):
2827 Unbreak in python-mode buffers.
2828
28292015-12-29 Eli Zaretskii <eliz@gnu.org>
2830
2831 Fix typos in CC Mode manual
2832
2833 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
2834 typos. (Bug#22267)
2835
28362015-12-29 Eli Zaretskii <eliz@gnu.org>
2837
2838 Avoid assertion violations in compact_font_cache_entry
2839
2840 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
2841 avoid assertion violation in ASIZE. (Bug#22263)
2842
28432015-12-29 Eli Zaretskii <eliz@gnu.org>
2844
2845 Fix filling text with bidirectional characters in shr.el
2846
2847 * lisp/net/shr.el (shr-insert-document): Bind
2848 bidi-display-reordering to nil while filling lines. This is
2849 required for when a line includes characters whose bidi
2850 directionality is opposite to the base paragraph direction,
2851 because columns are counted in the logical order. (Bug#22250)
2852
28532015-12-29 Martin Rudalics <rudalics@gmx.at>
2854
2855 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
2856
28572015-12-29 Michael Albinus <michael.albinus@gmx.de>
2858
2859 Sync with Tramp 2.2.13
2860
2861 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
2862
2863 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
2864 Use `tramp-compat-funcall'.
2865
2866 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
2867 Make `split-string' call compatible with older Emacsen.
2868
2869 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
2870
28712015-12-29 Lambda Coder <sjLambda@gmail.com>
2872
2873 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
2874
28752015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2876
2877 Mention that tls.el is secure by default, and will fail
2878
28792015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2880
2881 Make tls.el use trustfiles by default
2882
2883 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
2884 (open-tls-stream): Insert the trustfile by looking at
2885 `gnutls-trustfiles'.
2886
28872015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2888
2889 Refactor out gnutls-trustfiles
2890
2891 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
2892
28932015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
2894
2895 Remove --insecure from gnutls-cli invocation
2896
2897 * tls.el (tls-program): Default to using secure TLS
2898 connections (bug#19284).
2899
29002015-12-29 Paul Eggert <eggert@cs.ucla.edu>
2901
2902 Spelling fix
2903
29042015-12-29 Paul Eggert <eggert@cs.ucla.edu>
2905
2906 Port report-emacs-bug to deterministic builds
2907
2908 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
2909 recent "built on" change to deterministic builds where
2910 emacs-build-system will be nil. See:
2911 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
2912
29132015-12-29 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
2914
2915 Fix URL auth error message
2916
2917 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
2918 message more correct (bug#20069).
2919
29202015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
2921
2922 shr link traversal fixup
2923
2924 * shr.el (shr-next-link): Don't bug out on adjacent links.
2925
2926 Backport:
2927
2928 (cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)
2929
29302015-12-28 Tom Tromey <tom@tromey.com>
2931
2932 set :safe on css-indent-offset
2933
2934 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
2935
29362015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
2937
2938 * eww.el (eww-mode): Remove superfluous bidi reset.
2939
29402015-12-28 James Stout <james.wolf.stout@gmail.com> (tiny change)
2941
2942 Make chunked encoding trailer detection more compliant
2943
2944 * lisp/url/url-http.el
2945 (url-http-chunked-encoding-after-change-function): Make
2946 trailer detection more compliant (bug#16345).
2947
29482015-12-28 Martin Rudalics <rudalics@gmx.at>
2949
2950 Fix Bug#10873 in `report-emacs-bug'
2951
2952 * lisp/mail/emacsbug.el (report-emacs-bug): If
2953 `report-emacs-bug-no-explanations' is nil, make sure we can show
2954 mail and warnings buffer on this frame (Bug#10873).
2955
29562015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
2957
2958 Always reset the bidi direction
2959
2960 * eww.el (eww-display-html): Always reset the bidi direction
2961 to `left-to-right' (bug#22257).
2962
29632015-12-28 Alan Mackenzie <acm@muc.de>
2964
2965 Allow line comments ending with escaped NL to be continued to the next line.
2966
2967 Use this in C, C++, and Objective C Modes. Fixes bug#22246
2968
2969 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
2970 (forw-comment, back-comment): On encountering an end of comment character,
2971 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
2972
2973 * doc/lispref/syntax.texi (Control Parsing): Describe
2974 `comment-end-can-be-escaped'.
2975
2976 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
2977
2978 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
2979
29802015-12-28 Dmitry Gutov <dgutov@yandex.ru>
2981
2982 Rename project-library-roots to project-external-roots
2983
2984 * lisp/progmodes/project.el (project-library-roots): Rename to
2985 project-external-roots.
2986 (project-library-roots-function): Rename to
2987 project-vc-external-roots-function. Only use it in the VC
2988 backend, for now. Update project-external-roots accordingly.
2989 (project-vc-library-roots): Remove.
2990 (project-or-libraries-find-regexp):
2991 Rename to project-or-external-find-regexp.
2992
2993 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
2994 Rename to elisp-load-path-roots.
2995
2996 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
2997 an anonymous function for the default value of
2998 project-vc-external-roots-function.
2999
30002015-12-27 Deniz Dogan <deniz@dogan.se>
3001
3002 Clear erc user list upon disconnection
3003
3004 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
3005 lists upon disconnection. This prevents invalid channel
3006 user lists when reconnecting (bug#10947).
3007
30082015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3009
3010 Don't bug out in erc after waking from sleep
3011
3012 * lisp/erc/erc-backend.el (erc-server-send-ping): If the server has
3013 closed connection, this may already have been detected and
3014 `erc-server-last-received-time' has been set to nil (bug#13608).
3015
30162015-12-27 David Edmondson <dme@dme.org>
3017
3018 Proxy error in erc with multiple clients
3019
3020 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
3021 generated when multiple IRC clients talk to a single IRC proxy
3022 (bug#19034).
3023
3024 Backport:
3025
3026 (cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)
3027
30282015-12-27 Dima Kogan <dima@secretsauce.net>
3029
3030 Ensure that we don't have several timers in erc
3031
3032 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
3033 for existing timers in the alist before adding new ones. If a
3034 timer already exists, it is cancelled and
3035 overwritten. (bug#19292).
3036
30372015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
3038
3039 Fix mml-sec build warnings
3040
3041 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
3042 (bug#18718).
3043
3044 Backport:
3045
3046 (cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)
3047
30482015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3049
3050 Don't insert erc logs at the end
3051
3052 * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
3053 at the start of the buffer, not at the end (bug#20496).
3054
30552015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3056
3057 (eww-setup-buffer): Restore left-to-right defaults
3058
3059 * eww.el (eww-setup-buffer): Restore left-to-right defaults.
3060
3061 Backport:
3062
3063 (cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)
3064
30652015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3066
3067 Don't join erc channels doubly
3068
3069 * lisp/erc/erc-join.el (erc-autojoin-channels): Don't join channels
3070 more than once (if you have several nicks) (bug#20695).
3071
30722015-12-27 Eli Zaretskii <eliz@gnu.org>
3073
3074 Avoid leaving "ghost" of mouse pointer on MS-Windows
3075
3076 * src/w32term.c (frame_set_mouse_pixel_position):
3077 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
3078 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
3079 * src/w32term.c (frame_set_mouse_pixel_position): Include
3080 w32common.h.
3081
30822015-12-27 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
3083
3084 Fix auth source lookups from erc with port numbers
3085
3086 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
3087 numbers (bug#20541).
3088
30892015-12-27 Fran Litterio <flitterio@gmail.com>
3090
3091 Run erc-kill-channel-hook always on exit
3092
3093 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
3094 when erc-kill-queries-on-quit is set (bug#21187).
3095
30962015-12-27 Paul Eggert <eggert@cs.ucla.edu>
3097
3098 Spelling fix
3099
3100 * test/automated/url-parse-tests.el:
3101 (url-generic-parse-url/same-document-reference):
3102 Rename from url-generic-parse-url/same-decument-reference.
3103
31042015-12-27 Paul Eggert <eggert@cs.ucla.edu>
3105
3106 Reword initial *scratch* for brevity, appearance
3107
3108 * lisp/startup.el (initial-scratch-message):
3109 Reword to avoid apostrophes, and to make it shorter.
3110 See the thread starting in:
3111 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
3112
31132015-12-26 Leo Liu <sdl.web@gmail.com>
3114
3115 Add ert-deftest to lisp-mode.el
3116
3117 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression,
3118 lisp-el-font-lock-keywords-1): Add ert-deftest.
3119
31202015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
3121
3122 Mark imap changes as not needing doc changes
3123
3124 * lisp/net/imap.el (imap-ssl-open): Remove
3125
31262015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
3127
3128 Use built-in encryption in imap.el
3129
3130 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
3131 (imap-starttls-open): Use open-network-stream instead of starttls.el.
3132 (imap-tls-open): Use open-network-stream instead of tls.el.
3133
31342015-12-26 Eli Zaretskii <eliz@gnu.org>
3135
3136 Don't try using /bin/sh in artist.el on MS-Windows
3137
3138 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
3139 New function.
3140 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
3141 (Bug#20167)
3142
31432015-12-26 Wolfgang Jenkner <wjenkner@inode.at>
3144
3145 Always define gmalloc etc. in src/gmalloc.c
3146
3147 This is a work-around to prevent the compiler from using semantic
3148 knowledge about malloc for optimization purposes. E.g., gcc 5.2
3149 with -O2 replaces most of calloc's definition by a call to calloc;
3150 see Bug#22085.
3151 * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
3152 (aligned_alloc, free): Do not undef. Instead, define these as
3153 functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
3154
31552015-12-26 Eli Zaretskii <eliz@gnu.org>
3156
3157 Fix documentation of browse-url browser-related functions
3158
3159 * lisp/net/browse-url.el (browse-url)
3160 (browse-url-default-browser, browse-url-default-windows-browser)
3161 (browse-url-default-macosx-browser, browse-url-chromium)
3162 (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
3163 and NEW-WINDOW arguments in these functions. (Bug#19421)
3164
31652015-12-26 Paul Eggert <eggert@cs.ucla.edu>
3166
3167 Propagate Bug#14412 fix to backtrace_eval_unrewind
3168
3169 * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
3170 becomes accurate again. This shouldn’t affect behavior.
3171 (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
3172
31732015-12-26 Eli Zaretskii <eliz@gnu.org>
3174
3175 Don't produce non-ASCII characters in *scratch*
3176
3177 * lisp/startup.el (initial-scratch-message): Quote apostrophes to
3178 avoid producing non-ASCII characters in the *scratch* buffer's
3179 commentary.
3180
31812015-12-26 Eli Zaretskii <eliz@gnu.org>
3182
3183 Document changes in 'compare-windows'
3184
3185 * lisp/vc/compare-w.el (compare-windows-removed)
3186 (compare-windows-added): Doc fix.
3187
3188 * doc/emacs/files.texi (Comparing Files): Document the changes in
3189 window selection by 'compare-windows'.
3190
31912015-12-26 Eli Zaretskii <eliz@gnu.org>
3192
3193 Document 'vc-annotate-background-mode'
3194
3195 * doc/emacs/maintaining.texi (Old Revisions): Document
3196 'vc-annotate-background-mode'.
3197
31982015-12-26 Eli Zaretskii <eliz@gnu.org>
3199
3200 Document 'vc-region-history'
3201
3202 * doc/emacs/maintaining.texi (VC Change Log): Document
3203 'vc-region-history'.
3204
32052015-12-26 Eli Zaretskii <eliz@gnu.org>
3206
3207 Improve documentation of 'vc-push'
3208
3209 * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
3210 improve the documentation of 'vc-push'.
3211
3212 * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
3213
32142015-12-26 Alain Schneble <a.s@realize.ch>
3215
3216 Include the tests for the URL parsing fixes
3217
32182015-12-26 Alain Schneble <a.s@realize.ch>
3219
3220 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
3221
3222 * test/automated/url-parse-tests.el: Add tests covering url-generic-parse-url.
3223 * test/automated/url-expand-tests.el: Add tests covering url-expand-file-name.
3224 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
3225 information in URL-struct.
3226 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
3227 path and query into nil path and query, respectively.
3228 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
3229 empty path into an absolute ("/") path.
3230 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
3231 fragment-only URIs. Do not just return them unchanged.
3232 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
3233 reference URI should not drop the last segment.
3234
3235 Backport:
3236
3237 (cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)
3238
32392015-12-26 Eli Zaretskii <eliz@gnu.org>
3240
3241 Document 'url-user-agent'.
3242
3243 * lisp/url/url-http.el (url-user-agent): Move from here...
3244 * lisp/url/url-vars.el (url-user-agent): ...to here. This is to
3245 keep all the URL defcustoms in one place, and also have it defined
3246 whenever the URL library is loaded.
3247
3248 * doc/misc/url.texi (Customization): Document 'url-user-agent'.
3249
32502015-12-26 Eli Zaretskii <eliz@gnu.org>
3251
3252 Document protocols supported by URL library via Tramp
3253
3254 * doc/misc/url.texi (Tramp): New node, describes the URL schemes
3255 supported via Tramp.
3256 (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
3257 Tramp.
3258
32592015-12-26 Eli Zaretskii <eliz@gnu.org>
3260
3261 Document changes in Shell-script mode
3262
3263 * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
3264 the 'sh-shell' file-local variable.
3265 (top level): Add an auto-load form to avoid byte-compiler warning
3266 about 'comint-send-string'.
3267
32682015-12-26 Eli Zaretskii <eliz@gnu.org>
3269
3270 Fix documentation of 'ses-define-local-printer'
3271
3272 * doc/misc/ses.texi (Printer functions): Fix whitespace between
3273 sentences and punctuation. Add an index entry for
3274 'ses-define-local-printer'.
3275
32762015-12-26 Shakthi Kannan <shakthimaan@gmail.com>
3277
3278 Document 'ert-summarize-tests-batch-and-exit'
3279
3280 * doc/misc/ert.texi (Running Tests in Batch Mode): Document
3281 'ert-summarize-tests-batch-and-exit'.
3282
32832015-12-26 Eli Zaretskii <eliz@gnu.org>
3284
3285 Avoid assertion violation in unbind_to
3286
3287 * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
3288 if we get here with an object that is not a symbol. (Bug#14412)
3289
32902015-12-25 Andreas Schwab <schwab@linux-m68k.org>
3291
3292 Don't treat /foo/bar:mumble as ange-ftp address
3293
3294 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
3295 only in the first component. (bug#5362)
3296
32972015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3298
3299 Follow <meta> redirects in eww
3300
3301 Merge conflict, but I think I resolved it.
3302
3303 Follow meta refresh tags in eww
3304
3305 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
3306
3307 Backport:
3308
33092015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3310
3311 Allow http://user:pass@foo/ URLs again
3312
3313 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
3314 user/passwords in URLs (bug#19046).
3315
3316 Backport:
3317
3318 (cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)
3319
33202015-12-25 Samer Masterson <samer@samertm.com>
3321
3322 Autoload url-insert-buffer-contents
3323
3324 * lisp/url/url-handlers.el: Add autoload cookie so that
3325 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
3326
3327 Backport:
3328
3329 (cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)
3330
33312015-12-25 Eli Zaretskii <eliz@gnu.org>
3332
3333 Make sure *scratch* etc. use forward slashes in its default-directory
3334
3335 * lisp/startup.el (normal-top-level): On MS-Windows, convert
3336 backslashes to forward slashes while decoding default-directory
3337 of the initially-created buffers.
3338
33392015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3340
3341 More eww file name coding fixes
3342
3343 * eww.el (eww-decode-url-file-name): Use the base coding
3344 system to check for encodability.
3345
3346 Backport:
3347
3348 (cherry picked from commit a8627008abe4ab339df19b417776da28b3ce0fc7)
3349
33502015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3351
3352 Always save eww history
3353
3354 * eww.el (eww-setup-buffer): Always save history, even when
3355 called from outside the eww buffer (bug#19638).
3356
3357 Backport:
3358
3359 (cherry picked from commit 2a0f18d9b6ce0ccce3d9c4a4a3b5743bae71b41e)
3360
33612015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3362
3363 Default web pages to right-to-left
3364
3365 * eww.el (eww-mode): Most web pages are left-to-right, so make
3366 that the default (bug#19801).
3367
3368 * shr.el (shr-tag-html): Respect "dir" attributes
3369 (left-to-right, right-to-left).
3370
3371 Backport:
3372
3373 (cherry picked from commit 9e089ec8a380ec3758fcf1564c5f86dc92c68c2a)
3374
33752015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3376
3377 Make toggling checkboxes work again
3378
3379 * eww.el (eww-update-field): Make toggling checkboxes work
3380 again (bug#21881).
3381
3382 Backport:
3383
3384 (cherry picked from commit 5e56f606952e5e81b4d3a93ea70e791b74b33041)
3385
33862015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3387
3388 Don't store cookies with empty names
3389
3390 * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
3391 cookies with empty names (bug#21936).
3392
3393 Backport:
3394
3395 (cherry picked from commit 9f0fd7cb1aec3eb9e2e0f7b8854c30870286d96c)
3396
33972015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3398
3399 Stop rendering HTML before specdlr exhaustion
3400
3401 Fixes: 22117
3402
3403 * shr.el (shr-descend): Stop rendering before we run out of
3404 specpdl room (bug#22117).
3405
3406 Backport:
3407
3408 (cherry picked from commit 248da292fe46224b0b5a79b632c89cf4de2c2081)
3409
34102015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3411
3412 Use cl-reduce, not reduce.
3413
3414 Backport:
3415
3416 (cherry picked from commit fe4606f93b91ff3d046aee0cf21ecc277af7a786)
3417
34182015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3419
3420 Allow several <tbody> tags in shr
3421
3422 * shr.el (shr-table-body): New function to find the real body
3423 of a table.
3424 (shr-tag-table): Use it to render several <tbody> tags in a
3425 table (bug#22170).
3426
3427 Backport:
3428
3429 (cherry picked from commit cdaf33029d6620073833876d76056045ecfbc7c4)
3430
34312015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3432
3433 Make prettier unique file names in eww
3434
3435 (eww-make-unique-file-name): Make unique file names by making
3436 files like foo(2).jpg instead of foo(1)(2).jpg.
3437
3438 Backport:
3439
3440 (cherry picked from commit edfdd0a6cbdfa9e5e4bd0553e2b489401ca39266)
3441
34422015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3443
3444 Decode hex-encoded URLs before using them as file names
3445
3446 * eww.el (eww-decode-url-file-name): New function.
3447 (eww-download-callback): Use it to decode file names before
3448 saving them.
3449
3450 Backport:
3451
3452 (cherry picked from commit af22a010d87516c2a646572fb27512c03057784f)
3453
34542015-12-25 Ashish SHUKLA <ashish.is@lostca.se>
3455
3456 Add FreeBSD cert bundle
3457
3458 * doc/misc/emacs-gnutls.texi (Help For Users): Document
3459 FreeBSD bundle.
3460
3461 * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
3462
3463 Backport:
3464
3465 (cherry picked from commit 60c0f1a18ad88d6dc1a8f4ee5d9d18940eaeb6f7)
3466
34672015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3468
3469 Ignore invalid SVG images
3470
3471 * shr.el (shr-tag-svg): Ignore SVG images that have no width
3472 or height, because these can't be displayed by ImageMagick,
3473 anyway.
3474
3475 Backport:
3476
3477 (cherry picked from commit 821107d53c2e390240d25c036b99ebbf9b4a93b6)
3478
34792015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3480
3481 shr table rendering fix
3482
3483 * shr.el (shr-tag-table): Allow rendering body-less tables
3484 that have headers.
3485
3486 Backport:
3487
3488 (cherry picked from commit b05471e42c17e02c56c87d7599ada0c124a5fe09)
3489
34902015-12-25 Eli Zaretskii <eliz@gnu.org>
3491
3492 Restore info about the build host in bug reports
3493
3494 * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
3495 which Emacs was built. This is important information for
3496 investigating bug reports reported by users who don't build their
3497 Emacs.
3498
34992015-12-25 Eli Zaretskii <eliz@gnu.org>
3500
3501 Fix bootstrap broken by changes related to OS X file-name encoding
3502
3503 * lisp/international/ucs-normalize.el (eval-when-compile): Make
3504 sure char-code-property-alist includes elements that allow access
3505 to 'decomposition' and 'canonical-combining-class' Unicode
3506 properties, as compiling ucs-normalize.el requires that.
3507 * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
3508 only of charprop.el was already loaded.
3509
3510 * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
3511 New order-only dependency.
3512
35132015-12-25 Leo Liu <sdl.web@gmail.com>
3514
3515 * lisp/ido.el (ido-add-virtual-buffers-to-list): Use bookmark-get-filename.
3516
35172015-12-25 Michael Albinus <michael.albinus@gmx.de>
3518
3519 Make tramp-test29-vc-registered more robust
3520
3521 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
3522 Move `bzr' case down. Skip test when `vc-create-repo' fails.
3523 Remove instrumentation.
3524
35252015-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3526
3527 * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
3528
35292015-12-24 Katsumi Yamaoka <yamaoka@jpl.org>
3530
3531 Fix `gnus-union' so as to behave like `cl-union'
3532
3533 * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
3534 Make gnus-union use `equal' to compare items in lists.
3535
3536 * lisp/gnus/gnus-util.el (gnus-union):
3537 Make it behave like cl-union partially.
3538
35392015-12-23 Paul Eggert <eggert@cs.ucla.edu>
3540
3541 Fix dired.c typo with ptrdiff_t vs Lisp_Object
3542
3543 * src/dired.c (file_name_completion): Don't assume Lisp_Object is
3544 an integer type, fixing a problem introduced in the recent fix for
3545 Bug#22169.
3546
35472015-12-23 Eli Zaretskii <eliz@gnu.org>
3548
3549 Document default process sentinel more prominently
3550
3551 * doc/lispref/processes.texi (Asynchronous Processes): Mention the
3552 defaults for process filter and sentinel. Provide cross-references.
3553 (Process Information): Provide cross-references to where filters
3554 and sentinels are described.
3555 (Filter Functions): Add an index entry for "default filter".
3556 (Sentinels): Add a few status messages not documented previously.
3557 Resolve the "killed" confusion. Document and describe the default
3558 sentinel. (Bug#22220)
3559
35602015-12-23 Eli Zaretskii <eliz@gnu.org>
3561
3562 Fix file-name completion on OS X
3563
3564 * src/dired.c (file_name_completion): Reject false matches due to
3565 file-name-coding-systems that decompose characters when encoding
3566 file names, by comparing decoded file names as well. (Bug#22169)
3567 (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
3568
3569 * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
3570 non-nil 'decomposed-characters' property.
3571
35722015-12-23 Anders Lindgren <andlind@gmail.com>
3573
3574 File-name completion of non-ASCII characters on OS X (bug#22169)
3575
3576 The coding system `utf-8-nfd', locally defined in ns-win.el,
3577 didn't provide a :pre-write-conversion method, causing file name
3578 completion of non-ASCII characters to fail. Solved by using the
3579 `utf-8-hfs' coding system provided by `ucs-normalize'.
3580
3581 * lisp/loadup.el: Load international/ucs-normalize (when building
3582 for ns).
3583
3584 * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
3585 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs'
3586 as the file name coding system.
3587
3588 * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
3589
35902015-12-23 Tom Tromey <tom@tromey.com>
3591
3592 Fix bug #18588 by making bug-reference-bug-regexp more lenient
3593
3594 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
3595 "bug NNNN". (Bug #18588)
3596
35972015-12-23 Tom Tromey <tom@tromey.com>
3598
3599 add some cl-* aliases to lisp-mode imenu
3600
3601 * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
3602 cl-defgeneric, and cl-defmethod.
3603
36042015-12-22 Tom Tromey <tom@tromey.com>
3605
3606 Make a variable buffer-local
3607
3608 * lisp/generic-x.el (generic-rul-mode-setup-function): Make
3609 font-lock-syntax-table buffer-local. (Bug #21627)
3610
36112015-12-22 Eli Zaretskii <eliz@gnu.org>
3612
3613 Fix decoding of text in URLs retrieved by EWW
3614
3615 * lisp/net/eww.el (eww-render): Pass 'charset' to
3616 'eww-display-raw'. Use the value of 'last-coding-system-used', if
3617 non-nil, to set 'buffer-file-coding-system' of the buffer where we
3618 show the URL.
3619 (eww-display-html, eww-display-raw): Decode the text correctly,
3620 using the charset found in the headers, and defaulting to UTF-8.
3621 If the user told us to use a specific encoding, override the
3622 charset from the headers. (Bug#22222)
3623
36242015-12-22 Alan Mackenzie <acm@muc.de>
3625
3626 Fix a coding error in c-forward-<>-arglist-recur. Fixes bug#22156
3627
3628 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
3629 variable `tmp'.
3630 After a failed search for a matching ">", restore point before continuing.
3631
36322015-12-22 Michael Albinus <michael.albinus@gmx.de>
3633
3634 Instrument Tramp tests
3635
3636 * test/automated/tramp-tests.el (tramp-test29-vc-registered)
3637 (tramp--test-utf8): Instrument tests.
3638
36392015-12-22 Martin Rudalics <rudalics@gmx.at>
3640
3641 Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
3642
3643 * lisp/simple.el (display-message-or-buffer): Call
3644 `display-buffer' with ACTION instead of NOT-THIS-WINDOW
3645 (Bug#22221).
3646
36472015-12-22 Juri Linkov <juri@linkov.net>
3648
3649 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
3650
3651 (save-places-to-alist, save-place-dired-hook):
3652 Check for dired-subdir-alist. (Bug#19851)
3653
36542015-12-21 Paul Eggert <eggert@cs.ucla.edu>
3655
3656 Add FIXME comment re stack overflow and modules
3657
36582015-12-21 Paul Eggert <eggert@cs.ucla.edu>
3659
3660 Revert some recent emacs-module commentary
3661
3662 Most of the recently-added commentary was incorrect, due to the
3663 possibility of stack overflow.
3664
36652015-12-21 Paul Eggert <eggert@cs.ucla.edu>
3666
3667 Spelling fix: prefer "cooperate" to "co-operate"
3668
36692015-12-21 Paul Eggert <eggert@cs.ucla.edu>
3670
3671 Port undo fixes to -fno-common
3672
3673 Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
3674 * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
3675 (buffer_before_last_command_or_undo):
3676 Declare in keyboard.h, and define in keyboard.c,
3677 instead of assuming the traditional Unix relaxed ref-def linkage.
3678
36792015-12-20 Philipp Stephani <phst@google.com>
3680
3681 Improve commentary for emacs-module.c
3682
3683 * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
3684 * src/emacs-module.c (module_non_local_exit_get): Document that we
3685 cannot use the current implementation.
3686 (module_is_not_nil, module_eq): Document assumptions about EQ and
3687 NILP.
3688
36892015-12-20 Michael Albinus <michael.albinus@gmx.de>
3690
3691 Suppress test on Mac OS X
3692
3693 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
3694 (tramp--test-utf8): Use it.
3695
36962015-12-20 Alan Mackenzie <acm@muc.de>
3697
3698 Merge branch 'scratch/follow' into emacs-25
3699
3700 This allows Isearch, etc., to work well when Follow Mode is active.
3701
37022015-12-19 Michael Albinus <michael.albinus@gmx.de>
3703
3704 * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option): Improve check.
3705
37062015-12-19 Eli Zaretskii <eliz@gnu.org>
3707
3708 Fix last commit
3709
3710 * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
3711 with numeric argument.
3712
37132015-12-19 Eli Zaretskii <eliz@gnu.org>
3714
3715 Document new features of Rmail
3716
3717 * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
3718 Document new behavior of 'd' and 'C-d' with numeric argument.
3719 (Rmail Display): Document the rendering of HTML MIME parts.
3720
37212015-12-19 Eli Zaretskii <eliz@gnu.org>
3722
3723 Improve documentation of new cl-lib functions
3724
3725 * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
3726 Fix wording.
3727
37282015-12-19 Eli Zaretskii <eliz@gnu.org>
3729
3730 Document the new feature of 'minibuffer-with-setup-hook'
3731
3732 * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
3733 added to `minibuffer-setup-hook'.
3734
37352015-12-19 Eli Zaretskii <eliz@gnu.org>
3736
3737 Document new features of Font Lock
3738
3739 * doc/lispref/modes.texi (Other Font Lock Variables): Document
3740 'font-lock-flush-function' and 'font-lock-ensure-function'.
3741 (Font Lock Basics): Document the basic fontification functions
3742 referenced in "Other Font Lock Variables".
3743
3744 * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
3745
37462015-12-19 Eli Zaretskii <eliz@gnu.org>
3747
3748 Document new features of Rectangle mode
3749
3750 * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
3751 rectangle-mark-mode.
3752
37532015-12-19 Eli Zaretskii <eliz@gnu.org>
3754
3755 Manual followup to last change
3756
3757 * doc/lispref/display.texi (Displaying Messages): Sync with the
3758 doc string. (Bug#22210)
3759
37602015-12-19 Eli Zaretskii <eliz@gnu.org>
3761
3762 Clarify doc string of 'display-message-or-buffer'
3763
3764 * lisp/simple.el (display-message-or-buffer): Doc fix. Suggested
3765 by Sebastian Wiesner <swiesner@lunaryorn.com>. (Bug#22210)
3766
37672015-12-19 Eli Zaretskii <eliz@gnu.org>
3768
3769 * doc/emacs/emacs.texi (Top): Update top-level menus.
3770
3771 * doc/lispref/elisp.texi (Top): Update top-level menus.
3772
37732015-12-19 Eli Zaretskii <eliz@gnu.org>
3774
3775 Document how to avoid file-local variables that aren't
3776
3777 * doc/emacs/custom.texi (Specifying File Variables): Describe how
3778 to prevent Emacs from interpreting unrelated text as file-local
3779 variables. (Bug#22166)
3780
37812015-12-19 Dave Thomas <dave@pragprog.org> (tiny change)
3782
3783 Fix a typo in eterm-color's termcap entry
3784
3785 * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
3786 entry. (Bug#22184)
3787
37882015-12-19 Eli Zaretskii <eliz@gnu.org>
3789
3790 Allow 'browse-url-emacs' visit non-existent URLs
3791
3792 * lisp/url/url-handlers.el (url-insert-file-contents): Don't
3793 signal an error if VISIT is non-nil, to more faithfully emulate
3794 the behavior of 'insert-file-contents'. (Bug#22160)
3795
37962015-12-19 Paul Eggert <eggert@cs.ucla.edu>
3797
3798 Remove SunOS 4.x cruft
3799
3800 Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
3801 * lib-src/pop.c [sun]: Remove no-longer-needed include.
3802 * lwlib/xlwmenu.c (SUNSO41): Remove.
3803
38042015-12-19 Paul Eggert <eggert@cs.ucla.edu>
3805
3806 Merge from gnulib
3807
3808 This mostly commentary fixes.
3809 * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
3810 * lib/gnulib.mk: Regenerate with new gnulib-tool.
3811
38122015-12-18 Michael Albinus <michael.albinus@gmx.de>
3813
3814 Minor fixes in Tramp
3815
3816 * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3817 Reorder ls arguments.
3818
3819 * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
3820
38212015-12-18 Michael Albinus <michael.albinus@gmx.de>
3822
3823 Make tramp a built-in package
3824
3825 * lisp/finder.el (finder-compile-keywords): Update
3826 `package--builtins' also when Version: keyword is available.
3827
3828 * lisp/net/trampver.el: Add Version: keyword.
3829 (tramp-version): Change it to "2.2.13.25.1", in order to be
3830 compatible with `version-to-list'.
3831
38322015-12-18 Lele Gaifax <lele@metapensiero.it>
3833
3834 * etc/tutorials/TUTORIAL.it: Update and fix typos.
3835
38362015-12-18 Alan Mackenzie <acm@muc.de>
3837
3838 Rename `recenter-group' to `recenter-window-group'
3839
3840 * doc/lispref/windows.texi (Textual Scrolling)
3841 * lisp/window.el (top level, recenter-group)
3842 * lisp/follow.el (follow-mode)
3843 * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
3844 `recenter-window-group' and `recenter-group-function' to
3845 `recenter-window-group-function'.
3846
38472015-12-18 Eli Zaretskii <eliz@gnu.org>
3848
3849 Fix vertical-motion in tabulated-list mode
3850
3851 * src/indent.c (Fvertical_motion): When moving from line beginning
3852 to point under line truncation, assume overshoot by one line only
3853 if point actually lies beyond the window's right margin.
3854 (Bug#22194)
3855
38562015-12-18 Martin Rudalics <rudalics@gmx.at>
3857
3858 Don't have help functions call x-display-pixel-width/-height on ttys
3859
3860 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
3861 Don't call x-display-pixel-width/-height on ttys.
3862
38632015-12-18 Dmitry Gutov <dgutov@yandex.ru>
3864
3865 Use 'hg id' in vc-hg-previous-revision
3866
3867 * lisp/vc/vc-hg.el (vc-hg-previous-revision):
3868 Use 'hg id' to retrieve it (bug#22032).
3869
38702015-12-17 Alan Mackenzie <acm@muc.de>
3871
3872 * lisp/follow.el (follow-sit-for): Remove (it's redundant).
3873
38742015-12-17 Eli Zaretskii <eliz@gnu.org>
3875
3876 Fix a typo in the Emacs manual
3877
3878 * doc/emacs/trouble.texi (Sending Patches): Fix a typo. Reported
3879 by Lele Gaifax <lele@metapensiero.it>. (Bug#22193)
3880
38812015-12-17 Eli Zaretskii <eliz@gnu.org>
3882
3883 Fix parsing netrc entries with ports
3884
3885 * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
3886 make a list out of 't'. (Bug#22188)
3887
3888 * test/automated/auth-source-tests.el
3889 (auth-source-test-netrc-parse-entry): New test.
3890
38912015-12-17 Paul Eggert <eggert@cs.ucla.edu>
3892
3893 Fix typo in Doug Lea malloc configure log
3894
3895 * configure.ac (emacs_cv_var_doug_lea_malloc):
3896 Fix typo that confused the log output of 'configure'.
3897
38982015-12-16 Nicolas Petton <nicolas@petton.fr>
3899
3900 * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
3901
39022015-12-16 Alan Mackenzie <acm@muc.de>
3903
3904 * etc/NEWS: Move entry on pcase to correct section
3905
3906 (Accidentally omitted from previous commit)
3907
39082015-12-16 Alan Mackenzie <acm@muc.de>
3909
3910 Add documentation for changes to Show Paren mode.
3911
3912 * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
3913
3914 * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
3915 options, including the new show-paren-when-point-inside-paren and
3916 show-paren-when-point-in-periphery.
3917
3918 * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
3919 Move an entry on pcase to the Lisp Changes section.
3920
39212015-12-16 Eli Zaretskii <eliz@gnu.org>
3922
3923 Document Eldoc changes
3924
3925 * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
3926
39272015-12-16 Eli Zaretskii <eliz@gnu.org>
3928
3929 Fix invocation of Python and Guile interpreters from gdb-mi
3930
3931 * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
3932 commands for interactive Python and Guile interpreters.
3933 (gdb-send): Recognize various ways of exiting from Python and
3934 Guile interpreters and returning to GDB. For details, see
3935 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
3936 and http://stackoverflow.com/questions/31514741.
3937
39382015-12-16 Paul Eggert <eggert@cs.ucla.edu>
3939
3940 Remove attempt to use C11 threads
3941
3942 C11 threads are not needed for Emacs now, and their use is causing
3943 hassles on FreeBSD 10.x. Problem reported by Ashish SHUKLA in:
3944 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
3945 * configure.ac: Do not check for C11 threads. Remove unnecessary
3946 fiddling with CPPFLAGS when configuring pthreads.
3947 * src/emacs-module.c (main_thread, check_main_thread)
3948 (module_init): Do not worry about C11 threads.
3949
39502015-12-15 Michael Albinus <michael.albinus@gmx.de>
3951
3952 Set utf8 encoding with stty in Tramp
3953
3954 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3955 Move up uname check. Handle Mac OS X eol encoding. Set utf8
3956 encoding with stty.
3957
39582015-12-15 Alan Mackenzie <acm@muc.de>
3959
3960 Tidy up documentation associated with window groups.
3961
3962 * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
3963 Groups". Correct example function to `window-group-start'.
3964 (Window Start and End, Textual scrolling): Point to the new anchor. State
3965 that (most of) the args in window group functions have the same meaning as for
3966 the corresponding window primitives.
3967
3968 * doc/lispref/positions.texi (Screen Lines). Same as above.
3969
39702015-12-15 Michael Albinus <michael.albinus@gmx.de>
3971
3972 Complete last commit
3973
3974 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3975 Move uname check up. Handle Mac OS X eol encoding.
3976
39772015-12-15 Michael Albinus <michael.albinus@gmx.de>
3978
3979 Handle Mac OS X eol encoding in Tramp
3980
3981 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3982 Handle Mac OS X eol encoding.
3983
39842015-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3985
3986 Fix variable name typo in compute_tip_xy
3987
3988 * src/w32fns.c (compute_tip_xy):
3989 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
3990 when `right' is integer.
3991
39922015-12-14 foudfou <foudil.newbie+git@gmail.com>
3993
3994 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
3995
39962015-12-14 Tassilo Horn <tsdh@gnu.org>
3997
3998 Revert "Fix rx matcher overflow without limiting"
3999
4000 This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
4001
40022015-12-14 Alan Mackenzie <acm@muc.de>
4003
4004 Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
4005
4006 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
4007 isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
4008
40092015-12-14 Tassilo Horn <tsdh@gnu.org>
4010
4011 Fix rx matcher overflow without limiting
4012
4013 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
4014 change to the regexp without imposing a limit on the length of the
4015 options.
4016
40172015-12-14 Alan Mackenzie <acm@muc.de>
4018
4019 Enhance ispell-skip-region-alist by generating part of it at runtime.
4020
4021 * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
4022 (ispell--make-filename-or-URL-re): New functions which generate a regexp.
4023 (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
4024 (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
4025 Include the result of ispell--make-filename-or-URL-re in regexps.
4026
40272015-12-14 Glenn Morris <rgm@gnu.org>
4028
4029 * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
4030
40312015-12-14 Alan Mackenzie <acm@muc.de>
4032
4033 Replace GROUP argument in six window primitives by new functions.
4034
4035 * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
4036 * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
4037 from description of six window functions. Add in description of new functions
4038 window-group-start, window-group-end, set-window-group-start,
4039 pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
4040 together with the six variables indirecting to the pertinent group
4041 functions.
4042
4043 * src/window.c
4044 * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
4045 applies to these two files, which added the GROUP argument to six window
4046 primitives.
4047
4048 * lisp/follow.el (follow-mode): Use updated variable names for the indirected
4049 functions.
4050
4051 * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
4052 (isearch-back-into-window, isearch-lazy-highlight-new-loop)
4053 (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
4054 to window primitives (e.g. window-start) with a GROUP argument by calls to
4055 new functions (e.g. window-group-start).
4056
4057 * lisp/ispell.el (ispell-command-loop): Replace call to
4058 pos-visible-in-window-p with pos-visible-in-window-group-p.
4059
4060 * lisp/window.el (window-group-start, window-group-end)
4061 (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
4062 (selected-window-group, move-to-window-group-line): New functions.
4063 (window-group-start-function, window-group-end-function)
4064 (set-window-group-start-function, recenter-group-function)
4065 (pos-visible-in-window-group-p-function, selected-window-group-function)
4066 (move-to-window-group-line-function): New variables.
4067
40682015-12-14 Vitorio Miguel <vdrbandeiras@gmail.com> (tiny change)
4069
4070 * etc/tutorials/TUTORIAL.pt_BR: Fix a typo. (Bug#22165)
4071
40722015-12-13 Eli Zaretskii <eliz@gnu.org>
4073
4074 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
4075
40762015-12-13 Tassilo Horn <tsdh@gnu.org>
4077
4078 Improve regex to not trigger stack overflow
4079
4080 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
4081 order not to trigger a stack overflow in regex matcher with unbalanced
4082 brackets (bug#22146).
4083
40842015-12-13 Eli Zaretskii <eliz@gnu.org>
4085
4086 Fix visiting files with raw-text
4087
4088 * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
4089 when some stuff was actually read. (Bug#22162)
4090
40912015-12-13 Tassilo Horn <tsdh@gnu.org>
4092
4093 Fix regex matching keyval labels
4094
4095 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
4096 matching keyval labels.
4097
40982015-12-13 Michael Albinus <michael.albinus@gmx.de>
4099
4100 * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
4101
4102 ... in case of Tramp. (Bug#20821)
4103
41042015-12-13 Paul Eggert <eggert@cs.ucla.edu>
4105
4106 Fix performance regression with gcc -O0
4107
4108 This fixes the smaller performance hit that I noted in:
4109 https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
4110 * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
4111 * src/puresize.h (puresize_h_PURE_P)
4112 (puresize_h_CHECK_IMPURE):
4113 New macros, with the old contents of the functions.
4114 * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
4115 * src/puresize.h (PURE_P, CHECK_IMPURE):
4116 Use the new macros. Also macros, if DEFINE_KEY_OPS_AS_MACROS.
4117 * src/conf_post.h (ATTRIBUTE_UNUSED):
4118 * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
4119
41202015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
4121
4122 * lisp/emacs-lisp/package.el (package-unpack): Security check
4123
4124 Check that we received the package we were offered.
4125
41262015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
4127
4128 * lisp/emacs-lisp/package.el (package--compile): Don't activate
4129
4130 `package-unpack' takes care of all activations now (other than
4131 `package-initialize). `package--compile' now only compiles.
4132
41332015-12-12 Eli Zaretskii <eliz@gnu.org>
4134
4135 Document the new bindings of <UP> and <DOWN> in the minibuffer
4136
4137 * doc/emacs/mini.texi (Minibuffer History): Describe the new
4138 bindings of <UP> and <DOWN> in the minibuffer.
4139
41402015-12-12 Eli Zaretskii <eliz@gnu.org>
4141
4142 Document new features of Ido
4143
4144 * doc/misc/ido.texi (Misc): Document 'C-S-b'.
4145
41462015-12-12 Martin Rudalics <rudalics@gmx.at>
4147
4148 Fix frame height calculations with added menu bar on Windows (Bug#22105)
4149
4150 * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
4151 when simultaneously specifying multiple parameters for
4152 `modify-frame-parameters' that all may change the frame's size.
4153 * src/w32fns.c (x_set_menu_bar_lines): Don't set
4154 windows_or_buffers_changed here.
4155 (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
4156 with third argument false.
4157 * src/w32menu.c (set_frame_menubar): Set
4158 windows_or_buffers_changed here.
4159 * src/w32term.c (x_set_window_size): Determine third argument of
4160 AdjustWindowRect from whether the frame has a menu bar and not
4161 from whether it wants one.
4162
41632015-12-12 Eli Zaretskii <eliz@gnu.org>
4164
4165 Document the change in interactive shell mode
4166
4167 * doc/emacs/misc.texi (Interactive Shell): Document that the
4168 '*shell*' buffer by default displays in a new window.
4169
41702015-12-12 Eli Zaretskii <eliz@gnu.org>
4171
4172 Document new features of package.el
4173
4174 * doc/emacs/package.texi (Package Menu): Document the 'external'
4175 status and the new menu commands.
4176 (Package Installation): Document archive priorities.
4177
4178 * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
4179 (package-menu-hide-low-priority): Doc fix.
4180
41812015-12-12 Eli Zaretskii <eliz@gnu.org>
4182
4183 Update and document new features of xterm support
4184
4185 * doc/emacs/frames.texi (Text-Only Mouse): Document that
4186 track-mouse is supported by newer xterm versions.
4187
41882015-12-12 Eli Zaretskii <eliz@gnu.org>
4189
4190 Document new features of Prettify Mode
4191
4192 * doc/emacs/programs.texi (Misc for Programs): Document
4193 'prettify-symbols-compose-predicate' and
4194 'prettify-symbols-unprettify-at-point'.
4195
4196 * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
4197 (prettify-symbols-default-compose-p)
4198 (prettify-symbols-compose-predicate)
4199 (prettify-symbols--compose-symbol): Doc fixes.
4200
42012015-12-12 Eli Zaretskii <eliz@gnu.org>
4202
4203 Document multi-mode indentation facilities
4204
4205 * doc/lispref/text.texi (Mode-Specific Indent): Document
4206 'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
4207
4208 * lisp/progmodes/prog-mode.el (prog-indentation-context)
4209 (prog-widen): Doc fixes.
4210
42112015-12-12 Eli Zaretskii <eliz@gnu.org>
4212
4213 Document 'vc-refresh-state'
4214
4215 * doc/emacs/maintaining.texi (Version Control): Document
4216 'vc-refresh-state'.
4217
4218 * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
4219
42202015-12-12 Eli Zaretskii <eliz@gnu.org>
4221
4222 Fix echo for "C-u"
4223
4224 * src/keyboard.c (command_loop_1): Undo last change. It caused
4225 duplicate echo of C-u. (Bug#22107)
4226
42272015-12-11 Eli Zaretskii <eliz@gnu.org>
4228
4229 Avoid errors when creating files under SVN in new directory
4230
4231 * lisp/vc/vc-svn.el (vc-svn-registered): Use
4232 file-accessible-directory-p, to avoid cd'ing to a non-existing
4233 directory, which signals an error on some systems. (Bug#21984)
4234 (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
4235 Use declare-function to avoid byte-compiler warnings.
4236
42372015-12-11 Eli Zaretskii <eliz@gnu.org>
4238
4239 Improve Lua support in etags
4240
4241 * lib-src/etags.c (Lua_functions): Skip spaces before looking for
4242 "function".
4243
4244 * etc/NEWS: Mention improved Lua support by 'etags'.
4245
4246 * test/etags/lua-src/test.lua (test): Add tests for indented
4247 function definitions.
4248 * test/etags/ETAGS.good_1:
4249 * test/etags/ETAGS.good_2:
4250 * test/etags/ETAGS.good_3:
4251 * test/etags/ETAGS.good_4:
4252 * test/etags/ETAGS.good_5:
4253 * test/etags/ETAGS.good_6:
4254 * test/etags/CTAGS.good: Adapt to the modified Lua tests.
4255
42562015-12-11 Eli Zaretskii <eliz@gnu.org>
4257
4258 Fix 'this-command-keys' wrt prefix argument
4259
4260 * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
4261 was part of this-command-keys, but not of this-single-command-keys.
4262 (Bug#22107)
4263
4264 * lisp/simple.el (internal-echo-keystrokes-prefix): Add
4265 commentary about the function's return value.
4266
42672015-12-11 Eli Zaretskii <eliz@gnu.org>
4268
4269 * lisp/files.el (load-library): Doc fix. (Bug#22140)
4270
42712015-12-11 Eli Zaretskii <eliz@gnu.org>
4272
4273 Improve and document Ruby support in 'etags'
4274
4275 * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
4276 (Ruby_functions): Support "module" and overloaded operators.
4277 (Ruby_help): Mention "module".
4278
4279 * test/etags/ruby-src/test.rb:
4280 * test/etags/ruby-src/test1.ruby: New files.
4281 * test/etags/Makefile (RBSRC): New tests.
4282 (SRCS): Add ${RBSRC}.
4283 * test/etags/ETAGS.good_1:
4284 * test/etags/ETAGS.good_2:
4285 * test/etags/ETAGS.good_3:
4286 * test/etags/ETAGS.good_4:
4287 * test/etags/ETAGS.good_5:
4288 * test/etags/ETAGS.good_6:
4289 * test/etags/CTAGS.good: Adapt to the new Ruby tests.
4290
4291 * doc/man/etags.1: Mention Ruby support.
4292 * etc/NEWS: Mention Ruby support.
4293
42942015-12-11 Xi Lu <lx@shellcodes.org>
4295
4296 Initial support for Ruby in 'etags'
4297
4298 * lib-src/etags.c <Ruby_suffixes>: New variable.
4299 (lang_names): Add an entry for Ruby.
4300 (Ruby_functions): New function. (Bug#22116)
4301
43022015-12-11 Eli Zaretskii <eliz@gnu.org>
4303
4304 Clarify documentation of 'modify-frame-parameters'
4305
4306 * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
4307 PARMs" mean for 'modify-frame-parameters'.
4308
4309 * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
4310 PARMs" mean for this function. (Bug#22104)
4311
43122015-12-11 Eli Zaretskii <eliz@gnu.org>
4313
4314 Fix setting buffer unibyte when reading from a device
4315
4316 * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
4317 to make a (possibly non-empty) buffer unibyte. (Bug#22096)
4318
43192015-12-11 Eli Zaretskii <eliz@gnu.org>
4320
4321 Clarify documentation of 'values'
4322
4323 * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
4324 updated by any evaluation commands in 'lisp-interaction-mode'.
4325 (Bug#22056)
4326
43272015-12-11 Anders Lindgren <andlind@gmail.com>
4328
4329 Fixed subversion vc error when opening file in new directory (bug#21984).
4330
4331 * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
4332
43332015-12-09 Eli Zaretskii <eliz@gnu.org>
4334
4335 Yet another fix for when point ends up in invisible text
4336
4337 * src/xdisp.c (redisplay_window): When someone forced
4338 window-start, and honoring that failed to show the cursor, try
4339 moving out of invisible text, before falling back to the middle of
4340 the window. (Bug#22098)
4341
43422015-12-09 Michael Albinus <michael.albinus@gmx.de>
4343
4344 Fix error in Tramp perl script for cygwin
4345
4346 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
4347 error if file doesn't exist.
4348
43492015-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4350
4351 Remove font workaround for limited outdated versions
4352
4353 * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
4354 workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
4355
43562015-12-09 Anders Lindgren <andlind@gmail.com>
4357
4358 Don't add "." to load path (bug#21104)
4359
4360 When configured with --enable-locallisppath=no, which is the
4361 default for OS X, the load-path incorrectly was populated with ".".
4362
4363 * src/lread.c (init_lread): Don't call `decode_env_path' when
4364 PATH_SITELOADSEARCH is empty.
4365
43662015-12-08 Artur Malabarba <bruce.connor.am@gmail.com>
4367
4368 * lisp/emacs-lisp/package.el (package--with-response-buffer):
4369
4370 Search for the blank-line in the right buffer.
4371
43722015-12-08 Glenn Morris <rgm@gnu.org>
4373
4374 * test/automated/simple-test.el (undo-auto-boundary-timer): Update
4375 for recent change.
4376
43772015-12-08 Glenn Morris <rgm@gnu.org>
4378
4379 Fix some display-warning usage.
4380
4381 * lisp/files.el (hack-local-variables, hack-dir-local-variables):
4382 * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4383 * lisp/calendar/holidays.el (calendar-holiday-list):
4384 * lisp/mail/rmailout.el (rmail-output-read-file-name):
4385 Fix display-warning usage.
4386
43872015-12-08 Glenn Morris <rgm@gnu.org>
4388
4389 * lisp/calendar/cal-html.el: Require diary-lib.
4390
4391 (cal-html-list-diary-entries): Handle no diary. (Bug#21994)
4392
43932015-12-08 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4394
4395 Add Obsolete-since header to eudcb-ph.el
4396
4397 * lisp/obsolete/eudcb-ph.el: Add Obsolete-since header.
4398
43992015-12-07 Paul Eggert <eggert@cs.ucla.edu>
4400
4401 Spelling fixes
4402
4403 * doc/misc/calc.texi (Predefined Units): Use the bland modern
4404 scientific style for spelling the units “ampere” and
4405 “angstrom” rather than the older style “Ampere” and
4406 “Ångstrom”. The latter spelling was wrong anyway (it should
4407 have been “Ångström”).
4408 * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
4409 Fix misspelling of ‘atom’ in code.
4410
44112015-12-07 Eli Zaretskii <eliz@gnu.org>
4412
4413 Improve documentation of kill commands
4414
4415 * lisp/simple.el (region-extract-function, delete-backward-char)
4416 (delete-forward-char, kill-region, copy-region-as-kill)
4417 (kill-ring-save): Better document the optional argument REGION in
4418 the doc strings. Mention in the doc strings that text put in the
4419 kill-ring can be filtered by 'filter-buffer-substring'.
4420
4421 * doc/lispref/text.texi (Kill Functions): Mention that functions
4422 described in this subsection can filter text they put in the
4423 kill-ring. Add a cross-reference to "Buffer Contents" and an
4424 index entry. Document the optional argument 'region' and its
4425 effect.
4426 (Bug#21315)
4427
44282015-12-07 Alan Mackenzie <acm@muc.de>
4429
4430 Further progress making Isearch, Ispell, Replace work with Follow Mode.
4431
4432 * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
4433 no longer exists. Add follow-post-command-hook to three special purpose
4434 hooks at setup, and remove them at tear down.
4435
4436 * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
4437 isearch-lazy-highlight-new-loop.
4438 (isearch-lazy-highlight-new-loop): Restore this function to what it previously
4439 was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
4440 it.
4441 (isearch-lazy-highlight-maybe-new-loop): function removed.
4442
4443 * lisp/replace.el: (replace-update-post-hook): New hook variable.
4444 (perform-replace): Add second (nil) argument to looking-back. Invoke
4445 replace-update-post-hook before calling replace-highlight.
4446
4447 * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
4448 (ispell-command-loop): invoke ispell-update-post-hook. Add GROUP argument to
4449 call of pos-visible-in-window-p.
4450 (ispell-display-buffer): Place *Choices* window at the top of the last window
4451 in a window group.
4452
44532015-12-07 Alan Mackenzie <acm@muc.de>
4454
4455 Amend doc of `mapconcat': it can take sequences, not merely strings.
4456
4457 * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
4458 to say that SEPARATOR and the results from FUNCTION may be any character
4459 sequences, not just strings. Add an @xref to "Sequences Arrays Vectors".
4460
44612015-12-07 Michael Albinus <michael.albinus@gmx.de>
4462
4463 Fix an utf8 problem for Tramp on BSD
4464
4465 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4466 Make lax check for utf8.
4467 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
4468
44692015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org>
4470
4471 Make eudcb-ph.el obsolete
4472
4473 * doc/misc/eudc.texi: Bump version to 1.40.0.
4474 Remove PH/QI sections and mentions.
4475 * lisp/obsolete/eudcb-ph.el: Make obsolete.
4476 * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
4477 (eudc-ph-bbdb-conversion-alist): Make obsolete.
4478 * etc/NEWS: Mention this. (Bug#21191)
4479
44802015-12-07 Paul Eggert <eggert@cs.ucla.edu>
4481
4482 Remove overenthusiastic eassert
4483
4484 * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
4485 previous change. It breaks on MS-Windows --with-wide-int.
4486 Problem reported by Eli Zaretskii in:
4487 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
4488
44892015-12-06 Paul Eggert <eggert@cs.ucla.edu>
4490
4491 Pacify gcc -Wparentheses
4492
4493 * src/xdisp.c (row_containing_pos): Reparenthesize.
4494
44952015-12-06 Paul Eggert <eggert@cs.ucla.edu>
4496
4497 Port mod-test to 32-bit Emacs --without-wide-int
4498
4499 * modules/mod-test/test.el (mod-test-sum-test):
4500 Bring back the 2**29 tests, but port them to 32-bit Emacs
4501 --without-wide-int.
4502
45032015-12-06 Michael Albinus <michael.albinus@gmx.de>
4504
4505 Fix minor Tramp problems found on BSD
4506
4507 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
4508 trailing slash. Quote apostrophes.
4509 (tramp-sh-handle-file-truename): Do not append trailing slash in
4510 the "ls" case.
4511 (tramp-get-ls-command-with-w-option): New defun.
4512 (tramp-do-file-attributes-with-ls)
4513 (tramp-do-directory-files-and-attributes-with-stat): Use it.
4514
4515 * test/automated/tramp-tests.el
4516 (tramp-test31-special-characters-with-perl)
4517 (tramp-test31-special-characters-with-ls)
4518 (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
4519 Suppress also readlink.
4520
45212015-12-06 Eli Zaretskii <eliz@gnu.org>
4522
4523 Fix cursor display when invisible text is at line beginning
4524
4525 * src/xdisp.c (redisplay_window): When scrolling fails to show
4526 point, prefer using the desired matrix if possible for finding the
4527 fallback glyph row for displaying the cursor. (Bug#22098)
4528 (row_containing_pos): Exit the loop as soon as we hit the first
4529 disabled glyph row. Otherwise we risk accessing garbled data and
4530 departing to the no-no land.
4531
45322015-12-06 Paul Eggert <eggert@cs.ucla.edu>
4533
4534 Improve module interface when WIDE_EMACS_INT
4535
4536 * src/emacs-module.c (plain_values): New constant.
4537 (module_nil): Now a constant.
4538 (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
4539 (syms_of_module): Use if, not #ifdef, so that both sides are
4540 checked at compile-time, and so that GCC doesn’t complain
4541 about an unused var in the typical case. Also, depend on
4542 plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
4543 that WIDE_EMACS_INT implies !USE_LSB_TAG.
4544 (value_to_lisp_bits, lisp_to_value_bits): New functions.
4545 Sign-extend integers rather than zero-extending them, as small
4546 negative integers are more likely.
4547 (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
4548 functions.
4549 (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
4550 (mark_modules): Remove. All uses removed.
4551 (lisp_to_value): Don’t assume Fcons returns a pointer aligned
4552 to GCALIGNMENT.
4553 (syms_of_module): Check that module_nil converts to Qnil.
4554 * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
4555 we prefer signed to unsigned when either will do.
4556 (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
4557 a bit better for emacs-module.c.
4558
45592015-12-06 Paul Eggert <eggert@cs.ucla.edu>
4560
4561 Port mod-test to x86-64 GNU/Linux running 32-bit
4562
4563 * modules/mod-test/test.el (mod-test-sum-test):
4564 Don’t attempt to match descriptions to operating systems.
4565 It didn’t work on Fedora x86-64 running a 32-bit executable,
4566 and it’s not worth the trouble anyway.
4567 Port to 32-bit platforms by removing an assumption about
4568 fixnum widths.
4569
45702015-12-06 Michael Albinus <michael.albinus@gmx.de>
4571
4572 Fix auto-revert-tests.el when filenotify isn't used
4573
4574 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
4575 Make it working also when filenotify isn't used.
4576
45772015-12-06 Juri Linkov <juri@linkov.net>
4578
4579 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
4580
4581 Let-bind isearch-regexp-function to nil. (Bug#22097)
4582
45832015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
4584
4585 * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
4586
4587 (package--with-response-buffer): NOERROR and ERROR-FORM only
4588 handle connection errors.
4589 (bad-signature): New error type.
4590 (package--check-signature-content): Use it.
4591 (package--check-signature): Properly distinguish connection errors
4592 from bad-signature errors. Do the check for
4593 `package-check-signature' `allow-unsigned' here instead of forcing
4594 the callbacks to do it. Add a new argument, UNWIND.
4595 (package--download-one-archive, package-install-from-archive):
4596 Update usage of `package--check-signature'.
4597
45982015-12-05 Ulf Jasper <ulf.jasper@web.de>
4599
4600 Fix Bug#22092.
4601
4602 * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
4603 Clean up inconsistent line endings. (Bug#22092)
4604 (icalendar--clean-up-line-endings): New.
4605 * test/automated/icalendar-tests.el (icalendar-real-world): Add test
4606 for Bug#22092.
4607
46082015-12-05 Eli Zaretskii <eliz@gnu.org>
4609
4610 Document 'bookmark-set-no-overwrite'
4611
4612 * doc/emacs/regs.texi (Bookmarks): Document the new command
4613 'bookmark-set-no-overwrite' and its keybinding.
4614
46152015-12-05 Eli Zaretskii <eliz@gnu.org>
4616
4617 Document new binding of 'mouse-buffer-menu'
4618
4619 * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
4620 now also on C-F10.
4621
46222015-12-05 Eli Zaretskii <eliz@gnu.org>
4623
4624 Initial documentation of dynamic modules
4625
4626 * doc/lispref/loading.texi (Dynamic Modules): New section with
4627 initial documentation for dynamic modules.
4628 * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
4629 detailed menu
4630
4631 * etc/NEWS: Fix typos in dynamic modules' entry.
4632
46332015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
4634
4635 Remove copyright statements from trivial test files
4636
46372015-12-05 Eli Zaretskii <eliz@gnu.org>
4638
4639 Add "Preliminaries" section to etc/DEBUG
4640
4641 * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
4642 Most of the content was suggested by Phillip Lord
4643 <phillip.lord@russet.org.uk>. Remove the section about debugging
4644 with the Visual Studio, as building Emacs with the Microsoft
4645 compilers is no longer supported. Minor fixes in some other
4646 sections.
4647
46482015-12-05 Alex Dunn <dunn.alex@gmail.com> (tiny change)
4649
4650 Improve parsing of version strings
4651
4652 * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
4653 (version-to-list): More helpful error messages.
4654 (version-to-list): ".5" is valid (update docstring). Make
4655 "22.8X3" invalid, as the doc string says.
4656
4657 * test/automated/subr-tests.el (ert-test-version-parsing): New
4658 tests for version string processing.
4659
46602015-12-05 Eli Zaretskii <eliz@gnu.org>
4661
4662 Fix documentation of 'undo' changes
4663
4664 * doc/lispref/text.texi (Undo): Minor wording changes. Use US
4665 English conventions for spelling and whitespace between sentences.
4666
4667 * etc/NEWS: Fix wording and spelling of undo-related entries.
4668 Mark them as documented.
4669
46702015-12-05 Glenn Morris <rgm@gnu.org>
4671
4672 * lisp/net/net-utils.el: Small improvements.
4673
4674 (net-utils--executable-find-sbin): New function.
4675 (ifconfig-program): Check sbin directories.
4676 Fallback to "ip". (Bug#22091)
4677 (ifconfig-program-options): Check the actual program in use.
4678 (arp-program): Check sbin directories.
4679
46802015-12-04 (tiny change) Arash Esbati <esbati@gmx.de> (tiny change)
4681
4682 Fix wrong-type-argument integer-or-marker-p nil error
4683
4684 * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
4685 Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
4686
46872015-12-04 Alan Mackenzie <acm@muc.de>
4688
4689 Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
4690
4691 Merge necessitated by a rebase operation.
4692
46932015-12-04 Alan Mackenzie <acm@muc.de>
4694
4695 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
4696
46972015-12-04 Alan Mackenzie <acm@muc.de>
4698
4699 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
4700
4701 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
4702 Windows" and new @defun selected-window-group.
4703 (Window Start and End): Describe new &optional parameter GROUP and
4704 ...-group-function for window-start, window-end, set-window-start, and
4705 pos-visible-in-window-p.
4706 (Textual Scrolling) Describe the same for recenter.
4707 doc/lispref/positions.texi (Screen Lines): Describe the same for
4708 move-to-window-line.
4709
4710 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
4711 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
4712 new optional parameter "group". At the beginning of each, check whether the
4713 corresponding ...-group-function is set to a function, and if so execute this
4714 function in place of the normal processing.
4715 (syms_of_window): Define symbols for the six new variables below.
4716 (window-start-group-function, window-end-group-function)
4717 (set-window-start-group-function, recenter-group-function)
4718 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
4719 New permanent local buffer local variables.
4720 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
4721 Fpos_visible_in_window_p.
4722
4723 lisp/window.el (selected-window-group-function): New permanent local buffer
4724 local variable.
4725 (selected-window-group): New function.
4726
4727 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
4728 enable, kill them at mode disable. Add/remove follow-after-change to/from
4729 after-change-functions.
4730 (follow-start-end-invalid): New variable.
4731 (follow-redisplay): Manipulate follow-start-end-invalid.
4732 (follow-after-change, follow-window-start, follow-window-end)
4733 (follow-set-window-start, follow-pos-visible-in-window-p)
4734 (follow-move-to-window-line, follow-sit-for): New functions.
4735
4736 lisp/isearch.el (isearch-call-message): New macro.
4737 (isearch-update, with-isearch-suspended, isearch-del-char)
4738 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
4739 (with-isearch-suspended): Rearrange code such that isearch-call-message is
4740 invoked before point is moved.
4741 (isearch-message): Add comment about where point must be at function call.
4742 (isearch-search): Remove call to isearch-message.
4743 (isearch-lazy-highlight-window-group): New variable.
4744 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
4745 the battery of tests to ...
4746 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
4747 Note: (sit-for 0) is still called.
4748 (isearch-lazy-highlight-update): Check membership of
4749 isearch-lazy-highlight-window-group. Don't set the `window' overlay
4750 property.
4751 (isearch-update, isearch-done, isearch-string-out-of-window)
4752 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
4753 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
4754 (isearch-lazy-highlight-update): Call the six amended primitives (see
4755 src/window.c above) with the new `group' argument set to t, to cooperate
4756 with Follow Mode.
4757
47582015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
4761
4762 * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
4763 (ert--explain-format-atom, ert--explain-equal-rec)
4764 (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
4765 (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
4766
47672015-12-04 Artur Malabarba <bruce.connor.am@gmail.com>
4768
4769 * lisp/character-fold.el: Remove special case-folding support
4770
4771 (character-fold-to-regexp): Remove special code for
4772 case-folding. Char-fold search still respects the
4773 `case-fold-search' variable (i.e., f matches F). This only
4774 removes the code that was added to ensure that f also matched
4775 all chars that F matched. For instance, after this commit, f
4776 no longer matches 𝔽.
4777
4778 This was necessary because the logic created a regexp with
4779 2^(length of the string) redundant paths. So, when a very
4780 long string "almost" matched, Emacs took a very long time to
4781 figure out that it didn't. This became particularly relevant
4782 because isearch's lazy-highlight does a search bounded by (1-
4783 match-end) (which, in most circumstances, is a search that
4784 almost matches). A recipe for this can be found in bug#22090.
4785
47862015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4787
4788 * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
4789
4790 Fixes (bug#21701)
4791
47922015-12-04 Daiki Ueno <ueno@gnu.org>
4793
4794 lisp/gnus/qp.el: Don't replace "from " at bol
4795
4796 * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
4797 to nil when looking for "^From ". Problem reported by Simon Josefsson.
4798
47992015-12-03 Phillip Lord <phillip.lord@russet.org.uk>
4800
4801 Externalize some symbols in undo-auto
4802
4803 * doc/lispref/text.texi: Update symbols.
4804 * lisp/simple.el (undo-auto--amalgamate,
4805 undo-auto--current-boundary-timer): Make symbols public.
4806 * src/cmds.c (Fself_insert_command,Fdelete_char): Call
4807 updated symbol.
4808
48092015-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
4812
48132015-12-03 Michael Albinus <michael.albinus@gmx.de>
4814
4815 Some error message improvements in tramp-sh.el
4816
4817 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4818 Suppress error messages for "mesg" and "biff" calls.
4819 (tramp-get-remote-path): Ignore errors when expanding
4820 `tramp-own-remote-path'. Raise a warning instead.
4821
48222015-12-03 Eli Zaretskii <eliz@gnu.org>
4823
4824 Document 'nacl' value for 'system-type'
4825
4826 * doc/lispref/os.texi (System Environment): Document the 'nacl'
4827 value of 'system-type'.
4828
48292015-12-03 Eli Zaretskii <eliz@gnu.org>
4830
4831 Document 'window-max-chars-per-line'
4832
4833 * doc/lispref/windows.texi (Window Sizes): Document
4834 'window-max-chars-per-line'.
4835
48362015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
4837
4838 Fix some file headers for the purpose of `package--builtins'
4839
4840 * lisp/emacs-lisp/cl-preloaded.el
4841 * lisp/emacs-lisp/eieio-compat.el
4842 * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
4843
4844 * lisp/ielm.el: Fix summary line.
4845
48462015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
4847
4848 * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
4849
4850 Reload any previously loaded package files before compiling
4851 the package (also reload the same files after compiling).
4852 This ensures that we have the most recent definitions during
4853 compilation, and avoids generating bad elc files when a macro
4854 changes and it is used in a different file from the one it's
4855 defined in.
4856
48572015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
4858
4859 * lisp/emacs-lisp/package.el: Refactor package activation code
4860
4861 (package-activate): Move code that activates dependencies into
4862 package-activate-1.
4863 (package--load-files-for-activation): New function.
4864 (package-activate-1): Add code for (optionally) activating
4865 dependencies, and move file-loading code into
4866 `package--load-files-for-activation'.
4867
48682015-12-03 Eli Zaretskii <eliz@gnu.org>
4869
4870 Document new font-related functionality
4871
4872 * doc/lispref/display.texi (Low-Level Font): Document
4873 'default-font-width', 'default-font-height', 'window-font-width',
4874 and 'window-font-height'.
4875
4876 * etc/NEWS: Move entries for 'default-font-width',
4877 'default-font-height', 'window-font-width', and 'window-font-height'
4878 to their place and mark them documented.
4879
48802015-12-03 Eli Zaretskii <eliz@gnu.org>
4881
4882 Fix documentation and implementation of 'directory-name-p'
4883
4884 * lisp/files.el (directory-name-p): Modify to recognize
4885 backslashes on MS-Windows and MS-DOS. Adjust the doc string
4886 accordingly. Use '=', not char-equal, for comparison, as
4887 letter-case cannot possibly be an issue here.
4888
4889 * doc/lispref/files.texi (Directory Names): Move the documentation
4890 of directory-name-p here from "Relative File Names". Update the
4891 description per the changes in implementation.
4892
4893 * etc/NEWS: Move the entry for 'directory-name-p' to its proper
4894 place and mark it documented.
4895
48962015-12-02 Eli Zaretskii <eliz@gnu.org>
4897
4898 Minor copyedit in Emacs manual
4899
4900 * doc/emacs/search.texi (Lax Search): Make wording about character
4901 folding by default less definitive. (Bug#22043)
4902
49032015-12-02 Eli Zaretskii <eliz@gnu.org>
4904
4905 More emacs-module.c fixes for wide ints
4906
4907 * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
4908 unsigned data types to manipulate pointers, to avoid sign
4909 extension coming after us with a vengeance.
4910
4911 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
4912 Emacs with wide ints that verify integer values near the critical
4913 value that requires us to switch to a cons cell.
4914
49152015-12-02 Stephen Leake <stephen_leake@stephe-leake.org>
4916
4917 Fix bug#22069 in cl-generic.el
4918
4919 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
4920 not run thru `format'.
4921
49222015-12-02 Dmitry Gutov <dgutov@yandex.ru>
4923
4924 APPEND etags--xref-backend to xref-backend-functions
4925
4926 * lisp/progmodes/xref.el (xref-backend-functions):
4927 Use APPEND when adding the default element
4928 (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
4929
49302015-12-01 Eli Zaretskii <eliz@gnu.org>
4931
4932 More accurate documentation of lax whitespace matching
4933
4934 * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
4935 (word-search-backward, word-search-forward)
4936 (word-search-backward-lax, word-search-forward-lax): Mention in
4937 doc strings that toggling lax whitespace matching has no effect on
4938 these commands.
4939
4940 * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
4941 lax whitespace matching has no effect on these commands.
4942
49432015-12-01 Eli Zaretskii <eliz@gnu.org>
4944
4945 Fix emacs-module.c for wide ints
4946
4947 * src/emacs-module.c (lisp_to_value): Compare the produced value
4948 with the original Lisp object, not with the one potentially
4949 converted into a Lisp_Cons. Fixes assertion violations when
4950 working with integers larger than fit into a 32-bit value.
4951
4952 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
4953 large integers, to test --with-wide-int.
4954
49552015-12-01 Eli Zaretskii <eliz@gnu.org>
4956
4957 Document 'directory-files-recursively'
4958
4959 * lisp/files.el (directory-files-recursively): Doc fix. Rename
4960 the argument MATCH to REGEXP, to be more explicit about its form.
4961
4962 * doc/lispref/files.texi (Contents of Directories): Improve the
4963 documentation of 'directory-files-recursively'. Add
4964 cross-references.
4965
4966 * etc/NEWS: Move the entry for 'directory-files-recursively' to
4967 its place and mark it documented.
4968
49692015-12-01 Eli Zaretskii <eliz@gnu.org>
4970
4971 Document 'inhibit-read-only' property
4972
4973 * doc/lispref/text.texi (Special Properties): Describe the new
4974 'inhibit-read-only' text property. Add cross-reference to where
4975 read-only buffers are described.
4976 * doc/lispref/buffers.texi (Read Only Buffers): Mention that
4977 'inhibit-read-only' property exempts text from being read-only.
4978 Add cross-reference to "Special Properties".
4979
4980 * etc/NEWS: Move the entry about 'inhibit-read-only' property to
4981 its place and mark it documented.
4982
49832015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
4984
4985 * lisp/emacs-lisp/package.el: Update header comments
4986
49872015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
4988
4989 * lisp/character-fold.el: Add back multi-char matching
4990
4991 (character-fold-to-regexp): Uncomment recently commented code
4992 and make the algorithm "dummer" by not checking every possible
4993 combination. This will miss some possible matches, but it
4994 greatly reduces regexp size.
4995
4996 * test/automated/character-fold-tests.el
4997 (character-fold--test-fold-to-regexp): Comment out test of
4998 functionality no longer supported.
4999
50002015-12-01 Xue Fuqiao <xfq.free@gmail.com>
5001
5002 * doc/emacs/ack.texi (Acknowledgments): Update.
5003
50042015-12-01 Michael Albinus <michael.albinus@gmx.de>
5005
5006 Check `file-remote-p' over absolute files names in files.el
5007
5008 * lisp/files.el (directory-files-recursively)
5009 (get-free-disk-space): Check `file-remote-p' over absolute files names.
5010
50112015-12-01 Andreas Schwab <schwab@linux-m68k.org>
5012
5013 * src/lread.c (syms_of_lread): Doc fix.
5014
50152015-12-01 Dmitry Gutov <dgutov@yandex.ru>
5016
5017 Don't mistake certain JS method calls for keywords
5018
5019 * lisp/progmodes/js.el (js--ctrl-statement-indentation):
5020 Braceless keyword can't come after a period (bug#22063).
5021
50222015-12-01 David Reitter <david.reitter@gmail.com>
5023
5024 Read frame_title_format from buffer-local variable for NS port
5025
5026 * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
5027 icon-title-format variables from buffer in appropriate window.
5028 (Bug#22048)
5029
50302015-12-01 Juri Linkov <juri@linkov.net>
5031
5032 * lisp/replace.el (occur-engine): Count matches in empty lines.
5033
5034 (Bug#22062)
5035
50362015-11-30 Aurélien Aptel <aurelien.aptel@gmail.com>
5037
5038 * src/emacs-module.h: Fix finalizer typedef for C++11
5039
5040 C++11 standard doesn't allow exception-specification in typedef.
5041 The workaround is to declare a dummy function prototype and use
5042 decltype on it.
5043
50442015-11-30 Eli Zaretskii <eliz@gnu.org>
5045
5046 Fix last change
5047
5048 * src/emacs-module.c (lisp_to_value, value_to_lisp)
5049 [WIDE_EMACS_INT]: Avoid compiler warnings.
5050
50512015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 Rely on conservative stack scanning to find "emacs_value"s
5054
5055 * src/emacs-module.c (struct emacs_value_tag)
5056 (struct emacs_value_frame, struct emacs_value_storage): Remove.
5057 (value_frame_size): Remove constant.
5058 (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
5059 (lisp_to_value): Remove first arg.
5060 (module_nil): New constant.
5061 Use it instead of NULL when returning an emacs_value.
5062 (module_make_function): Adjust to new calling convention of
5063 Qinternal_module_call.
5064 (DEFUN): Receive args in an array rather than a list.
5065 Use SAFE_ALLOCA rather than xnmalloc. Skip the lisp_to_value loop when
5066 we don't have WIDE_EMACS_INT. Adjust to new type of non_local_exit info.
5067 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
5068 Adjust to new type of non_local_exit info.
5069 (ltv_mark) [WIDE_EMACS_INT]: New constant.
5070 (value_to_lisp, lisp_to_value): Rewrite.
5071 (initialize_frame, initialize_storage, finalize_storage): Remove functions.
5072 (allocate_emacs_value): Remove function.
5073 (mark_modules): Gut it.
5074 (initialize_environment): Don't initialize storage any more.
5075 Keep the actual env object on Vmodule_environments.
5076 (finalize_environment): Don't finalize storage any more.
5077 (syms_of_module): Initialize ltv_mark and module_nil.
5078
5079 * src/emacs-module.h (emacs_value): Make it more clear that this type
5080 is really opaque, including the fact that NULL may not be valid.
5081
5082 * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
5083 Don't assume that NULL is a valid emacs_value.
5084
50852015-11-30 Eli Zaretskii <eliz@gnu.org>
5086
5087 Yet another doc improvement for search commands
5088
5089 * doc/emacs/search.texi (Word Search, Symbol Search)
5090 (Regexp Search): Document commands that don't support lax
5091 whitespace matching or character folding.
5092 (Nonincremental Search): Mention the search commands that can be
5093 invoked from the menu bar.
5094
5095 * lisp/isearch.el (isearch-define-mode-toggle-word)
5096 (isearch-define-mode-toggle-symbol)
5097 (isearch-define-mode-toggle-character-fold): Note in the doc
5098 string that turning these on exits the regexp mode.
5099 (isearch-forward-regexp, isearch-forward-word)
5100 (isearch-forward-symbol, isearch-backward-regexp)
5101 (word-search-backward, word-search-forward)
5102 (word-search-backward-lax, word-search-forward-lax): State in the
5103 doc string which commands don't support character folding and/or
5104 lax-whitespace matching.
5105
51062015-11-30 Martin Rudalics <rudalics@gmx.at>
5107
5108 Run `window-size-change-functions' also when reading from minibuffer
5109
5110 * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
5111 also when reading from minibuffer.
5112
51132015-11-30 Ulf Jasper <ulf.jasper@web.de>
5114
5115 Fix scrambling of html-rendered item buffers
5116
5117 * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
5118 scrambling of contents by wrapping call to html-renderer in
5119 save-selected-window.
5120
51212015-11-30 Paul Eggert <eggert@cs.ucla.edu>
5122
5123 Fix font typo in previous doc fix.
5124
51252015-11-30 Paul Eggert <eggert@cs.ucla.edu>
5126
5127 A bit more security doc, esp. file local vars
5128
5129 * doc/emacs/emacs.texi (Top):
5130 * doc/emacs/misc.texi (Miscellaneous Commands):
5131 Refer to new Host Security section.
5132 (Host Security): New section.
5133 * doc/lispref/os.texi (Security Considerations):
5134 Mention file local variables.
5135
51362015-11-30 Artur Malabarba <bruce.connor.am@gmail.com>
5137
5138 * lisp/character-fold.el: Comment out branching code
5139
5140 (character-fold-to-regexp): Comment out code that uses multi-char
5141 table. The branching caused by this induces absurdly long regexps,
5142 up to 10k chars for as little as 25 input characters.
5143
51442015-11-30 Paul Eggert <eggert@cs.ucla.edu>
5145
5146 Spelling and grammar fixes
5147
51482015-11-30 Dmitry Gutov <dgutov@yandex.ru>
5149
5150 Make lisp-completion-at-point a wrapper instead of an alias
5151
5152 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
5153 Turn into an obsolete wrapper around elisp-completion-at-point
5154 (bug#20455).
5155
51562015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5157
5158 * lisp/isearch.el (isearch-search-fun-default): Nicer error
5159
5160 message when the search fails.
5161
51622015-11-29 Dmitry Gutov <dgutov@yandex.ru>
5163
5164 Update menu-bar-goto-uses-etags-p for the current xref API
5165
5166 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
5167 xref-backend-functions, instead of now-nonexistent
5168 xref-find-function.
5169
51702015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5171
5172 * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
5173
51742015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5175
5176 * lisp/menu-bar.el: Use folding in searches
5177
5178 (nonincremental-search-forward): Use `isearch-search-fun-default'
5179 to determine the search function.
5180 (nonincremental-search-backward)
5181 (nonincremental-repeat-search-forward)
5182 (nonincremental-repeat-search-backward): Use it.
5183
51842015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5185
5186 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
5187
51882015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
5189
5190 * lisp/character-fold.el (character-fold-to-regexp): Be careful
5191
5192 not to return huge regexps.
5193
51942015-11-29 Eli Zaretskii <eliz@gnu.org>
5195
5196 Improve documentation of string-collate-* functions
5197
5198 * doc/lispref/strings.texi (Text Comparison): Improve wording and
5199 indexing of 'string-collate-equalp' and 'string-collate-lessp'.
5200
5201 * etc/NEWS: Move the entry of 'string-collate-equalp' and
5202 'string-collate-lessp' to "Lisp Changes" section and mark it as
5203 documented.
5204
52052015-11-29 Eli Zaretskii <eliz@gnu.org>
5206
5207 Document truncate-string-ellipsis
5208
5209 * doc/lispref/display.texi (Size of Displayed Text): Document
5210 'truncate-string-ellipsis'.
5211
5212 * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
5213 (truncate-string-to-width): Mention in the doc string that the
5214 default for ELLIPSIS comes from 'truncate-string-ellipsis'.
5215
5216 * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
5217 Changes" section.
5218
52192015-11-29 Eli Zaretskii <eliz@gnu.org>
5220
5221 Fix confusion wrt character folding in the Emacs manual
5222
5223 * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
5224 Document that invoking search-forward/backward and
5225 re-search-forward/backward supports only case folding, but not the
5226 rest of the lax-search features. Reported by Mike Kupfer
5227 <m.kupfer@acm.org>.
5228
52292015-11-29 Ken Brown <kbrown@cornell.edu>
5230
5231 Update mod-test-sum-test
5232
5233 * modules/mod-test/test.el (mod-test-sum-test): Update to
5234 accommodate the lack of dladdr on Cygwin.
5235
52362015-11-29 Alan Mackenzie <acm@muc.de>
5237
5238 Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.
5239
5240 * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
5241 to `funcall', (i) Output an error message; (ii) Generate code to signal a
5242 `wrong-number-of-arguments' error.
5243
52442015-11-29 Martin Rudalics <rudalics@gmx.at>
5245
5246 * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
5247
52482015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
5249
5250 * lisp/character-fold.el (character-fold-to-regexp)
5251
5252 Warn about using long strings.
5253
5254 * test/automated/character-fold-tests.el
5255 (character-fold--test-lax-whitespace)
5256 (character-fold--test-consistency): Reduce string size for tests.
5257
52582015-11-28 Eli Zaretskii <eliz@gnu.org>
5259
5260 Document renaming of x-select-enable-* variables
5261
5262 * doc/emacs/killing.texi (Clipboard): Rename
5263 x-select-enable-clipboard to select-enable-clipboard and
5264 x-select-enable-primary to select-enable-primary. Update index
5265 entries.
5266
5267 * etc/NEWS: Mark entry as documented.
5268
52692015-11-28 Eli Zaretskii <eliz@gnu.org>
5270
5271 Document the shorthand hints displayed by M-x
5272
5273 * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
5274 suggest-key-bindings. Document the shorthand hints for commands
5275 that have no key bindings. Document that M-x completion ignores
5276 obsolete commands.
5277
5278 * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
5279 documented.
5280
52812015-11-28 Eli Zaretskii <eliz@gnu.org>
5282
5283 Update docs of character folding
5284
5285 * doc/emacs/search.texi (Lax Search): Update the description of
5286 character folding for the latest changes.
5287
52882015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
5289
5290 * lisp/character-fold.el: Also play nice with case-folding
5291
5292 (character-fold-to-regexp): Take `case-fold-search' into account.
5293
52942015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
5295
5296 * lisp/character-fold.el: Add support for multi-char matches
5297
5298 (character-fold-table): Now has an extra-slot. This is a second
5299 char-table that holds multi-character matches. See docstring for
5300 details.
5301 (character-fold-to-regexp): Can build branching regexps when a
5302 character's entry the extra slot of `character-fold-table' matches the
5303 characters that succeed it.
5304
53052015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
5306
5307 * lisp/character-fold.el: Code simplifications
5308
5309 (character-fold-table): Reduce the scope of a variable.
5310 (character-fold-to-regexp): Change logic to work directly on the
5311 input string. It's a little easier to understand, probably
5312 faster, and sets us up for implementing multi-char matches.
5313
5314 * test/automated/character-fold-tests.el
5315 (character-fold--test-fold-to-regexp): New test.
5316
53172015-11-28 Eli Zaretskii <eliz@gnu.org>
5318
5319 Document changes in "C-h l"
5320
5321 * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
5322
5323 * etc/NEWS: mark "C-h l" changes as documented.
5324
53252015-11-28 Eli Zaretskii <eliz@gnu.org>
5326
5327 Finalize documentation of 'custom-prompt-customize-unsaved-options'
5328
5329 * doc/emacs/custom.texi (Saving Customizations): Index the new
5330 function 'custom-prompt-customize-unsaved-options'.
5331
5332 * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
5333 is useful.
5334
53352015-11-28 Eli Zaretskii <eliz@gnu.org>
5336
5337 Document 'comment-line'
5338
5339 * doc/emacs/programs.texi (Comment Commands): Document
5340 'comment-line'.
5341
5342 * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
5343
53442015-11-28 Eli Zaretskii <eliz@gnu.org>
5345
5346 Document new checkdoc features
5347
5348 * doc/lispref/tips.texi (Tips, Library Headers): Document the
5349 keyword-checking features of checkdoc and the commands
5350 'checkdoc-file' and 'checkdoc-current-buffer'.
5351
5352 * etc/NEWS: Move the checkdoc-related entries to their own
5353 section.
5354
53552015-11-28 Philipp Stephani <p.stephani2@gmail.com>
5356
5357 Simplify the prologue of emacs-module.c functions
5358
5359 * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
5360 (module_make_global_ref)
5361 (module_free_global_ref, module_make_function, module_funcall)
5362 (module_intern, module_type_of, module_extract_integer)
5363 (module_make_integer, module_extract_float, module_make_float)
5364 (module_copy_string_contents, module_make_string)
5365 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
5366 (module_get_user_finalizer, module_set_user_finalizer)
5367 (module_vec_set, module_vec_get, module_vec_size): Use new helper
5368 macro MODULE_FUNCTION_BEGIN.
5369
53702015-11-28 Eli Zaretskii <eliz@gnu.org>
5371
5372 Don't reject module calls with no arguments
5373
5374 * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
5375
53762015-11-28 Philipp Stephani <p.stephani2@gmail.com>
5377
5378 Make module-call be visible from Lisp
5379
5380 * src/emacs-module.c (module_make_function): Use internal--module-call.
5381 (Finternal_module_call): Renamed from Fmodule_call. Add safety
5382 checks.
5383 (syms_of_module): DEFSYM save-value-p and save-pointer-p. Do
5384 defsubr internal--module-call.
5385
53862015-11-28 Eli Zaretskii <eliz@gnu.org>
5387
5388 Add etags tests for the recent Lua-related bugfix
5389
5390 * test/etags/lua-src/test.lua: New file, tests the issues raised
5391 by bug#21934.
5392 * test/etags/Makefile (LUASRC): Add test.lua.
5393 * test/etags/ETAGS.good_1:
5394 * test/etags/ETAGS.good_2:
5395 * test/etags/ETAGS.good_3:
5396 * test/etags/ETAGS.good_4:
5397 * test/etags/ETAGS.good_5:
5398 * test/etags/ETAGS.good_6:
5399 * test/etags/CTAGS.good: Adapt to the new Lua test. Also, an old
5400 regression fix, resolved around 25 May 2015, required changes to
5401 the "good" ETAGS files.
5402
54032015-11-28 Eli Zaretskii <eliz@gnu.org>
5404
5405 Fix Lua tags when a function name includes '.' or ':'
5406
5407 * lib-src/etags.c (Lua_functions): Add a tag for the last element
5408 of a function name after a dot or a colon. (Bug#21934)
5409
54102015-11-28 Eli Zaretskii <eliz@gnu.org>
5411
5412 Improve documentation of search and replace commands
5413
5414 * doc/emacs/search.texi (Replacement and Lax Matches): Document
5415 which commands are affected by 'replace-character-fold'.
5416 (Lax Search): Add a cross reference to "Replacement and Lax
5417 Matches". Improve wording. Fix lost extra whitespace.
5418 (Search Customizations): Improve wording. (Bug#22036)
5419 See also comments in
5420 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
5421
5422 * lisp/replace.el (query-replace, query-replace-regexp)
5423 (query-replace-regexp-eval, replace-string, replace-regexp):
5424 Mention 'replace-character-fold' in the doc strings.
5425
54262015-11-28 Paul Eggert <eggert@cs.ucla.edu>
5427
5428 Fix minor problems found by static checking
5429
5430 * src/undo.c (prepare_record): Add proper prototype for C.
5431
54322015-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5433
5434 * src/emacs-module.c (struct env_storage): Delete
5435
5436 (struct emacs_runtime_private): Keep an emacs_env instead.
5437 (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
5438 (initialize_environment): Split the arg in two. Adjust all callers.
5439 Only store the private part in Vmodule_environments.
5440 (finalize_environment): Change the arg to only be the private env.
5441 Adjust all callers.
5442
54432015-11-27 Eli Zaretskii <eliz@gnu.org>
5444
5445 Improve documentation of 'replace-character-fold'
5446
5447 * lisp/replace.el (replace-character-fold): Clarify which commands
5448 are affected by this variable.
5449
54502015-11-27 Mark Oteiza <mvoteiza@udel.edu>
5451
5452 Backport: Add interactive seek command.
5453
5454 * lisp/mpc.el (mpc-cmd-seekcur): New function.
5455 (mpc-seek-current): New command.
5456 (mpc-mode-menu): Add entry for mpc-seek-current
5457 (mpc-mode-map): Bind mpc-seek-current to "g"
5458
54592015-11-27 Dmitry Gutov <dgutov@yandex.ru>
5460
5461 Autoload etags when using its xref backend
5462
5463 * lisp/progmodes/xref.el (xref--etags-backend):
5464 Rename to etags--xref-backend. Move to etags.el. Autoload.
5465 (Bug#22026)
5466
54672015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
5468
5469 * lisp/character-fold.el: Allow complex chars to match their decomposition
5470
5471 (character-fold-table): When a character's decomposition does not
5472 involve a formatting tag (i.e., if it has an "exact" description via
5473 other characters), then this character is allowed to match the
5474 decomposition.
5475
54762015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
5477
5478 * lisp/character-fold.el: More descriptive variable names
5479
5480 (character-fold-table): Rename a lot of the lexical variables to
5481 make the code easier to read.
5482
54832015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
5484
5485 * lisp/isearch.el: Ensure we still support `isearch-new-word'
5486
5487 (isearch-new-regexp-function): Define variable.
5488 (isearch-new-word): Define as an obsolete alias. (Bug#22018)
5489
54902015-11-27 Eli Zaretskii <eliz@gnu.org>
5491
5492 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
5493
54942015-11-27 Lee Bochicchio <lboc.home@gmail.com>
5495
5496 * test/automated/abbrev-tests.el: Define more tests
5497
5498 (abbrev-table-name-test, kill-all-abbrevs-test)
5499 (clear-abbrev-table-test): New tests.
5500
55012015-11-27 Eli Zaretskii <eliz@gnu.org>
5502
5503 Add module tests for wrong-type-argument
5504
5505 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
5506 wrong-type-argument.
5507
55082015-11-27 Eli Zaretskii <eliz@gnu.org>
5509
5510 Improve handling of signals and 'throw' in modules
5511
5512 * src/emacs-module.c: Add commentary explaining how to write
5513 functions in this file.
5514 (module_make_global_ref, module_free_global_ref)
5515 (module_non_local_exit_signal, module_non_local_exit_throw)
5516 (module_make_function, module_funcall, module_intern)
5517 (module_type_of, module_is_not_nil, module_eq)
5518 (module_extract_integer, module_make_integer)
5519 (module_extract_float, module_make_float)
5520 (module_copy_string_contents, module_make_string)
5521 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
5522 (module_get_user_finalizer, module_set_user_finalizer)
5523 (module_vec_set, module_vec_get, module_vec_size)
5524 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
5525 Do nothing and return with failure indication immediately, if some
5526 previous module call signaled an error or wants to throw. See
5527 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
5528 for the relevant discussions.
5529
55302015-11-27 Eli Zaretskii <eliz@gnu.org>
5531
5532 Add ':version' tag to 'checkdoc-package-keywords-flag'
5533
5534 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
5535 Add a ':version' tag.
5536
55372015-11-27 Eli Zaretskii <eliz@gnu.org>
5538
5539 Improve documentation of 'eval-buffer' and 'eval-region'
5540
5541 * src/lread.c (Feval_buffer, Feval_region): Doc fixes. (Bug#22023)
5542
5543 * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
5544 "accessible portion of buffer".
5545
55462015-11-27 Eli Zaretskii <eliz@gnu.org>
5547
5548 Unbreak the Cygwin w32 build
5549
5550 * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
5551 build as well. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5552
55532015-11-27 Eli Zaretskii <eliz@gnu.org>
5554
5555 Improve commentary in character-fold.el
5556
5557 * lisp/character-fold.el (character-fold-to-regexp): Move detailed
5558 description from commit log message to comments. (Bug#22019)
5559
55602015-11-26 Alan Mackenzie <acm@muc.de>
5561
5562 Byte Compiler: generate code to adjust stack count after call to `signal'.
5563
5564 Corrects change from earlier today.
5565
5566 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
5567 `byte-compile--for-effect' as argument to `byte-compile-form'.
5568
55692015-11-26 Eli Zaretskii <eliz@gnu.org>
5570
5571 Improve commentary of prepare_to_modify_buffer_1
5572
5573 * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
5574 that this function runs Lisp. Suggested by Richard Stallman
5575 <rms@gnu.org>.
5576
55772015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
5578
5579 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
5580
55812015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
5582
5583 Fix regression after merge.
5584
5585 * src/undo.c (prepare_record): Remove call to run_undoable_change.
5586
55872015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
5588
5589 After delete, record point location in undo.
5590
5591 Addresses Bug #21968.
5592
5593 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
5594 better support intercalating calls.
5595 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
5596 point and current buffer before each command.
5597 * src/undo.c (record_point): Now only record the point.
5598 * src/undo.c (prepare_record): Functionality removed form
5599 record_point.
5600 * src/undo.c (record_delete): Check if point needs recording.
5601 * src/undo.c (undo-boundary): Record value of point before each
5602 boundary.
5603 * test/automated/simple-test.el: New tests.
5604
5605 Conflicts:
5606 src/undo.c
5607
56082015-11-26 Eli Zaretskii <eliz@gnu.org>
5609
5610 Fix compiler warnings in w32.c
5611
5612 * src/w32.c (sys_socket): In case of error, use -1 as return
5613 value, not INVALID_SOCKET, which causes compiler warnings.
5614 (maybe_load_unicows_dll): Cast the return value of GetProcAddress
5615 to the appropriate function signature, to avoid compiler errors.
5616 Reported by Andy Moreton <andrewjmoreton@gmail.com>. (Bug#21953)
5617
56182015-11-26 Dmitry Gutov <dgutov@yandex.ru>
5619
5620 Check if the file exists on disk before producing the revert diff
5621
5622 * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
5623 exists on disk (bug#20558).
5624
56252015-11-26 Alan Mackenzie <acm@muc.de>
5626
5627 Byte compiler: on setq with an odd number of arguments, generate a `signal'
5628
5629 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
5630 it has an odd number of arguments, to allow bytecomp to handle the error.
5631
5632 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
5633 odd number of arguments, generate a `signal' instead of the normal code.
5634
56352015-11-26 Dmitry Gutov <dgutov@yandex.ru>
5636
5637 Use find-tag-default for xref-backend-identifier-at-point
5638
5639 * lisp/progmodes/etags.el (find-tag-tag)
5640 (tags-completion-at-point-function): Extract common code as
5641 find-tag--default.
5642 (xref-backend-identifier-at-point): Define in terms of the new
5643 function.
5644
56452015-11-26 Paul Eggert <eggert@cs.ucla.edu>
5646
5647 * src/undo.c (record_property_change): Remove now-unused local.
5648
56492015-11-25 Phillip Lord <phillip.lord@russet.org.uk>
5650
5651 run_undoable_changes now called from insdel.
5652
5653 The original calls from inside undo.c are not always at a safe position
5654 to call lisp, as they originate in varied positions within insdel.c.
5655 Calling them directly from prepare_to_modify_buffer_1 ensures that they
5656 are always run at the same point.
5657
5658 * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
5659 and symbol used.
5660 * src/insdel.c (run_undoable_changes): Add function and symbol.
5661
56622015-11-25 Eli Zaretskii <eliz@gnu.org>
5663
5664 Improve and update documentation of search commands
5665
5666 * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
5667 all references changed. Move the description of lax-whitespace
5668 here. Add description of the new character folding features and
5669 additional customizable options.
5670 (Isearch Yank): Move before "Error in Search".
5671 (Basic Isearch): Improve wording. Add index entries. Add short
5672 description of how to abandon search, making this subsection a
5673 complete introduction to search basics.
5674 (Repeat Isearch): Add index entries. Describe additional
5675 customizable options. Describe mouse clicks.
5676 (Isearch Yank): Add index entries. Describe mouse-2 click in echo
5677 area. Describe more customizable options.
5678 (Error in Isearch): Add index entries.
5679 (Special Isearch): Move actual description of some isearch
5680 commands to other sections, leaving here just the summary of the
5681 commands. Add command that toggles character folding. Describe
5682 commands, like "C-h C-h", that were previously omitted for some
5683 reason.
5684 (Not Exiting Isearch): Describe search-exit-option. Add index
5685 entries.
5686 (Word Search): Describe eww-search-word and eww-search-prefix.
5687 (Symbol Search): Add index entries.
5688 (Regexp Search): Describe regexp-search-ring-max.
5689 (Replacement and Lax Matches): Renamed from "Replacement and
5690 Case"; all references changed. Describe lax-whitespace matching
5691 in replace commands and related options. Describe character
5692 folding in replace commands and related options.
5693 (Query Replace): Describe query-replace-from-to-separator and the
5694 new history features. Add index entries for highlighted text.
5695 Describe query-replace-skip-read-only. Describe more keys
5696 accepted by query-replace.
5697 (Other Repeating Search): More index entries for Occur. Describe
5698 list-matching-lines-default-context-lines.
5699 (Search Customizations): New section, documents customizable
5700 options that were not documented until now.
5701 * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
5702 "Character Folding".
5703
5704 * etc/NEWS: Move search- and replace-related entries to a single
5705 parent section.
5706
5707 * lisp/replace.el (query-replace-show-replacement): Doc fix.
5708 * lisp/isearch.el (search-nonincremental-instead)
5709 (isearch-hide-immediately): Doc fixes.
5710
57112015-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
5712
5713 Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
5714
5715 * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove. See:
5716 <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
5717 <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
5718
57192015-11-25 Paul Eggert <eggert@cs.ucla.edu>
5720
5721 Fix module_format_fun_env when dynlib_addr fails
5722
5723 * src/emacs-module.c (module_format_fun_env):
5724 exprintf doesn’t support %p, so use %x. Reported by Eli Zaretskii in:
5725 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
5726
57272015-11-25 Paul Eggert <eggert@cs.ucla.edu>
5728
5729 Disambiguate variable help a bit better
5730
5731 * lisp/help-fns.el (describe-variable): Quote the
5732 variable’s value if it is a symbol other than t or nil.
5733 See: T.V Raman in:
5734 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
5735
57362015-11-25 Dmitry Gutov <dgutov@yandex.ru>
5737
5738 Pass SVN commit message through log-edit-extract-headers
5739
5740 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
5741 log-edit-extract-headers (bug#18954).
5742
57432015-11-24 Alan Mackenzie <acm@muc.de>
5744
5745 CC Mode: Eliminate compiler warning messages.
5746
5747 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
5748 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
5749 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
5750 (c-awk-set-syntax-table-properties): Clarify comments about
5751 `font-lock-syntactic-keywords'.
5752
5753 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
5754 of this before the real (interpreted) one, to satisfy the byte compiler.
5755
57562015-11-24 Simen Heggestøyl <simenheg@gmail.com>
5757
5758 Extend the test suite for json.el
5759
5760 * lisp/json.el (json-plist-p): Clarify docstring.
5761
5762 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
5763 macro.
5764 (test-json-join, test-json-alist-p)
5765 (test-json-plist-p, test-json-advance, test-json-peek)
5766 (test-json-pop, test-json-skip-whitespace)
5767 (test-json-read-keyword, test-json-encode-keyword)
5768 (test-json-read-number, test-json-encode-number)
5769 (test-json-read-escaped-char, test-json-read-string)
5770 (test-json-encode-string, test-json-encode-key)
5771 (test-json-new-object, test-json-add-to-object)
5772 (test-json-read-object, test-json-encode-list)
5773 (test-json-read-array, test-json-encode-array)
5774 (test-json-read, test-json-read-from-string)
5775 (test-json-encode): New tests.
5776 (json-read-simple-alist): Merged into `test-json-read-object'.
5777 (json-encode-string-with-special-chars): Merged into
5778 `test-json-encode-string'.
5779 (json-read-string-with-special-chars): Split into
5780 `test-json-encode-string' and `test-json-read-from-string'.
5781
57822015-11-24 Anders Lindgren <andlind@gmail.com>
5783
5784 Fixed bug#18283: Enable applescript in NextStep.
5785
5786 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
5787
57882015-11-24 Eli Zaretskii <eliz@gnu.org>
5789
5790 Allow completion on dynamic module files in load-library
5791
5792 * lisp/files.el (load-library): Bind completion-ignored-extensions
5793 to nil, to allow completion on dynamic modules typed as file
5794 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5795
57962015-11-24 Alan Mackenzie <acm@muc.de>
5797
5798 CC Mode: eliminate almost all byte compilation warnings
5799
5800 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
5801 (cc-require): Remove the crude hack that saved and restored
5802 byte-compile-noruntime-functions.
5803 (cc-conditional-require, cc-conditional-require-after-load): New macros.
5804
5805 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
5806 cc-fix.el using the new macros in cc-bytecomp.el.
5807
5808 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
5809 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
5810 forms to remove the superflous quotes.
5811
58122015-11-24 Eli Zaretskii <eliz@gnu.org>
5813
5814 Add one more mod-test test
5815
5816 * modules/mod-test/test.el (mod-test-sum-test): Test the error
5817 signaled when the function is invoked with a wrong number of
5818 arguments.
5819
58202015-11-24 Philipp Stephani <phst@google.com>
5821
5822 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
5823
58242015-11-24 Eli Zaretskii <eliz@gnu.org>
5825
5826 Implement dynlib_addr for MS-Windows
5827
5828 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
5829 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
5830 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
5831 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
5832 if undefined.
5833 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
5834 zero.
5835 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
5836 the full file name of the module for a given address.
5837
58382015-11-24 Alan Mackenzie <acm@muc.de>
5839
5840 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
5841
58422015-11-24 Alan Mackenzie <acm@muc.de>
5843
5844 Squashed commit of the following:
5845
5846 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
5847 Author: Alan Mackenzie <acm@muc.de>
5848 Date: Tue Nov 24 16:50:09 2015 +0000
5849
5850 Byte compile: minor amendments.
5851
5852 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5853 add a comment to explain the binding of variables around a subsidiary
5854 compilation.
5855 (byte-compile-new-defuns): Amend the doc string.
5856
5857 commit c537bfed1dda1593d218956ff00c6105a3ff0316
5858 Author: Alan Mackenzie <acm@muc.de>
5859 Date: Sat Nov 21 18:43:57 2015 +0000
5860
5861 Byte compiler: fix spurious warnings "might not be defined at runtime".
5862
5863 Also initialize byte-compile-noruntime-functions between runs.
5864
5865 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
5866 (byte-compile-initial-macro-environment): For eval-when-compile: bind
5867 byte-compile-unresolved-functions and byte-compile-new-defuns around
5868 byte-compile-top-level, to prevent spurious entries being made.
5869 (byte-compile-warn-about-unresolved-functions): Check whether function is
5870 in byte-compile-new-defuns before emitting a warning about it.
5871 (byte-compile-from-buffer): Initialize new variable and
5872 byte-compile-noruntime-functions to nil.
5873 (byte-compile-file-form-require): record all new functions defined by a
5874 `require' in byte-compile-new-defuns.
5875 (byte-compile-file-form-defmumble): record the new alias in
5876 byte-compile-new-defuns.
5877
58782015-11-24 Eli Zaretskii <eliz@gnu.org>
5879
5880 Fix crash at startup related to GC of font entities
5881
5882 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
5883 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
5884 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
5885 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
5886 Don't ifdef away font cache compaction on NT_GUI, as the problems
5887 which led to that seem to have been solved.
5888 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
5889 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
5890 cousins. (Bug#21999)
5891
58922015-11-24 Alan Mackenzie <acm@muc.de>
5893
5894 Byte compile: Output an error, not a warning, for odd number of args to setq
5895
5896 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
5897
58982015-11-24 Ken Raeburn <raeburn@raeburn.org>
5899
5900 Fix kbd_buffer iteration loop in readable_events
5901
5902 * src/keyboard.c (readable_events): Wrap the event pointer back to the
5903 start of the kbd_buffer array inside the top of the loop instead of
5904 right before checking the loop condition, since kbd_fetch_ptr and
5905 kbd_store_ptr point past the end of the array to mean that element 0
5906 is next. (bug#21935)
5907
59082015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5909
5910 Improve text-quoting-style doc again
5911
5912 * doc/lispref/help.texi (Keys in Documentation):
5913 Omit overkill discussion of ‘setq’. Mention Emacs versions
5914 where ‘grave’ style was standard.
5915
59162015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5917
5918 Improve text-quoting-style doc
5919
59202015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5921
5922 Simplify module_make_function
5923
5924 * src/emacs-module.c (module_make_function):
5925 Simplify by calling build_unibyte_string.
5926
59272015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5928
5929 Port better to FreeBSD’s dlfunc vs dlsym
5930
5931 This avoids warnings when converting between void * and
5932 function pointers, which strict C11 does not allow.
5933 * configure.ac (dlfunc): Check for existence.
5934 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
5935 (dynlib_func): New function.
5936 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
5937 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
5938 dynlib_sym, for function pointers.
5939
59402015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5941
5942 Simplify use of emacs_finalizer_function type
5943
5944 * src/emacs-module.h (emacs_finalizer_function):
5945 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
5946 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
5947
59482015-11-24 Paul Eggert <eggert@cs.ucla.edu>
5949
5950 module_format_fun_env fixes
5951
5952 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
5953 * src/emacs-module.c (module_format_fun_env):
5954 Convert path and sym to UTF-8.
5955 Don’t use VLAs, as the C11 standard says they’re optional,
5956 and anyway they can cause core dumps with large allocations.
5957 Use exprintf rather than snprintf, as exprintf handles arbitrarily
5958 long strings. Simplify the code a bit.
5959
59602015-11-23 Dmitry Gutov <dgutov@yandex.ru>
5961
5962 Don't use package-user-dir in elisp-library-roots if it's not bound
5963
5964 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
5965 use package-user-dir if it's not bound (bug#19759).
5966
59672015-11-23 Anders Lindgren <andlind@gmail.com>
5968
5969 New visible-bell for NextStep (OS X El Capitan compatible).
5970
5971 Instead of inverting a rectangle in the middle of the frame, use
5972 the standard NextStep image "caution", represented using an
5973 warning sign with an exclamation mark. (Bug#21662)
5974
5975 Implemented based on a suggestion drafted by Mustafa Kocaturk.
5976
5977 * src/nsterm.m (EmacsBell): New class for managing the caution
5978 image. Support multiple active bells, the image is removed once
5979 all bells have timed out.
5980 (ns_timeout): Removed, no longer used.
5981 (ns_ring_bell): Reimplemented to use EmacsBell.
5982
59832015-11-23 Johan Bockgård <bojohan@gnu.org>
5984
5985 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
5986
5987 (remove-function): Ditto. (Bug#20376)
5988
59892015-11-23 Mark Oteiza <mvoteiza@udel.edu>
5990
5991 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
5992
59932015-11-23 Eli Zaretskii <eliz@gnu.org>
5994
5995 Improve how non-ASCII strings are accepted from modules
5996
5997 * src/emacs-module.c (module_make_function, module_make_string):
5998 Build a unibyte Lisp string and then decode it by UTF-8, instead
5999 of building a multibyte string without decoding. This is more
6000 tolerant to deviations from UTF-8.
6001
60022015-11-23 Paul Eggert <eggert@cs.ucla.edu>
6003
6004 Port recent module changes to pickier compilers
6005
6006 * src/emacs-module.c (module_make_function)
6007 (module_make_string): Add casts to fix pointer signedness issues.
6008
60092015-11-23 Philipp Stephani <phst@google.com>
6010
6011 Fix how strings are accepted from modules
6012
6013 * src/emacs-module.c (module_make_function, module_make_string): Use
6014 make_multibyte_string.
6015 (module_copy_string_contents): Encode before reading the byte
6016 size. Return false if and only if an error occurred.
6017
60182015-11-23 Eli Zaretskii <eliz@gnu.org>
6019
6020 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
6021
60222015-11-23 Shakthi Kannan <shakthimaan@gmail.com>
6023
6024 Add the tamil-dvorak input method
6025
6026 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
6027
6028 * etc/NEWS: Mention the new input method.
6029
60302015-11-23 Martin Rudalics <rudalics@gmx.at>
6031
6032 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
6033
6034 * src/frame.c (adjust_frame_size): Don't set
6035 FRAME_WINDOW_SIZES_CHANGED here ...
6036 * src/window.c (resize_frame_windows): ... but here, as suggested
6037 by Stefan Monnier. Also remove some dead code along the way.
6038
60392015-11-23 Alan Mackenzie <acm@muc.de>
6040
6041 * etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
6042
60432015-11-23 Alan Mackenzie <acm@muc.de>
6044
6045 Signal an error when `setf' gets an odd number of arguments.
6046
6047 * lisp/emacs-lisp/gv.el (setf): Amend.
6048
60492015-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
6050
6051 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
6052
60532015-11-23 Alan Mackenzie <acm@muc.de>
6054
6055 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
6056
60572015-11-23 Alan Mackenzie <acm@muc.de>
6058
6059 Expunge occurrences of `setq' with an odd number of arguments.
6060
6061 * lisp/apropos.el (apropos-documentation):
6062 * lisp/obsolete/complete.el (PC-include-file-all-completions):
6063 * lisp/progmodes/compile.el (compilation-goto-locus):
6064 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
6065 Insert missing nil at end of `setq' forms.
6066
6067 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
6068 erroneous trailing variable name from a setq, thus allowing a compilation
6069 properly to track functions not defined at runtime.
6070
60712015-11-23 John Wiegley <johnw@newartisans.com>
6072
6073 Add a note about a questionable use of bool in xdisp.c
6074
60752015-11-23 Alan Mackenzie <acm@muc.de>
6076
6077 Issue a warning from the byte compiler on a malformed `setq' form.
6078
6079 Partly fixes bug#20241.
6080 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
6081 `setq' form with an odd number of arguments is compiled.
6082
60832015-11-23 Alan Mackenzie <acm@muc.de>
6084
6085 Don't let cconv_convert insert a nil argument into a `setq' form.
6086
6087 Fixes bug#21983.
6088 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
6089 argument into a `setq' when there're an odd number of args. This enables the
6090 byte compiler to issue a message in this case.
6091
60922015-11-23 Alan Mackenzie <acm@muc.de>
6093
6094 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
6095
6096 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
6097 (syms_of_eval): Add a DEFSYM for Qsetq.
6098
60992015-11-23 Martin Rudalics <rudalics@gmx.at>
6100
6101 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
6102
6103 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
6104
61052015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6106
6107 Add EUDC BBDB 3 entry in NEWS
6108
6109 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
6110
61112015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6112
6113 Improve EUDC to BBDB 3 export
6114
6115 * lisp/net/eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
6116 entry to single item. Add company conversion.
6117 * lisp/net/eudc-export.el (eudc-bbdbify-company): New function.
6118 (bbdb-parse-phone): Declare function.
6119 (eudc-bbdbify-phone): Add BBDB 3 support.
6120 (Bug#21971)
6121
61222015-11-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6123
6124 Add BBDB 3 support for EUDC export
6125
6126 * lisp/net/eudc.el: Add bbdb-version defvar.
6127 (eudc--using-bbdb-3-or-newer-p): New function.
6128 * lisp/net/eudc-export.el (eudc-create-bbdb-record): Add support for
6129 bbdb-create-internal argument list changes introduced in BBDB 3.
6130 * lisp/net/eudcb-bbdb.el: Remove bbdb-version defvar.
6131 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
6132 (Bug#21971)
6133
61342015-11-22 Eli Zaretskii <eliz@gnu.org>
6135
6136 Allow loading modules by 'load-file'
6137
6138 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
6139 2nd arg, to avoid the "binding stack not balanced" error.
6140 (syms_of_lread) <module-file-suffix>: New Lisp variable.
6141
6142 * lisp/files.el (module-file-suffix): Declare.
6143 (load-file): Remove 'module-file-suffix' from
6144 'completion-ignored-extensions', to allow completion on modules.
6145
6146 * etc/NEWS: Mention 'module-file-suffix'.
6147
61482015-11-22 Eli Zaretskii <eliz@gnu.org>
6149
6150 Fix unoptimized builds
6151
6152 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
6153 builds.
6154
61552015-11-22 Dmitry Gutov <dgutov@yandex.ru>
6156
6157 Work around the asynchronous-empty-diff problem
6158
6159 * lisp/vc/vc-rcs.el (vc-rcs-diff):
6160 * lisp/vc/vc-mtn.el (vc-mtn-diff):
6161 * lisp/vc/vc-hg.el (vc-hg-diff):
6162 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
6163 do a synchronous process call (bug#21969).
6164
61652015-11-22 Karl Fogel <kfogel@red-bean.com>
6166
6167 Finish excising electric indent from `open-line'
6168
6169 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
6170
6171 * test/automated/simple-test.el (open-line-indent, open-line-hook):
6172 Adjust accordingly.
6173
6174 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
6175 (git commit c59353896) started. It turns out that having INTERACTIVE
6176 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
6177 still had the electric indent behavior, as `post-self-insert-hook'
6178 normally contains `electric-indent-post-self-insert-function' ever
6179 since `electric-indent-mode' has been on by default. Tracing the code
6180 change in `open-line' is mildly twisty, because Artur Malabarba's
6181 earliest two commits of 24 Oct 2015 first removed the `interactive'
6182 form entirely (git commit 6939896e2) and then restored it with the new
6183 extra "p" already added (git commit bd4f04f86), such that there is no
6184 single-commit diff in which one sees the second "p" appear. Thus this
6185 change is effectively a reversion of parts of each of those commits.
6186
6187 This could close bug#21884, at least until further discussion.
6188
61892015-11-22 Dmitry Gutov <dgutov@yandex.ru>
6190
6191 Adhere closer to the "implicit tag name" definition
6192
6193 * lisp/progmodes/etags.el (etags-tags-completion-table):
6194 Adhere closer to the "implicit tag name" definition. Simplify
6195 the regexp. Search for the explicit tag name first, and when
6196 not found, search locally for the implicit one. (Bug#21934)
6197
61982015-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6199
6200 Unrevert most of regexp reentrancy abort patch
6201
6202 The problem was in:
6203 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
6204 which is hence not unreverted.
6205 The rest is:
6206 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
6207 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
6208 All callers in regex.c changed back to the _FAST versions.
6209
6210 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
6211 propertization in backward-sexp.
6212
62132015-11-21 Paul Eggert <eggert@cs.ucla.edu>
6214
6215 Revert regexp reentrancy abort patch
6216
6217 Although the patch does fix Bug#21688 and prevents a core dump,
6218 it also makes the message-mode-propertize test fail; see:
6219 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
6220 Perhaps someone else can come up with a better fix some day.
6221 * src/syntax.c (update_syntax_table_forward):
6222 Propertize even when truncated.
6223 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
6224 (UPDATE_SYNTAX_TABLE_FAST): Remove.
6225 All callers changed back to the non-_FAST versions.
6226
62272015-11-21 Paul Eggert <eggert@cs.ucla.edu>
6228
6229 Add a few safety checks when ENABLE_CHECKING
6230
6231 This was motivated by the recent addition of module code,
6232 which added some ENABLE_CHECKING-enabled checks that are
6233 useful elsewhere too.
6234 * src/alloc.c (compact_font_cache_entry):
6235 * src/fns.c (sweep_weak_table):
6236 * src/lread.c (oblookup):
6237 Use gc_asize rather than doing it by hand.
6238 * src/emacs-module.c (module_make_global_ref)
6239 (module_free_global_ref, module_vec_size):
6240 Omit assertions that lisp.h now checks.
6241 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
6242 check that the result is nonnegative. Use eassume, as this
6243 info can help a bit when optimizing production code.
6244 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
6245 to be consistent with the USE_LSB_TAG case.
6246 (gc_asize): New function, when ASIZE is needed in the gc.
6247 (gc_aset): Use it.
6248 (HASH_TABLE_P): Move definition up, so that it can be used ...
6249 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
6250
62512015-11-21 Eli Zaretskii <eliz@gnu.org>
6252
6253 Simplify recording of main thread's ID on MS-Windows
6254
6255 * src/w32term.c (w32_initialize):
6256 * src/w32console.c (initialize_w32_display):
6257 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
6258 ID independently for each type of session (GUI, TTY, batch).
6259 * src/w32term.c (w32_init_main_thread): New function, records the
6260 main thread's thread ID.
6261 * src/w32term.h: Add prototype for w32_init_main_thread.
6262 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
6263
6264 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
6265 main_thread, for consistency with other threading libraries. All
6266 users changed. Include w32term.h.
6267 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
6268 make sure the main thread is alive, as we hold a handle on it
6269 opened by w32_init_main_thread.
6270 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
6271 w32_init_main_thread, instead of calling the requisite APIs once
6272 more.
6273
62742015-11-21 Mark Oteiza <mvoteiza@udel.edu>
6275
6276 Backport: Fix issue where a new tempfile was created every refresh
6277
6278 * lisp/mpc.el (mpc-format): Leave dir as relative path
6279
62802015-11-21 Eli Zaretskii <eliz@gnu.org>
6281
6282 Call 'window-size-change-functions' for mini-windows
6283
6284 * src/window.c (grow_mini_window, shrink_mini_window): Set the
6285 frame's 'window_sizes_changed' flag.
6286 * src/xdisp.c (redisplay_internal): Call the hooks on
6287 'window-size-change-functions' if the call to 'echo_area_display'
6288 sets the frame's 'window_sizes_changed' flag.
6289 (syms_of_xdisp) <window-size-change-functions>:
6290 Update doc string to indicate the mini-window resizes trigger a
6291 call to the hooks, and don't promise that will happen "before
6292 redisplay". (Bug#19576, Bug#21333)
6293
6294 * doc/lispref/windows.texi (Window Hooks): Update the description
6295 of 'window-size-change-functions'.
6296
62972015-11-21 Eli Zaretskii <eliz@gnu.org>
6298
6299 Improve documentation of dynamic modules
6300
6301 * src/fns.c (Frequire): Doc fix to include the dynamic module
6302 support.
6303 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
6304 dynamic module support.
6305 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
6306 wrt the MUST-SUFFIX argument.
6307
6308 * etc/NEWS: Expand documentation of dynamically loaded modules.
6309
63102015-11-21 Philipp Stephani <phst@google.com> (tiny change)
6311
6312 Initial documentation for dynamic modules
6313
6314 * etc/NEWS: Mention the new support for dynamically loaded modules.
6315
63162015-11-21 Dmitry Gutov <dgutov@yandex.ru>
6317
6318 Add xref--etags-backend to xref-backing-functions using add-hook
6319
6320 * lisp/progmodes/xref.el (xref-backend-functions): Move the
6321 default value into a separate `add-hook' call (bug#21964).
6322
6323 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
6324 Don't declare the xref-backend-functions variable.
6325 It doesn't make any difference.
6326
63272015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6328
6329 Fix double-decrement bug when freeing global refs
6330
6331 * src/emacs-module.c (module_free_global_ref): Add a FIXME
6332 comment about error reporting. Fix a recently-introduced typo
6333 that double-decremented the refcount.
6334
63352015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6336
6337 Declare emacs_module_init in the module API
6338
6339 * src/emacs-module.h (emacs_module_init): New decl.
6340 Without it, GCC might complain about a module that defines
6341 emacs_module_init without using it. This also checks the
6342 API better.
6343
63442015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6345
6346 Fix module test to use ptrdiff_t nargs too
6347
6348 * modules/mod-test/mod-test.c (Fmod_test_return_t)
6349 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
6350 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
6351 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
6352 (Fmod_test_userptr_get, Fmod_test_vector_fill)
6353 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
6354 (finalizer): Remove; no longer used.
6355
63562015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6357
6358 Fix reindent-introduced typo in module code
6359
6360 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
6361 introduced while reindenting the code earlier, and add a
6362 comment explaining the unusual use of do-while here.
6363
63642015-11-20 Anders Lindgren <andlind@gmail.com>
6365
6366 Fixed bug#19576: `write-file' saves wrong buffer.
6367
6368 If a function on the hook `window-size-change-functions' doesn't
6369 restore the current buffer, functions that save and restore the
6370 current window configuration (like `y-or-no-p') could silently
6371 change the current buffer. When `write-file' asked the user
6372 confirmation to overwrite a file, `y-or-no-p' changed the current
6373 buffer, and the wrong buffer was saved to the file.
6374
6375 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
6376 using the `norecord' parameter.
6377 (follow-window-size-change): Restore current buffer. Call
6378 `select-frame' using the `norecord' parameter. Cleanup.
6379
63802015-11-20 John Wiegley <johnw@newartisans.com>
6381
6382 Correct a documentation error in frames.texi
6383
63842015-11-20 Stephen Leake <stephen_leake@stephe-leake.org>
6385
6386 * lisp/cedet/mode-local.el: Delete obsolete comment
6387
63882015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6389
6390 Module function arg counts are ptrdiff_t, not int
6391
6392 * src/emacs-module.c (struct module_fun_env)
6393 (module_make_function, module_funcall, Fmodule_call):
6394 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
6395 Use ptrdiff_t, not int, for arg counts.
6396 * src/emacs-module.c (module_make_function): Don’t bother
6397 checking arity against MOST_POSITIVE_FIXNUM, as that’s
6398 unnecessary here. Make the checking clearer by negating it.
6399 (module_make_function, Fmodule_call): No need to use xzalloc
6400 since the storage doesn’t need to be cleared.
6401 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
6402 for it, and many implementations are buggy with large VLAs anyway.
6403 Use SAFE_ALLOCA_LISP instead.
6404 (module_vec_set): Don’t crash if i < 0.
6405 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
6406 (module_vec_set, module_vec_get): Do fixnum checks only when
6407 i is out of array bounds, for efficiency in the usual case.
6408 (Fmodule_load): Simplify fixnum range check.
6409 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
6410 integer overflow in array allocation size.
6411
64122015-11-20 Eli Zaretskii <eliz@gnu.org>
6413
6414 Minor improvements in module test
6415
6416 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
6417 about missing prototype of malloc.
6418 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
6419 compiler warnings.
6420
64212015-11-20 Eli Zaretskii <eliz@gnu.org>
6422
6423 Improve MS-Windows implementation in dynlib.c
6424
6425 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
6426 No need to include windows.h, as w32.h already does that.
6427 <dynlib_last_err>: New static variable.
6428 (dynlib_reset_last_error): New function.
6429 (dynlib_open): Convert forward slashes to backslashes. Convert
6430 file names from UTF-8 to either UTF-16 or the current ANSI
6431 codepage, and call either LoadLibraryW or LoadLibraryA. If the
6432 argument is NULL, return a handle to the main module, like
6433 'dlopen' does. Record the error, if any, for use by dynlib_error.
6434 (dynlib_sym): Check the handle for validity. Record the error, if
6435 any, for use by dynlib_error.
6436 (dynlib_error): Call w32_strerror to produce the error string, and
6437 zero out the last error code, like dlerror does.
6438 (dynlib_close): Check the handle for validity. Record the error,
6439 if any, for use by dynlib_error. Don't call FreeLibrary with a
6440 handle for the main module.
6441 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
6442
64432015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6444
6445 Include-file tweaks for modules
6446
6447 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
6448 * src/dynlib.h: Do not include config.h.
6449 It’s every .c file’s responsibility to include config.h first.
6450 * src/emacs-module.c: Include emacs-module.h immediately after
6451 config.h, to test that emacs-module.h doesn’t depend on
6452 include files other than config.h.
6453
64542015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6455
6456 Simplify push_handler and profile its malloc
6457
6458 * src/lisp.h (PUSH_HANDLER): Remove.
6459 All callers changed to use push_handler directly.
6460 * src/eval.c (internal_condition_case)
6461 (internal_condition_case_1, internal_condition_case_2)
6462 (internal_condition_case_n):
6463 Use same pattern as for other invokers of push_handler.
6464 (push_handler, push_handler_nosignal): Use call-by-value
6465 instead of call-by-reference. All uses changed.
6466 (push_handler): Simplify by rewriting in terms of
6467 push_handler_nosignal.
6468 (push_handler_nosignal): Profile any newly allocated memory.
6469
64702015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6471
6472 * src/emacs-module.h: Include stddef.h, not stdlib.h.
6473
64742015-11-20 Juanma Barranquero <lekktu@gmail.com>
6475
6476 Discover repository version in linked worktrees (bug#21930)
6477
6478 * lisp/version.el (emacs-repository--version-git-1): Do not assume
6479 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
6480 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
6481 is nil too.
6482
64832015-11-20 Juri Linkov <juri@linkov.net>
6484
6485 * lisp/replace.el (occur-regexp-descr): New function.
6486 (occur-1, occur-engine): Use it.
6487
6488 * lisp/isearch.el (isearch-occur): Propertize regexp with
6489 isearch-string and isearch-regexp-function-descr for
6490 occur-regexp-descr to display the correct description
6491 message in the header (bug#21176, bug#21180).
6492
64932015-11-20 Karl Fogel <kfogel@red-bean.com>
6494
6495 Revert `open-line' electric-indent sensitivity
6496
6497 * lisp/simple.el (open-line): Remove electric indent code.
6498 (electric-indent-just-newline): Don't declare.
6499
6500 * test/automated/simple-test.el (open-line-indent): Adjust test.
6501
6502 This partly reverts Artur Malabarba's change that added electric
6503 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
6504 commit bd4f04f86), and adjusts a new test he added right afterwards
6505 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
6506 However, the new INTERACTIVE argument to `open-line', which he also
6507 added in the first commit, is not reverted here.
6508
6509 See the thread "Questioning the new behavior of `open-line'." on the
6510 Emacs Devel mailing list, and in particular this message:
6511
6512 From: Artur Malabarba
6513 Subject: Re: Questioning the new behavior of `open-line'.
6514 To: Karl Fogel
6515 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
6516 Date: Wed, 18 Nov 2015 21:03:58 +0000
6517 Message-ID: \
6518 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
6519
6520 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
6521
65222015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6523
6524 Omit unnecessary clear in Fmodule_load
6525
6526 * src/emacs-module.c (Fmodule_load):
6527 Simplify and avoid unnecessary initialization of priv member to 0.
6528
6529 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
6530
65312015-11-20 Paul Eggert <eggert@cs.ucla.edu>
6532
6533 Prefer signed integer types in module code
6534
6535 Generally speaking, at the C level the Emacs source code prefers
6536 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
6537 partly to avoid the usual signedness confusion when comparing values.
6538 Change the module API to follow this convention.
6539 Use ‘int’ for small values that can’t exceed INT_MAX.
6540 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
6541 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
6542 (Fmod_test_vector_eq):
6543 * src/emacs-module.c (struct emacs_value_frame)
6544 (module_make_global_ref, module_free_global_ref)
6545 (module_copy_string_contents, module_make_string)
6546 (module_vec_set, module_vec_get, module_vec_size):
6547 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
6548 * src/lread.c (suffix_p):
6549 Prefer signed to unsigned integer types.
6550
65512015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6552
6553 Omit ‘const’ on locals
6554
6555 Remove ‘const’ qualifier from locals that were newly added.
6556 We don’t normally bother declaring locals with ‘const’ even
6557 though they are not modified, for the same reason we don’t
6558 bother declaring them with ‘register’ even though their
6559 addresses are not taken; the advantage in compile-time
6560 checking isn’t worth the loss of readability.
6561 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
6562 (Fmod_test_vector_fill, Fmod_test_vector_eq):
6563 * src/emacs-module.c (MODULE_SETJMP_1)
6564 (module_make_global_ref, module_free_global_ref)
6565 (module_non_local_exit_get, module_make_function)
6566 (module_extract_integer, module_extract_float)
6567 (module_get_user_ptr, module_set_user_ptr)
6568 (module_get_user_finalizer, module_set_user_finalizer)
6569 (module_vec_get, Fmodule_call)
6570 (module_non_local_exit_signal_1)
6571 (module_non_local_exit_throw_1, lisp_to_value)
6572 (finalize_storage, allocate_emacs_value, mark_modules)
6573 (module_handle_signal, module_handle_throw)
6574 (module_format_fun_env):
6575 * src/eval.c (push_handler, push_handler_nosignal)
6576 (init_handler):
6577 * src/lread.c (suffix_p):
6578 Omit unnecessary ‘const’.
6579
65802015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6581
6582 Prefer intmax_t to int64_t in module code
6583
6584 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
6585 * src/emacs-module.c (module_extract_integer)
6586 (module_make_integer):
6587 * src/emacs-module.h (struct emacs_env_25):
6588 Prefer intmax_t to int64_t. This doesn’t change the generated
6589 code on any of the machines Emacs currently ports to, but it’s
6590 at least in theory more future-proof as C99 doesn’t guarantee
6591 that int64_t exists.
6592
65932015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6594
6595 Rename module.c to emacs-module.c, etc.
6596
6597 * src/emacs-module.c: Rename from src/module.c.
6598 * src/emacs-module.h: Rename from src/module.h.
6599 All uses changed.
6600
66012015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6602
6603 Fix minor module problems found by static checking
6604
6605 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
6606 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
6607 * src/emacs-module.c (Fmodule_load): Fix pointer signedness bug.
6608 (Fmodule_call): Tell GCC that the default case is unreachable.
6609
66102015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6611
6612 Style fixes for indenting etc. in module code
6613
6614 This is mostly indenting and spacing changes. Also, remove
6615 some unnecessary static decls instead of bothering to reindent them.
6616 * src/emacs-module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
6617 as most other Emacs files do for this sort of thing.
6618
66192015-11-19 Eli Zaretskii <eliz@gnu.org>
6620
6621 Minor improvements in modules testing Makefile
6622
6623 * modules/mod-test/Makefile (EMACS, SO): New variables.
6624 (CFLAGS): When SO = dll, don't use -fPIC.
6625 (check): New target, runs the test.
6626
66272015-11-19 Eli Zaretskii <eliz@gnu.org>
6628
6629 * .gitignore: Add "*.dll".
6630
66312015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6632
6633 Migrate modules/.gitignore into .gitignore
6634
6635 * .gitignore: Add former contents of modules/.gitignore.
6636 * modules/.gitignore: Remove.
6637
66382015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6639
6640 Add copyright notices to module code
6641
6642 Put them in the usual format for GNU Emacs copyright notices.
6643
66442015-11-19 Paul Eggert <eggert@cs.ucla.edu>
6645
6646 Rename emacs_module.h to module.h
6647
6648 * src/module.h: Rename from src/emacs_module.h.
6649 All uses changed.
6650
66512015-11-19 Juanma Barranquero <lekktu@gmail.com>
6652
6653 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
6654
6655 * src/lread.c (Fload): Remove unused variable `size'
6656
66572015-11-19 Alan Mackenzie <acm@muc.de>
6658
6659 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
6660
66612015-11-19 Dmitry Gutov <dgutov@yandex.ru>
6662
6663 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
6664
6665 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
6666 vc-parent-buffer over log-view-mode fallback (bug#21955).
6667
66682015-11-18 Alan Mackenzie <acm@muc.de>
6669
6670 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
6671
66722015-11-18 Ken Brown <kbrown@cornell.edu>
6673
6674 * configure.ac (LIBMODULES): Don’t define on Cygwin
6675
66762015-11-18 Eli Zaretskii <eliz@gnu.org>
6677
6678 Fix MS-Windows build --with-modules
6679
6680 * src/module.c: Reformat copyright commentary.
6681 (module_vec_get): Use explicit cast to size_t to avoid compiler
6682 warning in 32-bit builds.
6683 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
6684 Compare thread IDs directly, as GetThreadId is not available
6685 before Windows Vista.
6686 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
6687 without using APIs and constants not available on XP and older
6688 systems. Obtain and store the thread ID as well.
6689
66902015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6691 Philipp Stephani <phst@google.com>
6692
6693 Add dynamic module test and helper script
6694
6695 Add 'modhelp.py' script (python2) to automate module testing and
6696 module generation.
6697
6698 To build and test all modules in the modules/ dir
6699 $ ./modhelp.py test
6700
6701 To generate a module from template code (good starting point)
6702 $ ./modhelp init mynewtestmodule
6703
6704 See the script -h option for more documentation.
6705
6706 * modules/modhelp.py: New module helper script.
6707 * modules/mod-test/Makefile: New file. Makefile for the test module.
6708 * modules/mod-test/mod-test.c: New file. Test module source file.
6709 * modules/mod-test/test.el: New file. ert test suite for the test module.
6710 * modules/.gitignore: New file. Local .gitignore file.
6711
67122015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6713
6714 Make 'Fload' look for modules
6715
6716 'Fload' can now load dynamic modules. This also makes 'require' work.
6717
6718 * src/lread.c:
6719 (suffix_p): New function.
6720 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
6721 with a module suffix.
6722 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
6723
67242015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6725 Philipp Stephani <phst@google.com>
6726
6727 Add dynamic module module support
6728
6729 * configure.ac: Add '--with-modules' option. Conditionally add
6730 dynlib.o and module.o to the list of objects. Add any system
6731 specific flags to the linker flags to support dynamic libraries.
6732 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
6733 attributes.
6734 * src/Makefile.in: Conditionally add module objects and linker flags.
6735 * src/alloc.c (garbage_collect_1): protect module local values from
6736 GC.
6737 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
6738 * src/emacs-module.h: New header file included by modules. Public
6739 module API.
6740 * src/emacs-module.c: New module implementation file.
6741
67422015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6743
6744 Add new User Pointer (User_Ptr) type
6745
6746 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
6747 (XUSER_PTR): New User_Ptr accessor.
6748 * src/alloc.c (make_user_ptr): New function.
6749 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
6750 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
6751 (Fuser-ptrp): New user pointer type predicate function.
6752 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
6753 subr.
6754 * src/print.c (print_object): Add printer for User_Ptr type.
6755
67562015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
6757 Philipp Stephani <phst@google.com>
6758
6759 Add portable layer for dynamic loading
6760
6761 * src/dynlib.h: New file.
6762 * src/dynlib.c: New file.
6763
67642015-11-18 Philipp Stephani <phst@google.com>
6765
6766 Add catch-all & no-signal version of PUSH_HANDLER
6767
6768 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
6769 a new "catch-all" handler type.
6770
6771 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
6772 functions.
6773 * src/fns.c (hash_remove_from_table): Expose function public.
6774 * src/lisp.h: New handler type, define macro to push_handler call.
6775
67762015-11-18 Ken Brown <kbrown@cornell.edu>
6777
6778 Silence byte-compiler warning
6779
6780 * lisp/server.el (server-process-filter): Silence byte-compiler
6781 warning.
6782
67832015-11-18 Paul Eggert <eggert@cs.ucla.edu>
6784
6785 Quote symbols in docstrings using `'
6786
6787 Be more systematic about quoting symbols `like-this' rather than
6788 `like-this or 'like-this' in docstrings. This follows up Artur
6789 Malabarba's email in:
6790 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
6791
67922015-11-18 Peder O. Klingenberg <peder@klingenberg.no>
6793
6794 Fix savegames in dunnet
6795
6796 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
6797 of separate implementation.
6798
67992015-11-18 Artur Malabarba <bruce.connor.am@gmail.com>
6800
6801 * lisp/emacs-lisp/package.el (package--with-response-buffer):
6802
6803 Ensure we're at the start of the buffer before searching for
6804 the end of headers.
6805
68062015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6807
6808 * admin/release-process: Improve wording.
6809
68102015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6811
6812 Backport: * CONTRIBUTE: Remove information about feature freeze.
6813
6814 (cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)
6815
68162015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6817
6818 Backport: Document the release process
6819
6820 * admin/notes/versioning: Add information about RC releases.
6821 * admin/release-process: Document the release process.
6822 * admin/authors.el (authors-ignored-files):
6823 * admin/README: Change FOR-RELEASE to release-process.
6824 * CONTRIBUTE:
6825 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
6826
6827 (cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)
6828
68292015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6830
6831 Backport: * admin/release-process: Rename from admin/FOR-RELEASE.
6832
6833 (cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)
6834
68352015-11-18 Xue Fuqiao <xfq.free@gmail.com>
6836
6837 Backport: Mention CONTRIBUTE in README
6838
6839 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
6840 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
6841 * README: Mention CONTRIBUTE.
6842
6843 (cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)
6844
68452015-11-18 Paul Eggert <eggert@cs.ucla.edu>
6846
6847 Fix docstring quoting problems with ‘ '’
6848
6849 Problem reported by Artur Malabarba in:
6850 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
6851 Most of these fixes are to documentation; many involve fixing
6852 longstanding quoting glitches that are independent of the
6853 recent substitute-command-keys changes. The changes to code are:
6854 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
6855 (describe-mode-local-overload):
6856 Substitute docstrings before displaying them.
6857 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
6858 Quote the generated docstring for later substitution.
6859
68602015-11-17 Eli Zaretskii <eliz@gnu.org>
6861
6862 Improve configure --help text for wide ints
6863
6864 * configure.ac (wide-int): Clarify user-level advantages and
6865 disadvantages.
6866
68672015-11-17 Stephen Leake <stephen_leake@stephe-leake.org>
6868
6869 Improve doc string
6870
6871 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
6872
68732015-11-17 Paul Eggert <eggert@cs.ucla.edu>
6874
6875 eval_sub followed dangling pointer when debugging
6876
6877 Problem reported by Pip Cet (Bug#21245).
6878 This bug could occur in eval_sub if the C compiler reused
6879 storage associated with the ‘argvals’ local after ‘argvals’
6880 went out of scope, and if the Elisp debugger stopped on Elisp
6881 function exit and accessed ‘argvals’. It could also occur if
6882 a variadic function was called with so many arguments (over
6883 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
6884 SAFE_FREE freed the arguments, then the memory manager used
6885 the storage for other purposes, then the debugger accessed the
6886 arguments.
6887 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
6888 function body. Simplify local decls.
6889 When allocating args via SAFE_ALLOCA, call
6890 debugger before invoking SAFE_FREE, as the debugger needs
6891 access to the args.
6892 (eval_sub, apply_lambda): Rework to avoid need for
6893 set_backtrace_debug_on_exit hack. This is cleaner,
6894 and should work better with buggy custom debuggers.
6895
68962015-11-17 Daiki Ueno <ueno@gnu.org>
6897
6898 * lisp/image-mode.el: Support encrypted file
6899
6900 (image-toggle-display-image): Read content from the buffer instead
6901 of the file, if the buffer holds a decrypted data. (Bug#21870)
6902
69032015-11-17 Paul Eggert <eggert@cs.ucla.edu>
6904
6905 ELF unexec: align section header
6906
6907 This ports the recent unexelf.c changes to Fedora x86-64
6908 when configured with GCC’s -fsanitize=undefined option.
6909 * src/unexelf.c (unexec): Align new_data2_size to a multiple
6910 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
6911 pointer aligned appropriately for its type.
6912
69132015-11-17 Andreas Schwab <schwab@linux-m68k.org>
6914
6915 Do more checks on bytecode objects (Bug#21929)
6916
6917 * src/eval.c (funcall_lambda): Check size of compiled function
6918 object.
6919 (Ffetch_bytecode): Likewise.
6920
69212015-11-16 Johan Bockgård <bojohan@gnu.org>
6922
6923 pcase.el: Fix edebugging of backquoted cons patterns
6924
6925 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
6926 cons patterns. (Bug#21920)
6927
69282015-11-16 Paul Eggert <eggert@cs.ucla.edu>
6929
6930 Improve fix for regex reentrancy abort
6931
6932 Suggested by Stefan Monnier (Bug#21688).
6933 * src/syntax.c (update_syntax_table_forward):
6934 Remove recently-added PROPERTIZE arg, and assume it is true.
6935 All callers changed.
6936 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
6937 Invoke update_syntax_table directly.
6938
69392015-11-16 Artur Malabarba <bruce.connor.am@gmail.com>
6940
6941 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
6942
6943 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
6944
6945 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
6946
69472015-11-16 Vasily Korytov <vasily.korytov@yahoo.com>
6948
6949 Recognize .rbw and .pyw files (bug#18753)
6950
6951 * lisp/progmodes/python.el (auto-mode-alist):
6952 Recognize .pyw files.
6953
6954 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
6955 Recognize .rbw files.
6956
69572015-11-16 Dmitry Gutov <dgutov@yandex.ru>
6958
6959 Fix ruby-mode auto-mode-alist entry
6960
6961 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
6962 around the extensions (bug#21257).
6963
69642015-11-15 Dmitry Gutov <dgutov@yandex.ru>
6965
6966 Fix etags completion near eob
6967
6968 * lisp/progmodes/etags.el (tags-completion-at-point-function):
6969 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
6970
69712015-11-15 Alan Mackenzie <acm@muc.de>
6972
6973 De-pessimize detection of C++ member initialization lists.
6974
6975 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
6976 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
6977 is only called when a construct "looks right" rather than continually.
6978 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
6979
69802015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
6981
6982 Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.
6983
6984 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
6985 `url-insert-buffer-contents'.
6986 (url-insert-buffer-contents): New function
6987
6988 (package--with-response-buffer): Use `url-insert-buffer-contents'.
6989 The previous code had some issues with decoding. Refactoring that
6990 function allows us to use the decoding from url-handlers while still
6991 treating both sync and async requests the same.
6992
69932015-11-15 Stephen Leake <stephen_leake@stephe-leake.org>
6994
6995 Improve a few doc strings, comments
6996
6997 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
6998 * lisp/cedet/ede/locate.el (ede-locate-base):
6999 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
7000 * src/fns.c (Fdelq): Improve doc string.
7001
7002 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
7003
70042015-11-15 Anders Lindgren <andlind@gmail.com>
7005
7006 Enhance NSTRACE (trace output for NextStep).
7007
7008 Trace can be disabled for groups of functions. By default, event
7009 functions and functions that generate lots of output are disabled.
7010
7011 Trace output of Objective-C functions now use the "[ClassName
7012 parameter:]" form.
7013
7014 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
7015 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
7016 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
7017 controlling in which function groups trace should be active.
7018 (NSTRACE_WHEN): Support for silencing a function, this also
7019 silencing all called functions.
7020 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
7021 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
7022 print the full screen state in NSTRACE functions.
7023
7024 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
7025 can be accessed from multiple threads.
7026 (nstrace_enabled_global): New variable, when FALSE, trace is
7027 silenced.
7028 (nstrace_restore_global_trace_state): New function, used to
7029 restore `nstrace_enabled_global' at end of block.
7030 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
7031 ([EmacsWindow setFrame:display:animation:])
7032 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
7033 and call corresponding super function.
7034 (Many functions): Add or enhance trace output.
7035
7036 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
7037
7038 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
7039
7040 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
7041 and call corresponding super function.
7042
70432015-11-15 Anders Lindgren <andlind@gmail.com>
7044
7045 Fixed a toolbar related issue on OS X.
7046
7047 Earlier, when toggling the tool-bar in a maximized frame, the
7048 frame size didn't match the number of text lines, leaving an
7049 unused area at the bottom of the frame.
7050
7051 * src/nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
7052 fullscreen modes when tool bar is disabled.
7053
70542015-11-15 Anders Lindgren <andlind@gmail.com>
7055
7056 Fixed OS X 10.6.8 build issue (bug#21862).
7057
7058 * src/nsterm.h (EmacsView): Add missing declarations.
7059 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
7060 the standard method but without the notification parameter.
7061 Intended to be used for direct calls.
7062 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
7063 version of `windowDidBecomeKey'. Made the notification method call
7064 the non-notification method instead of the vice versa.
7065 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
7066 needed.
7067
70682015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
7069
7070 * lisp/faces.el (faces--attribute-at-point): Fix an issue
7071
7072 Previous code would signal an error when the face at point was
7073 a manually built list of attributes such as '(:foregroud "white").
7074
7075 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
7076
70772015-11-15 Paul Eggert <eggert@cs.ucla.edu>
7078
7079 Fix regex abort when it tries to reenter itself
7080
7081 Problem reported by Ken Raeburn.
7082 Solution suggested by Stefan Monnier (Bug#21688).
7083 * src/regex.c (re_match_2_internal):
7084 Use new _FAST functions to avoid regex code reentering itself.
7085 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
7086 All callers changed.
7087 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
7088 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
7089
70902015-11-15 Dmitry Gutov <dgutov@yandex.ru>
7091
7092 Improve Ruby 1.9-style keyword keys highlighting
7093
7094 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
7095 Handle required keyword arguments (bug#21367).
7096 And highlight the colon together with the name.
7097
70982015-11-15 Dmitry Gutov <dgutov@yandex.ru>
7099
7100 Unify the absolutely equal xref-backend-references implementations
7101
7102 * lisp/progmodes/elisp-mode.el (xref-backend-references):
7103 Remove.
7104
7105 * lisp/progmodes/etags.el (xref-backend-references):
7106 Remove.
7107
7108 * lisp/progmodes/xref.el (xref-backend-references):
7109 Define the default implementation.
7110
71112015-11-15 Dmitry Gutov <dgutov@yandex.ru>
7112
7113 Update project-find-regexp for the new xref API
7114
7115 * lisp/progmodes/project.el (project--read-regexp):
7116 Update to use the new xref API methods.
7117
7118 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
7119
71202015-11-15 Dmitry Gutov <dgutov@yandex.ru>
7121
7122 Fix replacing a match with a shorter string
7123
7124 In effect, partially reverting fe973fc.
7125
7126 * lisp/progmodes/xref.el (xref-query-replace): Store the end
7127 of each match as a marker again, instead of length.
7128 (xref--query-replace-1): Update accordingly.
7129
71302015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
7131
7132 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
7133
7134 Signal user-errors instead.
7135
71362015-11-14 Eli Zaretskii <eliz@gnu.org>
7137
7138 Document 'describe-symbol'
7139
7140 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
7141 (Name Help): Document "C-h o" and describe-symbol.
7142
7143 * lisp/help-fns.el (describe-symbol): Doc fix.
7144
71452015-11-14 Paul Eggert <eggert@cs.ucla.edu>
7146
7147 Change test name to avoid spellcheck issue.
7148
71492015-11-14 Eli Zaretskii <eliz@gnu.org>
7150
7151 Avoid signaling an error in 'describe-symbol'
7152
7153 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
7154 exists as a function/variable/face/etc., but is undocumented.
7155
7156 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
7157 test.
7158
71592015-11-14 Eli Zaretskii <eliz@gnu.org>
7160
7161 * INSTALL (--with-cairo): Document this new configure option.
7162
71632015-11-14 Eli Zaretskii <eliz@gnu.org>
7164
7165 Document that GNU Make >= 3.81 is required to build Emacs
7166
7167 * doc/lispref/internals.texi (Building Emacs): Document that GNU
7168 Make 3.81 or later is now required.
7169
71702015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
7171
7172 Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
7173
7174 (package--with-work-buffer-async): Reimplement as
7175 `package--with-response-buffer'.
7176 (package--with-work-buffer): Mark obsolete.
7177 (package--with-response-buffer): New macro. This is a more self
7178 contained and less contrived version of
7179 `package--with-work-buffer-async'. It uses keyword arguments,
7180 doesn't have async on the name, doesn't fallback on
7181 `package--with-work-buffer', and has _much_ simpler error
7182 handling. On master, this macro will soon be part of another
7183 library (either standalone or inside url.el), which is why this
7184 commit is not to be merged back.
7185
7186 (package--check-signature, package--download-one-archive)
7187 (package-install-from-archive, describe-package-1): Use it.
7188
7189 (package--download-and-read-archives): Let
7190 `package--download-one-archive' take care of calling
7191 `package--update-downloads-in-progress'.
7192
71932015-11-14 Eli Zaretskii <eliz@gnu.org>
7194
7195 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
7196
71972015-11-14 Dmitry Gutov <dgutov@yandex.ru>
7198
7199 Merge branch 'master' into emacs-25
7200
72012015-11-14 Dmitry Gutov <dgutov@yandex.ru>
7202
7203 Use generic dispatch for xref backends
7204
7205 * lisp/progmodes/xref.el (xref-backend-functions):
7206 New variable.
7207 (xref-find-function): Remove.
7208 (xref-find-backend)
7209 (xref--etags-backend): New functions.
7210 (xref-identifier-at-point-function)
7211 (xref-identifier-completion-table-function): Remove.
7212 (xref-backend-definitions, xref-backend-references)
7213 (xref-backend-apropos, xref-backend-identifier-at-point)
7214 (xref-backend-identifier-completion-table):
7215 New generic functions.
7216
7217 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add
7218 `elisp--xref-backend' to the beginning of
7219 `xref-backend-functions', locally. Delete references to
7220 removed functions and vars.
7221 (elisp-xref-find): Remove.
7222 (elisp--xref-backend): New function.
7223 (elisp--xref-find-references, elisp--xref-find-apropos)
7224 (elisp--xref-identifier-completion-table):
7225 Turn into appropriately named generic methods.
7226
7227 * lisp/progmodes/etags.el (etags-xref-find): Remove.
7228 (xref-backend-identifier-completion-table)
7229 (xref-backend-references, xref-backend-definitions)
7230 (xref-backend-apropos): New generic methods.
7231
72322015-11-14 Juri Linkov <juri@linkov.net>
7233
7234 Support rectangular regions for more commands
7235
7236 * lisp/simple.el (region-extract-function): Handle the arg value ‘bounds’.
7237 (region-insert-function): New function.
7238 (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
7239 If non-nil, operate on multiple chunks.
7240 (region-noncontiguous-p): New function.
7241
7242 * lisp/rect.el: Add function rectangle--insert-region
7243 around region-insert-function.
7244 (extract-rectangle-bounds): New function.
7245 (rectangle--extract-region): Handle the arg value ‘bounds’.
7246 (rectangle--insert-region): New function.
7247
7248 * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
7249 around region-insert-function.
7250 (cua--extract-rectangle-bounds): New function.
7251 (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
7252
7253 * lisp/replace.el (query-replace, query-replace-regexp): Add arg
7254 ‘region-noncontiguous-p’. Use ‘use-region-p’.
7255 (query-replace-regexp-eval, map-query-replace-regexp)
7256 (replace-string, replace-regexp): Use ‘use-region-p’.
7257 (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
7258 (perform-replace): Add arg ‘region-noncontiguous-p’.
7259 If non-nil, operate on multiple chunks.
7260
7261 * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
7262 If non-nil, operate on multiple chunks. (Bug#19829)
7263
72642015-11-14 Dmitry Gutov <dgutov@yandex.ru>
7265
7266 Handle multiple matches on the same line; add highlighting
7267
7268 * lisp/progmodes/xref.el (xref-location-marker): Interpret the
7269 column value in characters.
7270 (xref--collect-matches): Rename from `xref--collect-match'.
7271 Search for all matches in the hit line. Add `highlight' face to
7272 the matched region in the summary. Update both callers.
7273
72742015-11-14 Dmitry Gutov <dgutov@yandex.ru>
7275
7276 Replace xref-match-bounds with xref-match-length
7277
7278 Relying on xref-location-marker to point to the beginning of the match
7279
7280 * lisp/progmodes/xref.el (xref-match-bounds): Remove.
7281 (xref-match-length): Add.
7282 (xref-make-match): Change the arguments.
7283 (xref--match-buffer-bounds): Remove.
7284 (xref-match-item): Store length, instead of end-column.
7285 (xref-pulse-momentarily)
7286 (xref--collect-match)
7287 (xref--query-replace-1): Update accordingly.
7288 (xref-query-replace): Ditto. And check that the search results
7289 are up-to-date.
7290
72912015-11-13 John Wiegley <johnw@newartisans.com>
7292
7293 Merge remote-tracking branch 'origin/master' into emacs-25
7294
72952015-11-13 l3thal <kwhite@gnu.org>
7296
7297 Merge branch 'erc-async-reconnect' into emacs-25
7298
7299 Reconnect asynchronously.
7300
73012015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7302
7303 Merge from gnulib
7304
7305 This incorporates:
7306 2015-11-13 xalloc-oversized: improve performance with GCC 5
7307 * lib/xalloc-oversized.h: Copy from gnulib.
7308
73092015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7310
7311 Spruce up ftfont.c memory allocation
7312
7313 * src/ftfont.c (setup_otf_gstring):
7314 Avoid O(N**2) behavior when reallocating.
7315 (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
7316 reallocating buffers; this simplifies the code. Do not trust
7317 mflt_run to leave the output areas unchanged on failure, as
7318 this isn’t part of its interface spec.
7319
73202015-11-13 Eli Zaretskii <eliz@gnu.org>
7321
7322 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
7323
73242015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7325
7326 Port recent XCB changes to 64-bit ‘long int’
7327
7328 For historical reasons, libX11 represents 32-bit values like Atoms as
7329 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
7330 do that, so adapt the recent XCB code to behave properly on 64-bit
7331 platforms. Also, fix what appears to be a bug in the interpretation
7332 of xcb_get_property_value_length, at least on my Fedora platform
7333 which is running libxcb-1.11-5.fc21.
7334 * src/xfns.c (x_real_pos_and_offsets):
7335 * src/xterm.c (get_current_wm_state):
7336 xcb_get_property_value_length returns a byte count, not a word count.
7337 For 32-bit quantities, xcb_get_property_value returns a vector
7338 of 32-bit words, not of (possibly 64-bit) long int.
7339
7340 Backport.
7341
73422015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7343
7344 * src/undo.c (run_undoable_change): Now static.
7345
7346 Backport.
7347
73482015-11-13 Eli Zaretskii <eliz@gnu.org>
7349
7350 Remove support for ':timeout' from w32 tray notifications
7351
7352 * src/w32fns.c (Fw32_notification_notify): Delete the code that
7353 supports ':timeout'.
7354 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
7355 with dbusbind.c when D-Bus is compiled in.
7356
7357 * doc/lispref/os.texi (Desktop Notifications): Don't mention
7358 ':timeout'.
7359
7360 Backport.
7361
73622015-11-13 Juanma Barranquero <lekktu@gmail.com>
7363
7364 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
7365
7366 (simple-test--transpositions): New macro.
7367 (simple-transpose-subr): New test.
7368
7369 Backport.
7370
73712015-11-13 Juanma Barranquero <lekktu@gmail.com>
7372
7373 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
7374
7375 Backport.
7376
73772015-11-13 Juanma Barranquero <lekktu@gmail.com>
7378
7379 * src/undo.c: Small fixes for previous change
7380
7381 (run_undoable_change): Mark void argument list.
7382 (record_property_change): Remove unused variable `boundary'.
7383
7384 Backport.
7385
73862015-11-13 Eli Zaretskii <eliz@gnu.org>
7387
7388 Add a few more variables to redisplay--variables
7389
7390 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
7391 and bidi-display-reordering to the list.
7392
7393 Backport.
7394
73952015-11-13 Eli Zaretskii <eliz@gnu.org>
7396
7397 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
7398
7399 Backport.
7400
74012015-11-13 Eli Barzilay <eli@barzilay.org>
7402
7403 Fix point positioning after transposing with negative arg
7404
7405 * lisp/simple.el (transpose-subr): When invoked with a negative
7406 argument, move point to after the transposed text, like we do
7407 when invoked with a positive argument. (Bug#21885)
7408
7409 Backport.
7410
74112015-11-13 Eli Zaretskii <eliz@gnu.org>
7412
7413 Fix last change in shr.el
7414
7415 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
7416 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
7417
7418 Backport.
7419
74202015-11-13 Eli Zaretskii <eliz@gnu.org>
7421
7422 Fix last change
7423
7424 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
7425 Don't DEFSYM tray notification symbols if D-Bus is being used.
7426
7427 Backport.
7428
74292015-11-13 Eli Zaretskii <eliz@gnu.org>
7430
7431 Another fix for MinGW64 and Cygwin builds due to notifications
7432
7433 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
7434 being compiled into Emacs.
7435 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
7436 Sw32_notification_notify and Sw32_notification_close if the code
7437 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7438
7439 Backport.
7440
74412015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7442
7443 Remove intern calls and XXX comments from Fx_export_frames
7444
7445 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
7446 Qsvg instead of intern calls. Use "postscript" instead of "ps"
7447 for consistency with image types. Remove XXX comments.
7448 (syms_of_xfns) <Qpdf>: DEFSYM it.
7449
7450 Backport.
7451
74522015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7453
7454 Port recent XCB changes to 64-bit ‘long int’
7455
7456 For historical reasons, libX11 represents 32-bit values like Atoms as
7457 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
7458 do that, so adapt the recent XCB code to behave properly on 64-bit
7459 platforms. Also, fix what appears to be a bug in the interpretation
7460 of xcb_get_property_value_length, at least on my Fedora platform
7461 which is running libxcb-1.11-5.fc21.
7462 * src/xfns.c (x_real_pos_and_offsets):
7463 * src/xterm.c (get_current_wm_state):
7464 xcb_get_property_value_length returns a byte count, not a word count.
7465 For 32-bit quantities, xcb_get_property_value returns a vector
7466 of 32-bit words, not of (possibly 64-bit) long int.
7467
74682015-11-13 Paul Eggert <eggert@cs.ucla.edu>
7469
7470 * src/undo.c (run_undoable_change): Now static.
7471
74722015-11-13 Michael Albinus <michael.albinus@gmx.de>
7473
7474 Adapt Tramp version, do not merge with master
7475
7476 * doc/misc/trampver.texi (trampver):
7477 * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
7478
74792015-11-13 Eli Zaretskii <eliz@gnu.org>
7480
7481 Remove support for ':timeout' from w32 tray notifications
7482
7483 * src/w32fns.c (Fw32_notification_notify): Delete the code that
7484 supports ':timeout'.
7485 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
7486 with dbusbind.c when D-Bus is compiled in.
7487
7488 * doc/lispref/os.texi (Desktop Notifications): Don't mention
7489 ':timeout'.
7490
74912015-11-13 Juanma Barranquero <lekktu@gmail.com>
7492
7493 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
7494
7495 (simple-test--transpositions): New macro.
7496 (simple-transpose-subr): New test.
7497
74982015-11-13 Juanma Barranquero <lekktu@gmail.com>
7499
7500 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
7501
75022015-11-13 Juanma Barranquero <lekktu@gmail.com>
7503
7504 * src/undo.c: Small fixes for previous change
7505
7506 (run_undoable_change): Mark void argument list.
7507 (record_property_change): Remove unused variable `boundary'.
7508
75092015-11-13 Eli Zaretskii <eliz@gnu.org>
7510
7511 Add a few more variables to redisplay--variables
7512
7513 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
7514 and bidi-display-reordering to the list.
7515
75162015-11-13 Eli Zaretskii <eliz@gnu.org>
7517
7518 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
7519
75202015-11-13 Eli Barzilay <eli@barzilay.org>
7521
7522 Fix point positioning after transposing with negative arg
7523
7524 * lisp/simple.el (transpose-subr): When invoked with a negative
7525 argument, move point to after the transposed text, like we do
7526 when invoked with a positive argument. (Bug#21885)
7527
75282015-11-13 Eli Zaretskii <eliz@gnu.org>
7529
7530 Fix last change in shr.el
7531
7532 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
7533 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
7534
75352015-11-13 Eli Zaretskii <eliz@gnu.org>
7536
7537 Fix last change
7538
7539 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
7540 Don't DEFSYM tray notification symbols if D-Bus is being used.
7541
75422015-11-13 Eli Zaretskii <eliz@gnu.org>
7543
7544 Another fix for MinGW64 and Cygwin builds due to notifications
7545
7546 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
7547 being compiled into Emacs.
7548 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
7549 Sw32_notification_notify and Sw32_notification_close if the code
7550 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7551
75522015-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7553
7554 Remove intern calls and XXX comments from Fx_export_frames
7555
7556 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
7557 Qsvg instead of intern calls. Use "postscript" instead of "ps"
7558 for consistency with image types. Remove XXX comments.
7559 (syms_of_xfns) <Qpdf>: DEFSYM it.
7560
75612015-11-13 Eric Hanchrow <eric.hanchrow@gmail.com>
7562
7563 shr: don't invoke unbound function (Bug#21895)
7564
7565 * lisp/net/shr.el (have-fringes-p): New function.
7566 (shr-insert-document, shr-fill-text): Use it.
7567
75682015-11-12 Juanma Barranquero <lekktu@gmail.com>
7569
7570 * test/automated/keymap-tests.el: Fix test to make it repeatable
7571
7572 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
7573 entry to its initial value to make the test repeatable in interactive
7574 sessions (assuming it doesn't fail and crashes Emacs, of course).
7575
75762015-11-13 Artur Malabarba <bruce.connor.am@gmail.com>
7577
7578 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
7579
75802015-11-12 Phillip Lord <phillip.lord@russet.org.uk>
7581
7582 : Tests for undo-auto functionality.
7583
75842015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
7585
7586 The heuristic that Emacs uses to add an `undo-boundary' has been
7587 reworked, as it interacts poorly with functions on `post-command-hook'
7588 or `after-change-functions'.
7589
7590 * lisp/simple.el: New section added.
7591 * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
7592 (self_insert_command): Calls simple.el to amalgamate.
7593 (delete_char): Calls simple.el to amalgamate.
7594 * src/keyboard.c (last_undo_boundary): Removed.
7595 * src/undo.c (run_undoable_change): New function.
7596
75972015-11-12 Juri Linkov <juri@linkov.net>
7598
7599 Bind [?\S-\ ] to previous line command in Dired-like modes.
7600
7601 * lisp/arc-mode.el (archive-mode-map):
7602 * lisp/dired.el (dired-mode-map):
7603 * lisp/proced.el (proced-mode-map):
7604 * lisp/vc/vc-dir.el (vc-dir-mode-map):
7605 Bind [?\S-\ ] to previous line command.
7606 (Bug#20790)
7607
76082015-11-12 Eli Zaretskii <eliz@gnu.org>
7609
7610 Fix the MinGW64 and Cygwin-w32 builds
7611
7612 * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
7613 (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
7614 use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
7615 which cause trouble with MinGW42 headers. Ifdef away tray
7616 notifications code for Cygwin. Reported by Andy Moreton
7617 <andrewjmoreton@gmail.com>.
7618
76192015-11-12 Simen Heggestøyl <simenheg@gmail.com>
7620
7621 Enable sorting of JSON object keys when encoding
7622
7623 * lisp/json.el (json-encoding-object-sort-predicate): New variable for
7624 specifying a sorting predicate for JSON objects during encoding.
7625 (json--plist-to-alist): New utility function.
7626 (json-encode-hash-table): Re-use `json-encode-alist' when object keys
7627 are to be sorted.
7628 (json-encode-alist): Sort output by
7629 `json-encoding-object-sort-predicate, when set.
7630 (json-encode-plist): Re-use `json-encode-alist' when object keys are
7631 to be sorted.
7632 (json-pretty-print-buffer-ordered): New command to pretty print the
7633 buffer with object keys sorted alphabetically.
7634 (json-pretty-print-ordered): New command to pretty print the region with
7635 object keys sorted alphabetically.
7636
7637 * test/automated/json-tests.el (test-json-plist-to-alist)
7638 (test-json-encode-plist, test-json-encode-hash-table)
7639 (test-json-encode-alist-with-sort-predicate)
7640 (test-json-encode-plist-with-sort-predicate): New tests.
7641
7642 * etc/NEWS: Add an entry for the new commands.
7643
76442015-11-12 Juanma Barranquero <lekktu@gmail.com>
7645
7646 * test/automated/keymap-tests.el: New test file
7647
76482015-11-12 Ken Raeburn <raeburn@raeburn.org>
7649
7650 Speed up x_real_pos_and_offsets using XCB
7651
7652 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
7653 all X calls, and pipeline requests when possible, collecting results
7654 later. Eliminate use of x_catch_errors (and thus XSync) in XCB case.
7655
76562015-11-12 Ken Raeburn <raeburn@raeburn.org>
7657
7658 Enable use of XCB for checking window manager state
7659
7660 * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
7661 of XGetWindowProperty plus error-catching, since we can explicitly
7662 check for errors in the XCB version. This eliminates 3 XSync calls on
7663 top of the round-trip actually fetching the information.
7664
76652015-11-12 Ken Raeburn <raeburn@raeburn.org>
7666
7667 Detect XCB and save a connection handle
7668
7669 * configure.ac: If using X11, check for XCB libraries and header.
7670 * src/Makefile.in (XCB_LIBS): Define.
7671 (LIBX_EXTRA): Include it.
7672
7673 * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
7674 (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
7675 * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
7676
76772015-11-12 Ken Raeburn <raeburn@raeburn.org>
7678
7679 Reduce some data dependencies between X calls
7680
7681 Gains nothing in the traditional-Xlib code, but more closely aligns
7682 with how the XCB version will work.
7683
7684 * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
7685 send coordinates (0,0) to the X server and add in the real coordinates
7686 after getting the response. Move XGetGeometry for outer window inside
7687 error-trapping block. Use DPY variable more, since it's available.
7688
76892015-11-12 Ken Raeburn <raeburn@raeburn.org>
7690
7691 Use color cache for creating bitmap
7692
7693 * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]: Set
7694 attributes to use the caching color allocator. Initialize and free
7695 the cache.
7696
76972015-11-12 Eli Barzilay <eli@barzilay.org>
7698
7699 Add "^" to the interactive specs of `dired-next/previous-line'
7700
7701 * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
7702 to bind these commands to the arrow keys, and that means that they work
7703 better with a "^" in the `interactive' declaration so selection works
7704 as expected.
7705
77062015-11-12 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7707
7708 Sync with soap-client repository, version 3.0.2
7709
7710 * lisp/net/soap-client.el: Bump version to 3.0.2.
7711
7712 * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
7713
7714 * lisp/net/soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
7715 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
7716
7717 * lisp/net/soap-client.el: Support Emacs versions that do not have
7718 define-error.
7719
7720 * lisp/net/soap-inspect.el: Remove version header.
7721
7722 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
7723 format.
7724
77252015-11-11 Alan Mackenzie <acm@muc.de>
7726
7727 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
7728
7729 lisp/progmodes/cc-engine.el (c-backward-single-comment, c-backward-comments)
7730 (c-invalidate-state-cache-1, c-parse-state-1, c-guess-basic-syntax):
7731 remove bindings of open-paren-in-column-0-is-defun-start to nil.
7732 (c-get-fallback-scan-pos): "New" function (existed several years ago).
7733 (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
7734 c-get-fallback-scan-pos.
7735 (c-parse-state-1): Handle 'BOD strategy.
7736
7737 lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
7738 c-font-lock-fontify-region): remove bindings of
7739 open-paren-in-column-0-is-defun-start to nil.
7740
7741 cc-mode.texi (Performance Issues, Limitations and Known Bugs): Fix mix up
7742 between @chapter and @appendix.
7743
77442015-11-11 Artur Malabarba <bruce.connor.am@gmail.com>
7745
7746 * lisp/obarray.el: Fix shadowed variables
7747
7748 (obarray-map, obarray-remove, obarray-put, obarray-get):
7749 Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
7750
77512015-11-11 Eli Zaretskii <eliz@gnu.org>
7752
7753 Avoid error in submitting a form with EWW
7754
7755 * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
7756 CHUNK to be nil. (Bug#21881)
7757
77582015-11-11 Nicolas Petton <nicolas@petton.fr>
7759
7760 Rename seq-p and map-p to seqp and mapp
7761
7762 * lisp/emacs-lisp/seq.el (seqp): New name.
7763 * lisp/emacs-lisp/map.el (mapp): New name.
7764 * doc/lispref/sequences.texi: Update the documentation for seqp.
7765 * test/automated/map-tests.el: Update the tests for mapp.
7766
77672015-11-11 Nicolas Petton <nicolas@petton.fr>
7768
7769 Rename obarray-p to obarrayp
7770
7771 * lisp/obarray.el (obarrayp): New name.
7772 * test/automated/obarray-tests.el: Update the tests.
7773
77742015-11-11 Nicolas Petton <nicolas@petton.fr>
7775
7776 Rename obarray-foreach to obarray-map
7777
7778 * lisp/obarray.el (obarray-map): New name.
7779 * test/automated/obarray-tests.el: Update the corresponding tests.
7780
77812015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
7782
7783 New file with obarray functions.
7784
7785 * lisp/obarray.el: basic obarray functions extracted from abbrev.el
7786 * test/automated/obarray-tests.el: new file
7787
77882015-11-11 Eli Zaretskii <eliz@gnu.org>
7789
7790 Implement tray notifications for MS-Windows
7791
7792 * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
7793 (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
7794 (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
7795 (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
7796 (EMACS_NOTIFICATION_MSG): New macros.
7797 (NI_Severity): New enumeration.
7798 (get_dll_version, utf8_mbslen_lim, add_tray_notification)
7799 (delete_tray_notification, Fw32_notification_notify)
7800 (Fw32_notification_close): New functions.
7801 (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM
7802 keywords used by w32-notification-notify.
7803
7804 * doc/lispref/os.texi (Desktop Notifications): Describe the native
7805 w32 tray notifications.
7806
78072015-11-11 Alan Mackenzie <acm@muc.de>
7808
7809 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
7810
7811 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
7812 Windows" and new @defun selected-window-group.
7813 (Window Start and End): Describe new &optional parameter GROUP and
7814 ...-group-function for window-start, window-end, set-window-start, and
7815 pos-visible-in-window-p.
7816 (Textual Scrolling) Describe the same for recenter.
7817 doc/lispref/positions.texi (Screen Lines): Describe the same for
7818 move-to-window-line.
7819
7820 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
7821 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
7822 new optional parameter "group". At the beginning of each, check whether the
7823 corresponding ...-group-function is set to a function, and if so execute this
7824 function in place of the normal processing.
7825 (syms_of_window): Define symbols for the six new variables below.
7826 (window-start-group-function, window-end-group-function)
7827 (set-window-start-group-function, recenter-group-function)
7828 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
7829 New permanent local buffer local variables.
7830 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
7831 Fpos_visible_in_window_p.
7832
7833 lisp/window.el (selected-window-group-function): New permanent local buffer
7834 local variable.
7835 (selected-window-group): New function.
7836
7837 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
7838 enable, kill them at mode disable. Add/remove follow-after-change to/from
7839 after-change-functions.
7840 (follow-start-end-invalid): New variable.
7841 (follow-redisplay): Manipulate follow-start-end-invalid.
7842 (follow-after-change, follow-window-start, follow-window-end)
7843 (follow-set-window-start, follow-pos-visible-in-window-p)
7844 (follow-move-to-window-line, follow-sit-for): New functions.
7845
7846 lisp/isearch.el (isearch-call-message): New macro.
7847 (isearch-update, with-isearch-suspended, isearch-del-char)
7848 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
7849 (with-isearch-suspended): Rearrange code such that isearch-call-message is
7850 invoked before point is moved.
7851 (isearch-message): Add comment about where point must be at function call.
7852 (isearch-search): Remove call to isearch-message.
7853 (isearch-lazy-highlight-window-group): New variable.
7854 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
7855 the battery of tests to ...
7856 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
7857 Note: (sit-for 0) is still called.
7858 (isearch-lazy-highlight-update): Check membership of
7859 isearch-lazy-highlight-window-group. Don't set the `window' overlay
7860 property.
7861 (isearch-update, isearch-done, isearch-string-out-of-window)
7862 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
7863 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
7864 (isearch-lazy-highlight-update): Call the six amended primitives (see
7865 src/window.c above) with the new `group' argument set to t, to cooperate
7866 with Follow Mode.
7867
78682015-11-11 Michael Albinus <michael.albinus@gmx.de>
7869
7870 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
7871
7872 * lisp/net/tramp.el (tramp-handle-file-equal-p)
7873 (tramp-handle-file-in-directory-p): New defuns. Suggested by
7874 Harvey Chapman <hchapman@3gfp.com>
7875
7876 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7877 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7878 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7879 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
7880
78812015-11-10 Karl Fogel <kfogel@red-bean.com>
7882
7883 * CONTRIBUTE: Encourage adding tests.
7884
7885 Based on this post from John Wiegley:
7886
7887 From: "John Wiegley" <johnw@newartisans.com>
7888 Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
7889 To: Juanma Barranquero <lekktu@gmail.com>
7890 Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
7891 emacs-devel <emacs-devel@gnu.org>
7892 Date: Wed, 28 Oct 2015 18:45:29 -0700
7893 Message-ID: <m2y4emqwg6.fsf@newartisans.com>
7894
7895 https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
7896
78972015-11-10 David Reitter <david.reitter@gmail.com>
7898
7899 Avoid creating notification objects when possible
7900
7901 * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:,
7902 windowDidEnterFullScreen, windowDidExitFullScreen): provide
7903 convenience functions that do not require a notification object. When
7904 needed, define NSWindowDidEnterFullScreenNotification to allow for
7905 compilation on OS X 10.6.8.
7906
79072015-11-10 Paul Eggert <eggert@cs.ucla.edu>
7908
7909 Move INTEGER_TO_CONS body out of .h file
7910
7911 * src/data.c (INTBIG_TO_LISP): New macro, with most
7912 of the contents of the old INTEGER_TO_CONS.
7913 (intbig_to_lisp, uintbig_to_lisp): New functions.
7914 * src/lisp.h (INTEGER_TO_CONS):
7915 Simplify by using EXPR_SIGNED and the new functions.
7916 This shrinks code size a bit, and makes it easier to
7917 put a breakpoint on handling of large integers.
7918
79192015-11-10 Paul Eggert <eggert@cs.ucla.edu>
7920
7921 Merge from gnulib
7922
7923 This incorporates:
7924 2015-11-10 intprops: new public macro EXPR_SIGNED
7925 2015-11-10 intprops: fix typo in clang port
7926 * lib/intprops.h: Copy from gnulib.
7927
79282015-11-10 Paul Eggert <eggert@cs.ucla.edu>
7929
7930 Spelling fixes
7931
7932 * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
7933 Fix misspelling in output.
7934
79352015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7936
7937 * doc/lispref/variables.texi (Directory Local Variables):
7938
7939 Document dir-locals wildcards
7940
7941 * lisp/files.el (dir-locals-file): Point to Info node.
7942
7943 * doc/emacs/custom.texi (Directory Variables):
7944 Document dir-locals wildcards.
7945
7946 * etc/NEWS: Document new functionality.
7947
79482015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7949
7950 * lisp/files.el: Don't allow customization of dir-locals sorting
7951
7952 In retrospect, this is not a good idea for the same reason that
7953 `dir-locals-file' is a defconst, because it is important that this
7954 behaviour be "uniform across different environments and users".
7955 Sure, the user can still change the sorting with a hack, but we
7956 shouldn't encourage them to change it.
7957
7958 (dir-locals--all-files): Return list in the order returned by
7959 `file-expand-wildcards'.
7960 (file-expand-wildcards): Document the sorting predicate used.
7961 (dir-locals-sort-predicate): Delete variable.
7962
79632015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7964
7965 * lisp/files.el (dir-locals-read-from-file): Better handle errors
7966
7967 * lisp/isearch.el (search-default-regexp-mode): change default value
7968
79692015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7970
7971 * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files
7972
7973 `locate-dominating-file' will now keep looking if the files it finds in
7974 a given directory are unreadable (or not files).
7975
79762015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7977
7978 * lisp/files.el (dir-locals-file): Allow wildcards
7979
7980 (dir-locals-find-file, dir-locals-collect-variables)
7981 (dir-locals-read-from-file): Update accordingly.
7982 (hack-dir-local-variables): Rename a local variable.
7983
7984 * lisp/files-x.el (modify-dir-local-variable): Update accordingly
7985
7986 * lisp/help-fns.el (describe-variable): Update accordingly
7987
7988 * .gitignore: Add .dir-locals?.el
7989
79902015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
7991
7992 * lisp/emacs-lisp/map.el (map-merge-with): New function
7993
7994 * test/automated/map-tests.el (test-map-merge-with): New test
7995
79962015-11-10 Karl Fogel <kfogel@red-bean.com>
7997
7998 Fix some recently-perturbed bookmark autoloads
7999
8000 * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
8001 (bookmark-set): Restore autoload.
8002 (bookmark-set-no-overwrite): Add autoload.
8003
8004 Thanks to Juanma Barranquero for noticing the autoload problems
8005 introduced by my recent commit adding/changing the above functions
8006 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
8007
80082015-11-10 Noah Friedman <friedman@splode.com>
8009
8010 (ydump-buffer): Handle case where gap is at the start of buffer.
8011 I don't recall if older versions of gdb were less strict but you
8012 cannot dump a 0-length range in gdb 7.9.1.
8013
80142015-11-10 Dmitry Gutov <dgutov@yandex.ru>
8015
8016 * lisp/progmodes/project.el: Update Commentary.
8017
8018 Merge branch 'project-next'
8019
80202015-11-10 Dmitry Gutov <dgutov@yandex.ru>
8021
8022 Fold `project-ask-user' into `project-current'
8023
8024 * lisp/progmodes/project.el (project-find-functions): Remove
8025 `project-ask-user'.
8026 (project-ask-user): Remove function and the corresponding
8027 `project-roots' implementation.
8028 (project-current): Add a new argument, MAYBE-PROMPT. Prompt the
8029 user in case there's no project in the current directory. Update
8030 all callers.
8031
80322015-11-09 Karl Fogel <kfogel@red-bean.com>
8033
8034 When VC detects a conflict, specify which file
8035
8036 * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
8037 * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
8038 * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
8039 * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
8040 * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
8041 to display a standard message that specifies the conflicted file.
8042
8043 Before this change, the message VC used for indicating a conflicted
8044 file was just "There are unresolved conflicts in this file" without
8045 naming the file (and this language was duplicated in several places).
8046 After this change, it's "There are unresolved conflicts in file FOO"
8047 (and this language is now centralized in one function in vc.el).
8048
8049 Justification: It's important for the message to name the conflicted
8050 file because the moment when VC realizes a file is conflicted does not
8051 always come interactively. For example, some people automatically
8052 find a set of Org Mode files on startup, and may keep those .org files
8053 under version control. If any of the files are conflicted, the user
8054 just sees some messages fly by, and might later check the "*Messages*"
8055 buffer to find out what files were conflicted. I'm not saying this
8056 happened to me or anything; it's a purely hypothetical example.
8057
80582015-11-09 Eli Zaretskii <eliz@gnu.org>
8059
8060 Fix assertion violation in define-key
8061
8062 * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
8063 objects. Reported by Drew Adams <drew.adams@oracle.com>
8064 and Juanma Barranquero <lekktu@gmail.com>.
8065
80662015-11-09 Dima Kogan <dima@secretsauce.net>
8067
8068 Fix a memory leak in GC of font cache
8069
8070 * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
8071 entities if some of the fonts it references are marked. This
8072 plugs a memory leak. (Bug#21556)
8073
80742015-11-09 Paul Eggert <eggert@cs.ucla.edu>
8075
8076 Use INT_ADD_WRAPV etc. to check integer overflow
8077
8078 * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
8079 * src/buffer.c (record_overlay_string, overlay_strings):
8080 * src/casefiddle.c (casify_object):
8081 * src/ccl.c (Fccl_execute_on_string):
8082 * src/character.c (char_width, c_string_width, lisp_string_width)
8083 (count_size_as_multibyte, string_escape_byte8):
8084 * src/coding.c (coding_alloc_by_realloc, produce_chars):
8085 * src/data.c (arith_driver):
8086 * src/dispnew.c (realloc_glyph_pool, init_display):
8087 * src/editfns.c (styled_format):
8088 * src/fns.c (Ffillarray):
8089 * src/ftfont.c (ftfont_shape_by_flt):
8090 * src/gnutls.c (gnutls_hex_string):
8091 * src/gtkutil.c (get_utf8_string):
8092 * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
8093 * src/keymap.c (Fkey_description):
8094 * src/lisp.h (SAFE_ALLOCA_LISP):
8095 * src/term.c (encode_terminal_code):
8096 * src/tparam.c (tparam1):
8097 * src/xselect.c (x_property_data_to_lisp):
8098 * src/xsmfns.c (smc_save_yourself_CB):
8099 * src/xterm.c (x_term_init):
8100 When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
8101 more-complicated code involving division and/or
8102 INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
8103 subtraction and/or INT_ADD_OVERFLOW.
8104 * src/casefiddle.c (casify_object): Simplify multibyte size check.
8105 * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
8106 * src/data.c (arith_driver): Also check for division overflow,
8107 as that’s now possible given that the accumulator can now contain
8108 any Emacs integer.
8109 * src/lisp.h (lisp_word_count): Remove; no longer used.
8110
81112015-11-09 Dmitry Gutov <dgutov@yandex.ru>
8112
8113 Make sure that the ignore file exists
8114
8115 * lisp/vc/vc.el (vc-default-ignore-completion-table):
8116 Make sure that the ignore file exists.
8117
81182015-11-09 Michael Sperber <mike@xemacs.org>
8119
8120 * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
8121 `gnus-summary-delete-article` in a way that also works on XEmacs.
8122
81232015-11-08 Simen Heggestøyl <simenheg@gmail.com>
8124
8125 Add support for retrieving paths to JSON elements
8126
8127 Add support for retrieving the path to a JSON element. This can for
8128 instance be useful to retrieve paths in deeply nested JSON
8129 structures.
8130
8131 * lisp/json.el (json-pre-element-read-function)
8132 (json-post-element-read-function): New variables to hold pre- and post
8133 read callback functions for `json-read-array' and `json-read-object'.
8134 (json--path): New variable used internally by `json-path-to-position'.
8135 (json--record-path, json--check-position): New functions used
8136 internally by `json-path-to-position'.
8137 (json-path-to-position): New function for retrieving the path to a
8138 JSON element at a given position.
8139 (json-read-object, json-read-array): Call
8140 `json-pre-element-read-function' and `json-post-element-read-function'
8141 when set.
8142
8143 * test/automated/json-tests.el (test-json-path-to-position-with-objects)
8144 (test-json-path-to-position-with-arrays)
8145 (test-json-path-to-position-no-match): New tests for
8146 `json-path-to-position'.
8147
81482015-11-08 Karl Fogel <kfogel@red-bean.com>
8149
8150 * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
8151
8152 This really should been part of my previous commit
8153 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
8154
81552015-11-08 Karl Fogel <kfogel@red-bean.com>
8156
8157 Offer non-overwrite bookmark setter (Bug#15746)
8158
8159 * lisp/bookmark.el (bookmark-set-internal): New helper function to do
8160 what `bookmark-set' used to do, but with more choices for overwrite
8161 vs push, and with minor changes to the interactive prompt format.
8162 (bookmark-set): Rewrite as wrapper around above.
8163 If overwriting, inform the user of that in the prompt.
8164 (bookmark-set-no-overwrite): New function, also done as wrapper.
8165 Bind to "M" in `ctl-x-r-map' autoloads.
8166 (bookmark-map): Similarly bind "M" here.
8167
81682015-11-08 Paul Eggert <eggert@cs.ucla.edu>
8169
8170 * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
8171
81722015-11-08 Alan Modra <amodra@gmail.com>
8173
8174 ELF unexec: Don't insert a new section
8175
8176 Reuse the .bss section instead, making it SHT_PROGBITS. This way we
8177 don't need to mess with symbol st_shndx, or section sh_link and
8178 sh_info.
8179
8180 This does lead to eu-elflint complaints about symbols defined in .bss
8181 with a needed version, because normally it is undefined symbols that
8182 have needed versions; Defined symbols have version definitions.
8183 The exception is symbols defined by the linker in .dynbss for
8184 variables copied from a shared library in order to avoid text
8185 relocations, with copy relocs to copy their initial values from the
8186 shared library. These symbols are both defined and have needed
8187 versions, and eu-elflink only expects to see them in SHT_NOBITS
8188 sections. Of course there is no real problem with having such symbols
8189 in SHT_PROGBITS sections. glibc ld.so handles them fine.
8190
8191 * src/unexelf.c: Delete outdated comments.
8192 (PATCH_INDEX): Delete.
8193 (find_section): Delete.
8194 (unexec): Don't add a new section. Instead reuse the last bss
8195 section, extending it to cover dumped data. Make bss sections
8196 SHT_PROGBITS. Remove all patching of sh_link, sh_info and
8197 st_shndx. Rename bss sections.
8198
81992015-11-08 Alan Modra <amodra@gmail.com>
8200
8201 ELF unexec: Drive from PT_LOAD header rather than sections
8202
8203 This rewrites bss handling in the ELF unexec code. Finding bss
8204 sections by name results in complicated code that
8205 - does not account for all names of possible bss sections,
8206 - assumes specific ordering of bss sections,
8207 - can wrongly choose a SHT_NOBITS section not in the bss segment,
8208 - incorrectly calculates bss size (no accounting for alignment gaps),
8209 - assumes .data and .bss are in the same segment.
8210
8211 All of these problems and more are solved by finding the bss segment
8212 in PT_LOAD headers, ie. the address range included in p_memsz but not
8213 p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
8214 in that address range.
8215
8216 * src/unexelf.c: Delete old ppc comment.
8217 (OLD_PROGRAM_H): Define.
8218 (round_up): Delete.
8219 (unexec): Don't search for bss style sections by name. Instead,
8220 use the last PT_LOAD header address range covered by p_memsz
8221 but not p_filesz and match any SHT_NOBITS section in that
8222 address range. Simplify initialisation of section header vars.
8223 Don't assume that section headers are above bss segment. Move
8224 copying of bss area out of section loop. Align .data2 section
8225 to 1, since it now covers the entire bss area. For SHT_NOBITS
8226 sections in the bss segment, leave sh_addr and sh_addralign
8227 unchanged, but correct sh_offset. Clear memory corresponding
8228 to SHT_NOBITS .plt section. Delete comment and hacks for
8229 sections partly overlapping bss range now that the full range
8230 is properly calculated. Delete now dead .sbss code.
8231 (Bug#20614)
8232
82332015-11-08 Alan Modra <amodra@gmail.com>
8234
8235 ELF unexec: R_*_NONE relocs
8236
8237 These should be ignored on all targets.
8238
8239 * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
8240 not just Alpha. Comment on reloc size assumption.
8241
82422015-11-08 Alan Modra <amodra@gmail.com>
8243
8244 ELF unexec: _OBJC_ symbols in bss sections
8245
8246 This code assumed that there was only one bss section. Rather than
8247 checking for a particular index, check the section type. Also, handle
8248 the possibility that the section was SHT_NOBITS originally and is
8249 unchanged, in which case no clearing is needed (and sh_offset isn't
8250 necessarily valid, which can lead to a wild memset).
8251
8252 * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in bss sections.
8253
82542015-11-08 Alan Modra <amodra@gmail.com>
8255
8256 ELF unexec: Symbol table patching
8257
8258 No st_shndx value larger than SHN_LORESERVE should be changed.
8259 * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
8260 SHN_LORESERVE. Error on SHN_XINDEX.
8261
82622015-11-08 Alan Modra <amodra@gmail.com>
8263
8264 ELF unexec: Merge Alpha and MIPS COFF debug handling
8265
8266 * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
8267 Don't find .mdebug section index, find the section in the loop.
8268 Allow for unlikely possibility that .mdebug is located at sh_offset
8269 before bss segment, by calculating move from difference in
8270 sh_offset rather than just assuming new_data2_size. Simplify
8271 cbLineOffset handling.
8272
82732015-11-08 Alan Modra <amodra@gmail.com>
8274
8275 ELF unexec: Tidy code
8276
8277 Separate out some of the more mechanical changes so following patches
8278 are smaller.
8279
8280 * src/unexelf.c (unexec): Rearrange initialisation of program
8281 header vars. Use pointer vars in loops rather than indexing
8282 section header array via macros. Simplify _OBJC_ sym code
8283 and reloc handling code.
8284
82852015-11-08 Alan Modra <amodra@gmail.com>
8286
8287 ELF unexec: Correct section header index
8288
8289 First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when
8290 it should have been using "NEW_SECTION_H (nn)" to find the name of the
8291 section currently being processed. Of course, before the bss
8292 sections, n and nn have the same value, so this doesn't matter except
8293 in the case of .sbss. For .sbss this probably meant .bss (most likely
8294 the next section) was copied from memory. A later patch removes the
8295 bogus .sbss handling anyway.
8296
8297 * src/unexelf.c (unexec): Use correct index to look up names.
8298
82992015-11-08 Michael Albinus <michael.albinus@gmx.de>
8300
8301 Fix Bug#21841
8302
8303 * lisp/filenotify.el (file-notify--rm-descriptor):
8304 Use `descriptor' instead of computing its value.
8305 (file-notify--descriptor): Additional argument FILE. Adapt all callees.
8306 (file-notify-rm-watch): Use `descriptor' when calling file name handler.
8307 (Bug#21841)
8308
83092015-11-08 Dmitry Gutov <dgutov@yandex.ru>
8310
8311 Remove dirs in vc project roots from the the vc project library roots
8312
8313 * lisp/progmodes/project.el (project-library-roots): Remove
8314 directories inside the project roots from the result.
8315 (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
8316
83172015-11-08 Dmitry Gutov <dgutov@yandex.ru>
8318
8319 Move and rename xref-find-regexp to the project package
8320
8321 * lisp/progmodes/project.el (project-find-regexp)
8322 (project--read-regexp)
8323 (project--find-regexp-in): New functions.
8324
8325 * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
8326 xref--show-xrefs. Use in existing callers in place of that
8327 function.
8328 (xref--show-xrefs): Only do the "show" part.
8329 (xref-find-regexp): Rename, more or less, to
8330 project-or-libraries-find-regexp.
8331
83322015-11-06 Dmitry Gutov <dgutov@yandex.ru>
8333
8334 Abolish temporary buffer management for xref
8335
8336 * lisp/progmodes/xref.el (xref--temporary-buffers)
8337 (xref--current)
8338 (xref--inhibit-mark-current)
8339 (xref--mark-selected): Remove. Remove all references.
8340 (xref--show-xrefs): Do not construct the
8341 list of the temporary buffers, nor pass it along.
8342
83432015-11-06 Dmitry Gutov <dgutov@yandex.ru>
8344
8345 Rename "search path" to "library roots"
8346
8347 * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
8348 of the elements from CL-LIST1.
8349
8350 * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
8351 Update WRT to the above change.
8352
8353 * lisp/progmodes/project.el (project-search-path-function): Rename
8354 to project-library-roots-function, update the documentation and
8355 references.
8356 (project-search-path): Likewise, to project-library-roots.
8357 (project-roots): Clarify documentation.
8358 (project-vc-search-path): Likewise, to project-vc-library-roots.
8359 (project-library-roots): In addition to the renames, thread the
8360 results through file-name-as-directory.
8361 (project-prune-directories): Accept a variable number of
8362 arguments. Rename to project-combine-directories.
8363 (project-subtract-directories): New function.
8364
8365 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
8366 Append project-roots and project-library-roots together.
8367
8368 * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
8369
12015-11-08 Paul Eggert <eggert@cs.ucla.edu> 83702015-11-08 Paul Eggert <eggert@cs.ucla.edu>
2 8371
3 Prefer xpalloc to doubling buffers by hand 8372 Prefer xpalloc to doubling buffers by hand
@@ -17955,7 +26324,7 @@
17955 26324
17956This file records repository revisions from 26325This file records repository revisions from
17957commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to 26326commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
17958commit 8a8613bcf4227dfe46a694b761e9575bdf6ca2ce (inclusive). 26327commit d5195155f9a297dc45a40c9b7175715ffe4f1612 (inclusive).
17959See ChangeLog.1 for earlier changes. 26328See ChangeLog.1 for earlier changes.
17960 26329
17961;; Local Variables: 26330;; Local Variables: