]> code.delx.au - gnu-emacs/blob - ChangeLog.2
; Fix ChangeLog.2 commit ID.
[gnu-emacs] / ChangeLog.2
1 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2
3 Shrink static heap a bit
4
5 * src/sheap.h: Include lisp.h, for Lisp_Object.
6 (STATIC_HEAP_SIZE): Now an enum constant, not a macro.
7 Make it 2 MiB * sizeof (Lisp_Object), which is a bit more
8 conservative than the old value.
9 (Bug#22086)
10
11 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
12
13 Fix extern symbols defined and not used
14
15 * src/alloc.c: Always include <signal.h>.
16 (malloc_warning) [!SIGDANGER && (SYSTEM_MALLOC || HYBRID_MALLOC)]:
17 Do not define; unused.
18 * src/emacs.c, src/lisp.h (might_dump) [!DOUG_LEA_MALLOC]: Now static.
19 * src/gmalloc.c (gdefault_morecore): Rename from __default_morecore,
20 to avoid collision with glibc. Now static. All uses changed.
21 * src/lastfile.c (my_edata): Define only if
22 ((!defined SYSTEM_MALLOC && !defined HYBRID_MALLOC && !defined
23 WINDOWSNT) \ || defined CYGWIN || defined DARWIN_OS).
24 (Bug#22086)
25
26 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
27
28 Build lib/e-*.o only on platforms that need it
29
30 * configure.ac (hybrid malloc): Simplify configuration.
31 (SHEAP_OBJ): Remove; no longer needed.
32 (HYBRID_MALLOC): New var. Subst it.
33 (HYBRID_MALLOC_LIB): New Automake conditional.
34 * lib/Makefile.am (noinst_LIBRARIES): Add libegnu.a only if
35 HYBRID_MALLOC_LIB.
36 (libegnu_a_CPPFLAGS): Omit AM_CPPFLAGS; not needed.
37 (MOSTLYCLEANFILES): Add libegnu.a.
38 * src/Makefile.in (SHEAP_OBJ): Remove.
39 (HYBRID_MALLOC): New macro.
40 (base_obj): Use it to conditionally add sheap.o.
41 (LIBEGNU_ARCHIVE): New macro.
42 ($(LIBEGNU_ARCHIVE)): New rule, replacing $(lib)/libegnu.a.
43 All uses of the latter replaced by the former.
44 * src/alloc.c (USE_ALIGNED_ALLOC): Simplify configuration.
45 Correct misspelling ALIGNED_ALLOC to HAVE_ALIGNED_ALLOC.
46 * src/gmalloc.c: Update comment.
47 * src/lisp.h (aligned_alloc)
48 [!DOUG_LEA_MALLOC && !HYBRID_MALLOC && !SYSTEM_MALLOC]:
49 New decl.
50 (Bug#22086)
51
52 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
53
54 Include <malloc.h> when advisable
55
56 This should help insulate us better from future glibc changes.
57 It is good hygiene to include .h files for APIs that Emacs uses.
58 Fix type clashes between Emacs and GNU <malloc.h> (Bug#22086).
59 * configure.ac: Check for malloc.h.
60 * src/alloc.c: Include <malloc.h> depending on HAVE_MALLOC_H,
61 not on DOUG_LEA_MALLOC.
62 * src/emacs.c, src/gmalloc.c (malloc_enable_thread):
63 Remove decl (now in lisp.h).
64 * src/gmalloc.c: Include stddef.h earlier, for ptrdiff_t.
65 [emacs]: Include lisp.h.
66 [HAVE_MALLOC_H]: Include <malloc.h>.
67 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
68 (__after_morecore_hook, __malloc_initialize_hook, __morecore)
69 (__default_morecore):
70 [!HAVE_MALLOC_H]: New decls near non-inclusion of <malloc.h>.
71 (calloc): Make it clear that the macro should not be used.
72 Remove unused decl.
73 (malloc_info): New macro, to avoid clash with glibc <malloc.h>.
74 (__morecore, __default_morecore, __after_morecore_hook)
75 (__malloc_extra_blocks, __malloc_initialize_hook, __free_hook)
76 (__malloc_hook, __realloc_hook, __memalign_hook, memory_warnings):
77 Remove later decls.
78 (gmalloc_hook, gfree_hook, grealloc_hook):
79 Rename from __malloc_hook, __free_hook, __realloc_hook to
80 avoid type collision with glibc <malloc.h>. All uses changed.
81 (gmalloc_hook):
82 (__malloc_extra_blocks) [DOUG_LEA_MALLOC||HYBRID_MALLOC||SYSTEM_MALLOC]:
83 Now static.
84 (gmalloc_hook, __malloc_extra_blocks): Define even if [!HYBRID_MALLOC].
85 (__malloc_initialize_hook, __after_morecore_hook):
86 Declare with types compatible with glibc.
87 (__memalign_hook, hybrid_calloc) [HYBRID_MALLOC]:
88 Remove. All uses removed.
89 * src/lisp.h (__malloc_extra_blocks, malloc_enable_thread): New decls.
90 * src/ralloc.c, src/vm-limit.c:
91 Simplify includes and include <malloc.h> if available.
92
93 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
94
95 * src/alloc.c: Include "sheap.h".
96
97 (alloc_unexec_pre, alloc_unexec_post) [HYBRID_MALLOC]:
98 Set and clear bss_sbrk_did_unexec, on all platforms not just Cygwin.
99 * src/lisp.h (alloc_unexec_pre, alloc_unexec_post) [!DOUG_LEA_MALLOC]:
100 Declare unconditionally.
101 * src/unexcw.c, src/unexelf.c (bss_sbrk_did_unexec): Remove decl.
102 (unexec): Don’t set or clear bss_sbrk_did_unexec;
103 the caller now does this.
104 (Bug#22086)
105
106 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
107
108 Pacify --enable-gcc-warnings when HYBRID_MALLOC
109
110 * src/buffer.c (init_buffer):
111 * src/emacs.c (main):
112 * src/xsmfns.c (smc_save_yourself_CB, x_session_initialize):
113 Use emacs_get_current_dir_name, not get_current_dir_name.
114 * src/conf_post.h (aligned_alloc) [HYBRID_MALLOC && emacs]: New macro.
115 (HYBRID_GET_CURRENT_DIR_NAME, get_current_dir_name): Remove.
116 * src/emacs.c: Include "sheap.h".
117 (report_sheap_usage): Remove decl.
118 (Fdump_emacs) [HYBRID_MALLOC]: Report usage directly.
119 Don't assume ptrdiff_t can be printed as int.
120 * src/gmalloc.c [HYBRID_MALLOC]:
121 Include "sheap.h" rather than declaring its contents by hand.
122 (get_current_dir_name, gget_current_dir_name)
123 (hybrid_get_current_dir_name): Remove.
124 (emacs_abort): Remove duplicate decl.
125 (aligned_alloc): Undef, like malloc etc.
126 (ALLOCATED_BEFORE_DUMPING): Now a static function, not a macro.
127 Make it a bit more efficient.
128 (malloc_find_object_address): Remove unused decl.
129 (enum mcheck_status, mcheck, mprobe, mtrace, muntrace, struct mstats)
130 (mstats, memory_warnings): Declare only if GC_MCHECK.
131 * src/lisp.h (emacs_get_current_dir_name):
132 New decl, replacing get_current_dir_name.
133 * src/sheap.c: Include sheap.h first.
134 (STATIC_HEAP_SIZE): Remove; now in sheap.h.
135 (debug_sheap): Now static.
136 (bss_sbrk_buffer_end): Remove; no longer used.
137 (bss_sbrk_ptr): Now static and private.
138 (bss_sbrk_did_unexec): Now bool.
139 (BLOCKSIZE): Remove, to avoid GCC warning about its not being used.
140 (bss_sbrk): Don't treat request_size 0 as special, since the code
141 works without this being a special case.
142 Avoid overflow if request size exceeds INT_MAX.
143 (report_sheap_usage): Remove; now done in emacs.c.
144 * src/sheap.h: New file.
145 * src/sysdep.c (get_current_dir_name): Remove macro.
146 Include "sheap.h".
147 (emacs_get_current_dir_name): Rename function from
148 get_current_dir_name. Handle HYBRID_MALLOC here;
149 this is simpler.
150 (Bug#22086)
151
152 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
153
154 Report static heap usage on non-Cygwin, too
155
156 * src/emacs.c (Fdump_emacs) [HYBRID_MALLOC]: Report sheap usage here ...
157 * src/unexcw.c (unexec): ... instead of here, since sheap can be used
158 on platforms other than Cygwin (Bug#22086).
159
160 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
161
162 Pacify GCC on extern decls
163
164 * src/unexelf.c (bss_sbrk_did_unexec): Move decl to top level
165 to pacify recent GCC (Bug#22086).
166
167 2016-01-30 Wolfgang Jenkner <wjenkner@inode.at>
168
169 Add musl patch to support HYBRID_MALLOC on elf systems
170
171 * src/gmalloc.c: Adjust for HYBRID_MALLOC in the non CYGWIN case.
172 (__default_morecore): Here, in particular.
173 * configure.ac: Define HYBRID_MALLOC when unexelf.o is used.
174 New variable SHEAP_OBJ.
175 * src/Makefile.in: Use it.
176 (Bug#22086)
177
178 2016-01-30 Rich Felker <dalias@libc.org> (tiny change)
179
180 unexelf.c hook to support HYBRID_MALLOC on ELF
181
182 * src/unexelf.c (unexec) [HYBRID_MALLOC]:
183 Define bss_sbrk_did_unexec (Bug#22086).
184
185 2016-01-30 Wolfgang Jenkner <wjenkner@inode.at>
186
187 Link temacs with gnulib compiled with -Demacs
188
189 This is done to support HYBRID_MALLOC, since some static variables
190 (e.g., last_environ in putenv.c) hold pointers to memory malloced
191 before dumping (Bug#22086).
192 * lib/Makefile.am: Add incantation to install libegnu.a.
193 * src/Makefile.in ($(lib)/libgnu.a): Replace with libegnu.a
194 (temacs$(EXEEXT)): Use it.
195
196 2016-01-30 Wolfgang Jenkner <wjenkner@inode.at>
197
198 Internal linkage for gmalloc etc. if HYBRID_MALLOC
199
200 This avoids clashes with symbols if the after-dump malloc is
201 derived from Doug Lea's implementation (Bug#22086).
202
203 * src/gmalloc.c (emacs_abort, __morecore, __default_morecore):
204 Move declarations up. For HYBRID_MALLOC, turn all `extern'
205 declarations below to `static' ones.
206 (aligned_alloc): Declare for !MSDOS as well.
207 (heapsize, _fraghead): Move resp. copy declaration downwards.
208 For HYBRID_MALLOC, conditionalize out the other definitions,
209 since the previous `static' declarations double as tentative
210 definitions, anyway.
211 (_malloc, _free, _realloc, __free_hook, _aligned_blocks)
212 (__realloc_hook, __memalign_hook): Conditionalize out.
213 (cfree, memalign, valloc): Ditto.
214
215 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
216
217 Merge from origin/emacs-25
218
219 3f481ad Rename xref-query-replace to xref-query-replace-in-results
220 62f4ed4 Update cl-defgeneric and cl-defmethod docstrings
221 2111e0e Comment out next-error-function integration in xref
222 4e11ad3 Correct a use of "which" in intro.texi
223 a1865bc Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
224 76045f7 Don't operate on menu bar of nonexistent frame
225 c32f3bc Unbreak the GNUstep build.
226
227 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
228
229 Re-enable checks in member, memql, delete to complain about non-lists
230
231 * fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
232
233 2016-01-28 Glenn Morris <rgm@gnu.org>
234
235 Remove some useless-use-of eval.
236
237 * lisp/gnus/gnus.el (gnus-load-hook): Don't use eval.
238 * lisp/gnus/nnrss.el (xml): Simply require it.
239 (xml-rpc-method-call): Use declare-function.
240
241 2016-01-28 Glenn Morris <rgm@gnu.org>
242
243 Don't use eval to quieten prolog.el compilation.
244
245 * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
246 (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
247
248 2016-01-28 Glenn Morris <rgm@gnu.org>
249
250 Mark some risky prolog variables.
251
252 * lisp/progmodes/prolog.el (prolog-system-version)
253 (prolog-keywords, prolog-types, prolog-mode-specificators)
254 (prolog-determinism-specificators, prolog-directives)
255 (prolog-program-name, prolog-program-switches)
256 (prolog-consult-string, prolog-compile-string)
257 (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
258 Mark anything processed by prolog-find-value-by-system as risky.
259
260 2016-01-28 Glenn Morris <rgm@gnu.org>
261
262 * lisp/custom.el (defcustom): Doc fix.
263
264 * doc/lispref/customize.texi (Variable Definitions):
265 Defcustom should always have a type.
266
267 2016-01-28 Glenn Morris <rgm@gnu.org>
268
269 * lisp/emacs-lisp/bytecomp.el (byte-compile-nogroup-warn):
270 Warn if defcustom has no type. (Bug#16276)
271
272 * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
273 Fix :type.
274
275 * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
276
277 2016-01-28 Michael Albinus <michael.albinus@gmx.de>
278
279 Fix Bug#22452
280
281 * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
282 * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
283 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
284 * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
285 Mark it as connected.
286
287 * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
288 connection property "connected" is set. (Bug#22452)
289
290 2016-01-27 Glenn Morris <rgm@gnu.org>
291
292 * test/lisp/vc/vc-hg.el: Move from test/automated/.
293
294 * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
295
296 * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
297 if not compiled with xwidgets.
298
299 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
300
301 C-u C-x = example doc fix
302
303 * doc/emacs/mule.texi (International Chars):
304 Adjust example to match current behavior of C-u C-x =.
305
306 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
307
308 malloc.h hygiene
309
310 This attempts to future-proof Emacs a bit against possible glibc
311 changes, by having Emacs use <malloc.h> declarations rather than
312 coding them up by hand. Problem noted by Florian Weimer in:
313 https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
314 Implement this mainly by moving malloc.h-related functions from
315 emacs.c (which does not include <malloc.h>) to alloc.c (which does).
316 * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
317 New function.
318 The remaining changes to this file apply only if DOUG_LEA_MALLOC.
319 (alloc_unexec_pre, alloc_unexec_post): New functions.
320 (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
321 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
322 (__malloc_initialize_hook): Use it.
323 (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
324 Move here from ...
325 * src/emacs.c: ... here.
326 (malloc_get_state, malloc_set_state): Remove extern decls.
327 (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
328 All uses changed to similarly-named new function.
329 (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
330 * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
331 New decls.
332
333 2016-01-26 Eli Zaretskii <eliz@gnu.org>
334
335 * doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
336
337 2016-01-26 Paul Eggert <eggert@cs.ucla.edu>
338
339 Remove never-set var handle_user_signal_hook
340
341 * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
342 Remove never-set var. All uses removed.
343
344 2016-01-26 Anders Lindgren <andlind@gmail.com>
345
346 Fixed NextStep fullscreen issue (bug#22468)
347
348 When in fullscreen mode, `[screen visibleFrame]' sometimes
349 includes, sometimes excludes the menu bar. This could cause
350 a frame to be placed too low when in fullscreen mode.
351
352 * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
353 (constrain_frame_rect): New parameter, isFullscreen, when true don't
354 query the height of the menu bar.
355 (ns_constrain_all_frames): Pass `false' (isFullscreen) to
356 `constrain_frame_rect'.
357 ([EmacsView initFrameFromEmacs:]): Trace.
358 ([EmacsView isFullscreen]): Trace.
359 ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
360 state to `constrain_frame_rect'.
361
362 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
363
364 * lisp/files.el: Use a fixed file name for the second dir-locals file
365
366 (dir-locals-file): Revert to its original fixed value.
367 (dir-locals-file-2): New const.
368 (dir-locals--all-files): Don't use `file-name-all-completions'.
369 Instead, just check for the 2 dir-locals files and return a list
370 of the ones that exit (if any).
371
372 * etc/NEWS: Document the change.
373
374 * doc/emacs/custom.texi (Directory Variables): Document the change.
375
376 * doc/lispref/variables.texi (Directory Local Variables): Update
377 accordingly.
378
379 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
380
381 * lisp/files-x.el (modify-dir-local-variable): Small rewrite
382
383 Change a variable name to be more meaningful, and reorder some of
384 the code with no change in behaviour.
385
386 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
387
388 * lisp/files.el (dir-locals-find-file): Refactor return values
389
390 Returning a cache remains unchanged, but the case of returning a
391 file (or pattern) is now changed to return the contaning
392 directory.
393
394 (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
395 and make obsolete.
396 (dir-locals-read-from-dir): Simplify accordingly.
397 (hack-dir-local-variables): Simplify accordingly and rename a
398 variable.
399
400 2016-01-25 Glenn Morris <rgm@gnu.org>
401
402 * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
403 Declare.
404
405 * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
406
407 * configure.ac (--with-cairo): Say it's experimental.
408
409 * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
410 Rename using American spelling. Update all uses.
411
412 2016-01-25 Glenn Morris <rgm@gnu.org>
413
414 Yet more xwidget doc fixes.
415
416 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
417 (xwidget-insert, xwidget-webkit-browse-url)
418 (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
419 (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
420 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
421 (xwidget-webkit-show-id-element)
422 (xwidget-webkit-show-id-or-named-element)
423 (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
424 (xwidget-webkit-execute-script-rv)
425 (xwidget-webkit-copy-selection-as-kill, xwidget-get)
426 (xwidget-put): Doc fixes.
427 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
428 (xwidget-webkit-show-id-element)
429 (xwidget-webkit-show-id-or-named-element): Prompt fixes.
430
431 2016-01-25 Ted Zlatanov <tzz@lifelogs.com>
432
433 * lisp/gnus/gnus-art.el (gnus-blocked-images):
434 Add explicit nil choice and tags.
435
436 2016-01-25 Paul Eggert <eggert@cs.ucla.edu>
437
438 Spelling fixes
439
440 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 (rng-c-fix-escaped-newlines): Use subst-char-in-string
443
444 * lisp/nxml/rng-cmpct.el (rng-c-fix-escaped-newlines):
445 Use subst-char-in-string.
446
447 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * lisp/textmodes/sgml-mode.el (sgml-forward-sexp): New function
450
451 (sgml-cursor-sensor, sgml-pretty-print, sgml-parse-tag-backward)
452 (sgml-calculate-indent): Use it.
453
454 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
455
456 * lisp/org: Fix some compiler warnings
457
458 * lisp/org/ob-core.el (org-babel-check-confirm-evaluate)
459 (org-babel-map-src-blocks): Don't emit warnings if added vars are not used.
460 (*this*): Declare as dyn-bound.
461 (org-babel-expand-src-block, org-babel-load-in-session)
462 (org-babel-switch-to-session-with-code, org-babel-get-rownames):
463 Mark unused args.
464 (org-babel-combine-header-arg-lists): Remove unused var `args'.
465 (org-babel-find-named-block): Remove unused var `msg'.
466
467 * lisp/org/org-src.el (org-inhibit-startup, org-src-fontify-natively):
468 Declare as dyn-bound.
469 (org-edit-src-code): Remove unused var `lfmt'.
470 (org-edit-fixed-width-region): Remove unused var `preserve-indentation'.
471
472 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
473
474 * lisp/font-lock.el: Use #' to quote function symbols
475
476 2016-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 (font-lock-ensure-function): Fix bug#22399
479
480 * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
481 font-lock-mode is not enabled (bug#22399).
482
483 2016-01-25 Alan Mackenzie <acm@muc.de>
484
485 Expunge "allow" + infinitive from source and doc, part 2.
486
487 Do the same for "permit", "enable", "prevent", and (where appropriate)
488 "require".
489
490 doc/misc/reftex.texi:
491 doc/misc/url.texi:
492 lib/get-permissions.c:
493 lib/strftime.c:
494 lisp/org/org-element.el:
495 lisp/org/org-mobile.el:
496 lisp/textmodes/reftex-vars.el:
497 src/bidi.c:
498 src/emacs.c:
499 src/xdisp.c:
500 test/etags/c-src/emacs/src/lisp.h:
501
502 Expunge the likes of "This allows to do something" from the above files.
503
504 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
505
506 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
507
508 `special-mode' is already read-only.
509
510 2016-01-25 Artur Malabarba <bruce.connor.am@gmail.com>
511
512 * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
513
514 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
515
516 Port "$@" to OpenIndiana ksh93
517
518 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
519 Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
520 (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
521 bug in long-dead shells, so remove the workaround.
522 * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
523 Use plain "$@" rather than ${1+"$@"}.
524
525 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
526
527 * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
528
529 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
530
531 Improve wording for SMB support
532
533 * doc/misc/tramp.texi (External methods): Improve and modernize
534 wording for discussion of smbclient. There is no longer any
535 need to mention the laundry list of old MS Windows implementations
536 of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
537
538 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
539
540 Merge from gnulib
541
542 This incorporates:
543 2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
544 2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
545 2016-01-15 detect utimes() correctly on OS/2 kLIBC
546 2016-01-15 openat_proc_name: port to OS/2 kLIBC
547 2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
548 2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
549 2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
550 2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
551 2016-01-14 sig2str: list all signals on FreeBSD >= 7
552 2016-01-13 acl-permissions: port to USE_ACL==0 platforms
553 2016-01-12 mktime: rename macro to avoid glibc clash
554 2016-01-12 Port "$@" to OpenIndiana ksh93
555 2016-01-12 Port Universal Time settings to strict POSIX
556 * build-aux/gitlog-to-changelog, build-aux/update-copyright:
557 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
558 * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
559 * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
560 * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
561 * m4/fcntl.m4, m4/utimes.m4:
562 Copy from gnulib.
563 * m4/gnulib-comp.m4: Regenerate.
564
565 2016-01-24 Alan Mackenzie <acm@muc.de>
566
567 Expunge "allow" + infinitive without direct object from source and doc.
568
569 Do the same for "permit", "enable", and "prevent".
570
571 * doc/emacs/mule.texi:
572 * doc/lispref/control.texi:
573 * doc/lispref/display.texi:
574 * doc/lispref/frames.texi:
575 * doc/lispref/functions.texi:
576 * doc/lispref/nonascii.texi:
577 * doc/lispref/streams.texi:
578 * doc/lispref/windows.texi:
579 * doc/misc/dbus.texi:
580 * doc/misc/eww.texi:
581 * doc/misc/flymake.texi:
582 * doc/misc/octave-mode.texi:
583 * doc/misc/org.texi:
584 * doc/misc/reftex.texi:
585 * doc/misc/tramp.texi:
586 * doc/misc/wisent.texi:
587 * etc/NEWS:
588 * lisp/autorevert.el:
589 * lisp/cedet/mode-local.el:
590 * lisp/cedet/semantic/senator.el:
591 * lisp/cedet/semantic/wisent.el:
592 * lisp/dos-fns.el:
593 * lisp/frameset.el:
594 * lisp/gnus/gnus-agent.el:
595 * lisp/gnus/mm-util.el:
596 * lisp/international/characters.el:
597 * lisp/ldefs-boot.el:
598 * lisp/mail/mailclient.el:
599 * lisp/man.el:
600 * lisp/mh-e/mh-search.el:
601 * lisp/net/tramp-cmds.el:
602 * lisp/net/tramp-gvfs.el:
603 * lisp/org/org-crypt.el:
604 * lisp/org/org-element.el:
605 * lisp/org/org-feed.el:
606 * lisp/org/org.el:
607 * lisp/org/ox-ascii.el:
608 * lisp/org/ox-icalendar.el:
609 * lisp/org/ox-publish.el:
610 * lisp/org/ox.el:
611 * lisp/play/gamegrid.el:
612 * lisp/play/gomoku.el:
613 * lisp/progmodes/antlr-mode.el:
614 * lisp/progmodes/python.el:
615 * lisp/progmodes/vhdl-mode.el:
616 * lisp/strokes.el:
617 * lisp/textmodes/ispell.el:
618 * lisp/tree-widget.el:
619 * lisp/vc/pcvs.el:
620 * lisp/window.el:
621 * src/lisp.h:
622 * src/w32.c:
623 * src/w32heap.c:
624 * src/w32term.c:
625 * src/window.c:
626 * src/xfaces.c:
627
628 Replace solecisms like "This allow to do something" with a correct
629 alternative, such as "This allow you to do something", "This allows
630 something to be done" or "This allows the doing of something".
631
632 2016-01-24 l3thal <kwhite@gnu.org>
633
634 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
635
636 2016-01-24 Kelvin White <kwhite@gnu.org>
637
638 Add NEWS entry for asynchronous reconnect in ERC
639
640 2016-01-24 l3thal <kwhite@gnu.org>
641
642 Add NEWS entry for asynchronous reconnect in ERC
643
644 2016-01-24 Kelvin White <kwhite@gnu.org>
645
646 browse-url.el: Add 'google-chrome' to supported browsers.
647
648 2016-01-24 Paul Eggert <eggert@cs.ucla.edu>
649
650 Port Tramp manual to latest Texinfo
651
652 Otherwise, 'make pdf' did not work (Bug#22416).
653 * doc/misc/tramp.texi (xxx, yyy): Remove macros.
654 (trampfn): Specialize to the case where METHOD is nonempty.
655 The 2nd argument is now user@host, not 2nd user and 3rd host args.
656 All uses changed.
657 (trampf): New macro.
658
659 2016-01-24 Lars Ingebrigtsen <larsi@gnus.org>
660
661 * eww.el (eww-render): Protect against empty content-types.
662
663 2016-01-24 Nicolas Petton <nicolas@petton.fr>
664
665 authors.el updates
666
667 * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
668 Additions.
669
670 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
671
672 Rename xref-query-replace to xref-query-replace-in-results
673
674 * lisp/progmodes/xref.el(xref-query-replace):
675 Rename to xref-query-replace-in-results.
676 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
677
678 * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
679 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
680 * doc/emacs/dired.texi (Operating on Files):
681 * doc/emacs/maintaining.texi (Xref Commands)
682 (Identifier Search, Identifier Search): Update accordingly.
683
684 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
685
686 Update cl-defgeneric and cl-defmethod docstrings
687
688 * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
689 (cl-defgeneric): Rename BODY to DEFAULT-BODY.
690 (cl-defmethod): Mention that multiple dispatch arguments are
691 allowed. Document supported types. (Bug#22336)
692
693 2016-01-23 Dmitry Gutov <dgutov@yandex.ru>
694
695 Comment out next-error-function integration in xref
696
697 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
698 Comment out next-error-function integration
699 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
700
701 2016-01-23 John Wiegley <johnw@newartisans.com>
702
703 Correct a use of "which" in intro.texi
704
705 2016-01-23 Alan Mackenzie <acm@muc.de>
706
707 Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
708
709 * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
710 context of case labels (including "default") more rigorously.
711 (c-guess-basic-syntax CASE 15): Consequential amendment.
712
713 * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
714
715 2016-01-23 Oscar Fuentes <ofv@wanadoo.es>
716
717 Don't operate on menu bar of nonexistent frame
718
719 * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
720 is valid before redisplaying its menu. Fixes bug#22438.
721
722 2016-01-23 Anders Lindgren <andlind@gmail.com>
723
724 Unbreak the GNUstep build.
725
726 * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
727 predefined "caution" image. Add trace.
728 (x_set_window_size): Remove unused variables `cols' and `rows'.
729 (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
730 GNUstep is used.
731 ([EmacsView updateFrameSize:]): Remove unused variable `win'.
732 ([EmacsWindow zoom:]): Remove unused variable `f'.
733
734 2016-01-23 Eli Zaretskii <eliz@gnu.org>
735 John Wiegley <johnw@gnu.org>
736 Michael Heerdegen <michael_heerdegen@web.de>
737
738 Improve documentation of 'pcase'
739
740 * doc/lispref/control.texi (Pattern matching case statement):
741 Reorganize, expand, and improve wording.
742
743 * etc/NEWS: Mention that 'pcase' changes are documented.
744
745 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
746
747 * etc/NEWS: Say that Cairo is experimental.
748
749 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
750
751 Report error for PNG under Cairo
752
753 * src/image.c (lookup_rgb_color): Signal a file error instead
754 of dumping core when mishandling an image.
755
756 2016-01-23 Arash Esbati <esbati@gmx.de>
757
758 Delete a spurious backquote (tiny change)
759
760 * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
761 spurious backquote which raises an error with emacs 25.
762
763 2016-01-23 Paul Eggert <eggert@cs.ucla.edu>
764
765 Pacify --enable-gcc-warnings --with-cairo
766
767 Problem reported by Alexander Kuleshov in:
768 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
769 * src/gtkutil.c (xg_get_page_setup):
770 Use switch rather than if-then-else.
771 * src/image.c (COLOR_TABLE_SUPPORT):
772 Define directly rather than via #define and optional later #undef.
773 (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
774 Crash when the pixel is undefined, as there is a genuine bug
775 here (Bug#22442).
776 * src/image.c (tiff_load, gif_load, svg_load_image)
777 (x_kill_gs_process) [USE_CAIRO]:
778 * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
779 Omit unused locals, or move them to where they’re needed.
780 (x_clear_area1): Now ATTRIBUTE_UNUSED.
781
782 2016-01-22 Eli Zaretskii <eliz@gnu.org>
783
784 Update documentation for Dired search and replace
785
786 * doc/emacs/dired.texi (Operating on Files): Update descriptions
787 of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
788 'dired-do-find-regexp-and-replace'.
789
790 * etc/NEWS: Mention xref-related changes in Dired.
791
792 2016-01-22 Paul Eggert <eggert@cs.ucla.edu>
793
794 Port recent xdisp.c fix to picky C compilers
795
796 * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
797 putting #if inside the arguments to a standard function, which
798 the C standard says has undefined behavior.
799
800 2016-01-22 Alan Mackenzie <acm@muc.de>
801
802 Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
803
804 * cc-engine.el (c-forward-declarator): New function.
805 (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
806 contained in the preceding arg list.
807
808 * cc-fonts.el (c-font-lock-declarators): Use the new function
809 `c-forward-declarator' in place of inline code.
810
811 2016-01-22 Eli Zaretskii <eliz@gnu.org>
812
813 Fix the build with --enable-checking=glyphs
814
815 * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
816 build without xwidget support.
817
818 2016-01-22 Eli Zaretskii <eliz@gnu.org>
819
820 Document cl-generic.el
821
822 * doc/lispref/functions.texi (Generic Functions): New section.
823 (Bug#22336)
824 (Functions): Update the chapter menu.
825 * doc/lispref/elisp.texi: Update the master menu.
826
827 2016-01-22 Paul Eggert <eggert@cs.ucla.edu>
828
829 xwidgets style cleanup
830
831 Adjust the newly-added Xwidgets code so that it uses a more-typical
832 Emacs style. This should not affect behavior, except that in
833 a few places it adds runtime checks that Lisp arguments are of
834 the proper type, and in one place it uses more-precise arithmetic.
835 * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
836 * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
837 Include xwidget.h unconditionally.
838 * src/buffer.c (Fkill_buffer):
839 * src/dispnew.c (update_window):
840 * src/emacs.c (main):
841 * src/print.c (print_object):
842 * src/window.c (Fdelete_window_internal):
843 * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
844 (get_next_element, set_iterator_to_next, next_element_from_xwidget)
845 (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
846 (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
847 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
848 Call xwidget functions and macros without worrying about
849 HAVE_XWIDGETS when the code is a no-op on non-xwidget
850 platforms.
851 * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
852 (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
853 (struct it.xwidget):
854 * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
855 Always define.
856 * src/emacsgtkfixed.h: Omit unnecessary comment.
857 * src/keyboard.c: Fix spacing.
858 * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
859 Define to be a no-op if not HAVE_XWIDGETS.
860 * src/xwidget.c: Include xwidget.h first (after config.h)
861 to make sure that it can stand by itself.
862 (Fmake_xwidget, Fxwidget_webkit_execute_script):
863 Fix typo in doc string.
864 (Fmake_xwidget): Check type of args.
865 (Fmake_xwidget, offscreen_damage_event)
866 (webkit_document_load_finished_cb, webkit_download_cb)
867 (webkit_new_window_policy_decision_requested_cb)
868 (webkit_navigation_policy_decision_requested_cb)
869 (xwidget_osr_draw_cb, xwidget_osr_event_forward)
870 (xwidget_osr_event_set_embedder, xwidget_init_view):
871 Omit unnecessary casts.
872 * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
873 (xwidget_show_view, xwidget_hide_view)
874 (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
875 (xwidget_touched):
876 * src/xwidget.h (struct xwidget.kill_without_query)
877 (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
878 Use bool for boolean.
879 * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
880 Simplify by using list functions.
881 (WEBKIT_FN_INIT): Omit unnecessary test for nil.
882 (Fxwidget_resize): Check type of integer args
883 before doing any work. Check that they are nonnegative.
884 (Fxwidget_set_adjustment): Check type of integer arg.
885 Avoid redundant call to gtk_scrolled_window_get_vadjustment.
886 Simplify. Use double, not float.
887 (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
888 (valid_xwidget_spec_p): Simplify.
889 (xwidget_spec_value): Omit unused arg FOUND. All callers changed.
890 * src/xwidget.h: Include lisp.h first, so that includers do
891 not need to worry about doing that before including this file.
892 Make this .h file safe to include even on non-HAVE_XWIDGETS
893 configurations, to simplify the includers.
894 (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
895 (xwidget_end_redisplay, lookup_xwidget)
896 (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
897 Now a no-op if !HAVE_XWIDGETS, to simplify callers.
898 (struct glyph_matrix, struct glyph_string, struct xwidget)
899 (struct xwidget_view, struct window):
900 New forward or incomplete decls, so that includers need not
901 assume the corresponding .h files are already included, or that
902 HAVE_XWIDGETS is defined.
903 (struct xwidget_type, xwidget_from_id): Remove; unused.
904
905 2016-01-22 John Wiegley <johnw@newartisans.com>
906
907 Further corrections to the pcase docstring
908
909 2016-01-22 Eli Zaretskii <eliz@gnu.org>
910
911 * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
912
913 2016-01-21 Stephen Leake <stephen_leake@stephe-leake.org>
914
915 In xref-collect-references, force backends to respect the 'dir' arg
916
917 * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
918 to use `default-directory'.
919
920 2016-01-21 John Wiegley <johnw@newartisans.com>
921
922 Minor correction to pcase docstring
923
924 2016-01-21 John Wiegley <johnw@newartisans.com>
925
926 Write a new docstring for the pcase macro
927
928 * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
929
930 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
931
932 Avoid byte-compiler warning in todo-mode (bug#21953)
933
934 * todo-mode.el (todo-convert-legacy-files): Add limit argument
935 to looking-back to comply with advertised-calling-convention.
936
937 2016-01-21 Stephen Berman <stephen.berman@gmx.net>
938
939 Fix desktop support in todo-mode and doc-view (bug#22377)
940
941 * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
942 * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
943
944 * lisp/calendar/todo-mode.el (todo-modes-set-2):
945 * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
946
947 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
948
949 No need to configure gobject-introspection
950
951 It wasn’t needed for the recently-installed xwidget_mvp code; see:
952 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
953 * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
954 (HAVE_GIR):
955 * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
956 Remove. All uses removed.
957 * configure.ac (emacs_config_features): Don’t worry about GIR.
958
959 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
960
961 Don’t export C symbols not used elsewhere
962
963 These were recently added, mostly as part of xwidget code.
964 * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
965 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
966 Now static functions here, not macros in emacsgtkfixed.h.
967 * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
968 Remove. All uses replaced by definiens.
969 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
970 Remove; these are now static functions in emacsgtkfixed.c.
971 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
972 Remove; unused.
973 (emacs_fixed_get_type): Remove decl; no longer extern.
974 * src/xwidget.c (offscreen_damage_event)
975 (webkit_mime_type_policy_typedecision_requested_cb)
976 (webkit_new_window_policy_decision_requested_cb)
977 (webkit_navigation_policy_decision_requested_cb)
978 (xwidget_spec_value, xwidget_view_lookup)
979 (xwidget_start_redisplay, xwidget_touch):
980 Now static.
981 * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
982 Remove decls.
983
984 2016-01-20 Dmitry Gutov <dgutov@yandex.ru>
985
986 Support squiggly heredocs in ruby-mode
987
988 * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
989 Support squiggly heredocs added in Ruby 2.3.
990
991 * test/indent/ruby.rb: Add squiggly example.
992
993 2016-01-20 Glenn Morris <rgm@gnu.org>
994
995 * configure.ac (emacs_config_features): Remove WEBKIT.
996
997 2016-01-20 Paul Eggert <eggert@cs.ucla.edu>
998
999 Port to platforms with gtk3 but not webkitgtk3
1000
1001 I ran into this problem on my Fedora 23 installation;
1002 Emacs configured but did not build when --with-xwidgets was specified.
1003 * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
1004 (DOES_XWIDGETS_USE_GIR): New var.
1005 If --with-xwidgets is specified, report an error if not
1006 doable, to be consistent with the other --with options.
1007 Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
1008 not work at all without webkitgtk3. Simplify use of
1009 EMACS_CHECK_MODULES. Output message about gobject
1010 introspection only if xwidgets are used.
1011 * etc/NEWS: Users need webkitgtk3, not merely webkit.
1012 * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
1013 since this file is no longer compiled if webkitgtk3 is not available.
1014
1015 2016-01-20 Eli Zaretskii <eliz@gnu.org>
1016
1017 Fix doc string of 'isearch-search-fun-function'
1018
1019 * lisp/isearch.el (isearch-search-fun-function)
1020 (isearch-search-string): Doc fixes. (Bug#22411)
1021
1022 2016-01-19 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * lisp/xwidget.el: Nitpicks
1025
1026 * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
1027 Use with-current-buffer rather than save-excursion + set-buffer.
1028
1029 2016-01-19 Glenn Morris <rgm@gnu.org>
1030
1031 Don't hard-code 1 as point-min.
1032
1033 * lisp/image-mode.el (image-display-size):
1034 * lisp/xwidget.el (xwidget-webkit-last-session)
1035 (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
1036
1037 2016-01-19 Glenn Morris <rgm@gnu.org>
1038
1039 * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
1040
1041 2016-01-19 Glenn Morris <rgm@gnu.org>
1042
1043 Trivial doc copyedits.
1044
1045 * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
1046 (Fxwidget_webkit_get_title, Fxwidget_resize)
1047 (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
1048 (Fxwidget_info, Fxwidget_view_lookup)
1049 (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
1050
1051 2016-01-19 Glenn Morris <rgm@gnu.org>
1052
1053 Avoid advising image-display-size for xwidgets.
1054
1055 * lisp/xwidget.el (xwidget-image-display-size): Remove.
1056 (image-display-size): Remove advice.
1057 * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
1058 (image-display-size): Incorporate xwidget code directly.
1059
1060 2016-01-19 Glenn Morris <rgm@gnu.org>
1061
1062 Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
1063
1064 * lisp/xwidget.el (window-configuration-change-hook)
1065 (kill-buffer-query-functions): Only modify these hooks if
1066 compiled with xwidget support.
1067
1068 2016-01-19 Glenn Morris <rgm@gnu.org>
1069
1070 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
1071
1072 * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
1073
1074 * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
1075
1076 * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
1077
1078 2016-01-19 Katsumi Yamaoka <yamaoka@jpl.org>
1079
1080 * lisp/gnus/nnir.el (nnir-request-update-mark):
1081 Default to the original mark.
1082 cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
1083 and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
1084
1085 2016-01-19 Glenn Morris <rgm@gnu.org>
1086
1087 * lisp/xwidget.el (report-xwidget-bug): Remove.
1088
1089 (top-level): No longer require reporter.
1090
1091 2016-01-19 Joakim Verona <joakim@verona.se>
1092 Grégoire Jadi <daimrod@gmail.com>
1093
1094 Support for the new Xwidget feature.
1095
1096 * configure.ac:
1097 (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
1098 * xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
1099 * xdisp.c:
1100 (handle_display_spec, handle_single_display_spec, push_it)
1101 (pop_it, set_iterator_to_next, dump_glyph)
1102 (calc_pixel_width_or_height, fill_xwidget_glyph_string)
1103 (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
1104 (produce_xwidget_glyph, x_produce_glyphs)
1105 (get_window_cursor_type):
1106 * window.c (Fdelete_window_internal):
1107 * termhooks.h (e):
1108 * print.c (print_object):
1109 * lisp.h (ptrdiff_t):
1110 * keyboard.c (kbd_buffer_get_event, make_lispy_event)
1111 (syms_of_keyboard):
1112 * emacs.c (main):
1113 * dispnew.c (update_window, scrolling_window):
1114 * dispextern.h (g, i):
1115 * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
1116 (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
1117 * keyboard.c (kbd_buffer_get_event):
1118 * emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
1119 (emacs_fixed_class_init): Add case for an xwidget view.
1120
1121 * xwidget.c, xwidget.h, xwidget.el: New files for xwidgets
1122
1123
1124 Various improvements to the Xwidget feature.
1125 * xwidgets.c:
1126 * emacsgtkfixed.c:
1127 * xwidget.el:
1128
1129 2016-01-19 Eli Zaretskii <eliz@gnu.org>
1130
1131 Improve documentation of 'alist-get'
1132
1133 * doc/lispref/variables.texi (Setting Generalized Variables): Add
1134 'alist-get' to the list of functions that can appear in PLACE
1135 argument of 'setf'.
1136
1137 2016-01-19 Eli Zaretskii <eliz@gnu.org>
1138
1139 Minor copyedits of doc/emacs/maintaining.texi
1140
1141 * doc/emacs/maintaining.texi (List Identifiers): More accurate
1142 description of "C-M-i" wrt tags tables.
1143 (Tags Tables): Move the definition of "tag" to a footnote.
1144
1145 2016-01-19 Eli Zaretskii <eliz@gnu.org>
1146
1147 Unbreak the Cygwin-w32 build
1148
1149 * src/w32fns.c (globals_of_w32fns): Move the initialization of
1150 resetstkoflw into a part that isn't compiled on Cygwin.
1151 (Bug#22403)
1152
1153 2016-01-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1154
1155 * shr.el (shr-table-body): Allow tables to have text children.
1156
1157 2016-01-19 Phillip Lord <phillip.lord@russet.org.uk>
1158
1159 Cope with multiple overlapping faces.
1160
1161 * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
1162 left.
1163 (hfy-face-resolve-face): Handle font specification as well as font
1164 name. Documentation update. (Bug#21990)
1165
1166 2016-01-18 Paul Eggert <eggert@cs.ucla.edu>
1167
1168 Fix spurious escapes in describe-input-method
1169
1170 Problem reported by Vincent Belaïche (Bug#22309).
1171 * lisp/international/mule-cmds.el (describe-language-environment):
1172 * lisp/international/quail.el (quail-help):
1173 Apply substitute-command-keys to doc strings before displaying them.
1174
1175 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1176
1177 Bump version to 25.0.90
1178
1179 * README:
1180 * configure.ac:
1181 * msdos/sed2v2.inp: Bump version to 25.0.90.
1182
1183 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1184
1185 * etc/AUTHORS: Update the AUTHORS file
1186
1187 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1188
1189 authors.el updates
1190
1191 * admin/authors.el (authors-renamed-files-alist): Additions.
1192
1193 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1194
1195 Make it possible to run make change-history on emacs-25
1196
1197 * Makefile.in: Check if the current branch is emacs-25 instead of
1198 master.
1199
1200 2016-01-30 lu4nx <lx@shellcodes.org>
1201
1202 Support Go language in 'etags'
1203
1204 * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
1205 <Go_help>: New help.
1206 <Go_suffixes>: New variable.
1207 (Go_functions): New function.
1208 <lang_names>: Add entry for Go. (Bug#22370)
1209
1210 * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
1211 * doc/man/etags.1: Mention Go support.
1212
1213 * etc/NEWS: Mention Go support.
1214
1215 * test/etags/go-src/test.go:
1216 * test/etags/go-src/test1.go: New test files.
1217 * test/etags/Makefile (GOSRC): New variable.
1218 (SRCS): Add $(GOSRC).
1219 * test/etags/ETAGS.good_1:
1220 * test/etags/ETAGS.good_2:
1221 * test/etags/ETAGS.good_3:
1222 * test/etags/ETAGS.good_4:
1223 * test/etags/ETAGS.good_5:
1224 * test/etags/ETAGS.good_6:
1225 * test/etags/CTAGS.good: Adapt to addition of Go tests.
1226
1227 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1228
1229 Improve Ruby support in 'etags'
1230
1231 * lib-src/etags.c (Ruby_functions): Tag constants. Don't tag
1232 singleton classes. Remove class qualifiers from tags generated
1233 for method and constant names. (Bug#22241)
1234
1235 * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
1236 are tagged by etags in Ruby.
1237
1238 * etc/NEWS: Mention that constants are tagged by etags in Ruby.
1239
1240 * test/etags/ruby-src/test1.ruby: Add more tests.
1241 * test/etags/ETAGS.good_1:
1242 * test/etags/ETAGS.good_2:
1243 * test/etags/ETAGS.good_3:
1244 * test/etags/ETAGS.good_4:
1245 * test/etags/ETAGS.good_5:
1246 * test/etags/ETAGS.good_6:
1247 * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
1248 tests.
1249
1250 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1251
1252 Adjust etags test results to changes in copyright years
1253
1254 * test/etags/CTAGS.good:
1255 * test/etags/ETAGS.good_1:
1256 * test/etags/ETAGS.good_2:
1257 * test/etags/ETAGS.good_3:
1258 * test/etags/ETAGS.good_4:
1259 * test/etags/ETAGS.good_5:
1260 * test/etags/ETAGS.good_6: Adjust to shift in characters and
1261 in line numbers.
1262
1263 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
1264
1265 Revert "Re-enable checks in member, memql, delete to complain about non-lists"
1266
1267 This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
1268
1269 2016-01-30 Nicolas Petton <nicolas@petton.fr>
1270
1271 Make it possible to run make change-history on emacs-25
1272
1273 * Makefile.in: Check if the current branch is emacs-25 instead of
1274 master.
1275
1276 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1277
1278 Don't fiddle with DEFAULT
1279
1280 * lisp/progmodes/project.el (project--completing-read-strict):
1281 Don't change DEFAULT, whether is has any matches in
1282 COLLECTION, or not.
1283
1284 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1285
1286 Document xwidget commands and functions
1287
1288 * doc/lispref/display.texi (Xwidgets): New section, describes some
1289 of the xwidget primitives.
1290 * doc/lispref/display.texi (Display): Update the chapter menu.
1291 * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
1292 * doc/emacs/emacs.texi (Top): Update the master menu to include
1293 the xwidget node.
1294
1295 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
1296
1297 Build fix for shr.el
1298
1299 * shr.el (seq): Require.
1300
1301 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1302
1303 Improve project-find-file yet again!
1304
1305 * lisp/progmodes/project.el (project--completing-read-strict):
1306 New function.
1307 (project-find-file-in): Use it.
1308 (project-file-completion-table): Move the default
1309 implementation inside the cl-defgeneric form.
1310 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
1311
1312 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1313
1314 Don't pass DIR to 'hg status'
1315
1316 * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
1317 Don't pass DIR to 'hg status' (bug#22481).
1318
1319 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
1320
1321 Fix typo in previous commits
1322
1323 * lisp/progmodes/project.el (project-find-file-in):
1324 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
1325 commit.
1326
1327 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
1328
1329 Improve project-find-file
1330
1331 * lisp/progmodes/project.el (project-file-completion-table): New.
1332 (project-find-file, project-or-external-find-file): Default to filename
1333 at point.
1334 (project-file-completion-table): New, split out from
1335 project--find-file-in.
1336 (project-find-file-in): Renamed from project--find-file-in, use
1337 project-file-completion-table.
1338
1339 * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
1340 (xref--find-ignores-arguments): Add doc string.
1341
1342 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
1343
1344 Implement vc-mtn-find-ignore-file, fix some doc strings
1345
1346 * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
1347
1348 * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
1349
1350 * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
1351
1352 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
1353
1354 2016-01-23 Michael Albinus <michael.albinus@gmx.de>
1355
1356 Improve user name completion in Tramp
1357
1358 * lisp/net/tramp.el (tramp-parse-passwd, tramp-parse-etc-group):
1359 Call also "getent passwd" or "getent group", if possible.
1360 (tramp-parse-putty): Cache the result.
1361
1362 2016-01-22 Michael Albinus <michael.albinus@gmx.de>
1363
1364 * etc/NEWS: Move kqueue entries to Emacs 25.1 sections.
1365
1366 2016-01-20 Glenn Morris <rgm@gnu.org>
1367
1368 Remove handling of non-string time-stamp formats, obsolete for 20 years.
1369
1370 * lisp/time-stamp.el (time-stamp-format): Doc fix.
1371 (time-stamp-old-format-warn, time-stamp-fconcat): Remove.
1372 (time-stamp-string): Ignore non-string formats.
1373
1374 2016-01-20 Eli Zaretskii <eliz@gnu.org>
1375
1376 Anoter fix for problematic merge from emacs-25
1377
1378 * src/w32fns.c (globals_of_w32fns): Move initialization of
1379 resetstkoflw to a non-Cygwin part.
1380
1381 2016-01-20 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * test/Makefile.in (mostlyclean): Use ${LOGFILES}.
1384
1385 2016-01-20 Eli Zaretskii <eliz@gnu.org>
1386
1387 Fix MS-Windows build broken by a botched merge from emacs-25
1388
1389 * src/w32.c (w32_crypto_hprov): New static variable.
1390 (globals_of_w32): Initialize w32_crypto_hprov.
1391 (w32_init_crypt_random, w32_init_random): New functions.
1392 Include wincrypt.h.
1393 * src/w32.h (w32_init_random): Add prototype.
1394
1395 2016-01-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1396
1397 Correct a whole bunch of bugs coming with renamed cell relocation.
1398
1399 * lisp/ses.el (ses-localvars): rename variable
1400 `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
1401 and adjust the comment about it.
1402 (ses-plist-delq): new defun.
1403 (ses--ses-buffer-list): new defvar.
1404 (ses--unbind-cell-name): new defun.
1405 (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
1406 (ses-relocate-formula): Undo change of
1407 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
1408 preventing relocation for named cell --- now doing this is delegated
1409 to function `ses-relocate-symbol'.
1410 (ses-relocate-range): In docstring, undo change of
1411 2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
1412 lower case as it is not a variable.
1413 (ses-relocate-all): Cell name relocation : 1) check that cell is a
1414 renamed cell by testing `ses-cell' property to :ses-named, rather than
1415 comparing name to corresponding standard name. Set rowcol of renamed
1416 cell into the hashmap --- `ses-cell' property must not be used for
1417 that as the same name can be used for different locations in different
1418 SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
1419 `local-variable-p' to check if cell name is already in use in this
1420 sheet or needs initialisation.
1421 (ses-relocate-all): Cell value relocation : 1) like for name
1422 relocation use the `ses-cell' property rather than comparing actual
1423 name to corresponding standard name. 2) Correct bug introduced in
1424 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
1425 made the other way round than the intention --- ie value relocation
1426 was disabled for standard cell, not for renamed cell as was the
1427 intention.
1428 (ses-relocate-all): Add loop for unbinding deleted renamed cells
1429 names.
1430 (ses-killbuffer-hook): new defun.
1431 (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
1432 kill buffer hook, plus pushing current buffer if new in list.
1433 (ses-delete-row, ses-delete-column): Collect deleted renamed cells
1434 into `ses--in-killing-named-cell-list'.
1435 (ses-rename-cell): Remove update of variable
1436 `ses--renamed-cell-symb-list', this variable is renamed to
1437 `ses--in-killing-named-cell-list', and its setting is done in
1438 functions `ses-delete-row' and , `ses-delete-column' now.
1439 (ses-rename-cell): Make cell new name a buffer local variable.
1440 (ses-rename-cell): Change correction of
1441 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
1442 computation of the range over which `cursor-intangible' property was
1443 to be updated. This correction was ok for non spilling cells, but not
1444 for cells spilling over following blank cells. Simply use
1445 `next-single-property-change' rather than computing the end column
1446 from column widths.
1447
1448 2016-01-19 John Wiegley <johnw@newartisans.com>
1449
1450 Merge from origin/emacs-25
1451
1452 3ae7934 ; * etc/NEWS: Mark entries that don't need further treatment.
1453 6165c36 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
1454 2ffdf15 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
1455 71ecd62 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
1456 f0b82b3 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
1457 86e4513 Fix incompatbilities with MS-Windows 2000 and older
1458 4e96521 Mention in PROBLEMS an issue with MS-Windows NT4
1459 15c23aa Ensure 8-byte aligned memory allocation on MS-Windows 9X
1460 39afa42 Fix tests for active region in hideif.el
1461 05df666 Fix interactive specs in some hideif.el commands
1462
1463 2016-01-19 John Wiegley <johnw@newartisans.com>
1464
1465 -
1466
1467 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
1468
1469 Avoid stdio in SIGINT handler
1470
1471 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
1472 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
1473 * lib/ignore-value.h: New file, from gnulib.
1474 * src/keyboard.c: Include it.
1475 (write_stdout, read_stdin): New functions.
1476 (handle_interrupt): Use them instead of printf and getchar,
1477 and avoid fflush when handling signals.
1478
1479 2016-01-19 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
1480
1481 Refactor mml-smime.el, mml1991.el, mml2015.el
1482
1483 (Maybe this is the last merge from Gnus git to Emacs git)
1484
1485 Cf. discussion on ding mailing list, messages in
1486 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
1487 Common code from the three files mml-smime.el, mml1991.el, and
1488 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
1489 to gnus-util.el.
1490
1491 The code is supported by test cases with necessary test keys.
1492
1493 Documentation in message.texi is updated.
1494
1495 * doc/misc/message.texi (Security, Using S/MIME):
1496 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
1497 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
1498 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
1499
1500 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
1501 New functions.
1502
1503 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
1504 (epa--select-keys): Autoload.
1505 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
1506 (mml-secure-openpgp-signers): New user option;
1507 make mml1991-signers and mml2015-signers obsolete aliases to it.
1508 (mml-secure-smime-signers): New user option;
1509 make mml-smime-signers an obsolete alias to it.
1510 (mml-secure-openpgp-encrypt-to-self): New user option;
1511 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
1512 aliases to it.
1513 (mml-secure-smime-encrypt-to-self): New user option;
1514 make mml-smime-encrypt-to-self an obsolete alias to it.
1515 (mml-secure-openpgp-sign-with-sender): New user option;
1516 make mml2015-sign-with-sender an obsolete alias to it.
1517 (mml-secure-smime-sign-with-sender): New user option;
1518 make mml-smime-sign-with-sender an obsolete alias to it.
1519 (mml-secure-openpgp-always-trust): New user option;
1520 make mml2015-always-trust an obsolete alias to it.
1521 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
1522 New user options.
1523 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
1524 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
1525 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
1526 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
1527 (mml-secure-passphrase-callback, mml-secure-check-user-id)
1528 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
1529 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
1530 (mml-secure-fingerprint, mml-secure-filter-keys)
1531 (mml-secure-normalize-cust-name, mml-secure-select-keys)
1532 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
1533 (mml-secure-self-recipients, mml-secure-recipients)
1534 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
1535
1536 * lisp/gnus/mml-smime.el: Require epg;
1537 refactor declaration and autoloading of epg functions.
1538 (mml-smime-use): Doc fix.
1539 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
1540 Obsolete.
1541 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
1542 Use format instead of gnus-format-message.
1543 (mml-smime-epg-secret-key-id-list): Remove variable.
1544 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
1545 (mml-smime-epg-find-usable-secret-key): Remove functions.
1546 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
1547
1548 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
1549 (mml1991-passphrase-cache-expiry): Obsolete.
1550 (mml1991-epg-secret-key-id-list): Remove variable.
1551 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
1552 (mml1991-epg-find-usable-secret-key): Remove functions.
1553 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
1554
1555 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
1556 (mml2015-passphrase-cache-expiry): Obsolete.
1557 (mml2015-epg-secret-key-id-list): Remove variable.
1558 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
1559 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
1560 (mml2015-epg-find-usable-secret-key): Remove functions.
1561 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
1562 (mml2015-epg-encrypt): Refactor.
1563
1564 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
1565
1566 Merge from gnulib
1567
1568 This mostly just updates copyright dates of gnulib files.
1569 It also updates to the latest version of texinfo.tex.
1570
1571 2016-01-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1572
1573 Move variables to inner loop, preparing for Mac port merge
1574
1575 * src/keyboard.c (command_loop_1): Move variables `cmd',
1576 `keybuf', and `i' to inner loop.
1577
1578 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
1579
1580 Minor improvements to (random t) documentation
1581
1582 * doc/lispref/numbers.texi (Random Numbers):
1583 * src/fns.c (Frandom):
1584 Omit unnecessary details about randomness fallback.
1585 Say that it is a fallback.
1586
1587 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
1588
1589 Rename methods in Ruby etags example file
1590
1591 * test/etags/ruby-src/test.rb: Rename the example methods to
1592 correspond to the common terminology used in Ruby.
1593 * test/etags/CTAGS.good:
1594 * test/etags/ETAGS.good_1:
1595 * test/etags/ETAGS.good_2:
1596 * test/etags/ETAGS.good_3:
1597 * test/etags/ETAGS.good_4:
1598 * test/etags/ETAGS.good_5:
1599 * test/etags/ETAGS.good_6: Adjust accordingly.
1600
1601 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
1602
1603 Propertize backtick in 'def `(abc)' as symbol constituent
1604
1605 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
1606 Propertize backtick in 'def `(abc)' as symbol constituent.
1607 (ruby-syntax-propertize-function):
1608 Rename to ruby-syntax-propertize.
1609
1610 2016-01-18 Eli Zaretskii <eliz@gnu.org>
1611
1612 Fix scrolling under scroll-preserve-screen-position on TTY
1613
1614 * src/window.c (window_scroll_line_based): When setting point to
1615 preserve screen coordinates, don't let cursor enter either of the
1616 two scroll margins. (Bug#22395)
1617
1618 2016-01-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1619
1620 Fix shr table rendering of nested tables
1621
1622 * shr.el (shr-table-body): Don't include all tbodies in nested
1623 tables in the levels above.
1624
1625 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
1626
1627 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
1628
1629 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
1630
1631 Add xref-based replacements for Dired search commands
1632
1633 * lisp/dired-aux.el (dired-do-find-regexp)
1634 (dired-do-find-regexp-and-replace): New commands.
1635 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
1636
1637 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
1638 `Q' to the new commands.
1639
1640 * lisp/progmodes/xref.el (xref-query-replace)
1641 (xref-collect-matches): Add progress reporters.
1642 (xref--find-ignores-arguments): Return nil for zero ignores.
1643 (xref--show-xrefs): Add an optional argument.
1644 (xref-collect-matches): Drop the assert. 'find' accepts a
1645 regular file in place of directory argument, too.
1646
1647 2016-01-18 Alan Mackenzie <acm@muc.de>
1648
1649 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
1650
1651 2016-01-18 Eli Zaretskii <eliz@gnu.org>
1652
1653 Improve user documentation of Xref
1654
1655 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
1656 (Looking Up Identifiers, Identifier Search, List Identifiers):
1657 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
1658 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
1659 for the details.
1660
1661 2016-01-18 Eli Zaretskii <eliz@gnu.org>
1662
1663 Fix scrolling under scroll-preserve-screen-position and margins
1664
1665 * src/window.c (window_scroll_pixel_based): When setting point to
1666 preserve screen coordinates, don't let cursor enter either of the
1667 two scroll margins. Fix incorrect usage of
1668 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
1669 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
1670
1671 2016-01-18 Eli Zaretskii <eliz@gnu.org>
1672
1673 Unbreak the MS-Windows build
1674
1675 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
1676 WINDOWSNT, to avoid link failure. (Bug#22202)
1677
1678 2016-01-18 Alan Mackenzie <acm@muc.de>
1679
1680 Desktop: protect users against inadvertant upgrading of desktop file.
1681
1682 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
1683
1684 * etc/NEWS: Add an entry about upgrading a desktop file.
1685
1686 * lisp/desktop.el (desktop-file-version): Amend doc string.
1687 (desktop-native-file-version, desktop-io-file-version): new variables.
1688 (desktop-clear): Set desktop-io-file-version to nil.
1689 (desktop-buffer-info): make the presence of the last item on the list
1690 conditional on (>= desktop-io-file-version 208).
1691 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
1692 Amend the doc string. Add code to determine the output file version.
1693 (desktop-create-buffer): Set desktop-io-file-version to the input file's
1694 version.
1695
1696 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
1697
1698 Initialize GnuTLS before calling gnutls_rnd
1699
1700 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
1701 Don’t set gnutls_global_initialized if gnutls_global_init fails.
1702 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
1703 if 2.12 or later, which has gnutls_rnd.
1704 (emacs_gnutls_global_init, gnutls_rnd): New fallback
1705 placeholder macros if before 2.12.
1706 (init_random): Initialize gnutls globals before trying to
1707 use gnutls_rnd.
1708
1709 2016-01-17 Andreas Schwab <schwab@linux-m68k.org>
1710
1711 Don't use GnuTLS before it is initialized
1712
1713 * src/sysdep.c (init_random): Don't use gnutls_rnd.
1714
1715 2016-01-17 Bill Wohler <wohler@newt.com>
1716
1717 * mh-e.el (mh-version): Add +git to version.
1718
1719 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
1720
1721 Port cleanup attribute to OpenBSD
1722
1723 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
1724 sprintf, and this messes up 'configure' when it tests for the cleanup
1725 attribute. Work around the problem by using __has_attribute directly.
1726 Problem reported by Joakim Jalap (Bug#22385).
1727 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
1728 * m4/ax_gcc_var_attribute.m4: Remove.
1729 * src/conf_post.h (__has_attribute): Provide a substitute, for
1730 non-GCC or older GCC compilers. All uses changed to assume
1731 the substitute. Check for the cleanup attribute.
1732 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
1733
1734 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
1735
1736 Prefer GnuTLS when acquiring random seed
1737
1738 This attempts to improve on the fix for Bug#22202.
1739 * configure.ac (HAVE_DEV_URANDOM): Remove.
1740 Check /dev/urandom existence at run time, not at build time,
1741 since the device could exist in the former but not the latter.
1742 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
1743 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
1744 (random_seed): New typedef.
1745 (set_random_seed): New static function.
1746 (seed_random): Use them.
1747 (init_random): Use random_seed instead of uintmax_t, so as to
1748 not consume more entropy than needed. Prefer gnutls_rnd if it
1749 works; this avoids a redundant open of /dev/urandom on
1750 GNU/Linux with modern GnuTLS.
1751
1752 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1753
1754 Improve documentation of dynamic modules
1755
1756 * doc/lispref/loading.texi (How Programs Do Loading): Update the
1757 description of searching for files in 'load' when Emacs was built
1758 with support for dynamic modules.
1759
1760 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1761
1762 * INSTALL: Document --with-modules.
1763
1764 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1765
1766 Document 'function-put'
1767
1768 * doc/lispref/symbols.texi (Symbol Plists): Document
1769 'function-put'. Update documentation of 'function-get'.
1770
1771 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1772
1773 Document 'funcall-interactively'
1774
1775 * doc/lispref/commands.texi (Interactive Call): Document
1776 'funcall-interactively'.
1777 * doc/lispref/functions.texi (Calling Functions): Mention
1778 'funcall-interactively' and provide a cross-reference.
1779
1780 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1781
1782 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
1783
1784 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
1785
1786 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1787
1788 Document renaming of selection-related functions
1789
1790 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
1791 functions into the corresponding "gui-*" functions. Make the
1792 description slightly less X-centric.
1793
1794 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1795
1796 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
1797
1798 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1799
1800 Document 'define-inline'
1801
1802 * doc/lispref/functions.texi (Defining Functions): Document
1803 'define-inline' and related macros.
1804
1805 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
1806
1807 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1808
1809 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
1810
1811 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
1812
1813 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1814
1815 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
1816
1817 instead of manually writing a dir-locals file.
1818
1819 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
1820
1821 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
1822
1823 (dir-locals-file)
1824 * lisp/files-x.el (modify-dir-local-variable)
1825 * lisp/dos-fns.el (dosified-file-name)
1826 * lisp/help-fns.el (describe-variable): Change accordingly.
1827
1828 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1829
1830 Fix incompatbilities with MS-Windows 2000 and older
1831
1832 * src/w32.c <multiByteToWideCharFlags>: New global variable.
1833 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
1834 Use it instead of the literal MB_ERR_INVALID_CHARS.
1835 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
1836 appropriate for the underlying OS version. For details, see
1837 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1838 * src/w32.h: Declare multiByteToWideCharFlags.
1839 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
1840 (add_tray_notification): Use multiByteToWideCharFlags instead of
1841 the literal MB_ERR_INVALID_CHARS.
1842 (_resetstkoflw_proc): New typedef.
1843 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
1844 pointer, as this function is absent in msvcrt.dll shipped with W2K
1845 and older systems.
1846
1847 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1848
1849 Mention in PROBLEMS an issue with MS-Windows NT4
1850
1851 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
1852 on Windows NT4. For the details, see
1853 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1854
1855 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1856
1857 Ensure 8-byte aligned memory allocation on MS-Windows 9X
1858
1859 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
1860 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
1861 (malloc_after_dump_9x, realloc_after_dump_9x)
1862 (free_after_dump_9x): New functions. (Bug#22379) See also
1863 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
1864 for more details about the original problem.
1865
1866 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
1867 (free_after_dump_9x): Add prototypes.
1868
1869 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1870
1871 Fix tests for active region in hideif.el
1872
1873 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
1874 'use-region-p' to test whether to operate on region, instead of
1875 testing 'mark-active'.
1876
1877 2016-01-16 Eli Zaretskii <eliz@gnu.org>
1878
1879 Fix interactive specs in some hideif.el commands
1880
1881 * lisp/progmodes/hideif.el (hif-evaluate-macro)
1882 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
1883 in commands that should only act on the region if it's active.
1884
1885 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
1886
1887 Enable test selector from command line
1888
1889 * test/automated/Makefile.in: Change variable manipulation to avoid
1890 over-writing selector.
1891
1892 2016-01-15 Alan Mackenzie <acm@muc.de>
1893
1894 Don't confuse "::" with ":" when trying to parse member initializers.
1895
1896 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
1897 more robustly for ":" token when searching backwards for it.
1898
1899 * lisp/progmodes/cc-langs (c-:$-multichar-token-regexp): New language
1900 variable.
1901
1902 2016-01-15 Eli Zaretskii <eliz@gnu.org>
1903
1904 Ensure positive number of glyphs for margins of positive width
1905
1906 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
1907 positive value when a non-zero width of the marginal area was
1908 requested. (Bug#22356)
1909
1910 2016-01-15 Eli Zaretskii <eliz@gnu.org>
1911
1912 Fix crashes when mini-window has non-zero margins
1913
1914 * src/window.c (resize_frame_windows): Use 'new_size' to set
1915 minibuffer window's 'total_cols' value, as 'size' might be in
1916 pixels. (Bug#22356)
1917
1918 2016-01-15 Alan Mackenzie <acm@muc.de>
1919
1920 In comment-dwim with style `extra-line', respect indent-tabs-mode.
1921
1922 This fixes bug #22369.
1923
1924 * lisp/newcomment.el (comment-make-bol-ws): New function.
1925 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
1926
1927 2016-01-15 Eli Zaretskii <eliz@gnu.org>
1928
1929 Make 'random' seeds cryptographically secure if possible
1930
1931 * configure.ac: Check for "/dev/urandom".
1932
1933 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
1934 for the seed from "/dev/urandom".
1935 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
1936 * src/fns.c (Frandom): Update the doc string to indicate that
1937 system entropy is used when available.
1938 * src/w32.c: Include wincrypt.h.
1939 (w32_init_crypt_random, w32_init_random): New functions, use the
1940 CryptGenRandom API.
1941 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
1942 * src/w32.h (w32_init_random): Add prototype.
1943
1944 * doc/lispref/numbers.texi (Random Numbers): Document more details
1945 about 't' as the argument to 'random'.
1946
1947 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
1948 strong seed if possible.
1949
1950 (Bug#22202)
1951
1952 2016-01-15 Eli Zaretskii <eliz@gnu.org>
1953
1954 Unhide the --no-line-directive option to 'etags'
1955
1956 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
1957 option. (Bug#22306)
1958
1959 * doc/man/etags.1: Document the --no-line-directive option.
1960
1961 2016-01-15 Alan J Third <alan@idiocy.org> (tiny change)
1962
1963 Fix picture-mode wrt double-width characters
1964
1965 * lisp/textmodes/picture.el (picture-insert): Check the width of
1966 the character being replaced, not just that of the replacement.
1967 (Bug#1808)
1968
1969 2016-01-15 Eric Abrahamsen <eric@ericabrahamsen.net>
1970
1971 Honor docstring of gnus-group-get-new-news
1972
1973 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
1974 but non-numeric, unconditionally consider all groups to need updating.
1975
1976 2016-01-14 Simen Heggestøyl <simenheg@gmail.com>
1977
1978 Disallow parenthesis in non-pseudo CSS selectors
1979
1980 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
1981 parenthesis in selectors except for in the function notation that
1982 might appear right after a pseudo-class.
1983 * test/indent/scss-mode.scss: Add a test for it.
1984
1985 2016-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
1986
1987 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
1988
1989 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
1990
1991 check-maybe shall run only default tests
1992
1993 * test/automated/Makefile.in (check, check-expensive): Depend on
1994 mostlyclean.
1995 (check-maybe): Re-run only default tests.
1996 (check-doit): Use code of check-maybe.
1997 (mostlyclean): Move *.log files away.
1998
1999 2016-01-13 Mark Oteiza <mvoteiza@udel.edu>
2000
2001 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
2002
2003 2016-01-13 Dmitry Gutov <dgutov@yandex.ru>
2004
2005 Un-obsolete tags-loop-continue
2006
2007 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
2008 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
2009
2010 2016-01-13 Eli Zaretskii <eliz@gnu.org>
2011
2012 Document obsoletion of 'intangible' and 'point-entered/left'
2013
2014 * doc/lispref/text.texi (Special Properties): Document the new
2015 properties 'cursor-intangible' and 'cursor-sensor-functions'.
2016 Document the obsolete status of 'intangible', 'pointer-left',
2017 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
2018 * doc/lispref/display.texi (Overlay Properties): Document that
2019 'intangible' overlay property is obsolete.
2020
2021 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
2022
2023 2016-01-13 Eli Zaretskii <eliz@gnu.org>
2024
2025 Updater documentation of 'looking-back'
2026
2027 * doc/lispref/searching.texi (Regexp Search): Update documentation
2028 of 'looking-back'. Fix markup.
2029
2030 2016-01-13 Eli Zaretskii <eliz@gnu.org>
2031
2032 Document 'pre-redisplay-functions'
2033
2034 * doc/lispref/hooks.texi (Standard Hooks):
2035 * doc/lispref/display.texi (Forcing Redisplay): Document
2036 'pre-redisplay-functions'.
2037
2038 2016-01-13 Eli Zaretskii <eliz@gnu.org>
2039
2040 Document the new deafault value of 'load-read-function'
2041
2042 * doc/lispref/loading.texi (How Programs Do Loading): Document the
2043 change in the default value of 'load-read-function'.
2044
2045 2016-01-13 Eli Zaretskii <eliz@gnu.org>
2046
2047 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
2048
2049 * doc/lispref/nonascii.texi (Text Representations): Document
2050 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
2051
2052 2016-01-13 Eli Zaretskii <eliz@gnu.org>
2053
2054 Document the new prefix-command hooks
2055
2056 * doc/lispref/hooks.texi (Standard Hooks): Document
2057 `prefix-command-echo-keystrokes-functions' and
2058 `prefix-command-preserve-state-hook'.
2059
2060 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
2061
2062 Fix one more misuse of time-stamp-time-zone
2063
2064 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
2065 than the unportable "GMT" for time zone.
2066
2067 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
2068
2069 Fix NNTP NEWGROUPS off-by-a-few-hours bug
2070
2071 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
2072 in Universal Time, since we’re telling the server “GMT”.
2073
2074 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
2075
2076 Update publicsuffix.txt from upstream
2077
2078 * etc/publicsuffix.txt: Update from
2079 https://publicsuffix.org/list/effective_tld_names.dat
2080 dated 2016-01-12 11:52:01 UTC.
2081
2082 2016-01-12 Glenn Morris <rgm@gnu.org>
2083
2084 Fix some declarations.
2085
2086 * lisp/descr-text.el (internal-char-font):
2087 * lisp/cedet/mode-local.el (xref-item-location):
2088 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
2089 (epg-sub-key-capability, epg-sub-key-validity):
2090 * lisp/international/mule-util.el (internal-char-font):
2091 Fix declarations.
2092
2093 2016-01-12 Glenn Morris <rgm@gnu.org>
2094
2095 Fix some custom types.
2096
2097 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
2098 * lisp/gnus/gnus.el (gnus-valid-select-methods):
2099 * lisp/mail/rmail.el (rmail-get-coding-function):
2100 * lisp/net/newst-treeview.el (newsticker-groups-filename):
2101 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
2102 * lisp/textmodes/tildify.el (tildify-space-predicates):
2103 * lisp/url/url-tramp.el (url-tramp-protocols):
2104 Fix custom types.
2105
2106 2016-01-12 Glenn Morris <rgm@gnu.org>
2107
2108 Add some missing version tags.
2109
2110 * lisp/electric.el (electric-quote-comment)
2111 (electric-quote-string, electric-quote-paragraph):
2112 * lisp/epg-config.el (epg-gpgconf-program):
2113 * lisp/rect.el (rectangle-preview):
2114 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
2115 * lisp/emacs-lisp/package.el (package-selected-packages)
2116 (package-hidden-regexps):
2117 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
2118 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
2119 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
2120 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
2121 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
2122 (mml-smime-sign-with-sender, mml2015-always-trust)
2123 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
2124 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
2125 (browse-url-conkeror-arguments):
2126 * lisp/net/newst-reader.el (newsticker-download-logos):
2127 * lisp/progmodes/gud.el (gud-guiler-command-name):
2128 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
2129 * lisp/progmodes/project.el (project-vc):
2130 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
2131 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
2132 (python-shell-completion-native-disabled-interpreters)
2133 (python-shell-completion-native-enable)
2134 (python-shell-completion-native-output-timeout)
2135 (python-shell-completion-native-try-output-timeout):
2136 * lisp/progmodes/xref.el (xref):
2137 * lisp/term/screen.el (xterm-screen-extra-capabilities):
2138 * lisp/term/xterm.el (xterm-max-cut-length):
2139 Add missing version tags.
2140
2141 2016-01-12 Glenn Morris <rgm@gnu.org>
2142
2143 * test/automated/core-elisp-tests.el
2144 (core-elisp-tests-1-defvar-in-let): Add a custom type.
2145
2146 2016-01-12 Glenn Morris <rgm@gnu.org>
2147
2148 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
2149
2150 Remove comments that do not apply since 2005-08-09. (Bug#22349)
2151
2152 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
2153
2154 Merge from gnulib
2155
2156 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
2157 It also updates to the latest version of texinfo.tex.
2158 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
2159 * build-aux/update-copyright, doc/misc/texinfo.tex:
2160 Update from gnulib.
2161
2162 2016-01-12 Eli Zaretskii <eliz@gnu.org>
2163
2164 Update documentation of 'process-running-child-p'
2165
2166 * doc/lispref/processes.texi (Input to Processes): Document the
2167 changes in return value of 'process-running-child-p'.
2168
2169 2016-01-12 Eli Zaretskii <eliz@gnu.org>
2170
2171 Update documentation of 'deactivate-mark'.
2172
2173 * doc/lispref/markers.texi (The Mark): Document that
2174 'deactivate-mark' is now buffer-local when set.
2175
2176 2016-01-12 Eli Zaretskii <eliz@gnu.org>
2177
2178 Update documentation of 'completion-table-dynamic'
2179
2180 * doc/lispref/minibuf.texi (Programmed Completion): Document the
2181 new optional argument to 'completion-table-dynamic'.
2182
2183 2016-01-12 Eli Zaretskii <eliz@gnu.org>
2184
2185 Document changes in 'read-buffer' and 'read-buffer-function'
2186
2187 * doc/lispref/minibuf.texi (High-Level Completion): Document the
2188 4th argument to 'read-buffer' and 'read-buffer-function'.
2189
2190 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
2191
2192 Fix time-stamp-time-zone bugs introduced in July
2193
2194 This fixes a bug introduced when the July changes to
2195 format-time-string installed, as the changes were not
2196 correctly handled in this module (Bug#22302).
2197 Also, document time stamp time zones.
2198 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
2199 (time-stamp--format): New private function.
2200 (time-stamp-string, time-stamp-string-preprocess)
2201 (time-stamp-do-number): Use it.
2202 * doc/emacs/files.texi (Time Stamps): Mention time zones.
2203 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
2204
2205 2016-01-12 Eli Zaretskii <eliz@gnu.org>
2206
2207 Make piping to subprocesses more robust on MS-Windows
2208
2209 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
2210 buffer can hold. Don't return -1 if something has been written to
2211 the pipe. Zero out 'errno' before calling '_write', to avoid
2212 returning a stale value. (Bug#22344)
2213 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
2214 * src/w32.c (pipe2): Use it to request a user-defined size for the
2215 pipe being created.
2216
2217 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
2218
2219 * doc/emacs/msdos.texi (Windows Processes): Document
2220 'w32-pipe-buffer-size'.
2221
2222 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2223
2224 * lisp/emacs-lisp/syntax.el (syntax-ppss-table): New var
2225
2226 (syntax-ppss):
2227 * lisp/font-lock.el (font-lock-fontify-syntactically-region): Use it.
2228
2229 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 lisp/nxml: Use syntax-tables for comments
2232
2233 * lisp/nxml/nxml-mode.el (nxml-set-face): Prepend.
2234 (nxml-mode): Set syntax-ppss-table.
2235 Use sgml-syntax-propertize-function for syntax-propertize-function.
2236 Let font-lock highlight strings and comments.
2237 (nxml-degrade): Don't touch "nxml-inside" property any more.
2238 (nxml-after-change, nxml-after-change1): Remove functions.
2239 (comment): Don't set fontify rule any more.
2240 (nxml-fontify-attribute): Don't highlight the value any more.
2241 (nxml-namespace-attribute-value-delimiter, nxml-namespace-attribute-value)
2242 (nxml-comment-delimiter, nxml-comment-content): Remove faces.
2243
2244 * lisp/nxml/nxml-rap.el (nxml-scan-end): Remove.
2245 (nxml-get-inside, nxml-inside-start, nxml-inside-end): Use syntax-ppss.
2246 (nxml-clear-inside, nxml-set-inside): Remove.
2247 (nxml-scan-after-change): Remove function.
2248 (nxml-scan-prolog, nxml-tokenize-forward): Simplify.
2249 (nxml-ensure-scan-up-to-date): Use syntax-propertize.
2250 (nxml-move-outside-backwards):
2251 * lisp/nxml/nxml-outln.el (nxml-section-tag-backward): Adjust to new
2252 nxml-inside-start behavior.
2253
2254 * lisp/nxml/nxml-util.el (nxml-debug-set-inside)
2255 (nxml-debug-clear-inside): Remove macros.
2256
2257 * lisp/nxml/xmltok.el (xmltok-forward-special): Remove function.
2258 (xmltok-scan-after-comment-open): Simplify.
2259
2260 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * elisp-mode.el (elisp--font-lock-flush-elisp-buffers): Fix comment
2263
2264 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * lisp/nxml: Use standard completion; it also works for company-mode
2267
2268 * lisp/nxml/nxml-mode.el (nxml-complete): Obsolete.
2269 (nxml-completion-at-point-function): Remove.
2270 (nxml-mode): Don't set completion-at-point-functions.
2271 * lisp/nxml/rng-nxml.el (rng-nxml-mode-init): Set it here instead.
2272 (rng-completion-at-point): Rename from rng-complete and mark it
2273 non-interactive. It is now to be used as completion-at-point-function.
2274 (rng-complete-tag, rng-complete-end-tag, rng-complete-attribute-name)
2275 (rng-complete-attribute-value): Don't perform completion, but return
2276 completion data instead.
2277 (rng-complete-qname-function, rng-generate-qname-list): Add a few
2278 arguments, previously passed via dynamic coping.
2279 (rng-strings-to-completion-table): Rename from
2280 rng-strings-to-completion-alist. Don't return an alist. Don't both
2281 sorting and uniquifying.
2282
2283 * lisp/nxml/rng-util.el (rng-complete-before-point): Delete function.
2284 (rng-completion-exact-p, rng-quote-string): Delete functions.
2285
2286 * lisp/nxml/rng-valid.el (rng-recover-start-tag-open)
2287 (rng-missing-attributes-message, rng-missing-element-message)
2288 (rng-mark-missing-end-tags): Use explicit ".." in formats rather than
2289 calling rng-quote-string everywhere.
2290
2291 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2292
2293 Use sgml-electric-tag-pair-mode also in nxml-mode
2294
2295 * lisp/nxml/rng-nxml.el: Require sgml-mode.
2296 (rng-nxml-easy-menu): Add entry for sgml-electric-tag-pair-mode.
2297 (rng-complete-qname-function): Use complete-with-action.
2298
2299 * lisp/textmodes/sgml-mode.el (sgml-electric-tag-pair-before-change-function):
2300 Let-bind forward-sexp-function, since nxml-mode binds it to
2301 something incompatible.
2302
2303 * lisp/nxml/nxml-mode.el: Use setq-local and defvar-local.
2304
2305 2016-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2306
2307 * xmltok.el: Mark the "sole --" rather than the comment opener
2308
2309 * lisp/nxml/xmltok.el (xmltok-scan-after-comment-open): Put the error
2310 marker on the "sole --" rather than on the comment opener.
2311
2312 2016-01-15 Sam Steingold <sds@gnu.org>
2313
2314 replace `tramp-compat-split-string' (removed) with `split-string'
2315
2316 (python-shell-tramp-refresh-process-environment)
2317 (python-shell-calculate-pythonpath): use `split-string'
2318 instead of defunct `tramp-compat-split-string'
2319
2320 2016-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 Update nXML to use Emacs's Unicode support, and lexical-binding
2323
2324 * etc/nxml/*.el: Remove obsolete char-name files.
2325 * lisp/nxml/xsd-regexp.el (xsdre-range-list-difference): Remove unused
2326 var `next'.
2327 * lisp/nxml/rng-nxml.el (rng-set-state-after): Don't assume point-min==1.
2328 * lisp/nxml/rng-match.el (rng-update-match-state): Simplify.
2329 * lisp/nxml/nxml-outln.el (nxml-outline-state-transform-exceptions)
2330 (nxml-target-section-pos, nxml-depth-in-target-section)
2331 (nxml-outline-state-transform-alist)
2332 (nxml-outline-display-section-tag-function): Move decl before first use.
2333 * lisp/nxml/nxml-mode.el (nxml-char-name-ignore-case)
2334 (nxml-char-name-alist, nxml-char-name-table)
2335 (nxml-autoload-char-name-set-list, nxml-named-char-history): Remove vars.
2336 (nxml-enable-char-name-set, nxml-disable-char-name-set)
2337 (nxml-char-name-set-enabled-p, nxml-autoload-char-name-set)
2338 (nxml-define-char-name-set, nxml-get-char-name): Remove functions.
2339 (nxml-insert-named-char): Use read-char-by-name instead.
2340 (nxml-char-ref-display-extra): Use get-char-code-property.
2341 * lisp/nxml/nxml-maint.el (nxml-create-unicode-char-name-sets):
2342 Remove function.
2343 * lisp/nxml/nxml-glyph.el, lisp/nxml/nxml-uchnm.el: Remove files.
2344
2345 2016-01-15 Michael Albinus <michael.albinus@gmx.de>
2346
2347 Add "sg" method to Tramp
2348
2349 * doc/misc/tramp.texi (Inline methods): Add "sg" method.
2350 (Customizing Completion): Add function `tramp-parse-etc-group'.
2351
2352 * lisp/net/tramp-sh.el (tramp-methods) <sg>: Add. (Bug#22329)
2353 (tramp-completion-function-alist-sg): New defconst.
2354 (top): Completion function for "sg" is
2355 `tramp-completion-function-alist-sg'.
2356
2357 * lisp/net/tramp.el (tramp-completion-function-alist): Adapt docstring.
2358 (tramp-parse-etc-group, tramp-parse-etc-group-group): New defuns.
2359
2360 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
2361
2362 Remove XEmacs compatibility in Tramp
2363
2364 * doc/misc/tramp.texi: Replace flags by their hard coded name.
2365 Remove unused flags and the enclosed alternative text for XEmacs.
2366
2367 * doc/misc/trampver.texi: Use "Tramp" CamelCase. Rename "emacs"
2368 and "xemacs" flags to "unified" and "separate". Remove flags
2369 "emacsgw", "emacsname", "emacsdir", "ftppackagename",
2370 "emacsothername", "emacsotherdir" and "emacsotherfilename".
2371 (trampver):
2372 * lisp/net/trampver.el (tramp-version): Set to "2.3.0-pre".
2373
2374 * lisp/net/tramp.el (bkup-backup-directory-info)
2375 (directory-sep-char, ls-lisp-use-insert-directory-program)
2376 (outline-regexp, tramp-backup-directory-alist)
2377 (tramp-default-method, tramp-shell-prompt-pattern, tramp-syntax)
2378 (tramp-file-name-regexp-unified)
2379 (tramp-file-name-regexp-separate)
2380 (tramp-completion-file-name-regexp-unified)
2381 (tramp-completion-file-name-regexp-separate, tramp-chunksize)
2382 (tramp-get-method-parameter, tramp-find-method, tramp-find-user)
2383 (tramp-debug-message, tramp-progress-reporter-update)
2384