]> code.delx.au - gnu-emacs/blob - ChangeLog.2
; Merge from origin/emacs-25
[gnu-emacs] / ChangeLog.2
1 2016-01-30 Nicolas Petton <nicolas@petton.fr>
2
3 Bump version to 25.0.90
4
5 * README:
6 * configure.ac:
7 * msdos/sed2v2.inp: Bump version to 25.0.90.
8
9 2016-01-30 Nicolas Petton <nicolas@petton.fr>
10
11 * etc/AUTHORS: Update the AUTHORS file
12
13 2016-01-30 Nicolas Petton <nicolas@petton.fr>
14
15 authors.el updates
16
17 * admin/authors.el (authors-renamed-files-alist): Additions.
18
19 2016-01-30 Nicolas Petton <nicolas@petton.fr>
20
21 Make it possible to run make change-history on emacs-25
22
23 * Makefile.in: Check if the current branch is emacs-25 instead of
24 master.
25
26 2016-01-30 lu4nx <lx@shellcodes.org>
27
28 Support Go language in 'etags'
29
30 * lib-src/etags.c <Ruby_help>: Fix documentation of Ruby tags.
31 <Go_help>: New help.
32 <Go_suffixes>: New variable.
33 (Go_functions): New function.
34 <lang_names>: Add entry for Go. (Bug#22370)
35
36 * doc/emacs/maintaining.texi (Tag Syntax): Document Go support.
37 * doc/man/etags.1: Mention Go support.
38
39 * etc/NEWS: Mention Go support.
40
41 * test/etags/go-src/test.go:
42 * test/etags/go-src/test1.go: New test files.
43 * test/etags/Makefile (GOSRC): New variable.
44 (SRCS): Add $(GOSRC).
45 * test/etags/ETAGS.good_1:
46 * test/etags/ETAGS.good_2:
47 * test/etags/ETAGS.good_3:
48 * test/etags/ETAGS.good_4:
49 * test/etags/ETAGS.good_5:
50 * test/etags/ETAGS.good_6:
51 * test/etags/CTAGS.good: Adapt to addition of Go tests.
52
53 2016-01-30 Eli Zaretskii <eliz@gnu.org>
54
55 Improve Ruby support in 'etags'
56
57 * lib-src/etags.c (Ruby_functions): Tag constants. Don't tag
58 singleton classes. Remove class qualifiers from tags generated
59 for method and constant names. (Bug#22241)
60
61 * doc/emacs/maintaining.texi (Tag Syntax): Mention that constants
62 are tagged by etags in Ruby.
63
64 * etc/NEWS: Mention that constants are tagged by etags in Ruby.
65
66 * test/etags/ruby-src/test1.ruby: Add more tests.
67 * test/etags/ETAGS.good_1:
68 * test/etags/ETAGS.good_2:
69 * test/etags/ETAGS.good_3:
70 * test/etags/ETAGS.good_4:
71 * test/etags/ETAGS.good_5:
72 * test/etags/ETAGS.good_6:
73 * test/etags/CTAGS.good: Adapt to the changes in etags and in Ruby
74 tests.
75
76 2016-01-30 Eli Zaretskii <eliz@gnu.org>
77
78 Adjust etags test results to changes in copyright years
79
80 * test/etags/CTAGS.good:
81 * test/etags/ETAGS.good_1:
82 * test/etags/ETAGS.good_2:
83 * test/etags/ETAGS.good_3:
84 * test/etags/ETAGS.good_4:
85 * test/etags/ETAGS.good_5:
86 * test/etags/ETAGS.good_6: Adjust to shift in characters and
87 in line numbers.
88
89 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
90
91 Revert "Re-enable checks in member, memql, delete to complain about non-lists"
92
93 This reverts commit f524e8b7f12d9b5a8b92084e5385429fe7b085b9.
94
95 2016-01-30 Nicolas Petton <nicolas@petton.fr>
96
97 Make it possible to run make change-history on emacs-25
98
99 * Makefile.in: Check if the current branch is emacs-25 instead of
100 master.
101
102 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
103
104 Don't fiddle with DEFAULT
105
106 * lisp/progmodes/project.el (project--completing-read-strict):
107 Don't change DEFAULT, whether is has any matches in
108 COLLECTION, or not.
109
110 2016-01-30 Eli Zaretskii <eliz@gnu.org>
111
112 Document xwidget commands and functions
113
114 * doc/lispref/display.texi (Xwidgets): New section, describes some
115 of the xwidget primitives.
116 * doc/lispref/display.texi (Display): Update the chapter menu.
117 * doc/emacs/misc.texi (Embedded WebKit Widgets): New section.
118 * doc/emacs/emacs.texi (Top): Update the master menu to include
119 the xwidget node.
120
121 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
122
123 Build fix for shr.el
124
125 * shr.el (seq): Require.
126
127 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
128
129 Improve project-find-file yet again!
130
131 * lisp/progmodes/project.el (project--completing-read-strict):
132 New function.
133 (project-find-file-in): Use it.
134 (project-file-completion-table): Move the default
135 implementation inside the cl-defgeneric form.
136 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01720.html)
137
138 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
139
140 Don't pass DIR to 'hg status'
141
142 * lisp/vc/vc-hg.el (vc-hg-dir-status-files):
143 Don't pass DIR to 'hg status' (bug#22481).
144
145 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
146
147 Fix typo in previous commits
148
149 * lisp/progmodes/project.el (project-find-file-in):
150 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): Fix typo in previous
151 commit.
152
153 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
154
155 Improve project-find-file
156
157 * lisp/progmodes/project.el (project-file-completion-table): New.
158 (project-find-file, project-or-external-find-file): Default to filename
159 at point.
160 (project-file-completion-table): New, split out from
161 project--find-file-in.
162 (project-find-file-in): Renamed from project--find-file-in, use
163 project-file-completion-table.
164
165 * lisp/progmodes/xref.el (ede-minor-mode): New declaration.
166 (xref--find-ignores-arguments): Add doc string.
167
168 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
169
170 Implement vc-mtn-find-ignore-file, fix some doc strings
171
172 * lisp/cedet/cedet-global.el (cedet-gnu-global-root): Improve doc string.
173
174 * lisp/cedet/ede/locate.el (initialize-instance): Improve doc string.
175
176 * lisp/vc/vc-git.el (vc-git-find-ignore-file): Fix doc string.
177
178 * lisp/vc/vc-mtn.el (vc-mtn-find-ignore-file): New function.
179
180 2016-01-23 Michael Albinus <michael.albinus@gmx.de>
181
182 Improve user name completion in Tramp
183
184 * lisp/net/tramp.el (tramp-parse-passwd, tramp-parse-etc-group):
185 Call also "getent passwd" or "getent group", if possible.
186 (tramp-parse-putty): Cache the result.
187
188 2016-01-22 Michael Albinus <michael.albinus@gmx.de>
189
190 * etc/NEWS: Move kqueue entries to Emacs 25.1 sections.
191
192 2016-01-20 Glenn Morris <rgm@gnu.org>
193
194 Remove handling of non-string time-stamp formats, obsolete for 20 years.
195
196 * lisp/time-stamp.el (time-stamp-format): Doc fix.
197 (time-stamp-old-format-warn, time-stamp-fconcat): Remove.
198 (time-stamp-string): Ignore non-string formats.
199
200 2016-01-20 Eli Zaretskii <eliz@gnu.org>
201
202 Anoter fix for problematic merge from emacs-25
203
204 * src/w32fns.c (globals_of_w32fns): Move initialization of
205 resetstkoflw to a non-Cygwin part.
206
207 2016-01-20 Michael Albinus <michael.albinus@gmx.de>
208
209 * test/Makefile.in (mostlyclean): Use ${LOGFILES}.
210
211 2016-01-20 Eli Zaretskii <eliz@gnu.org>
212
213 Fix MS-Windows build broken by a botched merge from emacs-25
214
215 * src/w32.c (w32_crypto_hprov): New static variable.
216 (globals_of_w32): Initialize w32_crypto_hprov.
217 (w32_init_crypt_random, w32_init_random): New functions.
218 Include wincrypt.h.
219 * src/w32.h (w32_init_random): Add prototype.
220
221 2016-01-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
222
223 Correct a whole bunch of bugs coming with renamed cell relocation.
224
225 * lisp/ses.el (ses-localvars): rename variable
226 `ses--renamed-cell-symb-list' into `ses--in-killing-named-cell-list'
227 and adjust the comment about it.
228 (ses-plist-delq): new defun.
229 (ses--ses-buffer-list): new defvar.
230 (ses--unbind-cell-name): new defun.
231 (ses-relocate-symbol): Do not relocate symbol when it is a named cell.
232 (ses-relocate-formula): Undo change of
233 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net that was
234 preventing relocation for named cell --- now doing this is delegated
235 to function `ses-relocate-symbol'.
236 (ses-relocate-range): In docstring, undo change of
237 2016-01-03T07:31:52Z!johnw@newartisans.com, `ses-range' must remain
238 lower case as it is not a variable.
239 (ses-relocate-all): Cell name relocation : 1) check that cell is a
240 renamed cell by testing `ses-cell' property to :ses-named, rather than
241 comparing name to corresponding standard name. Set rowcol of renamed
242 cell into the hashmap --- `ses-cell' property must not be used for
243 that as the same name can be used for different locations in different
244 SES sheets ; 2) use `local-variable-if-set-p' rather than `boundp' and
245 `local-variable-p' to check if cell name is already in use in this
246 sheet or needs initialisation.
247 (ses-relocate-all): Cell value relocation : 1) like for name
248 relocation use the `ses-cell' property rather than comparing actual
249 name to corresponding standard name. 2) Correct bug introduced in
250 2011-12-27T19:30:39Z!vincentb1@users.sourceforge.net, as the test was
251 made the other way round than the intention --- ie value relocation
252 was disabled for standard cell, not for renamed cell as was the
253 intention.
254 (ses-relocate-all): Add loop for unbinding deleted renamed cells
255 names.
256 (ses-killbuffer-hook): new defun.
257 (ses-mode): Add the ses--ses-buffer-list maintenance mechanism ---
258 kill buffer hook, plus pushing current buffer if new in list.
259 (ses-delete-row, ses-delete-column): Collect deleted renamed cells
260 into `ses--in-killing-named-cell-list'.
261 (ses-rename-cell): Remove update of variable
262 `ses--renamed-cell-symb-list', this variable is renamed to
263 `ses--in-killing-named-cell-list', and its setting is done in
264 functions `ses-delete-row' and , `ses-delete-column' now.
265 (ses-rename-cell): Make cell new name a buffer local variable.
266 (ses-rename-cell): Change correction of
267 2015-12-30T23:10:37Z!vincentb1@users.sourceforge.net concerning
268 computation of the range over which `cursor-intangible' property was
269 to be updated. This correction was ok for non spilling cells, but not
270 for cells spilling over following blank cells. Simply use
271 `next-single-property-change' rather than computing the end column
272 from column widths.
273
274 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
275
276 Re-enable checks in member, memql, delete to complain about non-lists
277
278 * src/fns.c (Fmember, Fmemql, Fdelete): Revert 2007-10-16 change.
279
280 2016-01-30 Martin Rudalics <rudalics@gmx.at>
281
282 c:/emacs-git/next/ChangeLog
283
284 2016-01-30 Eli Zaretskii <eliz@gnu.org>
285
286 Minor improvements to 'pcase' documentation
287
288 * doc/lispref/control.texi (Pattern matching case statement):
289 Improve the documentation of 'pcase' per comments. See two
290 discussion threads on emacs-devel@gnu.org for the details:
291 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01335.html
292 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01336.html.
293
294 2016-01-30 Glenn Morris <rgm@gnu.org>
295
296 Don't use eval to quieten prolog.el compilation.
297
298 * lisp/progmodes/prolog.el (pltrace-on, pltrace-off): Declare.
299 (prolog-enable-sicstus-sd, prolog-disable-sicstus-sd): Don't use eval.
300
301 2016-01-30 Glenn Morris <rgm@gnu.org>
302
303 Mark some risky prolog variables.
304
305 * lisp/progmodes/prolog.el (prolog-system-version)
306 (prolog-keywords, prolog-types, prolog-mode-specificators)
307 (prolog-determinism-specificators, prolog-directives)
308 (prolog-program-name, prolog-program-switches)
309 (prolog-consult-string, prolog-compile-string)
310 (prolog-eof-string, prolog-prompt-regexp, prolog-help-function):
311 Mark anything processed by prolog-find-value-by-system as risky.
312
313 2016-01-30 Glenn Morris <rgm@gnu.org>
314
315 * lisp/custom.el (defcustom): Doc fix.
316
317 * doc/lispref/customize.texi (Variable Definitions):
318 Defcustom should always have a type.
319
320 2016-01-30 Glenn Morris <rgm@gnu.org>
321
322 * lisp/cedet/semantic/db-file.el (semanticdb-persistent-path):
323 Fix :type.
324
325 * lisp/emacs-lisp/package.el (package-load-list): Improve :type.
326
327 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
328
329 Fix Bug#22452
330
331 * lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
332 * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
333 * lisp/net/tramp-sh.el (tramp-maybe-open-connection):
334 * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
335 Mark it as connected.
336
337 * lisp/net/tramp.el (tramp-handle-file-remote-p): Check also, if
338 connection property "connected" is set. (Bug#22452)
339
340 2016-01-30 Glenn Morris <rgm@gnu.org>
341
342 * lisp/xwidget.el (xwidget-query-on-exit-flag): Declare.
343
344 * lisp/xwidget.el (xwidget-webkit-browse-url): Give explicit error
345 if not compiled with xwidgets.
346
347 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
348
349 C-u C-x = example doc fix
350
351 * doc/emacs/mule.texi (International Chars):
352 Adjust example to match current behavior of C-u C-x =.
353
354 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
355
356 malloc.h hygiene
357
358 This attempts to future-proof Emacs a bit against possible glibc
359 changes, by having Emacs use <malloc.h> declarations rather than
360 coding them up by hand. Problem noted by Florian Weimer in:
361 https://sourceware.org/ml/libc-alpha/2016-01/msg00777.html
362 Implement this mainly by moving malloc.h-related functions from
363 emacs.c (which does not include <malloc.h>) to alloc.c (which does).
364 * src/alloc.c (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]:
365 New function.
366 The remaining changes to this file apply only if DOUG_LEA_MALLOC.
367 (alloc_unexec_pre, alloc_unexec_post): New functions.
368 (malloc_initialize_hook): Use my_heap_start and alloc_unexec_post.
369 (__MALLOC_HOOK_VOLATILE): New macro, if not already defined.
370 (__malloc_initialize_hook): Use it.
371 (malloc_state_ptr, malloc_initialize_hook, __malloc_initialize_hook):
372 Move here from ...
373 * src/emacs.c: ... here.
374 (malloc_get_state, malloc_set_state): Remove extern decls.
375 (my_heap_start) [DOUG_LEA_MALLOC || GNU_LINUX]: Remove static var.
376 All uses changed to similarly-named new function.
377 (Fdump_emacs): Use new functions alloc_unexec_pre, alloc_unexec_post.
378 * src/lisp.h (my_heap_start, alloc_unexec_pre, alloc_unexec_post):
379 New decls.
380
381 2016-01-30 Eli Zaretskii <eliz@gnu.org>
382
383 * doc/emacs/mark.texi (Using Region): Clarify wording. (Bug#22467)
384
385 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
386
387 Remove never-set var handle_user_signal_hook
388
389 * src/keyboard.c, src/keyboard.h (handle_user_signal_hook):
390 Remove never-set var. All uses removed.
391
392 2016-01-30 K. Handa <handa@gnu.org>
393
394 Backport:fix previous change of src/ftfont.c (ftfont_shape_by_flt)
395
396 * src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
397 second glyph only when there are enough glyphs.
398
399 (cherry picked from commit 9835757013569673854b692ccbb58bfb3c3ed1f7)
400
401 2016-01-30 K. Handa <handa@gnu.org>
402
403 support rendering of wider range of combinging characters by ftfont backend
404
405 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
406 supports rendering of combining characters, call
407 font-shape-gstring.
408
409 * src/font.c (Ffont_get): Handle `combining-capability' property.
410 (syms_of_font): New symbol ":combining-capability'.
411
412 * src/font.h (struct font_driver): New member combining_capability.
413
414 * src/ftfont.c: Include "category.h".
415 (ftfont_driver): Initialize combining_capability to
416 ftfont_combining_capability.
417 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
418 FLT in advance.
419 (ftfont_combining_capability): New function.
420
421 (cherry picked from commit 536f48e9a2251b9e654ea974bd90ff2f40218753)
422
423 2016-01-30 Anders Lindgren <andlind@gmail.com>
424
425 Fixed NextStep fullscreen issue (bug#22468)
426
427 When in fullscreen mode, `[screen visibleFrame]' sometimes
428 includes, sometimes excludes the menu bar. This could cause
429 a frame to be placed too low when in fullscreen mode.
430
431 * src/nsterm.m (ns_menu_bar_should_be_hidden): Trace.
432 (constrain_frame_rect): New parameter, isFullscreen, when true don't
433 query the height of the menu bar.
434 (ns_constrain_all_frames): Pass `false' (isFullscreen) to
435 `constrain_frame_rect'.
436 ([EmacsView initFrameFromEmacs:]): Trace.
437 ([EmacsView isFullscreen]): Trace.
438 ([EmacsWindow constrainFrameRect:toScreen:]): Pass fullscreen
439 state to `constrain_frame_rect'.
440
441 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
442
443 * lisp/files.el: Use a fixed file name for the second dir-locals file
444
445 (dir-locals-file): Revert to its original fixed value.
446 (dir-locals-file-2): New const.
447 (dir-locals--all-files): Don't use `file-name-all-completions'.
448 Instead, just check for the 2 dir-locals files and return a list
449 of the ones that exit (if any).
450
451 * etc/NEWS: Document the change.
452
453 * doc/emacs/custom.texi (Directory Variables): Document the change.
454
455 * doc/lispref/variables.texi (Directory Local Variables): Update
456 accordingly.
457
458 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
459
460 * lisp/files-x.el (modify-dir-local-variable): Small rewrite
461
462 Change a variable name to be more meaningful, and reorder some of
463 the code with no change in behaviour.
464
465 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
466
467 * lisp/files.el (dir-locals-find-file): Refactor return values
468
469 Returning a cache remains unchanged, but the case of returning a
470 file (or pattern) is now changed to return the contaning
471 directory.
472
473 (dir-locals-read-from-file): Rename to `dir-locals-read-from-dir'
474 and make obsolete.
475 (dir-locals-read-from-dir): Simplify accordingly.
476 (hack-dir-local-variables): Simplify accordingly and rename a
477 variable.
478
479 2016-01-30 Glenn Morris <rgm@gnu.org>
480
481 * lisp/textmodes/flyspell.el (flyspell--prev-meta-tab-binding):
482 Declare.
483
484 * configure.ac (USE_CAIRO): Rename to more standard HAVE_CAIRO.
485
486 * configure.ac (--with-cairo): Say it's experimental.
487
488 * lisp/xwidget.el (xwidget-webkit-scroll-behavior):
489 Rename using American spelling. Update all uses.
490
491 2016-01-30 Glenn Morris <rgm@gnu.org>
492
493 Yet more xwidget doc fixes.
494
495 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour)
496 (xwidget-insert, xwidget-webkit-browse-url)
497 (xwidget-webkit-scroll-up, xwidget-webkit-scroll-down)
498 (xwidget-webkit-scroll-forward, xwidget-webkit-scroll-backward)
499 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
500 (xwidget-webkit-show-id-element)
501 (xwidget-webkit-show-id-or-named-element)
502 (xwidget-webkit-adjust-size, xwidget-webkit-current-url)
503 (xwidget-webkit-execute-script-rv)
504 (xwidget-webkit-copy-selection-as-kill, xwidget-get)
505 (xwidget-put): Doc fixes.
506 (xwidget-webkit-insert-string, xwidget-webkit-show-named-element)
507 (xwidget-webkit-show-id-element)
508 (xwidget-webkit-show-id-or-named-element): Prompt fixes.
509
510 2016-01-30 Ted Zlatanov <tzz@lifelogs.com>
511
512 * lisp/gnus/gnus-art.el (gnus-blocked-images):
513 Add explicit nil choice and tags.
514
515 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
516
517 Spelling fixes
518
519 2016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 (font-lock-ensure-function): Fix bug#22399
522
523 * lisp/font-lock.el (font-lock-ensure-function): Fix handling when
524 font-lock-mode is not enabled (bug#22399).
525
526 2016-01-30 Alan Mackenzie <acm@muc.de>
527
528 Expunge "allow" + infinitive from source and doc, part 2.
529
530 Do the same for "permit", "enable", "prevent", and (where appropriate)
531 "require".
532
533 doc/misc/reftex.texi:
534 doc/misc/url.texi:
535 lib/get-permissions.c:
536 lib/strftime.c:
537 lisp/org/org-element.el:
538 lisp/org/org-mobile.el:
539 lisp/textmodes/reftex-vars.el:
540 src/bidi.c:
541 src/emacs.c:
542 src/xdisp.c:
543 test/etags/c-src/emacs/src/lisp.h:
544
545 Expunge the likes of "This allows to do something" from the above files.
546
547 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
548
549 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Redundant line
550
551 `special-mode' is already read-only.
552
553 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
554
555 * lisp/emacs-lisp/ert.el (ert--results-move): Change error to user-error
556
557 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
558
559 Port "$@" to OpenIndiana ksh93
560
561 In http://lists.gnu.org/archive/html/bug-autoconf/2015-12/msg00000.html
562 Pavel Raiskup reports that ${1+"$@"} runs afoul of a bug in /bin/sh
563 (derived from ksh 93t+ 2010-03-05). ${1+"$@"} works around an ancient
564 bug in long-dead shells, so remove the workaround.
565 * admin/check-doc-strings, configure.ac, lib-src/rcs2log:
566 Use plain "$@" rather than ${1+"$@"}.
567
568 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
569
570 * src/xwidget.c (Fxwidget_set_adjustment): Fix doc string quoting typo.
571
572 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
573
574 Improve wording for SMB support
575
576 * doc/misc/tramp.texi (External methods): Improve and modernize
577 wording for discussion of smbclient. There is no longer any
578 need to mention the laundry list of old MS Windows implementations
579 of SMB and CIFS, nor to mention CIFS. Also, give a URL for Samba.
580
581 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
582
583 Merge from gnulib
584
585 This incorporates:
586 2016-01-24 openat_proc_name: fix last '/' overwritten on OS/2 kLIBC
587 2016-01-24 closedir, dirfd, opendir: port to OpenSolaris 5.10
588 2016-01-15 detect utimes() correctly on OS/2 kLIBC
589 2016-01-15 openat_proc_name: port to OS/2 kLIBC
590 2016-01-14 stdint: check _INTPTR_T_DECLARED for intptr_t etc.
591 2016-01-14 opendir, closedir, dirfd, fdopendir: port to OS/2 kLIBC
592 2016-01-14 dup, dup2, fcntl: support a directory fd on OS/2 kLIBC
593 2016-01-14 binary-io: don't put fd in binary mode if a console on EMX
594 2016-01-14 sig2str: list all signals on FreeBSD >= 7
595 2016-01-13 acl-permissions: port to USE_ACL==0 platforms
596 2016-01-12 mktime: rename macro to avoid glibc clash
597 2016-01-12 Port "$@" to OpenIndiana ksh93
598 2016-01-12 Port Universal Time settings to strict POSIX
599 * build-aux/gitlog-to-changelog, build-aux/update-copyright:
600 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
601 * lib/binary-io.h, lib/dirent.in.h, lib/dirfd.c, lib/dup2.c:
602 * lib/fcntl.c, lib/fdopendir.c, lib/mktime.c, lib/openat-proc.c:
603 * lib/sig2str.h, lib/stdint.in.h, m4/dirfd.m4, m4/dup2.m4:
604 * m4/fcntl.m4, m4/utimes.m4:
605 Copy from gnulib.
606 * m4/gnulib-comp.m4: Regenerate.
607
608 2016-01-30 Alan Mackenzie <acm@muc.de>
609
610 Expunge "allow" + infinitive without direct object from source and doc.
611
612 Do the same for "permit", "enable", and "prevent".
613
614 * doc/emacs/mule.texi:
615 * doc/lispref/control.texi:
616 * doc/lispref/display.texi:
617 * doc/lispref/frames.texi:
618 * doc/lispref/functions.texi:
619 * doc/lispref/nonascii.texi:
620 * doc/lispref/streams.texi:
621 * doc/lispref/windows.texi:
622 * doc/misc/dbus.texi:
623 * doc/misc/eww.texi:
624 * doc/misc/flymake.texi:
625 * doc/misc/octave-mode.texi:
626 * doc/misc/org.texi:
627 * doc/misc/reftex.texi:
628 * doc/misc/tramp.texi:
629 * doc/misc/wisent.texi:
630 * etc/NEWS:
631 * lisp/autorevert.el:
632 * lisp/cedet/mode-local.el:
633 * lisp/cedet/semantic/senator.el:
634 * lisp/cedet/semantic/wisent.el:
635 * lisp/dos-fns.el:
636 * lisp/frameset.el:
637 * lisp/gnus/gnus-agent.el:
638 * lisp/gnus/mm-util.el:
639 * lisp/international/characters.el:
640 * lisp/ldefs-boot.el:
641 * lisp/mail/mailclient.el:
642 * lisp/man.el:
643 * lisp/mh-e/mh-search.el:
644 * lisp/net/tramp-cmds.el:
645 * lisp/net/tramp-gvfs.el:
646 * lisp/org/org-crypt.el:
647 * lisp/org/org-element.el:
648 * lisp/org/org-feed.el:
649 * lisp/org/org.el:
650 * lisp/org/ox-ascii.el:
651 * lisp/org/ox-icalendar.el:
652 * lisp/org/ox-publish.el:
653 * lisp/org/ox.el:
654 * lisp/play/gamegrid.el:
655 * lisp/play/gomoku.el:
656 * lisp/progmodes/antlr-mode.el:
657 * lisp/progmodes/python.el:
658 * lisp/progmodes/vhdl-mode.el:
659 * lisp/strokes.el:
660 * lisp/textmodes/ispell.el:
661 * lisp/tree-widget.el:
662 * lisp/vc/pcvs.el:
663 * lisp/window.el:
664 * src/lisp.h:
665 * src/w32.c:
666 * src/w32heap.c:
667 * src/w32term.c:
668 * src/window.c:
669 * src/xfaces.c:
670
671 Replace solecisms like "This allow to do something" with a correct
672 alternative, such as "This allow you to do something", "This allows
673 something to be done" or "This allows the doing of something".
674
675 2016-01-30 l3thal <kwhite@gnu.org>
676
677 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
678
679 2016-01-30 Kelvin White <kwhite@gnu.org>
680
681 Add NEWS entry for asynchronous reconnect in ERC
682
683 2016-01-30 l3thal <kwhite@gnu.org>
684
685 Add NEWS entry for asynchronous reconnect in ERC
686
687 2016-01-30 Kelvin White <kwhite@gnu.org>
688
689 browse-url.el: Add 'google-chrome' to supported browsers.
690
691 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
692
693 Port Tramp manual to latest Texinfo
694
695 Otherwise, 'make pdf' did not work (Bug#22416).
696 * doc/misc/tramp.texi (xxx, yyy): Remove macros.
697 (trampfn): Specialize to the case where METHOD is nonempty.
698 The 2nd argument is now user@host, not 2nd user and 3rd host args.
699 All uses changed.
700 (trampf): New macro.
701
702 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
703
704 * eww.el (eww-render): Protect against empty content-types.
705
706 2016-01-30 Nicolas Petton <nicolas@petton.fr>
707
708 authors.el updates
709
710 * admin/authors.el (authors-ignored-files, authors-renamed-files-alist):
711 Additions.
712
713 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
714
715 Rename xref-query-replace to xref-query-replace-in-results
716
717 * lisp/progmodes/xref.el(xref-query-replace):
718 Rename to xref-query-replace-in-results.
719 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01240.html)
720
721 * lisp/progmodes/xref.el (xref--xref-buffer-mode-map):
722 * lisp/dired-aux.el (dired-do-find-regexp-and-replace):
723 * doc/emacs/dired.texi (Operating on Files):
724 * doc/emacs/maintaining.texi (Xref Commands)
725 (Identifier Search, Identifier Search): Update accordingly.
726
727 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
728
729 Update cl-defgeneric and cl-defmethod docstrings
730
731 * lisp/emacs-lisp/cl-generic.el: Remove outdated TODO item.
732 (cl-defgeneric): Rename BODY to DEFAULT-BODY.
733 (cl-defmethod): Mention that multiple dispatch arguments are
734 allowed. Document supported types. (Bug#22336)
735
736 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
737
738 Comment out next-error-function integration in xref
739
740 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
741 Comment out next-error-function integration
742 (http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01286.html).
743
744 2016-01-30 John Wiegley <johnw@newartisans.com>
745
746 Correct a use of "which" in intro.texi
747
748 2016-01-30 Alan Mackenzie <acm@muc.de>
749
750 Distinguish the two meanings of Java's keyword "default". Fixes bug #22358.
751
752 * lisp/progmodes/cc-engine.el (c-guess-basic-syntax CASE 14): Check the
753 context of case labels (including "default") more rigorously.
754 (c-guess-basic-syntax CASE 15): Consequential amendment.
755
756 * lisp/progmodes/cc-langs.el (c-modifier-kwds): Add "default" to Java's value.
757
758 2016-01-30 Oscar Fuentes <ofv@wanadoo.es>
759
760 Don't operate on menu bar of nonexistent frame
761
762 * src/xfns.c (Fx_hide_tip) [USE_LUCID]: Check that the current frame
763 is valid before redisplaying its menu. Fixes bug#22438.
764
765 2016-01-30 Anders Lindgren <andlind@gmail.com>
766
767 Unbreak the GNUstep build.
768
769 * src/nsterm.m ([EmacsBell init]): In GNUstep, don't use the
770 predefined "caution" image. Add trace.
771 (x_set_window_size): Remove unused variables `cols' and `rows'.
772 (ns_draw_fringe_bitmap): Exclude assignment of `fromRect' when
773 GNUstep is used.
774 ([EmacsView updateFrameSize:]): Remove unused variable `win'.
775 ([EmacsWindow zoom:]): Remove unused variable `f'.
776
777 2016-01-30 Eli Zaretskii <eliz@gnu.org>
778 John Wiegley <johnw@gnu.org>
779 Michael Heerdegen <michael_heerdegen@web.de>
780
781 Improve documentation of 'pcase'
782
783 * doc/lispref/control.texi (Pattern matching case statement):
784 Reorganize, expand, and improve wording.
785
786 * etc/NEWS: Mention that 'pcase' changes are documented.
787
788 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
789
790 * etc/NEWS: Say that Cairo is experimental.
791
792 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
793
794 Report error for PNG under Cairo
795
796 * src/image.c (lookup_rgb_color): Signal a file error instead
797 of dumping core when mishandling an image.
798
799 2016-01-30 Arash Esbati <esbati@gmx.de>
800
801 Delete a spurious backquote (tiny change)
802
803 * lisp/textmodes/reftex-ref.el (reftex-label): Delete a
804 spurious backquote which raises an error with emacs 25.
805
806 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
807
808 Pacify --enable-gcc-warnings --with-cairo
809
810 Problem reported by Alexander Kuleshov in:
811 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01289.html
812 * src/gtkutil.c (xg_get_page_setup):
813 Use switch rather than if-then-else.
814 * src/image.c (COLOR_TABLE_SUPPORT):
815 Define directly rather than via #define and optional later #undef.
816 (lookup_rgb_color) [USE_CAIRO && ENABLE_CHECKING]:
817 Crash when the pixel is undefined, as there is a genuine bug
818 here (Bug#22442).
819 * src/image.c (tiff_load, gif_load, svg_load_image)
820 (x_kill_gs_process) [USE_CAIRO]:
821 * src/xterm.c (x_draw_fringe_bitmap) [USE_CAIRO]:
822 Omit unused locals, or move them to where they’re needed.
823 (x_clear_area1): Now ATTRIBUTE_UNUSED.
824
825 2016-01-30 Eli Zaretskii <eliz@gnu.org>
826
827 Update documentation for Dired search and replace
828
829 * doc/emacs/dired.texi (Operating on Files): Update descriptions
830 of 'A' and 'Q' now bound to 'dired-do-find-regexp' and
831 'dired-do-find-regexp-and-replace'.
832
833 * etc/NEWS: Mention xref-related changes in Dired.
834
835 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
836
837 Port recent xdisp.c fix to picky C compilers
838
839 * src/xdisp.c (dump_glyph): Redo the call to fprintf to avoid
840 putting #if inside the arguments to a standard function, which
841 the C standard says has undefined behavior.
842
843 2016-01-30 Alan Mackenzie <acm@muc.de>
844
845 Prevent spurious recognition of K&R argument declarations. Fixes bug #2203
846
847 * lisp/progmodes/cc-engine.el (c-forward-declarator): New function.
848 (c-in-knr-argdecl): Before recognizing a K&R argument declaration, check it is
849 contained in the preceding arg list.
850
851 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): Use the new function
852 `c-forward-declarator' in place of inline code.
853
854 2016-01-30 Eli Zaretskii <eliz@gnu.org>
855
856 Fix the build with --enable-checking=glyphs
857
858 * src/xdisp.c (dump_glyph): Don't refer to glyph->u.xwidget in a
859 build without xwidget support.
860
861 2016-01-30 Eli Zaretskii <eliz@gnu.org>
862
863 Document cl-generic.el
864
865 * doc/lispref/functions.texi (Generic Functions): New section.
866 (Bug#22336)
867 (Functions): Update the chapter menu.
868 * doc/lispref/elisp.texi: Update the master menu.
869
870 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
871
872 xwidgets style cleanup
873
874 Adjust the newly-added Xwidgets code so that it uses a more-typical
875 Emacs style. This should not affect behavior, except that in
876 a few places it adds runtime checks that Lisp arguments are of
877 the proper type, and in one place it uses more-precise arithmetic.
878 * src/buffer.c, src/dispnew.c, src/emacs.c, src/emacsgtkfixed.c:
879 * src/emacs.c, src/print.c, src/window.c, src/xdisp.c, src/xterm.c:
880 Include xwidget.h unconditionally.
881 * src/buffer.c (Fkill_buffer):
882 * src/dispnew.c (update_window):
883 * src/emacs.c (main):
884 * src/print.c (print_object):
885 * src/window.c (Fdelete_window_internal):
886 * src/xdisp.c (handle_single_display_spec, push_it, pop_it)
887 (get_next_element, set_iterator_to_next, next_element_from_xwidget)
888 (dump_glyph, calc_pixel_width_or_height, BUILD_GLYPH_STRINGS_XW)
889 (BUILD_GLYPH_STRINGS, x_produce_glyphs, get_window_cursor_type):
890 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
891 Call xwidget functions and macros without worrying about
892 HAVE_XWIDGETS when the code is a no-op on non-xwidget
893 platforms.
894 * src/dispextern.h (XWIDGET_GLYPH, struct glyph_string.xwidget)
895 (IT_XWIDGET, GET_FROM_XWIDGET, struct it.u.xwidget)
896 (struct it.xwidget):
897 * src/lisp.h (PVEC_XWIDGET, PVEC_XWIDGET_VIEW):
898 Always define.
899 * src/emacsgtkfixed.h: Omit unnecessary comment.
900 * src/keyboard.c: Fix spacing.
901 * src/xdisp.c (BUILD_XWIDGET_GLYPH_STRING, produce_xwidget_glyph):
902 Define to be a no-op if not HAVE_XWIDGETS.
903 * src/xwidget.c: Include xwidget.h first (after config.h)
904 to make sure that it can stand by itself.
905 (Fmake_xwidget, Fxwidget_webkit_execute_script):
906 Fix typo in doc string.
907 (Fmake_xwidget): Check type of args.
908 (Fmake_xwidget, offscreen_damage_event)
909 (webkit_document_load_finished_cb, webkit_download_cb)
910 (webkit_new_window_policy_decision_requested_cb)
911 (webkit_navigation_policy_decision_requested_cb)
912 (xwidget_osr_draw_cb, xwidget_osr_event_forward)
913 (xwidget_osr_event_set_embedder, xwidget_init_view):
914 Omit unnecessary casts.
915 * src/xwidget.c (Fmake_xwidget, xwidget_hidden)
916 (xwidget_show_view, xwidget_hide_view)
917 (x_draw_xwidget_glyph_string, xwidget_start_redisplay, xwidget_touch)
918 (xwidget_touched):
919 * src/xwidget.h (struct xwidget.kill_without_query)
920 (struct xwidget_view.redisplayed, struct xwidget_view.hidden):
921 Use bool for boolean.
922 * src/xwidget.c (store_xwidget_event_string, Fxwidget_size_request):
923 Simplify by using list functions.
924 (WEBKIT_FN_INIT): Omit unnecessary test for nil.
925 (Fxwidget_resize): Check type of integer args
926 before doing any work. Check that they are nonnegative.
927 (Fxwidget_set_adjustment): Check type of integer arg.
928 Avoid redundant call to gtk_scrolled_window_get_vadjustment.
929 Simplify. Use double, not float.
930 (Fxwidget_info, Fxwidget_view_info): Simplify by using CALLN.
931 (valid_xwidget_spec_p): Simplify.
932 (xwidget_spec_value): Omit unused arg FOUND. All callers changed.
933 * src/xwidget.h: Include lisp.h first, so that includers do
934 not need to worry about doing that before including this file.
935 Make this .h file safe to include even on non-HAVE_XWIDGETS
936 configurations, to simplify the includers.
937 (x_draw_xwidget_glyph_string, syms_of_xwidget, valid_xwidget_spec_p)
938 (xwidget_end_redisplay, lookup_xwidget)
939 (xwidget_view_delete_all_in_window, kill_buffer_xwidgets):
940 Now a no-op if !HAVE_XWIDGETS, to simplify callers.
941 (struct glyph_matrix, struct glyph_string, struct xwidget)
942 (struct xwidget_view, struct window):
943 New forward or incomplete decls, so that includers need not
944 assume the corresponding .h files are already included, or that
945 HAVE_XWIDGETS is defined.
946 (struct xwidget_type, xwidget_from_id): Remove; unused.
947
948 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
949
950 Backport kqueue integration from master
951
952 * configure.ac (--with-file-notification): Add kqueue.
953 (top): Remove special test for "${HAVE_NS}" and
954 ${with_file_notification}, this is handled inside gfilenotify
955 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
956 instead of library specific variables. Add error message for
957 gfile on Nextstep.
958
959 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
960 Fix some glitches in the example.
961
962 * etc/NEWS: Mention kqueue.
963
964 * lisp/filenotify.el (file-notify--library)
965 (file-notify-descriptors, file-notify-callback)
966 (file-notify-add-watch, file-notify-rm-watch)
967 (file-notify-valid-p): Add kqueue support.
968 (file-notify--rm-descriptor): Remove WHAT arg.
969
970 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
971
972 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
973
974 * src/inotify.c (inotifyevent_to_event): Extract file name from
975 watch_object if the event doesn't provide it.
976 (Finotify_add_watch): Add file name to watch_object.
977
978 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
979
980 * src/kqueue.c: New file.
981
982 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
983
984 * test/automated/file-notify-tests.el
985 (file-notify--test-expected-events): Remove.
986 (file-notify--test-cleanup): Do not set that variable.
987 (file-notify--test-timeout) Use different timeouts for
988 different libraries.
989 (file-notify--test-library): New defun.
990 (file-notify--test-event-test): Make stronger checks.
991 (file-notify--test-with-events): EVENTS can also be a list of
992 lists. Flush outstanding events before running the body.
993 Make timeout heuristically depend on the number of events.
994 (file-notify-test01-add-watch, file-notify-test02-events)
995 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
996 Rewrite in order to call file monitors but directory monitors.
997 (file-notify-test02-events, file-notify-test04-file-validity): Do
998 not skip cygwin tests. Add additional test for file creation.
999 Adapt expected result for different backends.
1000 (file-notify-test03-autorevert): Some of the tests don't work for
1001 w32notify.
1002 (file-notify-test06-many-events): New test.
1003
1004 2016-01-30 John Wiegley <johnw@newartisans.com>
1005
1006 Further corrections to the pcase docstring
1007
1008 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1009
1010 * doc/emacs/anti.texi (Antinews): Rewrite for Emacs 25.
1011
1012 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
1013
1014 In xref-collect-references, force backends to respect the 'dir' arg
1015
1016 * lisp/progmodes/xref.el (xref-collect-references): Force symref backends
1017 to use `default-directory'.
1018
1019 2016-01-30 John Wiegley <johnw@newartisans.com>
1020
1021 Minor correction to pcase docstring
1022
1023 2016-01-30 John Wiegley <johnw@newartisans.com>
1024
1025 Write a new docstring for the pcase macro
1026
1027 * lisp/emacs-lisp/pcase.el (pcase): Write a new docstring.
1028
1029 2016-01-30 Stephen Berman <stephen.berman@gmx.net>
1030
1031 Avoid byte-compiler warning in todo-mode (bug#21953)
1032
1033 * lisp/calendar/todo-mode.el (todo-convert-legacy-files): Add limit argument
1034 to looking-back to comply with advertised-calling-convention.
1035
1036 2016-01-30 Stephen Berman <stephen.berman@gmx.net>
1037
1038 Fix desktop support in todo-mode and doc-view (bug#22377)
1039
1040 * lisp/calendar/todo-mode.el (todo-restore-desktop-buffer):
1041 * lisp/doc-view.el (doc-view-restore-desktop-buffer): Return current buffer.
1042
1043 * lisp/calendar/todo-mode.el (todo-modes-set-2):
1044 * lisp/doc-view.el (doc-view-mode): Set desktop-save-buffer unconditionally.
1045
1046 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1047
1048 No need to configure gobject-introspection
1049
1050 It wasn’t needed for the recently-installed xwidget_mvp code; see:
1051 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg01154.html
1052 * configure.ac (DOES_XWIDGETS_USE_GIR, GIR_REQUIRED, GIR_MODULES):
1053 (HAVE_GIR):
1054 * src/Makefile.in (GIR_LIBS, GIR_CFLAGS):
1055 Remove. All uses removed.
1056 * configure.ac (emacs_config_features): Don’t worry about GIR.
1057
1058 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1059
1060 Don’t export C symbols not used elsewhere
1061
1062 These were recently added, mostly as part of xwidget code.
1063 * src/emacsgtkfixed.c (emacs_fixed_get_type): Now static.
1064 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
1065 Now static functions here, not macros in emacsgtkfixed.h.
1066 * src/emacsgtkfixed.h (EMACS_TYPE_FIXED):
1067 Remove. All uses replaced by definiens.
1068 (EMACS_FIXED, EMACS_FIXED_GET_CLASS):
1069 Remove; these are now static functions in emacsgtkfixed.c.
1070 (EMACS_FIXED_CLASS, EMACS_IS_FIXED, EMACS_IS_FIXED_CLASS):
1071 Remove; unused.
1072 (emacs_fixed_get_type): Remove decl; no longer extern.
1073 * src/xwidget.c (offscreen_damage_event)
1074 (webkit_mime_type_policy_typedecision_requested_cb)
1075 (webkit_new_window_policy_decision_requested_cb)
1076 (webkit_navigation_policy_decision_requested_cb)
1077 (xwidget_spec_value, xwidget_view_lookup)
1078 (xwidget_start_redisplay, xwidget_touch):
1079 Now static.
1080 * src/xwidget.h (xwidget_start_redisplay, xwidget_touch):
1081 Remove decls.
1082
1083 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1084
1085 Support squiggly heredocs in ruby-mode
1086
1087 * lisp/progmodes/ruby-mode.el (ruby-here-doc-beg-re):
1088 Support squiggly heredocs added in Ruby 2.3.
1089
1090 * test/indent/ruby.rb: Add squiggly example.
1091
1092 2016-01-30 Glenn Morris <rgm@gnu.org>
1093
1094 * configure.ac (emacs_config_features): Remove WEBKIT.
1095
1096 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1097
1098 Port to platforms with gtk3 but not webkitgtk3
1099
1100 I ran into this problem on my Fedora 23 installation;
1101 Emacs configured but did not build when --with-xwidgets was specified.
1102 * configure.ac (HAVE_WEBKIT, HAVE_GIR): Omit unnecessary initializations.
1103 (DOES_XWIDGETS_USE_GIR): New var.
1104 If --with-xwidgets is specified, report an error if not
1105 doable, to be consistent with the other --with options.
1106 Require webkitgtk3 to use Xwidgets, as the Xwidgets code does
1107 not work at all without webkitgtk3. Simplify use of
1108 EMACS_CHECK_MODULES. Output message about gobject
1109 introspection only if xwidgets are used.
1110 * etc/NEWS: Users need webkitgtk3, not merely webkit.
1111 * src/xwidget.c (syms_of_xwidget): Don’t worry about HAVE_WEBKIT_OSR,
1112 since this file is no longer compiled if webkitgtk3 is not available.
1113
1114 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1115
1116 Fix doc string of 'isearch-search-fun-function'
1117
1118 * lisp/isearch.el (isearch-search-fun-function)
1119 (isearch-search-string): Doc fixes. (Bug#22411)
1120
1121 2016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * lisp/xwidget.el: Nitpicks
1124
1125 * lisp/xwidget.el (xwidget-log, xwidget-webkit-callback):
1126 Use with-current-buffer rather than save-excursion + set-buffer.
1127
1128 2016-01-30 Glenn Morris <rgm@gnu.org>
1129
1130 Don't hard-code 1 as point-min.
1131
1132 * lisp/image-mode.el (image-display-size):
1133 * lisp/xwidget.el (xwidget-webkit-last-session)
1134 (xwidget-webkit-current-session): Don't hard-code 1 as point-min.
1135
1136 2016-01-30 Glenn Morris <rgm@gnu.org>
1137
1138 * lisp/xwidget.el: Add declarations to silence non-xwidget compilation.
1139
1140 2016-01-30 Glenn Morris <rgm@gnu.org>
1141
1142 Trivial doc copyedits.
1143
1144 * src/xwidget.c (Fmake_xwidget, Fget_buffer_xwidgets)
1145 (Fxwidget_webkit_get_title, Fxwidget_resize)
1146 (Fxwidget_set_adjustment, Fxwidgetp, Fxwidget_view_p)
1147 (Fxwidget_info, Fxwidget_view_lookup)
1148 (Fset_xwidget_query_on_exit_flag): Trivial doc copyedits.
1149
1150 2016-01-30 Glenn Morris <rgm@gnu.org>
1151
1152 Avoid advising image-display-size for xwidgets.
1153
1154 * lisp/xwidget.el (xwidget-image-display-size): Remove.
1155 (image-display-size): Remove advice.
1156 * lisp/image-mode.el (xwidget-info, xwidget-at): Declare.
1157 (image-display-size): Incorporate xwidget code directly.
1158
1159 2016-01-30 Glenn Morris <rgm@gnu.org>
1160
1161 Avoid breaking non-xwidget Emacs that happen to load xwidget.el.
1162
1163 * lisp/xwidget.el (window-configuration-change-hook)
1164 (kill-buffer-query-functions): Only modify these hooks if
1165 compiled with xwidget support.
1166
1167 2016-01-30 Glenn Morris <rgm@gnu.org>
1168
1169 * lisp/xwidget.el (xwidget-webkit-scroll-behaviour): Fix custom spec.
1170
1171 2016-01-30 Glenn Morris <rgm@gnu.org>
1172
1173 * configure.ac (WEBKIT, GIR, CAIRO): Use EMACS_CHECK_MODULES, not PKG_.
1174
1175 * configure.ac (emacs_config_features): Add XWIDGETS, WEBKIT, GIR.
1176
1177 * configure.ac (HAVE_WEBKIT_OSR): Remove broken, duplicated gtk3 test.
1178
1179 2016-01-30 Katsumi Yamaoka <yamaoka@jpl.org>
1180
1181 * lisp/gnus/nnir.el (nnir-request-update-mark):
1182 Default to the original mark.
1183 cf. <http://thread.gmane.org/gmane.emacs.gnus.general/86583>
1184 and <http://thread.gmane.org/gmane.emacs.gnus.general/86640>
1185
1186 2016-01-30 Glenn Morris <rgm@gnu.org>
1187
1188 * lisp/xwidget.el (report-xwidget-bug): Remove.
1189
1190 (top-level): No longer require reporter.
1191
1192 2016-01-30 Joakim Verona <joakim@verona.se>
1193 Grégoire Jadi <daimrod@gmail.com>
1194
1195 Support for the new Xwidget feature.
1196
1197 * configure.ac:
1198 (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
1199 * src/xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
1200 * src/xdisp.c:
1201 (handle_display_spec, handle_single_display_spec, push_it)
1202 (pop_it, set_iterator_to_next, dump_glyph)
1203 (calc_pixel_width_or_height, fill_xwidget_glyph_string)
1204 (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
1205 (produce_xwidget_glyph, x_produce_glyphs)
1206 (get_window_cursor_type):
1207 * src/window.c (Fdelete_window_internal):
1208 * src/termhooks.h (e):
1209 * src/print.c (print_object):
1210 * src/lisp.h (ptrdiff_t):
1211 * src/keyboard.c (kbd_buffer_get_event, make_lispy_event)
1212 (syms_of_keyboard):
1213 * src/emacs.c (main):
1214 * src/dispnew.c (update_window, scrolling_window):
1215 * src/dispextern.h (g, i):
1216 * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
1217 (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
1218 * src/keyboard.c (kbd_buffer_get_event):
1219 * src/emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
1220 (emacs_fixed_class_init): Add case for an xwidget view.
1221
1222 * src/xwidget.c, src/xwidget.h, lisp/xwidget.el: New files for xwidgets
1223
1224
1225 Various improvements to the Xwidget feature.
1226 * src/xwidget.c:
1227 * src/emacsgtkfixed.c:
1228 * lisp/xwidget.el:
1229
1230 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1231
1232 Improve documentation of 'alist-get'
1233
1234 * doc/lispref/variables.texi (Setting Generalized Variables): Add
1235 'alist-get' to the list of functions that can appear in PLACE
1236 argument of 'setf'.
1237
1238 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1239
1240 Minor copyedits of doc/emacs/maintaining.texi
1241
1242 * doc/emacs/maintaining.texi (List Identifiers): More accurate
1243 description of "C-M-i" wrt tags tables.
1244 (Tags Tables): Move the definition of "tag" to a footnote.
1245
1246 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1247
1248 Unbreak the Cygwin-w32 build
1249
1250 * src/w32fns.c (globals_of_w32fns): Move the initialization of
1251 resetstkoflw into a part that isn't compiled on Cygwin.
1252 (Bug#22403)
1253
1254 2016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1255
1256 * shr.el (shr-table-body): Allow tables to have text children.
1257
1258 2016-01-30 Phillip Lord <phillip.lord@russet.org.uk>
1259
1260 Cope with multiple overlapping faces.
1261
1262 * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
1263 left.
1264 (hfy-face-resolve-face): Handle font specification as well as font
1265 name. Documentation update. (Bug#21990)
1266
1267 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1268
1269 Fix spurious escapes in describe-input-method
1270
1271 Problem reported by Vincent Belaïche (Bug#22309).
1272 * lisp/international/mule-cmds.el (describe-language-environment):
1273 * lisp/international/quail.el (quail-help):
1274 Apply substitute-command-keys to doc strings before displaying them.
1275
1276 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1277
1278 Minor improvements to (random t) documentation
1279
1280 * doc/lispref/numbers.texi (Random Numbers):
1281 * src/fns.c (Frandom):
1282 Omit unnecessary details about randomness fallback.
1283 Say that it is a fallback.
1284
1285 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1286
1287 Rename methods in Ruby etags example file
1288
1289 * test/etags/ruby-src/test.rb: Rename the example methods to
1290 correspond to the common terminology used in Ruby.
1291 * test/etags/CTAGS.good:
1292 * test/etags/ETAGS.good_1:
1293 * test/etags/ETAGS.good_2:
1294 * test/etags/ETAGS.good_3:
1295 * test/etags/ETAGS.good_4:
1296 * test/etags/ETAGS.good_5:
1297 * test/etags/ETAGS.good_6: Adjust accordingly.
1298
1299 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1300
1301 Propertize backtick in 'def `(abc)' as symbol constituent
1302
1303 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
1304 Propertize backtick in 'def `(abc)' as symbol constituent.
1305 (ruby-syntax-propertize-function):
1306 Rename to ruby-syntax-propertize.
1307
1308 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1309
1310 Fix scrolling under scroll-preserve-screen-position on TTY
1311
1312 * src/window.c (window_scroll_line_based): When setting point to
1313 preserve screen coordinates, don't let cursor enter either of the
1314 two scroll margins. (Bug#22395)
1315
1316 2016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1317
1318 Fix shr table rendering of nested tables
1319
1320 * shr.el (shr-table-body): Don't include all tbodies in nested
1321 tables in the levels above.
1322
1323 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1324
1325 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
1326
1327 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1328
1329 Add xref-based replacements for Dired search commands
1330
1331 * lisp/dired-aux.el (dired-do-find-regexp)
1332 (dired-do-find-regexp-and-replace): New commands.
1333 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
1334
1335 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
1336 `Q' to the new commands.
1337
1338 * lisp/progmodes/xref.el (xref-query-replace)
1339 (xref-collect-matches): Add progress reporters.
1340 (xref--find-ignores-arguments): Return nil for zero ignores.
1341 (xref--show-xrefs): Add an optional argument.
1342 (xref-collect-matches): Drop the assert. 'find' accepts a
1343 regular file in place of directory argument, too.
1344
1345 2016-01-30 Alan Mackenzie <acm@muc.de>
1346
1347 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
1348
1349 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1350
1351 Improve user documentation of Xref
1352
1353 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
1354 (Looking Up Identifiers, Identifier Search, List Identifiers):
1355 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
1356 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
1357 for the details.
1358
1359 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1360
1361 Fix scrolling under scroll-preserve-screen-position and margins
1362
1363 * src/window.c (window_scroll_pixel_based): When setting point to
1364 preserve screen coordinates, don't let cursor enter either of the
1365 two scroll margins. Fix incorrect usage of
1366 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
1367 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
1368
1369 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1370
1371 Unbreak the MS-Windows build
1372
1373 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
1374 WINDOWSNT, to avoid link failure. (Bug#22202)
1375
1376 2016-01-30 Alan Mackenzie <acm@muc.de>
1377
1378 Desktop: protect users against inadvertant upgrading of desktop file.
1379
1380 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
1381
1382 * etc/NEWS: Add an entry about upgrading a desktop file.
1383
1384 * lisp/desktop.el (desktop-file-version): Amend doc string.
1385 (desktop-native-file-version, desktop-io-file-version): new variables.
1386 (desktop-clear): Set desktop-io-file-version to nil.
1387 (desktop-buffer-info): make the presence of the last item on the list
1388 conditional on (>= desktop-io-file-version 208).
1389 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
1390 Amend the doc string. Add code to determine the output file version.
1391 (desktop-create-buffer): Set desktop-io-file-version to the input file's
1392 version.
1393
1394 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1395
1396 Initialize GnuTLS before calling gnutls_rnd
1397
1398 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
1399 Don’t set gnutls_global_initialized if gnutls_global_init fails.
1400 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
1401 if 2.12 or later, which has gnutls_rnd.
1402 (emacs_gnutls_global_init, gnutls_rnd): New fallback
1403 placeholder macros if before 2.12.
1404 (init_random): Initialize gnutls globals before trying to
1405 use gnutls_rnd.
1406
1407 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
1408
1409 Don't use GnuTLS before it is initialized
1410
1411 * src/sysdep.c (init_random): Don't use gnutls_rnd.
1412
1413 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1414
1415 Port cleanup attribute to OpenBSD
1416
1417 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
1418 sprintf, and this messes up 'configure' when it tests for the cleanup
1419 attribute. Work around the problem by using __has_attribute directly.
1420 Problem reported by Joakim Jalap (Bug#22385).
1421 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
1422 * m4/ax_gcc_var_attribute.m4: Remove.
1423 * src/conf_post.h (__has_attribute): Provide a substitute, for
1424 non-GCC or older GCC compilers. All uses changed to assume
1425 the substitute. Check for the cleanup attribute.
1426 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
1427
1428 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1429
1430 Prefer GnuTLS when acquiring random seed
1431
1432 This attempts to improve on the fix for Bug#22202.
1433 * configure.ac (HAVE_DEV_URANDOM): Remove.
1434 Check /dev/urandom existence at run time, not at build time,
1435 since the device could exist in the former but not the latter.
1436 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
1437 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
1438 (random_seed): New typedef.
1439 (set_random_seed): New static function.
1440 (seed_random): Use them.
1441 (init_random): Use random_seed instead of uintmax_t, so as to
1442 not consume more entropy than needed. Prefer gnutls_rnd if it
1443 works; this avoids a redundant open of /dev/urandom on
1444 GNU/Linux with modern GnuTLS.
1445
1446 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1447
1448 Improve documentation of dynamic modules
1449
1450 * doc/lispref/loading.texi (How Programs Do Loading): Update the
1451 description of searching for files in 'load' when Emacs was built
1452 with support for dynamic modules.
1453
1454 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1455
1456 * INSTALL: Document --with-modules.
1457
1458 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1459
1460 Document 'function-put'
1461
1462 * doc/lispref/symbols.texi (Symbol Plists): Document
1463 'function-put'. Update documentation of 'function-get'.
1464
1465 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1466
1467 Document 'funcall-interactively'
1468
1469 * doc/lispref/commands.texi (Interactive Call): Document
1470 'funcall-interactively'.
1471 * doc/lispref/functions.texi (Calling Functions): Mention
1472 'funcall-interactively' and provide a cross-reference.
1473
1474 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1475
1476 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
1477
1478 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
1479
1480 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1481
1482 Document renaming of selection-related functions
1483
1484 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
1485 functions into the corresponding "gui-*" functions. Make the
1486 description slightly less X-centric.
1487
1488 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1489
1490 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
1491
1492 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1493
1494 Document 'define-inline'
1495
1496 * doc/lispref/functions.texi (Defining Functions): Document
1497 'define-inline' and related macros.
1498
1499 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
1500
1501 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
1502
1503 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
1504
1505 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
1506
1507 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
1508
1509 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
1510
1511 instead of manually writing a dir-locals file.
1512
1513 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
1514
1515 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
1516
1517 (dir-locals-file)
1518 * lisp/files-x.el (modify-dir-local-variable)
1519 * lisp/dos-fns.el (dosified-file-name)
1520 * lisp/help-fns.el (describe-variable): Change accordingly.
1521
1522 2016-01-30 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1523
1524 Fix incompatbilities with MS-Windows 2000 and older
1525
1526 * src/w32.c <multiByteToWideCharFlags>: New global variable.
1527 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
1528 Use it instead of the literal MB_ERR_INVALID_CHARS.
1529 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
1530 appropriate for the underlying OS version. For details, see
1531 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1532 * src/w32.h: Declare multiByteToWideCharFlags.
1533 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
1534 (add_tray_notification): Use multiByteToWideCharFlags instead of
1535 the literal MB_ERR_INVALID_CHARS.
1536 (_resetstkoflw_proc): New typedef.
1537 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
1538 pointer, as this function is absent in msvcrt.dll shipped with W2K
1539 and older systems.
1540
1541 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1542
1543 Mention in PROBLEMS an issue with MS-Windows NT4
1544
1545 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
1546 on Windows NT4. For the details, see
1547 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
1548
1549 2016-01-30 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
1550
1551 Ensure 8-byte aligned memory allocation on MS-Windows 9X
1552
1553 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
1554 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
1555 (malloc_after_dump_9x, realloc_after_dump_9x)
1556 (free_after_dump_9x): New functions. (Bug#22379) See also
1557 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
1558 for more details about the original problem.
1559
1560 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
1561 (free_after_dump_9x): Add prototypes.
1562
1563 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1564
1565 Fix tests for active region in hideif.el
1566
1567 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
1568 'use-region-p' to test whether to operate on region, instead of
1569 testing 'mark-active'.
1570
1571 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1572
1573 Fix interactive specs in some hideif.el commands
1574
1575 * lisp/progmodes/hideif.el (hif-evaluate-macro)
1576 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
1577 in commands that should only act on the region if it's active.
1578
1579 2016-01-30 Phillip Lord <phillip.lord@russet.org.uk>
1580
1581 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
1582
1583 2016-01-30 Phillip Lord <phillip.lord@russet.org.uk>
1584
1585 Enable test selector from command line
1586
1587 * test/automated/Makefile.in: Change variable manipulation to avoid
1588 over-writing selector.
1589
1590 2016-01-30 Alan Mackenzie <acm@muc.de>
1591
1592 Don't confuse "::" with ":" when trying to parse member initializers.
1593
1594 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
1595 more robustly for ":" token when searching backwards for it.
1596
1597 * lisp/progmodes/cc-langs.el (c-:$-multichar-token-regexp): New language
1598 variable.
1599
1600 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1601
1602 Ensure positive number of glyphs for margins of positive width
1603
1604 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
1605 positive value when a non-zero width of the marginal area was
1606 requested. (Bug#22356)
1607
1608 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1609
1610 Fix crashes when mini-window has non-zero margins
1611
1612 * src/window.c (resize_frame_windows): Use 'new_size' to set
1613 minibuffer window's 'total_cols' value, as 'size' might be in
1614 pixels. (Bug#22356)
1615
1616 2016-01-30 Alan Mackenzie <acm@muc.de>
1617
1618 In comment-dwim with style `extra-line', respect indent-tabs-mode.
1619
1620 This fixes bug #22369.
1621
1622 * lisp/newcomment.el (comment-make-bol-ws): New function.
1623 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
1624
1625 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1626
1627 Make 'random' seeds cryptographically secure if possible
1628
1629 * configure.ac: Check for "/dev/urandom".
1630
1631 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
1632 for the seed from "/dev/urandom".
1633 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
1634 * src/fns.c (Frandom): Update the doc string to indicate that
1635 system entropy is used when available.
1636 * src/w32.c: Include wincrypt.h.
1637 (w32_init_crypt_random, w32_init_random): New functions, use the
1638 CryptGenRandom API.
1639 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
1640 * src/w32.h (w32_init_random): Add prototype.
1641
1642 * doc/lispref/numbers.texi (Random Numbers): Document more details
1643 about 't' as the argument to 'random'.
1644
1645 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
1646 strong seed if possible.
1647
1648 (Bug#22202)
1649
1650 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1651
1652 Unhide the --no-line-directive option to 'etags'
1653
1654 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
1655 option. (Bug#22306)
1656
1657 * doc/man/etags.1: Document the --no-line-directive option.
1658
1659 2016-01-30 Alan J Third <alan@idiocy.org> (tiny change)
1660
1661 Fix picture-mode wrt double-width characters
1662
1663 * lisp/textmodes/picture.el (picture-insert): Check the width of
1664 the character being replaced, not just that of the replacement.
1665 (Bug#1808)
1666
1667 2016-01-30 Eric Abrahamsen <eric@ericabrahamsen.net>
1668
1669 Honor docstring of gnus-group-get-new-news
1670
1671 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
1672 but non-numeric, unconditionally consider all groups to need updating.
1673
1674 2016-01-30 Simen Heggestøyl <simenheg@gmail.com>
1675
1676 Disallow parenthesis in non-pseudo CSS selectors
1677
1678 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
1679 parenthesis in selectors except for in the function notation that
1680 might appear right after a pseudo-class.
1681 * test/indent/scss-mode.scss: Add a test for it.
1682
1683 2016-01-30 Katsumi Yamaoka <yamaoka@jpl.org>
1684
1685 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
1686
1687 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
1688
1689 check-maybe shall run only default tests
1690
1691 * test/automated/Makefile.in (check, check-expensive): Depend on
1692 mostlyclean.
1693 (check-maybe): Re-run only default tests.
1694 (check-doit): Use code of check-maybe.
1695 (mostlyclean): Move *.log files away.
1696
1697 2016-01-30 Mark Oteiza <mvoteiza@udel.edu>
1698
1699 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
1700
1701 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1702
1703 Un-obsolete tags-loop-continue
1704
1705 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
1706 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
1707
1708 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1709
1710 Document obsoletion of 'intangible' and 'point-entered/left'
1711
1712 * doc/lispref/text.texi (Special Properties): Document the new
1713 properties 'cursor-intangible' and 'cursor-sensor-functions'.
1714 Document the obsolete status of 'intangible', 'pointer-left',
1715 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
1716 * doc/lispref/display.texi (Overlay Properties): Document that
1717 'intangible' overlay property is obsolete.
1718
1719 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
1720
1721 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1722
1723 Updater documentation of 'looking-back'
1724
1725 * doc/lispref/searching.texi (Regexp Search): Update documentation
1726 of 'looking-back'. Fix markup.
1727
1728 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1729
1730 Document 'pre-redisplay-functions'
1731
1732 * doc/lispref/hooks.texi (Standard Hooks):
1733 * doc/lispref/display.texi (Forcing Redisplay): Document
1734 'pre-redisplay-functions'.
1735
1736 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1737
1738 Document the new deafault value of 'load-read-function'
1739
1740 * doc/lispref/loading.texi (How Programs Do Loading): Document the
1741 change in the default value of 'load-read-function'.
1742
1743 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1744
1745 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
1746
1747 * doc/lispref/nonascii.texi (Text Representations): Document
1748 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
1749
1750 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1751
1752 Document the new prefix-command hooks
1753
1754 * doc/lispref/hooks.texi (Standard Hooks): Document
1755 `prefix-command-echo-keystrokes-functions' and
1756 `prefix-command-preserve-state-hook'.
1757
1758 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1759
1760 Fix one more misuse of time-stamp-time-zone
1761
1762 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
1763 than the unportable "GMT" for time zone.
1764
1765 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1766
1767 Fix NNTP NEWGROUPS off-by-a-few-hours bug
1768
1769 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
1770 in Universal Time, since we’re telling the server “GMT”.
1771
1772 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1773
1774 Update publicsuffix.txt from upstream
1775
1776 * etc/publicsuffix.txt: Update from
1777 https://publicsuffix.org/list/effective_tld_names.dat
1778 dated 2016-01-12 11:52:01 UTC.
1779
1780 2016-01-30 Glenn Morris <rgm@gnu.org>
1781
1782 Fix some declarations.
1783
1784 * lisp/descr-text.el (internal-char-font):
1785 * lisp/cedet/mode-local.el (xref-item-location):
1786 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
1787 (epg-sub-key-capability, epg-sub-key-validity):
1788 * lisp/international/mule-util.el (internal-char-font):
1789 Fix declarations.
1790
1791 2016-01-30 Glenn Morris <rgm@gnu.org>
1792
1793 Fix some custom types.
1794
1795 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
1796 * lisp/gnus/gnus.el (gnus-valid-select-methods):
1797 * lisp/mail/rmail.el (rmail-get-coding-function):
1798 * lisp/net/newst-treeview.el (newsticker-groups-filename):
1799 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
1800 * lisp/textmodes/tildify.el (tildify-space-predicates):
1801 * lisp/url/url-tramp.el (url-tramp-protocols):
1802 Fix custom types.
1803
1804 2016-01-30 Glenn Morris <rgm@gnu.org>
1805
1806 Add some missing version tags.
1807
1808 * lisp/electric.el (electric-quote-comment)
1809 (electric-quote-string, electric-quote-paragraph):
1810 * lisp/epg-config.el (epg-gpgconf-program):
1811 * lisp/rect.el (rectangle-preview):
1812 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
1813 * lisp/emacs-lisp/package.el (package-selected-packages)
1814 (package-hidden-regexps):
1815 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
1816 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
1817 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
1818 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
1819 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
1820 (mml-smime-sign-with-sender, mml2015-always-trust)
1821 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
1822 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
1823 (browse-url-conkeror-arguments):
1824 * lisp/net/newst-reader.el (newsticker-download-logos):
1825 * lisp/progmodes/gud.el (gud-guiler-command-name):
1826 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
1827 * lisp/progmodes/project.el (project-vc):
1828 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
1829 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
1830 (python-shell-completion-native-disabled-interpreters)
1831 (python-shell-completion-native-enable)
1832 (python-shell-completion-native-output-timeout)
1833 (python-shell-completion-native-try-output-timeout):
1834 * lisp/progmodes/xref.el (xref):
1835 * lisp/term/screen.el (xterm-screen-extra-capabilities):
1836 * lisp/term/xterm.el (xterm-max-cut-length):
1837 Add missing version tags.
1838
1839 2016-01-30 Glenn Morris <rgm@gnu.org>
1840
1841 * test/automated/core-elisp-tests.el
1842 (core-elisp-tests-1-defvar-in-let): Add a custom type.
1843
1844 2016-01-30 Glenn Morris <rgm@gnu.org>
1845
1846 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
1847
1848 Remove comments that do not apply since 2005-08-09. (Bug#22349)
1849
1850 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1851
1852 Merge from gnulib
1853
1854 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
1855 It also updates to the latest version of texinfo.tex.
1856 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
1857 * build-aux/update-copyright, doc/misc/texinfo.tex:
1858 Update from gnulib.
1859
1860 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1861
1862 Update documentation of 'process-running-child-p'
1863
1864 * doc/lispref/processes.texi (Input to Processes): Document the
1865 changes in return value of 'process-running-child-p'.
1866
1867 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1868
1869 Update documentation of 'deactivate-mark'.
1870
1871 * doc/lispref/markers.texi (The Mark): Document that
1872 'deactivate-mark' is now buffer-local when set.
1873
1874 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1875
1876 Update documentation of 'completion-table-dynamic'
1877
1878 * doc/lispref/minibuf.texi (Programmed Completion): Document the
1879 new optional argument to 'completion-table-dynamic'.
1880
1881 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1882
1883 Document changes in 'read-buffer' and 'read-buffer-function'
1884
1885 * doc/lispref/minibuf.texi (High-Level Completion): Document the
1886 4th argument to 'read-buffer' and 'read-buffer-function'.
1887
1888 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1889
1890 Fix time-stamp-time-zone bugs introduced in July
1891
1892 This fixes a bug introduced when the July changes to
1893 format-time-string installed, as the changes were not
1894 correctly handled in this module (Bug#22302).
1895 Also, document time stamp time zones.
1896 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
1897 (time-stamp--format): New private function.
1898 (time-stamp-string, time-stamp-string-preprocess)
1899 (time-stamp-do-number): Use it.
1900 * doc/emacs/files.texi (Time Stamps): Mention time zones.
1901 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
1902
1903 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1904
1905 Make piping to subprocesses more robust on MS-Windows
1906
1907 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
1908 buffer can hold. Don't return -1 if something has been written to
1909 the pipe. Zero out 'errno' before calling '_write', to avoid
1910 returning a stale value. (Bug#22344)
1911 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
1912 * src/w32.c (pipe2): Use it to request a user-defined size for the
1913 pipe being created.
1914
1915 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
1916
1917 * doc/emacs/msdos.texi (Windows Processes): Document
1918 'w32-pipe-buffer-size'.
1919
1920 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
1921
1922 test/automated/vc-hg.el: Support out-of-tree build
1923
1924 * test/automated/vc-hg.el
1925 (vc-hg-annotate-extract-revision-at-line-with-filename)
1926 (vc-hg-annotate-extract-revision-at-line-with-both):
1927 Don't refer to source-directory.
1928 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
1929
1930 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
1931
1932 Minor change in tramp-tests.el
1933
1934 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
1935 Use `dired-uncache' instead of a Tramp internal function.
1936
1937 2016-01-30 Peter Feigl <peter.feigl@nexoid.at>
1938
1939 * etc/HELLO: Add Armenian and Mongolian greetings.
1940
1941 (Bug#22346)
1942
1943 2016-01-30 Alan Mackenzie <acm@muc.de>
1944
1945 Java Mode: Fontify identifiers in the presence of annotations.
1946
1947 * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
1948 Don't move point when the defun fails.
1949 (c-forward-decl-or-cast-1): Correct a usage of match data.
1950
1951 * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
1952 (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
1953 removed variable.
1954
1955 * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
1956
1957 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1958
1959 Avoid an infloop when we run out of memory
1960
1961 * src/alloc.c (garbage_collect_1): Don't bother saving and
1962 restoring the echo-area message if we are GC'ing after running out
1963 of memory. This avoids an infloop due to repeated attempts to
1964 allocate memory for the cons cell needed to save the message,
1965 which signals the memory-full error, which attempts to save the
1966 echo-area message, which signals memory-full again, etc.
1967
1968 2016-01-30 Eli Zaretskii <eliz@gnu.org>
1969
1970 Avoid unnecessary failures of auto-saving after fatal error
1971
1972 * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
1973 the benefit of FAT volumes if we are called as part of shutting
1974 down due to a fatal error, which probably means we are trying to
1975 auto-save the session.
1976 * src/lread.c (check_obarray): Don't bother making the obarray
1977 valid if we are shutting down due to a fatal error. This avoids
1978 interfering with auto-saving the crashed session.
1979
1980 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1981
1982 Simplify HAVE_MODULES use in mark_maybe_pointer
1983
1984 * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
1985 so that later code can use 'if' rather than '#ifdef'.
1986 (mark_maybe_pointer): Simplify based on HAVE_MODULES now
1987 always working.
1988
1989 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
1990
1991 Revert attempt to use 'noexcept' in typedef
1992
1993 This use of 'noexcept' runs afoul of the C++11 standard.
1994 Problem reported by Philipp Stephani in:
1995 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
1996 * src/emacs-module.c (emacs_finalizer_function):
1997 Move this typedef here ...
1998 * src/emacs-module.h: ... from here, and use only the C
1999 version of the typedef. The typedef is now private since it
2000 is never used in the .h file now and anyway it seemed to be
2001 causing more confusion than it cured.
2002 (make_user_ptr, get_user_finalizer, set_user_finalizer):
2003 Open-code the type instead.
2004
2005 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2006
2007 Update documentation of 'indirect-function'
2008
2009 * doc/lispref/eval.texi (Function Indirection): Update the
2010 documentation of 'indirect-function'.
2011
2012 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2013
2014 Update documentation for obsoleting 'syntax-begin-function'
2015
2016 * doc/lispref/syntax.texi (Position Parse): Undocument
2017 'syntax-begin-function' that is now obsolete.
2018
2019 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2020
2021 Document new features if Eshell
2022
2023 * doc/misc/eshell.texi (Input/Output): Document the new
2024 '#<bufname>' syntax.
2025 (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
2026 Disable "Key Index" generation, as there are no @kindex entries in
2027 this manual.
2028
2029 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
2030
2031 Handle too long commands in Tramp
2032
2033 * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
2034 (tramp-do-file-attributes-with-ls): Send sequence of commands, in
2035 order to not exceed shell command line limit.
2036
2037 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
2038 (tramp--test-utf8): Include Arabic file name, again.
2039
2040 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2041
2042 * .gitattributes: *.cur and *.pif are binary files too.
2043
2044 2016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2045
2046 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
2047
2048 2016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
2051
2052 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
2053 within $(...).
2054 * test/indent/shell.sh: Add corresponding test.
2055
2056 2016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
2059
2060 (mark_memory): Simplify loop. Don't assume a pointer-sized word can be
2061 cast to Lisp_Object.
2062
2063 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2064
2065 Use short date for 'hg annotate', and output the author
2066
2067 * lisp/vc/vc-hg.el (vc-hg-annotate-command):
2068 Change '-d' to '-dq'. (Bug#21805)
2069 (vc-hg-annotate-switches): Default to "-u" "--follow".
2070 (vc-hg-annotate-re): Update to recognize the short date format
2071 and the optional username.
2072 (vc-hg-annotate-time)
2073 (vc-hg-annotate-extract-revision-at-line): Update accordingly.
2074
2075 * test/automated/vc-hg.el: New file.
2076
2077 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2078
2079 Spelling fix
2080
2081 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2082
2083 Document user-level functions in project.el
2084
2085 * lisp/progmodes/project.el (project-find-file)
2086 (project-or-external-find-file): Add doc strings.
2087
2088 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2089
2090 Document the user-level features of the Xref package
2091
2092 * doc/emacs/maintaining.texi (Maintaining): Add a list of
2093 described features.
2094 (Xref): New section, made out of thoroughly rewritten "Tags"
2095 section.
2096 (Find Identifiers, Looking Up Identifiers, Xref Commands)
2097 (Identifier Search, List Identifiers): New subsections,
2098 incorporating the old tags commands and the new xref commands.
2099 (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
2100 Section and subsections demoted to a lower level.
2101 * doc/emacs/search.texi (Search):
2102 * doc/emacs/windows.texi (Pop Up Window):
2103 * doc/emacs/frames.texi (Creating Frames):
2104 * doc/emacs/programs.texi (Imenu, Symbol Completion):
2105 * doc/emacs/building.texi (Grep Searching):
2106 * doc/emacs/dired.texi (Operating on Files):
2107 * doc/emacs/glossary.texi (Glossary): All references to tags changed.
2108
2109 2016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2110
2111 * doc/lispref/loading.texi: Add `define-type' entry for load-history
2112
2113 * doc/lispref/loading.texi (Where Defined): Remove incorrect
2114 cl-defmethod description, and add missing define-type entry.
2115
2116 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2117
2118 Improve doc strings and prompts in xref.el
2119
2120 * lisp/progmodes/xref.el (xref-backend-functions)
2121 (xref-find-definitions): Doc fixes.
2122 (xref-query-replace): Doc fix. Improve prompts for arguments.
2123
2124 2016-01-30 Alan Mackenzie <acm@muc.de>
2125
2126 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
2127
2128 * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
2129 `font-lock-extend-regions-wholelines' from
2130 `font-lock-extend-region-functions' rather than setting the latter to
2131 nil.
2132
2133 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
2134
2135 Fix coding system for Tramp on OS X.
2136
2137 * lisp/net/tramp-compat.el: Require ucs-normalize.
2138
2139 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2140 Set coding system to `utf-8-hfs' for Mac OS X.
2141
2142 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
2143 Flush directory properties when needed.
2144 (tramp--test-utf8): Include Chinese file name, again.
2145
2146 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2147
2148 Update 'load-history' docs
2149
2150 * doc/lispref/loading.texi (Where Defined): Update the list of
2151 forms in 'load-history' by adding the forms created for the
2152 'cl-generic' generics. (Bug#21422)
2153
2154 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2155
2156 Fix (error ...) error
2157
2158 Problem reported by Glenn Morris in:
2159 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
2160 * lisp/vc/add-log.el (change-log-goto-source): Fix typos
2161 introduced in my Aug 28 change, where I got confused by the
2162 two meanings of (error ...).
2163
2164 2016-01-30 Alan Mackenzie <acm@muc.de>
2165
2166 Correctly analyze brace arguments in templated C++ function declarations.
2167
2168 * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
2169 POS and LIMIT parameters, like the other c-go-list-* functions have.
2170
2171 * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
2172 for a ?\( rather than a ?<. (c-looking-at-inexpr-block): Handle names
2173 followed by template specifiers.
2174
2175 2016-01-30 Glenn Morris <rgm@gnu.org>
2176
2177 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
2178
2179 * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
2180
2181 2016-01-30 Mark Oteiza <mvoteiza@udel.edu>
2182
2183 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
2184
2185 2016-01-30 Alan Mackenzie <acm@muc.de>
2186
2187 Respect fontification region calculated by major mode. Fixes bug #22316.
2188
2189 * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
2190 fontification region has been calculated by a function on
2191 font-lock-extend-after-change-region-function use this region rather than
2192 changing the end position to somewhere else.
2193
2194 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2195
2196 Improve documentation of Delete Selection mode
2197
2198 * lisp/delsel.el (delete-selection-mode)
2199 (delete-selection-helper): Update and expand the doc strings.
2200 (Bug#22296)
2201
2202 * doc/emacs/mark.texi (Using Region): Document the behavior of
2203 delete commands in Delete Selection mode. (Bug#22296)
2204
2205 * doc/lispref/markers.texi (The Mark): Document how to add the
2206 support for Delete Selection mode to Lisp programs. (Bug#22296)
2207
2208 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2209
2210 Fix two project-find-file issues
2211
2212 * lisp/progmodes/project.el (project--value-in-dir):
2213 Temporarily set enable-local-variables to :all.
2214 (project-find-file, project-or-external-find-file):
2215 All autoloads.
2216 (project--find-file-in): Require xref.
2217
2218 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2219
2220 Clarify doc string of 'dired-current-directory'
2221
2222 * lisp/dired.el (dired-current-directory): Doc fix: clarify that
2223 the return value might not end in a slash when called with the
2224 optional argument non-nil. (Bug#6273)
2225
2226 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2227
2228 Use the face of preceding text for displaying the ellipsis
2229
2230 * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
2231 text in it->saved_face_id for displaying the ellipsis, and ignore
2232 the face, if any, of the invisible text. (Bug#22320)
2233
2234 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
2235
2236 Suppress Chinese file name test for OSX in tramp-tests.el
2237
2238 * test/automated/tramp-tests.el (tramp--test-utf8):
2239 Remove instrumentation. Suppress Chinese file name test for OSX.
2240
2241 2016-01-30 Glenn Morris <rgm@gnu.org>
2242
2243 * admin/admin.el (set-version): Also handle the NEWS file.
2244
2245 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2246
2247 apropos-library: Skip obvious duplicates; don't error on generics
2248
2249 * lisp/apropos.el (apropos-library): Skip "was an autoload"
2250 entries, to avoid obvious duplicates. For each cl-defmethod
2251 entry, take just its function symbol (bug#21422).
2252
2253 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2254
2255 Add project-find-file and project-or-external-find-file
2256
2257 * lisp/minibuffer.el (completion-category-defaults):
2258 Add `project-file' category.
2259
2260 * lisp/progmodes/project.el (project-find-file)
2261 (project-or-external-find-file): New commands.
2262 (project--find-file-in): New private function.
2263
2264 * lisp/progmodes/xref.el (xref-collect-matches): Use
2265 `expand-file-name' on DIR, to expand the tildes.
2266 (xref--find-ignores-arguments): Extract from
2267 `xref--rgrep-command'.
2268
2269 2016-01-30 Leo Liu <sdl.web@gmail.com>
2270
2271 Add defvar-local to lisp-imenu-generic-expression
2272
2273 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
2274 defvar-local.
2275
2276 2016-01-30 Leo Liu <sdl.web@gmail.com>
2277
2278 Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
2279
2280 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
2281 Don't declare (indent 1).
2282
2283 2016-01-30 Glenn Morris <rgm@gnu.org>
2284
2285 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
2286
2287 2016-01-30 Glenn Morris <rgm@gnu.org>
2288
2289 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
2290
2291 Avoid specifying the length of a time object (it has not been "2"
2292 for some time).
2293
2294 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
2295
2296 Properly encode/decode base64Binary data in SOAP
2297
2298 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
2299 base64Binary value as utf-8.
2300 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
2301
2302 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2303
2304 Obey coding-system-for-write when writing stdout/stderr in batch
2305
2306 * src/print.c (printchar_to_stream):
2307 * src/xdisp.c (message_to_stderr): If coding-system-for-write has
2308 a non-nil value, use it to encode output in preference to
2309 locale-coding-system. See the discussions in
2310 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
2311 for the details.
2312
2313 * doc/lispref/os.texi (Terminal Output): Document how to send
2314 non-ASCII text via 'send-string-to-terminal'.
2315 (Batch Mode): Document how text written to standard streams is
2316 encoded. Fix inaccuracy regarding which output streams are used
2317 by output functions in batch mode.
2318
2319 2016-01-30 Xue Fuqiao <xfq.free@gmail.com>
2320
2321 * doc/misc/efaq.texi (Packages that do not come with Emacs):
2322 Update the URI of MELPA and marmalade-repo. Reported by CHENG Gao
2323 <chenggao@royau.me> in
2324 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
2325
2326 2016-01-30 Maksim Golubev <maksim.golubev72@gmail.com> (tiny change)
2327
2328 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
2329
2330 Fix backslash. (Bug#22224)
2331
2332 2016-01-30 Federico Beffa <beffa@ieee.org> (tiny change)
2333
2334 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
2335
2336 Make it actually work. (Bug#22265)
2337
2338 2016-01-30 Alan Mackenzie <acm@muc.de>
2339
2340 Remove function wrongly on AWK Mode value of context fontification hook.
2341
2342 * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
2343 swap order of entries so that awk's entry isn't superseded by the default.
2344
2345 * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
2346 to handle nil value of c-before-context-fontification-functions.
2347
2348 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2349
2350 * src/buffer.c: Stick with ASCII in doc string.
2351
2352 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2353
2354 Reword transient-mark-mode doc string
2355
2356 * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
2357 The value 'lambda (literally) can be interpreted as (quote lambda),
2358 which is not intended here; we want just the lambda symbol.
2359
2360 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2361
2362 Update doc string of 'selective-display'
2363
2364 * src/buffer.c (syms_of_buffer) <selective-display>: Say that
2365 using it with the value of 't' is obsolete. (Bug#1092)
2366
2367 2016-01-30 Alan Mackenzie <acm@muc.de>
2368
2369 Make C++ buffers writeable when writing their initial text properties.
2370
2371 This is a correction to yesterday's CC Mode patch.
2372
2373 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
2374 c-save-buffer-state around the function rather than a mere `let'.
2375
2376 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
2377
2378 Additional changes for "make check-expensive"
2379
2380 * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
2381 Explain make target `check-expensive'.
2382
2383 * etc/NEWS: Mention new make target `check-expensive'.
2384
2385 * test/automated/Makefile.in (check-doit): New target.
2386 (check, check-expensive): Use it.
2387
2388 2016-01-30 Alan Mackenzie <acm@muc.de>
2389
2390 Apply text properties for <, > in new after-change function (C++ Java Modes).
2391
2392 These are category/syntax-table properties to give < and > paren syntax.
2393 Also apply certain `c-type' text properties to the insides of <..> constructs
2394 to ensure that identifiers contained by them get fontified. This patch fixes
2395 bug #681.
2396
2397 * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
2398 after-change action.
2399
2400 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
2401 change region to include <s and >s which might not be already marked as
2402 parens, rather than just when paren text properties are removed.
2403 (c-restore-<>-properties): New after-change function, which applies text
2404 properties marking < and > with paren syntax.
2405
2406 * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
2407 properties are applied to the interiors of <...> constructs, to ensure
2408 fontification of identifiers there.
2409
2410 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
2411 c-restore-<>-properties to this list for C++ and Java.
2412
2413 * lisp/progmodes/cc-mode.el (c-common-init): When invoking
2414 c-before-font-lock-functions, exclude c-restore-<>-properties from the
2415 functions invoked.
2416 (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
2417 to allow modification by before-change functions.
2418 (c-after-change): Amend c-new-END here, rather than initializing it and
2419 c-new-BEG.
2420
2421 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
2422
2423 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
2424
2425 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
2426
2427 Introduce check-expensive tests.
2428
2429 * Makefile.in (check-expensive):
2430 * test/automated/Makefile.in (check-expensive): New target.
2431
2432 * test/automated/auto-revert-tests.el
2433 (auto-revert-test01-auto-revert-several-files):
2434 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
2435 * test/automated/tramp-tests.el (tramp-test26-process-file)
2436 (tramp-test27-start-file-process, tramp-test28-shell-command)
2437 (tramp-test29-vc-registered)
2438 (tramp-test31-special-characters-with-stat)
2439 (tramp-test31-special-characters-with-perl)
2440 (tramp-test31-special-characters-with-ls)
2441 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
2442 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
2443 (tramp-test35-unload): Tag the tests as :expensive-test.
2444
2445 2016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2446
2447 shr-tag-video bug fix
2448
2449 * shr.el (shr-tag-video): Protect against the `poster' being
2450 empty.
2451
2452 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
2453
2454 Minor fixes in tramp-tests.el
2455
2456 * test/automated/tramp-tests.el (tramp-test26-process-file):
2457 Move point properly.
2458 (tramp-test29-vc-registered): Work with relative file names.
2459
2460 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2461
2462 Ensure redisplay when 'truncate-lines' is set
2463
2464 * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
2465 (Bug#22303)
2466
2467 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2468
2469 Fix a doc string of 'transient-mark-mode'
2470
2471 * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
2472 "lambda" in doc string from becoming a link to lambda expressions.
2473
2474 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2475
2476 MS-Windows followup to latest gnulib update
2477
2478 * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
2479
2480 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2481
2482 Spelling fix
2483
2484 2016-01-30 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
2485
2486 Do secure signed Bcc handling
2487
2488 * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
2489 (bug#18718).
2490
2491 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2492
2493 Avoid stdio in SIGINT handler
2494
2495 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
2496 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
2497 * lib/ignore-value.h: New file, from gnulib.
2498 * src/keyboard.c: Include it.
2499 (write_stdout, read_stdin): New functions.
2500 (handle_interrupt): Use them instead of printf and getchar,
2501 and avoid fflush when handling signals.
2502
2503 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2504
2505 * doc/misc/texinfo.tex: Revert unwanted copyright change.
2506
2507 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
2508
2509 * lisp/align.el (align): Simplify a lambda
2510
2511 * lisp/align.el (align): Fix arg order in call to `align-region'
2512
2513 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2514
2515 Fix compilation next-error in buffers with selective-display
2516
2517 * lisp/progmodes/compile.el (compilation-beginning-of-line): New
2518 function.
2519 (compilation-internal-error-properties)
2520 (compilation-next-error-function, compilation-set-window): Use
2521 it. (Bug#1092)
2522
2523 2016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2524
2525 * lisp/net/nsm.el (nsm-check-protocol): Fix typo in the message.
2526
2527 2016-01-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2528
2529 Add SHA1 warnings for high network security settings
2530
2531 * lisp/net/nsm.el (nsm-check-protocol): When using high security, warn
2532 about SHA1 certificates, which are now believed to be open to
2533 spoofing.
2534
2535 2016-01-30 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
2536
2537 Refactor mml-smime.el, mml1991.el, mml2015.el
2538
2539 (Maybe this is the last merge from Gnus git to Emacs git)
2540
2541 Cf. discussion on ding mailing list, messages in
2542 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
2543 Common code from the three files mml-smime.el, mml1991.el, and
2544 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
2545 to gnus-util.el.
2546
2547 The code is supported by test cases with necessary test keys.
2548
2549 Documentation in message.texi is updated.
2550
2551 * doc/misc/message.texi (Security, Using S/MIME):
2552 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
2553 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
2554 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
2555
2556 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
2557 New functions.
2558
2559 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
2560 (epa--select-keys): Autoload.
2561 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
2562 (mml-secure-openpgp-signers): New user option;
2563 make mml1991-signers and mml2015-signers obsolete aliases to it.
2564 (mml-secure-smime-signers): New user option;
2565 make mml-smime-signers an obsolete alias to it.
2566 (mml-secure-openpgp-encrypt-to-self): New user option;
2567 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
2568 aliases to it.
2569 (mml-secure-smime-encrypt-to-self): New user option;
2570 make mml-smime-encrypt-to-self an obsolete alias to it.
2571 (mml-secure-openpgp-sign-with-sender): New user option;
2572 make mml2015-sign-with-sender an obsolete alias to it.
2573 (mml-secure-smime-sign-with-sender): New user option;
2574 make mml-smime-sign-with-sender an obsolete alias to it.
2575 (mml-secure-openpgp-always-trust): New user option;
2576 make mml2015-always-trust an obsolete alias to it.
2577 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
2578 New user options.
2579 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
2580 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
2581 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
2582 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
2583 (mml-secure-passphrase-callback, mml-secure-check-user-id)
2584 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
2585 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
2586 (mml-secure-fingerprint, mml-secure-filter-keys)
2587 (mml-secure-normalize-cust-name, mml-secure-select-keys)
2588 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
2589 (mml-secure-self-recipients, mml-secure-recipients)
2590 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
2591
2592 * lisp/gnus/mml-smime.el: Require epg;
2593 refactor declaration and autoloading of epg functions.
2594 (mml-smime-use): Doc fix.
2595 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
2596 Obsolete.
2597 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
2598 Use format instead of gnus-format-message.
2599 (mml-smime-epg-secret-key-id-list): Remove variable.
2600 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
2601 (mml-smime-epg-find-usable-secret-key): Remove functions.
2602 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
2603
2604 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
2605 (mml1991-passphrase-cache-expiry): Obsolete.
2606 (mml1991-epg-secret-key-id-list): Remove variable.
2607 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
2608 (mml1991-epg-find-usable-secret-key): Remove functions.
2609 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
2610
2611 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
2612 (mml2015-passphrase-cache-expiry): Obsolete.
2613 (mml2015-epg-secret-key-id-list): Remove variable.
2614 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
2615 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
2616 (mml2015-epg-find-usable-secret-key): Remove functions.
2617 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
2618 (mml2015-epg-encrypt): Refactor.
2619
2620 2016-01-30 Glenn Morris <rgm@gnu.org>
2621
2622 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
2623
2624 Explicitly ignore case. (Bug#22262)
2625
2626 2016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2627
2628 (semantic-symref-derive-find-filepatterns): Return a list
2629
2630 * lisp/cedet/semantic/symref/grep.el
2631 (semantic-symref-derive-find-filepatterns): Return a list.
2632 (semantic-symref-perform-search): Quote the result here once and for all.
2633
2634 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2635
2636 Fix xref-find-references on MS-Windows
2637
2638 * lisp/cedet/semantic/symref/grep.el
2639 (semantic-symref-derive-find-filepatterns): Use
2640 'shell-quote-argument' instead of manually quoting in a way that
2641 only works with Posix shells. (Bug#22289)
2642
2643 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2644
2645 Document new features of tildify-mode
2646
2647 * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
2648 (tildify-mode): Spelling fixes in doc strings.
2649
2650 * etc/NEWS: Reformat the tildify-mode entry.
2651
2652 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2653
2654 Document new features of Whitespace mode
2655
2656 * doc/emacs/display.texi (Useless Whitespace): Document
2657 'whitespace-toggle-options' and the new 'big-indent' style.
2658 Document 'whitespace-big-indent-regexp'. Document the Global
2659 Whitespace mode.
2660
2661 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2662
2663 Improve documentation of new Hide-IfDef features
2664
2665 * etc/NEWS: Expand and reword Hide-IfDef section.
2666
2667 2016-01-30 Leo Liu <sdl.web@gmail.com>
2668
2669 Fix regression in font-locking cl-assert and cl-check-type
2670
2671 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
2672 el-errs-re.
2673
2674 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2675
2676 Spelling and grammar fixes
2677
2678 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2679
2680 Fix copyright years by hand
2681
2682 These are dates that admin/update-copyright did not update, or
2683 updated incorrectly.
2684
2685 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2686
2687 Update copyright year to 2016
2688
2689 Run admin/update-copyright.
2690
2691 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2692
2693 Merge from gnulib
2694
2695 This mostly just updates copyright dates of gnulib files.
2696 It also updates to the latest version of texinfo.tex.
2697
2698 2016-01-30 Mark Oteiza <mvoteiza@udel.edu>
2699
2700 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
2701
2702 2016-01-30 Mark Oteiza <mvoteiza@udel.edu>
2703
2704 Port chart.el methods to cl-generic.
2705
2706 cl-call-next-method cannot be used inside EIEIO's defmethod.
2707 * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
2708 * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
2709 (chart-draw-title, chart-size-in-dir, chart-draw-axis):
2710 (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
2711 (chart-translate-namezone, chart-draw-data, chart-add-sequence):
2712 (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
2713
2714 2016-01-30 Brian Burns <bburns.km@gmail.com>
2715
2716 Add nt/INSTALL.W64 build instructions
2717
2718 * nt/INSTALL.W64: New file.
2719 * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
2720
2721 2016-01-30 Joakim Jalap <joakim.jalap@fastmail.com>
2722
2723 Add new input method 'programmer-dvorak'
2724
2725 * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
2726 input method.
2727
2728 * etc/NEWS: Mention it.
2729
2730 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2731
2732 Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
2733
2734 * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
2735 original M-TAB binding in a buffer-local variable.
2736 (flyspell-auto-correct-word): Invoke the original binding of M-TAB
2737 if that is recorded, when point is in a place where flyspell
2738 should not be active (e.g., because the user turned on
2739 'flyspell-prog-mode'). (Bug#18533)
2740
2741 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2742
2743 Fix EWW rendering of long RTL lines
2744
2745 * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
2746 of the selected window before filling its lines. (Bug#22250)
2747
2748 2016-01-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
2749
2750 fix bug#21054
2751
2752 * lisp/ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
2753
2754 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2755
2756 Clean up cairo printing code
2757
2758 * src/gtkutil.c (xg_get_page_setup): Use listn.
2759 * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
2760 decode_window_system_frame and FRAME_VISIBLE_P.
2761 (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
2762 of Fdisplay.
2763 * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
2764 instead of Fdisplay. Temporarily unblock_input around QUIT.
2765
2766 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2767
2768 Move variables to inner loop, preparing for Mac port merge
2769
2770 * src/keyboard.c (command_loop_1): Move variables `cmd',
2771 `keybuf', and `i' to inner loop.
2772
2773 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2774
2775 Add handle_user_signal_hook
2776
2777 * src/keyboard.h (handle_user_signal_hook): New declaration.
2778 * src/keyboard.c (handle_user_signal_hook): New variable.
2779 (handle_user_signal): Call it.
2780
2781 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2782
2783 Avoid writing to purespace
2784
2785 * src/alloc.c (Fmake_string): Don't write to empty string contents.
2786 (allocate_vector): Don't write to empty vector size.
2787 * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
2788 Don't call unnecessary XSETCAR or XSETCDR.
2789 * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
2790 write to empty string size_byte.
2791
2792 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2793
2794 Remove unused variable
2795
2796 * lisp/international/mule-cmds.el: Remove unused variable
2797 `mac-system-coding-system'.
2798
2799 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2800
2801 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
2802
2803 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2804
2805 Use posix_openpt instead of openpty on Darwin
2806
2807 * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
2808 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
2809 Darwin-specific definitions. Use posix_openpt instead.
2810
2811 2016-01-30 Shakthi Kannan <shakthimaan@gmail.com>
2812
2813 Document support for ':documentation' in Lisp mode
2814
2815 * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
2816 (lisp-string-after-doc-keyword-p)
2817 (lisp-font-lock-syntactic-face-function): Add doc strings.
2818
2819 2016-01-30 Shakthi Kannan <shakthimaan@gmail.com>
2820
2821 Document new features of TeX mode
2822
2823 * doc/emacs/text.texi (TeX Print): Document
2824 'tex-print-file-extension'.
2825 * doc/emacs/programs.texi (Misc for Programs): Document support
2826 for Prettify Symbols mode in TeX mode.
2827
2828 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2829
2830 Clarify docs of hscroll in RTL text
2831
2832 * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
2833 meaning of a window's horizontal scroll amount for RTL paragraphs.
2834
2835 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2836
2837 Fix rendering of HTML pages that use character composition
2838
2839 * src/indent.c (Fvertical_motion): Fix the case when point starts
2840 in the middle of a composition, as in shr-vertical-motion.
2841 (Bug#22250)
2842
2843 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2844
2845 Avoid some compiler warnings in w32.c
2846
2847 * src/w32.c (codepage_for_filenames, crlf_to_lf)
2848 (ansi_encode_filename, socket_to_fd, sys_write)
2849 (check_windows_init_file): Avoid compiler warnings about
2850 differences in pointer signedness.
2851
2852 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2853
2854 Undo ill-advised change
2855
2856 * lisp/progmodes/xref.el (xref-collect-matches): Undo
2857 ill-advised change. The hits come in the order that `find'
2858 produces them in, which isn't alphabetical.
2859
2860 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
2861
2862 Unbreak completion in python-mode buffers
2863
2864 * lisp/progmodes/python.el (python-shell-completion-at-point):
2865 Unbreak in python-mode buffers.
2866
2867 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2868
2869 Fix typos in CC Mode manual
2870
2871 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
2872 typos. (Bug#22267)
2873
2874 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2875
2876 Avoid assertion violations in compact_font_cache_entry
2877
2878 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
2879 avoid assertion violation in ASIZE. (Bug#22263)
2880
2881 2016-01-30 Eli Zaretskii <eliz@gnu.org>
2882
2883 Fix filling text with bidirectional characters in shr.el
2884
2885 * lisp/net/shr.el (shr-insert-document): Bind
2886 bidi-display-reordering to nil while filling lines. This is
2887 required for when a line includes characters whose bidi
2888 directionality is opposite to the base paragraph direction,
2889 because columns are counted in the logical order. (Bug#22250)
2890
2891 2016-01-30 Martin Rudalics <rudalics@gmx.at>
2892
2893 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
2894
2895 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
2896
2897 Sync with Tramp 2.2.13
2898
2899 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
2900
2901 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
2902 Use `tramp-compat-funcall'.
2903
2904 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
2905 Make `split-string' call compatible with older Emacsen.
2906
2907 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
2908
2909 2016-01-30 Lambda Coder <sjLambda@gmail.com>
2910
2911 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
2912
2913 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2914
2915 Mention that tls.el is secure by default, and will fail
2916
2917 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2918
2919 Make tls.el use trustfiles by default
2920
2921 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
2922 (open-tls-stream): Insert the trustfile by looking at
2923 `gnutls-trustfiles'.
2924
2925 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2926
2927 Refactor out gnutls-trustfiles
2928
2929 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
2930
2931 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2932
2933 Remove --insecure from gnutls-cli invocation
2934
2935 * tls.el (tls-program): Default to using secure TLS
2936 connections (bug#19284).
2937
2938 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2939
2940 Spelling fix
2941
2942 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
2943
2944 Port report-emacs-bug to deterministic builds
2945
2946 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
2947 recent "built on" change to deterministic builds where
2948 emacs-build-system will be nil. See:
2949 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
2950
2951 2016-01-30 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
2952
2953 Fix URL auth error message
2954
2955 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
2956 message more correct (bug#20069).
2957
2958 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2959
2960 shr link traversal fixup
2961
2962 * shr.el (shr-next-link): Don't bug out on adjacent links.
2963
2964 Backport:
2965
2966 (cherry picked from commit 1efc5f8b09273c359683ce13be95fb5df7a84311)
2967
2968 2016-01-30 Tom Tromey <tom@tromey.com>
2969
2970 set :safe on css-indent-offset
2971
2972 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
2973
2974 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2975
2976 * eww.el (eww-mode): Remove superfluous bidi reset.
2977
2978 2016-01-30 James Stout <james.wolf.stout@gmail.com> (tiny change)
2979
2980 Make chunked encoding trailer detection more compliant
2981
2982 * lisp/url/url-http.el
2983 (url-http-chunked-encoding-after-change-function): Make
2984 trailer detection more compliant (bug#16345).
2985
2986 2016-01-30 Martin Rudalics <rudalics@gmx.at>
2987
2988 Fix Bug#10873 in `report-emacs-bug'
2989
2990 * lisp/mail/emacsbug.el (report-emacs-bug): If
2991 `report-emacs-bug-no-explanations' is nil, make sure we can show
2992 mail and warnings buffer on this frame (Bug#10873).
2993
2994 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
2995
2996 Always reset the bidi direction
2997
2998 * eww.el (eww-display-html): Always reset the bidi direction
2999 to `left-to-right' (bug#22257).
3000
3001 2016-01-30 Alan Mackenzie <acm@muc.de>
3002
3003 Allow line comments ending with escaped NL to be continued to the next line.
3004
3005 Use this in C, C++, and Objective C Modes. Fixes bug#22246
3006
3007 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
3008 (forw-comment, back-comment): On encountering an end of comment character,
3009 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
3010
3011 * doc/lispref/syntax.texi (Control Parsing): Describe
3012 `comment-end-can-be-escaped'.
3013
3014 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
3015
3016 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
3017
3018 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
3019
3020 Rename project-library-roots to project-external-roots
3021
3022 * lisp/progmodes/project.el (project-library-roots): Rename to
3023 project-external-roots.
3024 (project-library-roots-function): Rename to
3025 project-vc-external-roots-function. Only use it in the VC
3026 backend, for now. Update project-external-roots accordingly.
3027 (project-vc-library-roots): Remove.
3028 (project-or-libraries-find-regexp):
3029 Rename to project-or-external-find-regexp.
3030
3031 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
3032 Rename to elisp-load-path-roots.
3033
3034 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
3035 an anonymous function for the default value of
3036 project-vc-external-roots-function.
3037
3038 2016-01-30 Deniz Dogan <deniz@dogan.se>
3039
3040 Clear erc user list upon disconnection
3041
3042 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
3043 lists upon disconnection. This prevents invalid channel
3044 user lists when reconnecting (bug#10947).
3045
3046 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3047
3048 Don't bug out in erc after waking from sleep
3049
3050 * lisp/erc/erc-backend.el (erc-server-send-ping): If the server has
3051 closed connection, this may already have been detected and
3052 `erc-server-last-received-time' has been set to nil (bug#13608).
3053
3054 2016-01-30 David Edmondson <dme@dme.org>
3055
3056 Proxy error in erc with multiple clients
3057
3058 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
3059 generated when multiple IRC clients talk to a single IRC proxy
3060 (bug#19034).
3061
3062 Backport:
3063
3064 (cherry picked from commit 507e98a54d1aa37823c64993d6b59257a82fe8f4)
3065
3066 2016-01-30 Dima Kogan <dima@secretsauce.net>
3067
3068 Ensure that we don't have several timers in erc
3069
3070 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
3071 for existing timers in the alist before adding new ones. If a
3072 timer already exists, it is cancelled and
3073 overwritten. (bug#19292).
3074
3075 2016-01-30 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
3076
3077 Fix mml-sec build warnings
3078
3079 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
3080 (bug#18718).
3081
3082 Backport:
3083
3084 (cherry picked from commit 3603097f62f5f4aa5451716e9ac380161f6829e2)
3085
3086 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3087
3088 Don't insert erc logs at the end
3089
3090 * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
3091 at the start of the buffer, not at the end (bug#20496).
3092
3093 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3094
3095 (eww-setup-buffer): Restore left-to-right defaults
3096
3097 * eww.el (eww-setup-buffer): Restore left-to-right defaults.
3098
3099 Backport:
3100
3101 (cherry picked from commit 96c874b96b617c124d500a94de761a61f2a08685)
3102
3103 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3104
3105 Don't join erc channels doubly
3106
3107 * lisp/erc/erc-join.el (erc-autojoin-channels): Don't join channels
3108 more than once (if you have several nicks) (bug#20695).
3109
3110 2016-01-30 Eli Zaretskii <eliz@gnu.org>
3111
3112 Avoid leaving "ghost" of mouse pointer on MS-Windows
3113
3114 * src/w32term.c (frame_set_mouse_pixel_position):
3115 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
3116 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
3117 * src/w32term.c (frame_set_mouse_pixel_position): Include
3118 w32common.h.
3119
3120 2016-01-30 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
3121
3122 Fix auth source lookups from erc with port numbers
3123
3124 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
3125 numbers (bug#20541).
3126
3127 2016-01-30 Fran Litterio <flitterio@gmail.com>
3128
3129 Run erc-kill-channel-hook always on exit
3130
3131 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
3132 when erc-kill-queries-on-quit is set (bug#21187).
3133
3134 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3135
3136 Spelling fix
3137
3138 * test/automated/url-parse-tests.el:
3139 (url-generic-parse-url/same-document-reference):
3140 Rename from url-generic-parse-url/same-decument-reference.
3141
3142 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
3143
3144 Reword initial *scratch* for brevity, appearance
3145
3146 * lisp/startup.el (initial-scratch-message):
3147 Reword to avoid apostrophes, and to make it shorter.
3148 See the thread starting in:
3149 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
3150
3151 2016-01-30 Leo Liu <sdl.web@gmail.com>
3152
3153 Add ert-deftest to lisp-mode.el
3154
3155 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression,
3156 lisp-el-font-lock-keywords-1): Add ert-deftest.
3157
3158 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3159
3160 Mark imap changes as not needing doc changes
3161
3162 * lisp/net/imap.el (imap-ssl-open): Remove
3163
3164 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
3165
3166 Use built-in encryption in imap.el
3167
3168 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
3169 (imap-starttls-open): Use open-network-stream instead of starttls.el.
3170 (imap-tls-open): Use open-network-stream instead of tls.el.
3171
3172 2016-01-30 Eli Zaretskii <eliz@gnu.org>
3173
3174 Don't try using /bin/sh in artist.el on MS-Windows
3175
3176 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
3177 New function.
3178 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
3179 (Bug#20167)
3180
3181 2016-01-30 Wolfgang Jenkner <wjenkner@inode.at>
3182
3183 Always define gmalloc etc. in src/gmalloc.c
3184 2016-01-19 John Wiegley <johnw@newartisans.com>
3185
3186 -
3187
3188 2016-01-19 John Wiegley <johnw@newartisans.com>
3189
3190 Merge from origin/emacs-25
3191
3192 3ae7934 ; * etc/NEWS: Mark entries that don't need further treatment.
3193 6165c36 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
3194 2ffdf15 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
3195 71ecd62 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
3196 f0b82b3 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
3197 86e4513 Fix incompatbilities with MS-Windows 2000 and older
3198 4e96521 Mention in PROBLEMS an issue with MS-Windows NT4
3199 15c23aa Ensure 8-byte aligned memory allocation on MS-Windows 9X
3200 39afa42 Fix tests for active region in hideif.el
3201 05df666 Fix interactive specs in some hideif.el commands
3202
3203 2016-01-19 John Wiegley <johnw@newartisans.com>
3204
3205 -
3206
3207 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
3208
3209 Avoid stdio in SIGINT handler
3210
3211 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
3212 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
3213 * lib/ignore-value.h: New file, from gnulib.
3214 * src/keyboard.c: Include it.
3215 (write_stdout, read_stdin): New functions.
3216 (handle_interrupt): Use them instead of printf and getchar,
3217 and avoid fflush when handling signals.
3218
3219 2016-01-19 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
3220
3221 Refactor mml-smime.el, mml1991.el, mml2015.el
3222
3223 (Maybe this is the last merge from Gnus git to Emacs git)
3224
3225 Cf. discussion on ding mailing list, messages in
3226 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
3227 Common code from the three files mml-smime.el, mml1991.el, and
3228 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
3229 to gnus-util.el.
3230
3231 The code is supported by test cases with necessary test keys.
3232
3233 Documentation in message.texi is updated.
3234
3235 * doc/misc/message.texi (Security, Using S/MIME):
3236 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
3237 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
3238 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
3239
3240 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
3241 New functions.
3242
3243 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
3244 (epa--select-keys): Autoload.
3245 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
3246 (mml-secure-openpgp-signers): New user option;
3247 make mml1991-signers and mml2015-signers obsolete aliases to it.
3248 (mml-secure-smime-signers): New user option;
3249 make mml-smime-signers an obsolete alias to it.
3250 (mml-secure-openpgp-encrypt-to-self): New user option;
3251 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
3252 aliases to it.
3253 (mml-secure-smime-encrypt-to-self): New user option;
3254 make mml-smime-encrypt-to-self an obsolete alias to it.
3255 (mml-secure-openpgp-sign-with-sender): New user option;
3256 make mml2015-sign-with-sender an obsolete alias to it.
3257 (mml-secure-smime-sign-with-sender): New user option;
3258 make mml-smime-sign-with-sender an obsolete alias to it.
3259 (mml-secure-openpgp-always-trust): New user option;
3260 make mml2015-always-trust an obsolete alias to it.
3261 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
3262 New user options.
3263 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
3264 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
3265 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
3266 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
3267 (mml-secure-passphrase-callback, mml-secure-check-user-id)
3268 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
3269 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
3270 (mml-secure-fingerprint, mml-secure-filter-keys)
3271 (mml-secure-normalize-cust-name, mml-secure-select-keys)
3272 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
3273 (mml-secure-self-recipients, mml-secure-recipients)
3274 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
3275
3276 * lisp/gnus/mml-smime.el: Require epg;
3277 refactor declaration and autoloading of epg functions.
3278 (mml-smime-use): Doc fix.
3279 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
3280 Obsolete.
3281 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
3282 Use format instead of gnus-format-message.
3283 (mml-smime-epg-secret-key-id-list): Remove variable.
3284 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
3285 (mml-smime-epg-find-usable-secret-key): Remove functions.
3286 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
3287
3288 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
3289 (mml1991-passphrase-cache-expiry): Obsolete.
3290 (mml1991-epg-secret-key-id-list): Remove variable.
3291 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
3292 (mml1991-epg-find-usable-secret-key): Remove functions.
3293 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
3294
3295 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
3296 (mml2015-passphrase-cache-expiry): Obsolete.
3297 (mml2015-epg-secret-key-id-list): Remove variable.
3298 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
3299 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
3300 (mml2015-epg-find-usable-secret-key): Remove functions.
3301 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
3302 (mml2015-epg-encrypt): Refactor.
3303
3304 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
3305
3306 Merge from gnulib
3307
3308 This mostly just updates copyright dates of gnulib files.
3309 It also updates to the latest version of texinfo.tex.
3310
3311 2016-01-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3312
3313 Move variables to inner loop, preparing for Mac port merge
3314
3315 * src/keyboard.c (command_loop_1): Move variables `cmd',
3316 `keybuf', and `i' to inner loop.
3317
3318 2016-01-19 Paul Eggert <eggert@cs.ucla.edu>
3319
3320 Minor improvements to (random t) documentation
3321
3322 * doc/lispref/numbers.texi (Random Numbers):
3323 * src/fns.c (Frandom):
3324 Omit unnecessary details about randomness fallback.
3325 Say that it is a fallback.
3326
3327 2016-01-19 Dmitry Gutov <dgutov@yandex.ru>
3328
3329 Rename methods in Ruby etags example file
3330
3331 * test/etags/ruby-src/test.rb: Rename the example methods to
3332 correspond to the common terminology used in Ruby.
3333 * test/etags/CTAGS.good:
3334 * test/etags/ETAGS.good_1:
3335 * test/etags/ETAGS.good_2:
3336 * test/etags/ETAGS.good_3:
3337 * test/etags/ETAGS.good_4:
3338 * test/etags/ETAGS.good_5:
3339 * test/etags/ETAGS.good_6: Adjust accordingly.
3340
3341 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
3342
3343 Propertize backtick in 'def `(abc)' as symbol constituent
3344
3345 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
3346 Propertize backtick in 'def `(abc)' as symbol constituent.
3347 (ruby-syntax-propertize-function):
3348 Rename to ruby-syntax-propertize.
3349
3350 2016-01-18 Eli Zaretskii <eliz@gnu.org>
3351
3352 Fix scrolling under scroll-preserve-screen-position on TTY
3353
3354 * src/window.c (window_scroll_line_based): When setting point to
3355 preserve screen coordinates, don't let cursor enter either of the
3356 two scroll margins. (Bug#22395)
3357
3358 2016-01-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3359
3360 Fix shr table rendering of nested tables
3361
3362 * shr.el (shr-table-body): Don't include all tbodies in nested
3363 tables in the levels above.
3364
3365 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
3366
3367 * lisp/progmodes/project.el (project--read-regexp): Quote the identifier.
3368
3369 2016-01-18 Dmitry Gutov <dgutov@yandex.ru>
3370
3371 Add xref-based replacements for Dired search commands
3372
3373 * lisp/dired-aux.el (dired-do-find-regexp)
3374 (dired-do-find-regexp-and-replace): New commands.
3375 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00864.html
3376
3377 * lisp/dired.el (dired-mode-map): Change bindings for `A' and
3378 `Q' to the new commands.
3379
3380 * lisp/progmodes/xref.el (xref-query-replace)
3381 (xref-collect-matches): Add progress reporters.
3382 (xref--find-ignores-arguments): Return nil for zero ignores.
3383 (xref--show-xrefs): Add an optional argument.
3384 (xref-collect-matches): Drop the assert. 'find' accepts a
3385 regular file in place of directory argument, too.
3386
3387 2016-01-18 Alan Mackenzie <acm@muc.de>
3388
3389 * doc/lispref/frames.texi (Position Parameters): Say they don't exist on TTYs.
3390
3391 2016-01-18 Eli Zaretskii <eliz@gnu.org>
3392
3393 Improve user documentation of Xref
3394
3395 * doc/emacs/maintaining.texi (Xref, Find Identifiers)
3396 (Looking Up Identifiers, Identifier Search, List Identifiers):
3397 Adjudicate comments by Dmitry Gutov <dgutov@yandex.ru>. See
3398 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00650.html
3399 for the details.
3400
3401 2016-01-18 Eli Zaretskii <eliz@gnu.org>
3402
3403 Fix scrolling under scroll-preserve-screen-position and margins
3404
3405 * src/window.c (window_scroll_pixel_based): When setting point to
3406 preserve screen coordinates, don't let cursor enter either of the
3407 two scroll margins. Fix incorrect usage of
3408 WINDOW_WANTS_HEADER_LINE_P and use WINDOW_HEADER_LINE_HEIGHT
3409 instead of CURRENT_HEADER_LINE_HEIGHT. (Bug#22395)
3410
3411 2016-01-18 Eli Zaretskii <eliz@gnu.org>
3412
3413 Unbreak the MS-Windows build
3414
3415 * src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
3416 WINDOWSNT, to avoid link failure. (Bug#22202)
3417
3418 2016-01-18 Alan Mackenzie <acm@muc.de>
3419
3420 Desktop: protect users against inadvertant upgrading of desktop file.
3421
3422 An upgraded (version 208) desktop file cannot be read in Emacs < 25.
3423
3424 * etc/NEWS: Add an entry about upgrading a desktop file.
3425
3426 * lisp/desktop.el (desktop-file-version): Amend doc string.
3427 (desktop-native-file-version, desktop-io-file-version): new variables.
3428 (desktop-clear): Set desktop-io-file-version to nil.
3429 (desktop-buffer-info): make the presence of the last item on the list
3430 conditional on (>= desktop-io-file-version 208).
3431 (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
3432 Amend the doc string. Add code to determine the output file version.
3433 (desktop-create-buffer): Set desktop-io-file-version to the input file's
3434 version.
3435
3436 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
3437
3438 Initialize GnuTLS before calling gnutls_rnd
3439
3440 * src/gnutls.c (emacs_gnutls_global_init): Now extern.
3441 Don’t set gnutls_global_initialized if gnutls_global_init fails.
3442 * src/sysdep.c: Include "gnutls.h", and <gnutls/crypto.h>
3443 if 2.12 or later, which has gnutls_rnd.
3444 (emacs_gnutls_global_init, gnutls_rnd): New fallback
3445 placeholder macros if before 2.12.
3446 (init_random): Initialize gnutls globals before trying to
3447 use gnutls_rnd.
3448
3449 2016-01-17 Andreas Schwab <schwab@linux-m68k.org>
3450
3451 Don't use GnuTLS before it is initialized
3452
3453 * src/sysdep.c (init_random): Don't use gnutls_rnd.
3454
3455 2016-01-17 Bill Wohler <wohler@newt.com>
3456
3457 * mh-e.el (mh-version): Add +git to version.
3458
3459 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
3460
3461 Port cleanup attribute to OpenBSD
3462
3463 The OpenBSD C compiler issues false alarms about strcpy, strcat, and
3464 sprintf, and this messes up 'configure' when it tests for the cleanup
3465 attribute. Work around the problem by using __has_attribute directly.
3466 Problem reported by Joakim Jalap (Bug#22385).
3467 * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
3468 * m4/ax_gcc_var_attribute.m4: Remove.
3469 * src/conf_post.h (__has_attribute): Provide a substitute, for
3470 non-GCC or older GCC compilers. All uses changed to assume
3471 the substitute. Check for the cleanup attribute.
3472 * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
3473
3474 2016-01-17 Paul Eggert <eggert@cs.ucla.edu>
3475
3476 Prefer GnuTLS when acquiring random seed
3477
3478 This attempts to improve on the fix for Bug#22202.
3479 * configure.ac (HAVE_DEV_URANDOM): Remove.
3480 Check /dev/urandom existence at run time, not at build time,
3481 since the device could exist in the former but not the latter.
3482 * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
3483 (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
3484 (random_seed): New typedef.
3485 (set_random_seed): New static function.
3486 (seed_random): Use them.
3487 (init_random): Use random_seed instead of uintmax_t, so as to
3488 not consume more entropy than needed. Prefer gnutls_rnd if it
3489 works; this avoids a redundant open of /dev/urandom on
3490 GNU/Linux with modern GnuTLS.
3491
3492 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3493
3494 Improve documentation of dynamic modules
3495
3496 * doc/lispref/loading.texi (How Programs Do Loading): Update the
3497 description of searching for files in 'load' when Emacs was built
3498 with support for dynamic modules.
3499
3500 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3501
3502 * INSTALL: Document --with-modules.
3503
3504 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3505
3506 Document 'function-put'
3507
3508 * doc/lispref/symbols.texi (Symbol Plists): Document
3509 'function-put'. Update documentation of 'function-get'.
3510
3511 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3512
3513 Document 'funcall-interactively'
3514
3515 * doc/lispref/commands.texi (Interactive Call): Document
3516 'funcall-interactively'.
3517 * doc/lispref/functions.texi (Calling Functions): Mention
3518 'funcall-interactively' and provide a cross-reference.
3519
3520 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3521
3522 * doc/lispref/lists.texi (Association Lists): Document 'alist-get'.
3523
3524 * doc/lispref/strings.texi (Text Comparison): Document 'string-greaterp'.
3525
3526 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3527
3528 Document renaming of selection-related functions
3529
3530 * doc/lispref/frames.texi (Window System Selections): Rename "x-*"
3531 functions into the corresponding "gui-*" functions. Make the
3532 description slightly less X-centric.
3533
3534 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3535
3536 * doc/lispref/macros.texi (Expansion): Document 'macroexpand-1'.
3537
3538 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3539
3540 Document 'define-inline'
3541
3542 * doc/lispref/functions.texi (Defining Functions): Document
3543 'define-inline' and related macros.
3544
3545 * lisp/emacs-lisp/inline.el (inline-letevals): Doc fix.
3546
3547 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
3548
3549 * lisp/files.el (dir-locals--all-files): Respect absolute file-names
3550
3551 * lisp/help-fns.el (describe-variable): Fix a left-over parenthesis
3552
3553 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
3554
3555 * lisp/dired-x.el (dired-omit-here-always): Use add-dir-local-variable
3556
3557 instead of manually writing a dir-locals file.
3558
3559 2016-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
3560
3561 * lisp/files.el (dir-locals--all-files): Use completion instead of wildcards
3562
3563 (dir-locals-file)
3564 * lisp/files-x.el (modify-dir-local-variable)
3565 * lisp/dos-fns.el (dosified-file-name)
3566 * lisp/help-fns.el (describe-variable): Change accordingly.
3567
3568 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
3569
3570 Fix incompatbilities with MS-Windows 2000 and older
3571
3572 * src/w32.c <multiByteToWideCharFlags>: New global variable.
3573 (filename_to_utf16, filename_from_ansi, check_windows_init_file):
3574 Use it instead of the literal MB_ERR_INVALID_CHARS.
3575 (maybe_load_unicows_dll): Initialize multiByteToWideCharFlags as
3576 appropriate for the underlying OS version. For details, see
3577 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
3578 * src/w32.h: Declare multiByteToWideCharFlags.
3579 * src/w32fns.c (Fx_file_dialog, Fw32_shell_execute)
3580 (add_tray_notification): Use multiByteToWideCharFlags instead of
3581 the literal MB_ERR_INVALID_CHARS.
3582 (_resetstkoflw_proc): New typedef.
3583 (w32_reset_stack_overflow_guard): Call _resetstkoflw via a
3584 pointer, as this function is absent in msvcrt.dll shipped with W2K
3585 and older systems.
3586
3587 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3588
3589 Mention in PROBLEMS an issue with MS-Windows NT4
3590
3591 * etc/PROBLEMS (MS-Windows): Mention the problem with Shell32.dll
3592 on Windows NT4. For the details, see
3593 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00835.html.
3594
3595 2016-01-16 Jussi Lahdenniemi <jussi@aprikoodi.fi> (tiny change)
3596
3597 Ensure 8-byte aligned memory allocation on MS-Windows 9X
3598
3599 * src/w32heap.c (init_heap): Redirect malloc, realloc, and free to
3600 special functions on Windows 9X. Refuse to dump Emacs on Windows 9X.
3601 (malloc_after_dump_9x, realloc_after_dump_9x)
3602 (free_after_dump_9x): New functions. (Bug#22379) See also
3603 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00852.html
3604 for more details about the original problem.
3605
3606 * nt/inc/ms-w32.h (malloc_after_dump_9x, realloc_after_dump_9x)
3607 (free_after_dump_9x): Add prototypes.
3608
3609 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3610
3611 Fix tests for active region in hideif.el
3612
3613 * lisp/progmodes/hideif.el (hif-evaluate-macro, hide-ifdef-block): Use
3614 'use-region-p' to test whether to operate on region, instead of
3615 testing 'mark-active'.
3616
3617 2016-01-16 Eli Zaretskii <eliz@gnu.org>
3618
3619 Fix interactive specs in some hideif.el commands
3620
3621 * lisp/progmodes/hideif.el (hif-evaluate-macro)
3622 (hide-ifdef-undef, show-ifdef-block): Don't use '(interactive "r")'
3623 in commands that should only act on the region if it's active.
3624
3625 2016-01-15 Phillip Lord <phillip.lord@russet.org.uk>
3626
3627 Enable test selector from command line
3628
3629 * test/automated/Makefile.in: Change variable manipulation to avoid
3630 over-writing selector.
3631
3632 2016-01-15 Alan Mackenzie <acm@muc.de>
3633
3634 Don't confuse "::" with ":" when trying to parse member initializers.
3635
3636 * lisp/progmodes/cc-engine.el (c-back-over-member-initializers): Check
3637 more robustly for ":" token when searching backwards for it.
3638
3639 * lisp/progmodes/cc-langs (c-:$-multichar-token-regexp): New language
3640 variable.
3641
3642 2016-01-15 Eli Zaretskii <eliz@gnu.org>
3643
3644 Ensure positive number of glyphs for margins of positive width
3645
3646 * src/dispnew.c (margin_glyphs_to_reserve): Always return a
3647 positive value when a non-zero width of the marginal area was
3648 requested. (Bug#22356)
3649
3650 2016-01-15 Eli Zaretskii <eliz@gnu.org>
3651
3652 Fix crashes when mini-window has non-zero margins
3653
3654 * src/window.c (resize_frame_windows): Use 'new_size' to set
3655 minibuffer window's 'total_cols' value, as 'size' might be in
3656 pixels. (Bug#22356)
3657
3658 2016-01-15 Alan Mackenzie <acm@muc.de>
3659
3660 In comment-dwim with style `extra-line', respect indent-tabs-mode.
3661
3662 This fixes bug #22369.
3663
3664 * lisp/newcomment.el (comment-make-bol-ws): New function.
3665 (comment-make-extra-lines): Use new function instead of a crude `make-string'.
3666
3667 2016-01-15 Eli Zaretskii <eliz@gnu.org>
3668
3669 Make 'random' seeds cryptographically secure if possible
3670
3671 * configure.ac: Check for "/dev/urandom".
3672
3673 * src/sysdep.c (init_random) [HAVE_DEV_URANDOM]: Read the stream
3674 for the seed from "/dev/urandom".
3675 [WINDOWSNT]: Obtain the stream for the seed from w32 APIs.
3676 * src/fns.c (Frandom): Update the doc string to indicate that
3677 system entropy is used when available.
3678 * src/w32.c: Include wincrypt.h.
3679 (w32_init_crypt_random, w32_init_random): New functions, use the
3680 CryptGenRandom API.
3681 (globals_of_w32): Initialize w32_crypto_hprov handle to zero.
3682 * src/w32.h (w32_init_random): Add prototype.
3683
3684 * doc/lispref/numbers.texi (Random Numbers): Document more details
3685 about 't' as the argument to 'random'.
3686
3687 * etc/NEWS: Mention that '(random t)' now uses a cryptographically
3688 strong seed if possible.
3689
3690 (Bug#22202)
3691
3692 2016-01-15 Eli Zaretskii <eliz@gnu.org>
3693
3694 Unhide the --no-line-directive option to 'etags'
3695
3696 * lib-src/etags.c (print_help): Un-undocument the --no-line-directive
3697 option. (Bug#22306)
3698
3699 * doc/man/etags.1: Document the --no-line-directive option.
3700
3701 2016-01-15 Alan J Third <alan@idiocy.org> (tiny change)
3702
3703 Fix picture-mode wrt double-width characters
3704
3705 * lisp/textmodes/picture.el (picture-insert): Check the width of
3706 the character being replaced, not just that of the replacement.
3707 (Bug#1808)
3708
3709 2016-01-15 Eric Abrahamsen <eric@ericabrahamsen.net>
3710
3711 Honor docstring of gnus-group-get-new-news
3712
3713 * lisp/gnus/gnus-start.el (gnus-get-unread-articles): If the prefix arg is t,
3714 but non-numeric, unconditionally consider all groups to need updating.
3715
3716 2016-01-14 Simen Heggestøyl <simenheg@gmail.com>
3717
3718 Disallow parenthesis in non-pseudo CSS selectors
3719
3720 * lisp/textmodes/css-mode.el (css--font-lock-keywords): Disallow
3721 parenthesis in selectors except for in the function notation that
3722 might appear right after a pseudo-class.
3723 * test/indent/scss-mode.scss: Add a test for it.
3724
3725 2016-01-14 Katsumi Yamaoka <yamaoka@jpl.org>
3726
3727 * lisp/gnus/nntp.el (nntp-request-newgroups): Simplify
3728
3729 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
3730
3731 check-maybe shall run only default tests
3732
3733 * test/automated/Makefile.in (check, check-expensive): Depend on
3734 mostlyclean.
3735 (check-maybe): Re-run only default tests.
3736 (check-doit): Use code of check-maybe.
3737 (mostlyclean): Move *.log files away.
3738
3739 2016-01-13 Mark Oteiza <mvoteiza@udel.edu>
3740
3741 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "magnet:"
3742
3743 2016-01-13 Dmitry Gutov <dgutov@yandex.ru>
3744
3745 Un-obsolete tags-loop-continue
3746
3747 * lisp/progmodes/etags.el (tags-loop-continue): Un-obsolete.
3748 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00682.html
3749
3750 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3751
3752 Document obsoletion of 'intangible' and 'point-entered/left'
3753
3754 * doc/lispref/text.texi (Special Properties): Document the new
3755 properties 'cursor-intangible' and 'cursor-sensor-functions'.
3756 Document the obsolete status of 'intangible', 'pointer-left',
3757 and 'point-entered' properties, and of 'inhibit-point-motion-hooks'.
3758 * doc/lispref/display.texi (Overlay Properties): Document that
3759 'intangible' overlay property is obsolete.
3760
3761 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-mode): Doc fix.
3762
3763 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3764
3765 Updater documentation of 'looking-back'
3766
3767 * doc/lispref/searching.texi (Regexp Search): Update documentation
3768 of 'looking-back'. Fix markup.
3769
3770 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3771
3772 Document 'pre-redisplay-functions'
3773
3774 * doc/lispref/hooks.texi (Standard Hooks):
3775 * doc/lispref/display.texi (Forcing Redisplay): Document
3776 'pre-redisplay-functions'.
3777
3778 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3779
3780 Document the new deafault value of 'load-read-function'
3781
3782 * doc/lispref/loading.texi (How Programs Do Loading): Document the
3783 change in the default value of 'load-read-function'.
3784
3785 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3786
3787 Document 'bufferpos-to-filepos' and 'filepos-to-bufferpos'
3788
3789 * doc/lispref/nonascii.texi (Text Representations): Document
3790 'bufferpos-to-filepos' and 'filepos-to-bufferpos'.
3791
3792 2016-01-13 Eli Zaretskii <eliz@gnu.org>
3793
3794 Document the new prefix-command hooks
3795
3796 * doc/lispref/hooks.texi (Standard Hooks): Document
3797 `prefix-command-echo-keystrokes-functions' and
3798 `prefix-command-preserve-state-hook'.
3799
3800 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
3801
3802 Fix one more misuse of time-stamp-time-zone
3803
3804 * test/etags/html-src/softwarelibero.html: Use "UTC0" rather
3805 than the unportable "GMT" for time zone.
3806
3807 2016-01-13 Paul Eggert <eggert@cs.ucla.edu>
3808
3809 Fix NNTP NEWGROUPS off-by-a-few-hours bug
3810
3811 * lisp/gnus/nntp.el (nntp-request-newgroups): Format string
3812 in Universal Time, since we’re telling the server “GMT”.
3813
3814 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
3815
3816 Update publicsuffix.txt from upstream
3817
3818 * etc/publicsuffix.txt: Update from
3819 https://publicsuffix.org/list/effective_tld_names.dat
3820 dated 2016-01-12 11:52:01 UTC.
3821
3822 2016-01-12 Glenn Morris <rgm@gnu.org>
3823
3824 Fix some declarations.
3825
3826 * lisp/descr-text.el (internal-char-font):
3827 * lisp/cedet/mode-local.el (xref-item-location):
3828 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
3829 (epg-sub-key-capability, epg-sub-key-validity):
3830 * lisp/international/mule-util.el (internal-char-font):
3831 Fix declarations.
3832
3833 2016-01-12 Glenn Morris <rgm@gnu.org>
3834
3835 Fix some custom types.
3836
3837 * lisp/gnus/gnus-fun.el (gnus-x-face-omit-files, gnus-face-omit-files):
3838 * lisp/gnus/gnus.el (gnus-valid-select-methods):
3839 * lisp/mail/rmail.el (rmail-get-coding-function):
3840 * lisp/net/newst-treeview.el (newsticker-groups-filename):
3841 * lisp/progmodes/hideif.el (hide-ifdef-exclude-define-regexp):
3842 * lisp/textmodes/tildify.el (tildify-space-predicates):
3843 * lisp/url/url-tramp.el (url-tramp-protocols):
3844 Fix custom types.
3845
3846 2016-01-12 Glenn Morris <rgm@gnu.org>
3847
3848 Add some missing version tags.
3849
3850 * lisp/electric.el (electric-quote-comment)
3851 (electric-quote-string, electric-quote-paragraph):
3852 * lisp/epg-config.el (epg-gpgconf-program):
3853 * lisp/rect.el (rectangle-preview):
3854 * lisp/emacs-lisp/check-declare.el (check-declare-ext-errors):
3855 * lisp/emacs-lisp/package.el (package-selected-packages)
3856 (package-hidden-regexps):
3857 * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list):
3858 * lisp/eshell/em-term.el (eshell-destroy-buffer-when-process-dies):
3859 * lisp/gnus/mml-sec.el (mml1991-signers, mml2015-signers)
3860 (mml-smime-signers, mml1991-encrypt-to-self, mml2015-encrypt-to-self)
3861 (mml-smime-encrypt-to-self, mml2015-sign-with-sender)
3862 (mml-smime-sign-with-sender, mml2015-always-trust)
3863 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
3864 * lisp/net/browse-url.el (browse-url-conkeror-new-window-is-buffer)
3865 (browse-url-conkeror-arguments):
3866 * lisp/net/newst-reader.el (newsticker-download-logos):
3867 * lisp/progmodes/gud.el (gud-guiler-command-name):
3868 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
3869 * lisp/progmodes/project.el (project-vc):
3870 * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose)
3871 (python-shell-remote-exec-path, python-shell-first-prompt-hook)
3872 (python-shell-completion-native-disabled-interpreters)
3873 (python-shell-completion-native-enable)
3874 (python-shell-completion-native-output-timeout)
3875 (python-shell-completion-native-try-output-timeout):
3876 * lisp/progmodes/xref.el (xref):
3877 * lisp/term/screen.el (xterm-screen-extra-capabilities):
3878 * lisp/term/xterm.el (xterm-max-cut-length):
3879 Add missing version tags.
3880
3881 2016-01-12 Glenn Morris <rgm@gnu.org>
3882
3883 * test/automated/core-elisp-tests.el
3884 (core-elisp-tests-1-defvar-in-let): Add a custom type.
3885
3886 2016-01-12 Glenn Morris <rgm@gnu.org>
3887
3888 * src/buffer.c (syms_of_buffer) <major-mode>: Doc fix.
3889
3890 Remove comments that do not apply since 2005-08-09. (Bug#22349)
3891
3892 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
3893
3894 Merge from gnulib
3895
3896 This mostly just changes "UTC" to "UTC0" for POSIX conformance.
3897 It also updates to the latest version of texinfo.tex.
3898 * build-aux/gitlog-to-changelog, build-aux/move-if-change:
3899 * build-aux/update-copyright, doc/misc/texinfo.tex:
3900 Update from gnulib.
3901
3902 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3903
3904 Update documentation of 'process-running-child-p'
3905
3906 * doc/lispref/processes.texi (Input to Processes): Document the
3907 changes in return value of 'process-running-child-p'.
3908
3909 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3910
3911 Update documentation of 'deactivate-mark'.
3912
3913 * doc/lispref/markers.texi (The Mark): Document that
3914 'deactivate-mark' is now buffer-local when set.
3915
3916 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3917
3918 Update documentation of 'completion-table-dynamic'
3919
3920 * doc/lispref/minibuf.texi (Programmed Completion): Document the
3921 new optional argument to 'completion-table-dynamic'.
3922
3923 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3924
3925 Document changes in 'read-buffer' and 'read-buffer-function'
3926
3927 * doc/lispref/minibuf.texi (High-Level Completion): Document the
3928 4th argument to 'read-buffer' and 'read-buffer-function'.
3929
3930 2016-01-12 Paul Eggert <eggert@cs.ucla.edu>
3931
3932 Fix time-stamp-time-zone bugs introduced in July
3933
3934 This fixes a bug introduced when the July changes to
3935 format-time-string installed, as the changes were not
3936 correctly handled in this module (Bug#22302).
3937 Also, document time stamp time zones.
3938 * lisp/time-stamp.el (time-stamp-time-zone): Document values better.
3939 (time-stamp--format): New private function.
3940 (time-stamp-string, time-stamp-string-preprocess)
3941 (time-stamp-do-number): Use it.
3942 * doc/emacs/files.texi (Time Stamps): Mention time zones.
3943 * doc/misc/autotype.texi (Timestamps): Document time-stamp-time-zone.
3944
3945 2016-01-12 Eli Zaretskii <eliz@gnu.org>
3946
3947 Make piping to subprocesses more robust on MS-Windows
3948
3949 * src/w32.c (sys_write): Don't write to a pipe more stuff than its
3950 buffer can hold. Don't return -1 if something has been written to
3951 the pipe. Zero out 'errno' before calling '_write', to avoid
3952 returning a stale value. (Bug#22344)
3953 * src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
3954 * src/w32.c (pipe2): Use it to request a user-defined size for the
3955 pipe being created.
3956
3957 * etc/NEWS: Mention 'w32-pipe-buffer-size'.
3958
3959 * doc/emacs/msdos.texi (Windows Processes): Document
3960 'w32-pipe-buffer-size'.
3961
3962 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * lisp/emacs-lisp/syntax.el (syntax-ppss-table): New var
3965
3966 (syntax-ppss):
3967 * lisp/font-lock.el (font-lock-fontify-syntactically-region): Use it.
3968
3969 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 lisp/nxml: Use syntax-tables for comments
3972
3973 * lisp/nxml/nxml-mode.el (nxml-set-face): Prepend.
3974 (nxml-mode): Set syntax-ppss-table.
3975 Use sgml-syntax-propertize-function for syntax-propertize-function.
3976 Let font-lock highlight strings and comments.
3977 (nxml-degrade): Don't touch "nxml-inside" property any more.
3978 (nxml-after-change, nxml-after-change1): Remove functions.
3979 (comment): Don't set fontify rule any more.
3980 (nxml-fontify-attribute): Don't highlight the value any more.
3981 (nxml-namespace-attribute-value-delimiter, nxml-namespace-attribute-value)
3982 (nxml-comment-delimiter, nxml-comment-content): Remove faces.
3983
3984 * lisp/nxml/nxml-rap.el (nxml-scan-end): Remove.
3985 (nxml-get-inside, nxml-inside-start, nxml-inside-end): Use syntax-ppss.
3986 (nxml-clear-inside, nxml-set-inside): Remove.
3987 (nxml-scan-after-change): Remove function.
3988 (nxml-scan-prolog, nxml-tokenize-forward): Simplify.
3989 (nxml-ensure-scan-up-to-date): Use syntax-propertize.
3990 (nxml-move-outside-backwards):
3991 * lisp/nxml/nxml-outln.el (nxml-section-tag-backward): Adjust to new
3992 nxml-inside-start behavior.
3993
3994 * lisp/nxml/nxml-util.el (nxml-debug-set-inside)
3995 (nxml-debug-clear-inside): Remove macros.
3996
3997 * lisp/nxml/xmltok.el (xmltok-forward-special): Remove function.
3998 (xmltok-scan-after-comment-open): Simplify.
3999
4000 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * elisp-mode.el (elisp--font-lock-flush-elisp-buffers): Fix comment
4003
4004 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4005
4006 * lisp/nxml: Use standard completion; it also works for company-mode
4007
4008 * lisp/nxml/nxml-mode.el (nxml-complete): Obsolete.
4009 (nxml-completion-at-point-function): Remove.
4010 (nxml-mode): Don't set completion-at-point-functions.
4011 * lisp/nxml/rng-nxml.el (rng-nxml-mode-init): Set it here instead.
4012 (rng-completion-at-point): Rename from rng-complete and mark it
4013 non-interactive. It is now to be used as completion-at-point-function.
4014 (rng-complete-tag, rng-complete-end-tag, rng-complete-attribute-name)
4015 (rng-complete-attribute-value): Don't perform completion, but return
4016 completion data instead.
4017 (rng-complete-qname-function, rng-generate-qname-list): Add a few
4018 arguments, previously passed via dynamic coping.
4019 (rng-strings-to-completion-table): Rename from
4020 rng-strings-to-completion-alist. Don't return an alist. Don't both
4021 sorting and uniquifying.
4022
4023 * lisp/nxml/rng-util.el (rng-complete-before-point): Delete function.
4024 (rng-completion-exact-p, rng-quote-string): Delete functions.
4025
4026 * lisp/nxml/rng-valid.el (rng-recover-start-tag-open)
4027 (rng-missing-attributes-message, rng-missing-element-message)
4028 (rng-mark-missing-end-tags): Use explicit ".." in formats rather than
4029 calling rng-quote-string everywhere.
4030
4031 2016-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 Use sgml-electric-tag-pair-mode also in nxml-mode
4034
4035 * lisp/nxml/rng-nxml.el: Require sgml-mode.
4036 (rng-nxml-easy-menu): Add entry for sgml-electric-tag-pair-mode.
4037 (rng-complete-qname-function): Use complete-with-action.
4038
4039 * lisp/textmodes/sgml-mode.el (sgml-electric-tag-pair-before-change-function):
4040 Let-bind forward-sexp-function, since nxml-mode binds it to
4041 something incompatible.
4042
4043 * lisp/nxml/nxml-mode.el: Use setq-local and defvar-local.
4044
4045 2016-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * xmltok.el: Mark the "sole --" rather than the comment opener
4048
4049 * lisp/nxml/xmltok.el (xmltok-scan-after-comment-open): Put the error
4050 marker on the "sole --" rather than on the comment opener.
4051
4052 2016-01-15 Sam Steingold <sds@gnu.org>
4053
4054 replace `tramp-compat-split-string' (removed) with `split-string'
4055
4056 (python-shell-tramp-refresh-process-environment)
4057 (python-shell-calculate-pythonpath): use `split-string'
4058 instead of defunct `tramp-compat-split-string'
4059
4060 2016-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 Update nXML to use Emacs's Unicode support, and lexical-binding
4063
4064 * etc/nxml/*.el: Remove obsolete char-name files.
4065 * lisp/nxml/xsd-regexp.el (xsdre-range-list-difference): Remove unused
4066 var `next'.
4067 * lisp/nxml/rng-nxml.el (rng-set-state-after): Don't assume point-min==1.
4068 * lisp/nxml/rng-match.el (rng-update-match-state): Simplify.
4069 * lisp/nxml/nxml-outln.el (nxml-outline-state-transform-exceptions)
4070 (nxml-target-section-pos, nxml-depth-in-target-section)
4071 (nxml-outline-state-transform-alist)
4072 (nxml-outline-display-section-tag-function): Move decl before first use.
4073 * lisp/nxml/nxml-mode.el (nxml-char-name-ignore-case)
4074 (nxml-char-name-alist, nxml-char-name-table)
4075 (nxml-autoload-char-name-set-list, nxml-named-char-history): Remove vars.
4076 (nxml-enable-char-name-set, nxml-disable-char-name-set)
4077 (nxml-char-name-set-enabled-p, nxml-autoload-char-name-set)
4078 (nxml-define-char-name-set, nxml-get-char-name): Remove functions.
4079 (nxml-insert-named-char): Use read-char-by-name instead.
4080 (nxml-char-ref-display-extra): Use get-char-code-property.
4081 * lisp/nxml/nxml-maint.el (nxml-create-unicode-char-name-sets):
4082 Remove function.
4083 * lisp/nxml/nxml-glyph.el, lisp/nxml/nxml-uchnm.el: Remove files.
4084
4085 2016-01-15 Michael Albinus <michael.albinus@gmx.de>
4086
4087 Add "sg" method to Tramp
4088
4089 * doc/misc/tramp.texi (Inline methods): Add "sg" method.
4090 (Customizing Completion): Add function `tramp-parse-etc-group'.
4091
4092 * lisp/net/tramp-sh.el (tramp-methods) <sg>: Add. (Bug#22329)
4093 (tramp-completion-function-alist-sg): New defconst.
4094 (top): Completion function for "sg" is
4095 `tramp-completion-function-alist-sg'.
4096
4097 * lisp/net/tramp.el (tramp-completion-function-alist): Adapt docstring.
4098 (tramp-parse-etc-group, tramp-parse-etc-group-group): New defuns.
4099
4100 2016-01-14 Michael Albinus <michael.albinus@gmx.de>
4101
4102 Remove XEmacs compatibility in Tramp
4103
4104 * doc/misc/tramp.texi: Replace flags by their hard coded name.
4105 Remove unused flags and the enclosed alternative text for XEmacs.
4106
4107 * doc/misc/trampver.texi: Use "Tramp" CamelCase. Rename "emacs"
4108 and "xemacs" flags to "unified" and "separate". Remove flags
4109 "emacsgw", "emacsname", "emacsdir", "ftppackagename",
4110 "emacsothername", "emacsotherdir" and "emacsotherfilename".
4111 (trampver):
4112 * lisp/net/trampver.el (tramp-version): Set to "2.3.0-pre".
4113
4114 * lisp/net/tramp.el (bkup-backup-directory-info)
4115 (directory-sep-char, ls-lisp-use-insert-directory-program)
4116 (outline-regexp, tramp-backup-directory-alist)
4117 (tramp-default-method, tramp-shell-prompt-pattern, tramp-syntax)
4118 (tramp-file-name-regexp-unified)
4119 (tramp-file-name-regexp-separate)
4120 (tramp-completion-file-name-regexp-unified)
4121 (tramp-completion-file-name-regexp-separate, tramp-chunksize)
4122 (tramp-get-method-parameter, tramp-find-method, tramp-find-user)
4123 (tramp-debug-message, tramp-progress-reporter-update)
4124 (with-tramp-progress-reporter)
4125 (tramp-rfn-eshadow-setup-minibuffer)
4126 (rfn-eshadow-setup-minibuffer-hook, tramp-unload-hook)
4127 (tramp-rfn-eshadow-update-overlay)
4128 (rfn-eshadow-update-overlay-hook, tramp-default-file-modes)
4129 (tramp-file-name-for-operation)
4130 (tramp-completion-file-name-handler)
4131 (tramp-autoload-file-name-handler, tramp-completion-mode-p)
4132 (tramp-handle-directory-files)
4133 (tramp-handle-directory-files-and-attributes)
4134 (tramp-handle-dired-uncache, tramp-handle-find-backup-file-name)
4135 (tramp-handle-insert-file-contents, tramp-handle-load)
4136 (tramp-handle-shell-command)
4137 (tramp-handle-verify-visited-file-modtime)
4138 (tramp-handle-file-notify-valid-p, tramp-accept-process-output)
4139 (tramp-check-for-regexp, tramp-wait-for-regexp)
4140 (tramp-send-string, tramp-mode-string-to-int)
4141 (tramp-get-local-gid, tramp-check-cached-permissions)
4142 (tramp-get-remote-tmpdir, tramp-make-tramp-temp-file)
4143 (auto-save-file-name-transforms)
4144 (tramp-handle-make-auto-save-file-name, tramp-read-passwd)
4145 (tramp-clear-passwd, tramp-time-diff):
4146 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp)
4147 (directory-sep-char, tramp-adb-file-name-handler-alist)
4148 (tramp-adb-parse-device-names)
4149 (tramp-adb-handle-expand-file-name)
4150 (tramp-adb-handle-file-truename, tramp-adb--gnu-switches-to-ash)
4151 (tramp-adb-handle-file-local-copy)
4152 (tramp-adb-handle-write-region, tramp-adb-handle-set-file-modes)
4153 (tramp-adb-handle-rename-file, tramp-adb-handle-process-file)
4154 (tramp-adb-handle-shell-command)
4155 (tramp-adb-handle-start-file-process, tramp-adb-get-device)
4156 (tramp-adb-maybe-open-connection):
4157 * lisp/net/tramp-cache.el (tramp-persistency-file-name)
4158 (tramp-cache-print):
4159 * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections)
4160 (tramp-bug, tramp-reporter-dump-variable)
4161 (tramp-load-report-modules, tramp-append-tramp-buffers):
4162 * lisp/net/tramp-compat.el (tramp-compat-funcall)
4163 (tramp-advice-file-expand-wildcards)
4164 (tramp-compat-temporary-file-directory)
4165 (tramp-compat-make-temp-file, tramp-compat-copy-file)
4166 (tramp-compat-delete-directory, )
4167 (tramp-compat-process-running-p):
4168 * lisp/net/tramp-ftp.el (tramp-methods) <ftp>:
4169 (tramp-default-method-alist, tramp-foreign-file-name-handler-alist):
4170 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4171 (tramp-gvfs-do-copy-or-rename-file, tramp-gvfs-handle-copy-file)
4172 (tramp-gvfs-handle-file-local-copy)
4173 (tramp-gvfs-handle-file-name-all-completions)
4174 (tramp-gvfs-handle-file-notify-add-watch)
4175 (tramp-gvfs-monitor-file-process-filter)
4176 (tramp-gvfs-handle-file-readable-p)
4177 (tramp-gvfs-handle-rename-file, tramp-gvfs-handle-write-region)
4178 (tramp-gvfs-file-name, tramp-gvfs-handler-askquestion)
4179 (tramp-gvfs-maybe-open-connection)
4180 (tramp-gvfs-parse-device-names):
4181 * lisp/net/tramp-gw.el (tramp-gw-aux-proc-sentinel)
4182 (tramp-gw-open-connection, tramp-gw-open-network-stream):
4183 * lisp/net/tramp-sh.el (directory-sep-char)
4184 (tramp-sh-file-name-handler-alist)
4185 (tramp-sh-handle-file-truename)
4186 (tramp-sh-handle-set-visited-file-modtime)
4187 (tramp-sh-handle-verify-visited-file-modtime)
4188 (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times)
4189 (tramp-sh-handle-file-acl)
4190 (tramp-sh-handle-file-name-all-completions)
4191 (tramp-sh-handle-copy-file, tramp-sh-handle-rename-file)
4192 (tramp-do-copy-or-rename-file-directly)
4193 (tramp-do-copy-or-rename-file-out-of-band)
4194 (dired-compress-file-suffixes, dired-remove-file)
4195 (tramp-sh-handle-dired-compress-file)
4196 (tramp-sh-handle-insert-directory)
4197 (tramp-sh-handle-expand-file-name)
4198 (tramp-sh-handle-start-file-process)
4199 (tramp-sh-handle-process-file, tramp-sh-handle-file-local-copy)
4200 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4201 (tramp-sh-handle-file-notify-add-watch)
4202 (tramp-sh-gvfs-monitor-dir-process-filter)
4203 (tramp-sh-inotifywait-process-filter, tramp-maybe-send-script)
4204 (tramp-find-executable)
4205 (tramp-open-connection-setup-interactive-shell)
4206 (tramp-find-inline-encoding, tramp-compute-multi-hops)
4207 (tramp-maybe-open-connection, tramp-convert-file-attributes)
4208 (tramp-get-remote-path, tramp-get-remote-touch):
4209 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4210 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4211 (tramp-smb-handle-delete-directory)
4212 (tramp-smb-handle-directory-files, tramp-smb-handle-file-acl)
4213 (tramp-smb-handle-make-directory-internal)
4214 (tramp-smb-handle-process-file, tramp-smb-handle-rename-file)
4215 (tramp-smb-handle-set-file-acl, tramp-smb-handle-set-file-modes)
4216 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
4217 (tramp-smb-get-cifs-capabilities)
4218 (tramp-smb-maybe-open-connection):
4219 * lisp/net/trampver.el (tramp-repository-get-version):
4220 Remove XEmacs compat code.
4221
4222 * lisp/net/tramp-cmds.el (mml-mode, mml-insert-empty-tag)
4223 (reporter-dump-variable): Declare functions.
4224
4225 * lisp/net/tramp.el (tramp-bkup-backup-directory-info)
4226 (tramp-advice-minibuffer-electric-separator)
4227 (tramp-advice-minibuffer-electric-tilde)
4228 (tramp-handle-unhandled-file-name-directory):
4229 * lisp/net/tramp-compat.el (tramp-compat-with-temp-message)
4230 (tramp-compat-font-lock-add-keywords)
4231 (tramp-compat-load, tramp-compat-number-sequence)
4232 (tramp-compat-split-string, tramp-compat-delete-dups):
4233 * lisp/net/tramp-sh.el (tramp-sh-handle-insert-file-contents-literally):
4234 Remove.
4235
4236 * lisp/net/tramp-sh.el (tramp-methods) <psftp>: This does not work
4237 recursively.
4238
4239 2016-01-14 K. Handa <handa@gnu.org>
4240
4241 fix previous change of src/ftfont.c (ftfont_shape_by_flt)
4242
4243 * src/ftfont.c (ftfont_shape_by_flt): Fix previous change. Access the
4244 second glyph only when there are enough glyphs.
4245
4246 2016-01-13 Glenn Morris <rgm@gnu.org>
4247
4248 * src/buffer.c (Fset_buffer_major_mode): Allow default major-mode,
4249
4250 or its hook, to move point. (Bug#22348)
4251
4252 2016-01-12 Michael Albinus <michael.albinus@gmx.de>
4253
4254 Merge missing commit from emacs-25 branch
4255
4256 * test/Makefile.in (SELECTOR_DEFAULT, SELECTOR_EXPENSIVE, SELECTOR):
4257 New variables.
4258 (check-expensive, check-doit): New targets.
4259
4260 * Makefile.in (check-expensive): New target.
4261
4262 * test/lisp/autorevert-tests.el
4263 (auto-revert-test01-auto-revert-several-files):
4264 * test/lisp/filenotify-tests.el (file-notify--deftest-remote)
4265 (file-notify-test06-many-events):
4266 * test/lisp/net/tramp-tests.el (tramp-test26-process-file)
4267 (tramp-test27-start-file-process, tramp-test28-shell-command)
4268 (tramp-test29-vc-registered)
4269 (tramp-test31-special-characters-with-stat)
4270 (tramp-test31-special-characters-with-perl)
4271 (tramp-test31-special-characters-with-ls)
4272 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
4273 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
4274 (tramp-test35-unload): Tag the tests as :expensive-test.
4275
4276 2016-01-12 John Wiegley <johnw@newartisans.com>
4277
4278 Merge from origin/emacs-25
4279
4280 1f6898d test/automated/vc-hg.el: Support out-of-tree build
4281 3adb56e Minor change in tramp-tests.el
4282 2b535ba ; * etc/NEWS: Update the js.el entry.
4283 76b518c * etc/HELLO: Add Armenian and Mongolian greetings.
4284 b51f1ef Java Mode: Fontify identifiers in the presence of annotations.
4285 36b9539 Avoid an infloop when we run out of memory
4286 2006752 Avoid unnecessary failures of auto-saving after fatal error
4287 eef6784 Simplify HAVE_MODULES use in mark_maybe_pointer
4288 552694a Revert attempt to use 'noexcept' in typedef
4289 6ad0d39 Update documentation of 'indirect-function'
4290 c6a5314 ; * etc/NEWS: Move entry of 'inhibit-point-motion-hooks'.
4291 303141a Update documentation for obsoleting 'syntax-begin-function'
4292 4e6f61c ; * etc/NEWS: Mark documented and not-to-be-documented entries.
4293 e667bbb Document new features if Eshell
4294 9c4e4e0 ; * etc/NEWS: Update EUDC entries.
4295 1089dc9 Handle too long commands in Tramp
4296 684eb58 * .gitattributes: *.cur and *.pif are binary files too.
4297 d2c7fda * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
4298 bd3f53d * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
4299 09b2b8a * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
4300 cca0f93 ; Account for spaces before the filename
4301 c71e1e8 Use short date for 'hg annotate', and output the author
4302 f50027b Spelling fix
4303 c7dff67 ; * etc/NEWS: Fix the Xref entries that got separated.
4304 cc140bc Document user-level functions in project.el
4305 f8208b6 Document the user-level features of the Xref package
4306 b131fb8 * loading.texi: Add `define-type' entry for load-history
4307 db3c2a8 Improve doc strings and prompts in xref.el
4308 f6117ef Allow the use of `font-lock-extend-region-multiline' in CC Mode.
4309 90fd798 Fix coding system for Tramp on OS X.
4310 e985a0e ; * etc/NEWS: Mark the 'check-expensive' entry not to be documented.
4311 9dfcbf0 Update 'load-history' docs
4312 207e191 Fix (error ...) error
4313 457738f Correctly analyze brace arguments in templated C++ function declarations.
4314 d57724a * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
4315 2a9532d * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
4316 1a6b084 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
4317 8be046f Respect fontification region calculated by major mode. Fixes bug #22316.
4318 4b37cba Improve documentation of Delete Selection mode
4319 a034dd3 Fix two project-find-file issues
4320 30abf29 Clarify doc string of 'dired-current-directory'
4321 e990bb2 Use the face of preceding text for displaying the ellipsis
4322 5810ac3 Suppress Chinese file name test for OSX in tramp-tests.el
4323 eeb710a ; * lisp/startup.el: Sentences end with two spaces.
4324 428b3de * admin/admin.el (set-version): Also handle the NEWS file.
4325 648de81 ; Add NEWS entry for project.el
4326 671862f apropos-library: Skip obvious duplicates; don't error on generics
4327 51668a5 ; Grammar fix
4328 ed41d11 Add project-find-file and project-or-external-find-file
4329 056da45 ; Improve commentary in 'setup_for_ellipsis'
4330 269d008 ; Improve docstring for `inhibit-startup-echo-area-message'
4331
4332 2016-01-12 John Wiegley <johnw@newartisans.com>
4333
4334 Merge from origin/emacs-25
4335
4336 ce4a052 Add defvar-local to lisp-imenu-generic-expression
4337 a0121bc Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
4338 76fe2d5 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
4339 1ae088f * lisp/emacs-lisp/autoload.el (autoload-find-destination):
4340 b6b47af Properly encode/decode base64Binary data in SOAP
4341 c632466 Obey coding-system-for-write when writing stdout/stderr in batch
4342 2f32cb5 * doc/misc/efaq.texi (Packages that do not come with Emacs):
4343 Update the URI of MELPA and marmalade-repo.
4344 Reported by CHENG Goa <chenggao@royau.me> in
4345 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
4346 d2937aa * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
4347 5330c25 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
4348 7380990 Remove function wrongly on AWK Mode value of context
4349 fontification hook.
4350 d400753 * src/buffer.c: Stick with ASCII in doc string.
4351 221240c Reword transient-mark-mode doc string
4352 977d3ea Update doc string of 'selective-display'
4353 229c3fa Make C++ buffers writeable when writing their initial text
4354 properties.
4355 f5c762c Additional changes for "make check-expensive"
4356 1729cf3 ; * admin/MAINTAINERS: Remove myself.
4357 33219d3 Apply text properties for <, > in new after-change function
4358 (C++ Java Modes).
4359
4360 2016-01-12 John Wiegley <johnw@newartisans.com>
4361
4362 Merge from origin/emacs-25
4363
4364 9fb185a shr-tag-video bug fix
4365 6300655 Minor fixes in tramp-tests.el
4366 50575b1 Ensure redisplay when 'truncate-lines' is set
4367 0d9e80d Fix a doc string of 'transient-mark-mode'
4368 0000ae5 MS-Windows followup to latest gnulib update
4369 4bc5e02 Spelling fix
4370 f1093f7 Do secure signed Bcc handling
4371
4372 2016-01-12 John Wiegley <johnw@newartisans.com>
4373
4374 Merge from origin/emacs-25
4375
4376 861022f * doc/misc/texinfo.tex: Revert unwanted copyright change.
4377 46e47a5 ; * etc/refcards/ru-refcard.tex (cyear): Update via M-x set-copyright.
4378 71ea138 * lisp/align.el (align): Simplify a lambda
4379 5618a50 * lisp/align.el (align): Fix arg order in call to `align-region'
4380 1f680db Fix compilation next-error in buffers with selective-display
4381 d20a948 * nsm.el (nsm-check-protocol): Fix typo in the message.
4382 1da116f Add SHA1 warnings for high network security settings
4383 e48bacd ; * etc/NEWS: Typo fix.
4384
4385 2016-01-12 John Wiegley <johnw@newartisans.com>
4386
4387 Merge from origin/emacs-25
4388
4389 43662a2 ; Clarify that xref is still experimental
4390 0a6e6ca ; * admin/release-process: Remove some obsolete records.
4391 c2e9e3d * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
4392 8637f3d (semantic-symref-derive-find-filepatterns): Return a list
4393 0a7ad07 ; Re-arrange xref-related entries in NEWS.
4394 fe903ef Fix xref-find-references on MS-Windows
4395 55a28d8 ; Fixed visual bell artifact problem on NextStep.
4396 d064034 Document new features of tildify-mode
4397 964bea7 Document new features of Whitespace mode
4398 cd68f47 Improve documentation of new Hide-IfDef features
4399 723b8bf Fix regression in font-locking cl-assert and cl-check-type
4400
4401 2016-01-12 John Wiegley <johnw@newartisans.com>
4402
4403 Merge from origin/emacs-25
4404
4405 ef33bc7 Spelling and grammar fixes
4406 9c3dbab Fix copyright years by hand
4407 0e96320 Update copyright year to 2016
4408
4409 2016-01-12 John Wiegley <johnw@newartisans.com>
4410
4411 Merge from origin/emacs-25
4412
4413 9ee6ecb lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
4414 526d80c Port chart.el methods to cl-generic.
4415 410bb69 Add nt/INSTALL.W64 build instructions
4416 8f5b524 Add new input method 'programmer-dvorak'
4417 6d11f6e Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
4418 bb83bb1 Fix EWW rendering of long RTL lines
4419 b1a8509 fix bug#21054
4420 ce5ad12 Clean up cairo printing code
4421
4422 2016-01-12 John Wiegley <johnw@newartisans.com>
4423
4424 Merge from origin/emacs-25
4425
4426 6ee327d Add handle_user_signal_hook
4427 47580e0 Avoid writing to purespace
4428 0588be7 Remove unused variable
4429 89e7483 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
4430 3b95e9c Use posix_openpt instead of openpty on Darwin
4431 86312ff Document support for ':documentation' in Lisp mode
4432 c930e75b Document new features of TeX mode
4433 7c83d84 Clarify docs of hscroll in RTL text
4434 4c8f8db Fix rendering of HTML pages that use character composition
4435 a8d37ca Avoid some compiler warnings in w32.c
4436 ce106f3de Undo ill-advised change
4437 be0bba4 Unbreak completion in python-mode buffers
4438
4439 2016-01-11 Dmitry Gutov <dgutov@yandex.ru>
4440
4441 test/automated/vc-hg.el: Support out-of-tree build
4442
4443 * test/automated/vc-hg.el
4444 (vc-hg-annotate-extract-revision-at-line-with-filename)
4445 (vc-hg-annotate-extract-revision-at-line-with-both):
4446 Don't refer to source-directory.
4447 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00755.html
4448
4449 2016-01-11 Michael Albinus <michael.albinus@gmx.de>
4450
4451 Minor change in tramp-tests.el
4452
4453 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
4454 Use `dired-uncache' instead of a Tramp internal function.
4455
4456 2016-01-11 Peter Feigl <peter.feigl@nexoid.at>
4457
4458 * etc/HELLO: Add Armenian and Mongolian greetings.
4459
4460 (Bug#22346)
4461
4462 2016-01-11 Alan Mackenzie <acm@muc.de>
4463
4464 Java Mode: Fontify identifiers in the presence of annotations.
4465
4466 * lisp/progmodes/cc-engine.el (c-forward-annotation): Tidy up the coding:
4467 Don't move point when the defun fails.
4468 (c-forward-decl-or-cast-1): Correct a usage of match data.
4469
4470 * lisp/progmodes/cc-fonts.el (c-font-lock-maybe-decl-faces): Remove.
4471 (c-font-lock-declarations): Use the new c-maybe-decl-faces in place of the
4472 removed variable.
4473
4474 * lisp/progmodes/cc-langs.el (c-maybe-decl-faces): New language variable.
4475
4476 2016-01-11 Eli Zaretskii <eliz@gnu.org>
4477
4478 Avoid an infloop when we run out of memory
4479
4480 * src/alloc.c (garbage_collect_1): Don't bother saving and
4481 restoring the echo-area message if we are GC'ing after running out
4482 of memory. This avoids an infloop due to repeated attempts to
4483 allocate memory for the cons cell needed to save the message,
4484 which signals the memory-full error, which attempts to save the
4485 echo-area message, which signals memory-full again, etc.
4486
4487 2016-01-11 Eli Zaretskii <eliz@gnu.org>
4488
4489 Avoid unnecessary failures of auto-saving after fatal error
4490
4491 * src/w32.c (map_w32_filename): Avoid non-trivial system calls for
4492 the benefit of FAT volumes if we are called as part of shutting
4493 down due to a fatal error, which probably means we are trying to
4494 auto-save the session.
4495 * src/lread.c (check_obarray): Don't bother making the obarray
4496 valid if we are shutting down due to a fatal error. This avoids
4497 interfering with auto-saving the crashed session.
4498
4499 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
4500
4501 Simplify HAVE_MODULES use in mark_maybe_pointer
4502
4503 * src/alloc.c (HAVE_MODULES): Now a constant 0 if not defined,
4504 so that later code can use 'if' rather than '#ifdef'.
4505 (mark_maybe_pointer): Simplify based on HAVE_MODULES now
4506 always working.
4507
4508 2016-01-11 Paul Eggert <eggert@cs.ucla.edu>
4509
4510 Revert attempt to use 'noexcept' in typedef
4511
4512 This use of 'noexcept' runs afoul of the C++11 standard.
4513 Problem reported by Philipp Stephani in:
4514 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00706.html
4515 * src/emacs-module.c (emacs_finalizer_function):
4516 Move this typedef here ...
4517 * src/emacs-module.h: ... from here, and use only the C
4518 version of the typedef. The typedef is now private since it
4519 is never used in the .h file now and anyway it seemed to be
4520 causing more confusion than it cured.
4521 (make_user_ptr, get_user_finalizer, set_user_finalizer):
4522 Open-code the type instead.
4523
4524 2016-01-10 Eli Zaretskii <eliz@gnu.org>
4525
4526 Update documentation of 'indirect-function'
4527
4528 * doc/lispref/eval.texi (Function Indirection): Update the
4529 documentation of 'indirect-function'.
4530
4531 2016-01-10 Eli Zaretskii <eliz@gnu.org>
4532
4533 Update documentation for obsoleting 'syntax-begin-function'
4534
4535 * doc/lispref/syntax.texi (Position Parse): Undocument
4536 'syntax-begin-function' that is now obsolete.
4537
4538 2016-01-10 Eli Zaretskii <eliz@gnu.org>
4539
4540 Document new features if Eshell
4541
4542 * doc/misc/eshell.texi (Input/Output): Document the new
4543 '#<bufname>' syntax.
4544 (Input/Output): Document 'eshell-destroy-buffer-when-process-dies'.
4545 Disable "Key Index" generation, as there are no @kindex entries in
4546 this manual.
4547
4548 2016-01-10 Michael Albinus <michael.albinus@gmx.de>
4549
4550 Handle too long commands in Tramp
4551
4552 * lisp/net/tramp-sh.el (tramp-sh-handle-make-symbolic-link)
4553 (tramp-do-file-attributes-with-ls): Send sequence of commands, in
4554 order to not exceed shell command line limit.
4555
4556 * test/automated/tramp-tests.el (tramp--test-darwin-p): Remove.
4557 (tramp--test-utf8): Include Arabic file name, again.
4558
4559 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
4560
4561 * .gitattributes: *.cur and *.pif are binary files too.
4562
4563 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * src/alloc.c (mark_maybe_pointer): HAVE_MODULES may be undefined
4566
4567 2016-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4568
4569 * sh-script.el (sh-smie-sh-rules): Improve indentation inside $(...)
4570
4571 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Improve indentation
4572 within $(...).
4573 * test/indent/shell.sh: Add corresponding test.
4574
4575 2016-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * src/alloc.c (mark_maybe_pointer): Also check wide-int's emacs_value
4578
4579 (mark_memory): Simplify loop. Don't assume a pointer-sized word can be
4580 cast to Lisp_Object.
4581
4582 2016-01-09 Dmitry Gutov <dgutov@yandex.ru>
4583
4584 Use short date for 'hg annotate', and output the author
4585
4586 * lisp/vc/vc-hg.el (vc-hg-annotate-command):
4587 Change '-d' to '-dq'. (Bug#21805)
4588 (vc-hg-annotate-switches): Default to "-u" "--follow".
4589 (vc-hg-annotate-re): Update to recognize the short date format
4590 and the optional username.
4591 (vc-hg-annotate-time)
4592 (vc-hg-annotate-extract-revision-at-line): Update accordingly.
4593
4594 * test/automated/vc-hg.el: New file.
4595
4596 2016-01-09 Paul Eggert <eggert@cs.ucla.edu>
4597
4598 Spelling fix
4599
4600 2016-01-09 Eli Zaretskii <eliz@gnu.org>
4601
4602 Document user-level functions in project.el
4603
4604 * lisp/progmodes/project.el (project-find-file)
4605 (project-or-external-find-file): Add doc strings.
4606
4607 2016-01-09 Eli Zaretskii <eliz@gnu.org>
4608
4609 Document the user-level features of the Xref package
4610
4611 * doc/emacs/maintaining.texi (Maintaining): Add a list of
4612 described features.
4613 (Xref): New section, made out of thoroughly rewritten "Tags"
4614 section.
4615 (Find Identifiers, Looking Up Identifiers, Xref Commands)
4616 (Identifier Search, List Identifiers): New subsections,
4617 incorporating the old tags commands and the new xref commands.
4618 (Tags Tables, Tag Syntax, Create Tags Table, Etags Regexps):
4619 Section and subsections demoted to a lower level.
4620 * doc/emacs/search.texi (Search):
4621 * doc/emacs/windows.texi (Pop Up Window):
4622 * doc/emacs/frames.texi (Creating Frames):
4623 * doc/emacs/programs.texi (Imenu, Symbol Completion):
4624 * doc/emacs/building.texi (Grep Searching):
4625 * doc/emacs/dired.texi (Operating on Files):
4626 * doc/emacs/glossary.texi (Glossary): All references to tags changed.
4627
4628 2016-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * loading.texi: Add `define-type' entry for load-history
4631
4632 * doc/lispref/loading.texi (Where Defined): Remove incorrect
4633 cl-defmethod description, and add missing define-type entry.
4634
4635 2016-01-09 Eli Zaretskii <eliz@gnu.org>
4636
4637 Improve doc strings and prompts in xref.el
4638
4639 * lisp/progmodes/xref.el (xref-backend-functions)
4640 (xref-find-definitions): Doc fixes.
4641 (xref-query-replace): Doc fix. Improve prompts for arguments.
4642
4643 2016-01-09 Alan Mackenzie <acm@muc.de>
4644
4645 Allow the use of `font-lock-extend-region-multiline' in CC Mode.
4646
4647 * lisp/progmodes/cc-mode.el (c-font-lock-init): Remove
4648 `font-lock-extend-regions-wholelines' from
4649 `font-lock-extend-region-functions' rather than setting the latter to
4650 nil.
4651
4652 2016-01-09 Michael Albinus <michael.albinus@gmx.de>
4653
4654 Fix coding system for Tramp on OS X.
4655
4656 * lisp/net/tramp-compat.el: Require ucs-normalize.
4657
4658 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4659 Set coding system to `utf-8-hfs' for Mac OS X.
4660
4661 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
4662 Flush directory properties when needed.
4663 (tramp--test-utf8): Include Chinese file name, again.
4664
4665 2016-01-09 Eli Zaretskii <eliz@gnu.org>
4666
4667 Update 'load-history' docs
4668
4669 * doc/lispref/loading.texi (Where Defined): Update the list of
4670 forms in 'load-history' by adding the forms created for the
4671 'cl-generic' generics. (Bug#21422)
4672
4673 2016-01-08 Paul Eggert <eggert@cs.ucla.edu>
4674
4675 Fix (error ...) error
4676
4677 Problem reported by Glenn Morris in:
4678 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00561.html
4679 * lisp/vc/add-log.el (change-log-goto-source): Fix typos
4680 introduced in my Aug 28 change, where I got confused by the
4681 two meanings of (error ...).
4682
4683 2016-01-08 Alan Mackenzie <acm@muc.de>
4684
4685 Correctly analyze brace arguments in templated C++ function declarations.
4686
4687 * lisp/progmodes/cc-defs.el (c-go-list-forward, c-go-list-backward): add
4688 POS and LIMIT parameters, like the other c-go-list-* functions have.
4689
4690 * lisp/progmodes/cc-engine.el (c-restore-<>-properties): Check backwards
4691 for a ?\( rather than a ?<. (c-looking-at-inexpr-block): Handle names
4692 followed by template specifiers.
4693
4694 2016-01-08 Glenn Morris <rgm@gnu.org>
4695
4696 * lisp/cedet/mode-local.el (describe-function-orig-buffer): Declare.
4697
4698 * lisp/ffap.el (ffap-latex-mode): Avoid free variable.
4699
4700 2016-01-08 Mark Oteiza <mvoteiza@udel.edu>
4701
4702 * lisp/play/dunnet.el (dun-fix-screen): Avoid `end-of-buffer`.
4703
4704 2016-01-08 Alan Mackenzie <acm@muc.de>
4705
4706 Respect fontification region calculated by major mode. Fixes bug #22316.
4707
4708 * lisp/font-lock.el (font-lock-extend-jit-lock-region-after-change): when a
4709 fontification region has been calculated by a function on
4710 font-lock-extend-after-change-region-function use this region rather than
4711 changing the end position to somewhere else.
4712
4713 2016-01-08 Eli Zaretskii <eliz@gnu.org>
4714
4715 Improve documentation of Delete Selection mode
4716
4717 * lisp/delsel.el (delete-selection-mode)
4718 (delete-selection-helper): Update and expand the doc strings.
4719 (Bug#22296)
4720
4721 * doc/emacs/mark.texi (Using Region): Document the behavior of
4722 delete commands in Delete Selection mode. (Bug#22296)
4723
4724 * doc/lispref/markers.texi (The Mark): Document how to add the
4725 support for Delete Selection mode to Lisp programs. (Bug#22296)
4726
4727 2016-01-08 Dmitry Gutov <dgutov@yandex.ru>
4728
4729 Fix two project-find-file issues
4730
4731 * lisp/progmodes/project.el (project--value-in-dir):
4732 Temporarily set enable-local-variables to :all.
4733 (project-find-file, project-or-external-find-file):
4734 All autoloads.
4735 (project--find-file-in): Require xref.
4736
4737 2016-01-08 Eli Zaretskii <eliz@gnu.org>
4738
4739 Clarify doc string of 'dired-current-directory'
4740
4741 * lisp/dired.el (dired-current-directory): Doc fix: clarify that
4742 the return value might not end in a slash when called with the
4743 optional argument non-nil. (Bug#6273)
4744
4745 2016-01-08 Eli Zaretskii <eliz@gnu.org>
4746
4747 Use the face of preceding text for displaying the ellipsis
4748
4749 * src/xdisp.c (setup_for_ellipsis): Use the face of the preceding
4750 text in it->saved_face_id for displaying the ellipsis, and ignore
4751 the face, if any, of the invisible text. (Bug#22320)
4752
4753 2016-01-08 Michael Albinus <michael.albinus@gmx.de>
4754
4755 Suppress Chinese file name test for OSX in tramp-tests.el
4756
4757 * test/automated/tramp-tests.el (tramp--test-utf8):
4758 Remove instrumentation. Suppress Chinese file name test for OSX.
4759
4760 2016-01-07 Glenn Morris <rgm@gnu.org>
4761
4762 * admin/admin.el (set-version): Also handle the NEWS file.
4763
4764 2016-01-07 Dmitry Gutov <dgutov@yandex.ru>
4765
4766 apropos-library: Skip obvious duplicates; don't error on generics
4767
4768 * lisp/apropos.el (apropos-library): Skip "was an autoload"
4769 entries, to avoid obvious duplicates. For each cl-defmethod
4770 entry, take just its function symbol (bug#21422).
4771
4772 2016-01-07 Dmitry Gutov <dgutov@yandex.ru>
4773
4774 Add project-find-file and project-or-external-find-file
4775
4776 * lisp/minibuffer.el (completion-category-defaults):
4777 Add `project-file' category.
4778
4779 * lisp/progmodes/project.el (project-find-file)
4780 (project-or-external-find-file): New commands.
4781 (project--find-file-in): New private function.
4782
4783 * lisp/progmodes/xref.el (xref-collect-matches): Use
4784 `expand-file-name' on DIR, to expand the tildes.
4785 (xref--find-ignores-arguments): Extract from
4786 `xref--rgrep-command'.
4787
4788 2016-01-06 Leo Liu <sdl.web@gmail.com>
4789
4790 Add defvar-local to lisp-imenu-generic-expression
4791
4792 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
4793 defvar-local.
4794
4795 2016-01-06 Leo Liu <sdl.web@gmail.com>
4796
4797 Revert commit b1e3d14845517bfa9fa5d6d3840f3ab3160306fd
4798
4799 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
4800 Don't declare (indent 1).
4801
4802 2016-01-06 Glenn Morris <rgm@gnu.org>
4803
4804 * lisp/emacs-lisp/autoload.el (autoload-find-destination): Doc fix.
4805
4806 2016-01-06 Glenn Morris <rgm@gnu.org>
4807
4808 * lisp/emacs-lisp/autoload.el (autoload-find-destination):
4809
4810 Avoid specifying the length of a time object (it has not been "2"
4811 for some time).
4812
4813 2016-01-06 Andreas Schwab <schwab@linux-m68k.org>
4814
4815 Properly encode/decode base64Binary data in SOAP
4816
4817 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Encode
4818 base64Binary value as utf-8.
4819 (soap-decode-xs-basic-type): Decode base64Binary value as utf-8.
4820
4821 2016-01-06 Eli Zaretskii <eliz@gnu.org>
4822
4823 Obey coding-system-for-write when writing stdout/stderr in batch
4824
4825 * src/print.c (printchar_to_stream):
4826 * src/xdisp.c (message_to_stderr): If coding-system-for-write has
4827 a non-nil value, use it to encode output in preference to
4828 locale-coding-system. See the discussions in
4829 http://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00048.html
4830 for the details.
4831
4832 * doc/lispref/os.texi (Terminal Output): Document how to send
4833 non-ASCII text via 'send-string-to-terminal'.
4834 (Batch Mode): Document how text written to standard streams is
4835 encoded. Fix inaccuracy regarding which output streams are used
4836 by output functions in batch mode.
4837
4838 2016-01-06 Xue Fuqiao <xfq.free@gmail.com>
4839
4840 * doc/misc/efaq.texi (Packages that do not come with Emacs):
4841 Update the URI of MELPA and marmalade-repo. Reported by CHENG Gao
4842 <chenggao@royau.me> in
4843 https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00390.html.
4844
4845 2016-01-05 Maksim Golubev <maksim.golubev72@gmail.com> (tiny change)
4846
4847 * lisp/progmodes/opascal.el (opascal-mode-syntax-table):
4848
4849 Fix backslash. (Bug#22224)
4850
4851 2016-01-05 Federico Beffa <beffa@ieee.org> (tiny change)
4852
4853 * lisp/progmodes/xscheme.el (xscheme-prompt-for-expression-exit):
4854
4855 Make it actually work. (Bug#22265)
4856
4857 2016-01-05 Alan Mackenzie <acm@muc.de>
4858
4859 Remove function wrongly on AWK Mode value of context fontification hook.
4860
4861 * lisp/progmodes/cc-langs.el (c-before-context-fontification-functions):
4862 swap order of entries so that awk's entry isn't superseded by the default.
4863
4864 * lisp/progmodes/cc-mode.el (c-before-context-fl-expand-region): Correct
4865 to handle nil value of c-before-context-fontification-functions.
4866
4867 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
4868
4869 * src/buffer.c: Stick with ASCII in doc string.
4870
4871 2016-01-05 Paul Eggert <eggert@cs.ucla.edu>
4872
4873 Reword transient-mark-mode doc string
4874
4875 * src/buffer.c (syms_of_buffer): Reword doc string to avoid confusion.
4876 The value 'lambda (literally) can be interpreted as (quote lambda),
4877 which is not intended here; we want just the lambda symbol.
4878
4879 2016-01-05 Eli Zaretskii <eliz@gnu.org>
4880
4881 Update doc string of 'selective-display'
4882
4883 * src/buffer.c (syms_of_buffer) <selective-display>: Say that
4884 using it with the value of 't' is obsolete. (Bug#1092)
4885
4886 2016-01-05 Alan Mackenzie <acm@muc.de>
4887
4888 Make C++ buffers writeable when writing their initial text properties.
4889
4890 This is a correction to yesterday's CC Mode patch.
4891
4892 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Put
4893 c-save-buffer-state around the function rather than a mere `let'.
4894
4895 2016-01-05 Michael Albinus <michael.albinus@gmx.de>
4896
4897 Additional changes for "make check-expensive"
4898
4899 * CONTRIBUTE : Encourage use of ":tags '(:expensive-test)".
4900 Explain make target `check-expensive'.
4901
4902 * etc/NEWS: Mention new make target `check-expensive'.
4903
4904 * test/automated/Makefile.in (check-doit): New target.
4905 (check, check-expensive): Use it.
4906
4907 2016-01-04 Alan Mackenzie <acm@muc.de>
4908
4909 Apply text properties for <, > in new after-change function (C++ Java Modes).
4910
4911 These are category/syntax-table properties to give < and > paren syntax.
4912 Also apply certain `c-type' text properties to the insides of <..> constructs
4913 to ensure that identifiers contained by them get fontified. This patch fixes
4914 bug #681.
4915
4916 * lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Reformulate due to new
4917 after-change action.
4918
4919 * lisp/progmodes/cc-engine.el (c-before-change-check-<>-operators): Expand
4920 change region to include <s and >s which might not be already marked as
4921 parens, rather than just when paren text properties are removed.
4922 (c-restore-<>-properties): New after-change function, which applies text
4923 properties marking < and > with paren syntax.
4924
4925 * lisp/progmodes/cc-fonts.el (c-font-lock-declarations): Ensure `c-type'
4926 properties are applied to the interiors of <...> constructs, to ensure
4927 fontification of identifiers there.
4928
4929 * lisp/progmodes/cc-langs.el (c-before-font-lock-functions): Add
4930 c-restore-<>-properties to this list for C++ and Java.
4931
4932 * lisp/progmodes/cc-mode.el (c-common-init): When invoking
4933 c-before-font-lock-functions, exclude c-restore-<>-properties from the
4934 functions invoked.
4935 (c-before-change): Initialize c-new-BEG/END here (rather than c-after-change)
4936 to allow modification by before-change functions.
4937 (c-after-change): Amend c-new-END here, rather than initializing it and
4938 c-new-BEG.
4939
4940 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
4941
4942 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
4943
4944 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
4945
4946 Introduce check-expensive tests.
4947
4948 * Makefile.in (check-expensive):
4949 * test/automated/Makefile.in (check-expensive): New target.
4950
4951 * test/automated/auto-revert-tests.el
4952 (auto-revert-test01-auto-revert-several-files):
4953 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
4954 * test/automated/tramp-tests.el (tramp-test26-process-file)
4955 (tramp-test27-start-file-process, tramp-test28-shell-command)
4956 (tramp-test29-vc-registered)
4957 (tramp-test31-special-characters-with-stat)
4958 (tramp-test31-special-characters-with-perl)
4959 (tramp-test31-special-characters-with-ls)
4960 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
4961 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
4962 (tramp-test35-unload): Tag the tests as :expensive-test.
4963
4964 2016-01-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4965
4966 shr-tag-video bug fix
4967
4968 * shr.el (shr-tag-video): Protect against the `poster' being
4969 empty.
4970
4971 2016-01-04 Michael Albinus <michael.albinus@gmx.de>
4972
4973 Minor fixes in tramp-tests.el
4974
4975 * test/automated/tramp-tests.el (tramp-test26-process-file):
4976 Move point properly.
4977 (tramp-test29-vc-registered): Work with relative file names.
4978
4979 2016-01-04 Eli Zaretskii <eliz@gnu.org>
4980
4981 Ensure redisplay when 'truncate-lines' is set
4982
4983 * lisp/frame.el (redisplay--variables): Add 'truncate-lines'.
4984 (Bug#22303)
4985
4986 2016-01-04 Eli Zaretskii <eliz@gnu.org>
4987
4988 Fix a doc string of 'transient-mark-mode'
4989
4990 * src/buffer.c (syms_of_buffer) <transient-mark-mode>: Prevent
4991 "lambda" in doc string from becoming a link to lambda expressions.
4992
4993 2016-01-04 Eli Zaretskii <eliz@gnu.org>
4994
4995 MS-Windows followup to latest gnulib update
4996
4997 * nt/gnulib.mk (EXTRA_DIST): Add ignore-value.h.
4998
4999 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
5000
5001 Spelling fix
5002
5003 2016-01-03 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
5004
5005 Do secure signed Bcc handling
5006
5007 * lisp/gnus/message.el (message-send): Do secure signed Bcc handling
5008 (bug#18718).
5009
5010 2016-01-03 Paul Eggert <eggert@cs.ucla.edu>
5011
5012 Avoid stdio in SIGINT handler
5013
5014 * admin/merge-gnulib (GNULIB_MODULES): Add ignore-value.
5015 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
5016 * lib/ignore-value.h: New file, from gnulib.
5017 * src/keyboard.c: Include it.
5018 (write_stdout, read_stdin): New functions.
5019 (handle_interrupt): Use them instead of printf and getchar,
5020 and avoid fflush when handling signals.
5021
5022 2016-01-03 Paul Eggert <eggert@cs.ucla.edu>
5023
5024 * doc/misc/texinfo.tex: Revert unwanted copyright change.
5025
5026 2016-01-03 Artur Malabarba <bruce.connor.am@gmail.com>
5027
5028 * lisp/align.el (align): Simplify a lambda
5029
5030 * lisp/align.el (align): Fix arg order in call to `align-region'
5031
5032 2016-01-03 Eli Zaretskii <eliz@gnu.org>
5033
5034 Fix compilation next-error in buffers with selective-display
5035
5036 * lisp/progmodes/compile.el (compilation-beginning-of-line): New
5037 function.
5038 (compilation-internal-error-properties)
5039 (compilation-next-error-function, compilation-set-window): Use
5040 it. (Bug#1092)
5041
5042 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5043
5044 * nsm.el (nsm-check-protocol): Fix typo in the message.
5045
5046 2016-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5047
5048 Add SHA1 warnings for high network security settings
5049
5050 * nsm.el (nsm-check-protocol): When using high security, warn
5051 about SHA1 certificates, which are now believed to be open to
5052 spoofing.
5053
5054 2016-01-02 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
5055
5056 Refactor mml-smime.el, mml1991.el, mml2015.el
5057
5058 (Maybe this is the last merge from Gnus git to Emacs git)
5059
5060 Cf. discussion on ding mailing list, messages in
5061 <http://thread.gmane.org/gmane.emacs.gnus.general/86228>.
5062 Common code from the three files mml-smime.el, mml1991.el, and
5063 mml2015.el is moved to mml-sec.el. Auxiliary functions are added
5064 to gnus-util.el.
5065
5066 The code is supported by test cases with necessary test keys.
5067
5068 Documentation in message.texi is updated.
5069
5070 * doc/misc/message.texi (Security, Using S/MIME):
5071 Update for refactoring mml-smime.el, mml1991.el, mml2015.el.
5072 (Using OpenPGP): Rename from "Using PGP/MIME"; update contents.
5073 (Passphrase caching, Encrypt-to-self, Bcc Warning): New sections.
5074
5075 * lisp/gnus/gnus-util.el (gnus-test-list, gnus-subsetp, gnus-setdiff):
5076 New functions.
5077
5078 * lisp/gnus/mml-sec.el: Require gnus-util and epg.
5079 (epa--select-keys): Autoload.
5080 (mml-signencrypt-style-alist, mml-secure-cache-passphrase): Doc fix.
5081 (mml-secure-openpgp-signers): New user option;
5082 make mml1991-signers and mml2015-signers obsolete aliases to it.
5083 (mml-secure-smime-signers): New user option;
5084 make mml-smime-signers an obsolete alias to it.
5085 (mml-secure-openpgp-encrypt-to-self): New user option;
5086 make mml1991-encrypt-to-self and mml2015-encrypt-to-self obsolete
5087 aliases to it.
5088 (mml-secure-smime-encrypt-to-self): New user option;
5089 make mml-smime-encrypt-to-self an obsolete alias to it.
5090 (mml-secure-openpgp-sign-with-sender): New user option;
5091 make mml2015-sign-with-sender an obsolete alias to it.
5092 (mml-secure-smime-sign-with-sender): New user option;
5093 make mml-smime-sign-with-sender an obsolete alias to it.
5094 (mml-secure-openpgp-always-trust): New user option;
5095 make mml2015-always-trust an obsolete alias to it.
5096 (mml-secure-fail-when-key-problem, mml-secure-key-preferences):
5097 New user options.
5098 (mml-secure-cust-usage-lookup, mml-secure-cust-fpr-lookup)
5099 (mml-secure-cust-record-keys, mml-secure-cust-remove-keys)
5100 (mml-secure-add-secret-key-id, mml-secure-clear-secret-key-id-list)
5101 (mml-secure-cache-passphrase-p, mml-secure-cache-expiry-interval)
5102 (mml-secure-passphrase-callback, mml-secure-check-user-id)
5103 (mml-secure-secret-key-exists-p, mml-secure-check-sub-key)
5104 (mml-secure-find-usable-keys, mml-secure-select-preferred-keys)
5105 (mml-secure-fingerprint, mml-secure-filter-keys)
5106 (mml-secure-normalize-cust-name, mml-secure-select-keys)
5107 (mml-secure-select-keys-1, mml-secure-signer-names, mml-secure-signers)
5108 (mml-secure-self-recipients, mml-secure-recipients)
5109 (mml-secure-epg-encrypt, mml-secure-epg-sign): New functions.
5110
5111 * lisp/gnus/mml-smime.el: Require epg;
5112 refactor declaration and autoloading of epg functions.
5113 (mml-smime-use): Doc fix.
5114 (mml-smime-cache-passphrase, mml-smime-passphrase-cache-expiry):
5115 Obsolete.
5116 (mml-smime-get-dns-cert, mml-smime-get-ldap-cert):
5117 Use format instead of gnus-format-message.
5118 (mml-smime-epg-secret-key-id-list): Remove variable.
5119 (mml-smime-epg-passphrase-callback, mml-smime-epg-find-usable-key)
5120 (mml-smime-epg-find-usable-secret-key): Remove functions.
5121 (mml-smime-epg-sign, mml-smime-epg-encrypt): Refactor.
5122
5123 * lisp/gnus/mml1991.el (mml1991-cache-passphrase)
5124 (mml1991-passphrase-cache-expiry): Obsolete.
5125 (mml1991-epg-secret-key-id-list): Remove variable.
5126 (mml1991-epg-passphrase-callback, mml1991-epg-find-usable-key)
5127 (mml1991-epg-find-usable-secret-key): Remove functions.
5128 (mml1991-epg-sign, mml1991-epg-encrypt): Refactor.
5129
5130 * lisp/gnus/mml2015.el (mml2015-cache-passphrase)
5131 (mml2015-passphrase-cache-expiry): Obsolete.
5132 (mml2015-epg-secret-key-id-list): Remove variable.
5133 (mml2015-epg-passphrase-callback, mml2015-epg-check-user-id)
5134 (mml2015-epg-check-sub-key, mml2015-epg-find-usable-key)
5135 (mml2015-epg-find-usable-secret-key): Remove functions.
5136 (mml2015-epg-decrypt, mml2015-epg-clear-decrypt, mml2015-epg-sign)
5137 (mml2015-epg-encrypt): Refactor.
5138
5139 2016-01-02 Glenn Morris <rgm@gnu.org>
5140
5141 * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function):
5142
5143 Explicitly ignore case. (Bug#22262)
5144
5145 2016-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 (semantic-symref-derive-find-filepatterns): Return a list
5148
5149 * lisp/cedet/semantic/symref/grep.el
5150 (semantic-symref-derive-find-filepatterns): Return a list.
5151 (semantic-symref-perform-search): Quote the result here once and for all.
5152
5153 2016-01-02 Eli Zaretskii <eliz@gnu.org>
5154
5155 Fix xref-find-references on MS-Windows
5156
5157 * lisp/cedet/semantic/symref/grep.el
5158 (semantic-symref-derive-find-filepatterns): Use
5159 'shell-quote-argument' instead of manually quoting in a way that
5160 only works with Posix shells. (Bug#22289)
5161
5162 2016-01-02 Eli Zaretskii <eliz@gnu.org>
5163
5164 Document new features of tildify-mode
5165
5166 * lisp/textmodes/tildify.el (tildify-foreach-ignore-environments)
5167 (tildify-mode): Spelling fixes in doc strings.
5168
5169 * etc/NEWS: Reformat the tildify-mode entry.
5170
5171 2016-01-02 Eli Zaretskii <eliz@gnu.org>
5172
5173 Document new features of Whitespace mode
5174
5175 * doc/emacs/display.texi (Useless Whitespace): Document
5176 'whitespace-toggle-options' and the new 'big-indent' style.
5177 Document 'whitespace-big-indent-regexp'. Document the Global
5178 Whitespace mode.
5179
5180 2016-01-02 Eli Zaretskii <eliz@gnu.org>
5181
5182 Improve documentation of new Hide-IfDef features
5183
5184 * etc/NEWS: Expand and reword Hide-IfDef section.
5185
5186 2016-01-02 Leo Liu <sdl.web@gmail.com>
5187
5188 Fix regression in font-locking cl-assert and cl-check-type
5189
5190 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix
5191 el-errs-re.
5192
5193 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
5194
5195 Spelling and grammar fixes
5196
5197 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
5198
5199 Fix copyright years by hand
5200
5201 These are dates that admin/update-copyright did not update, or
5202 updated incorrectly.
5203
5204 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
5205
5206 Update copyright year to 2016
5207
5208 Run admin/update-copyright.
5209
5210 2016-01-01 Paul Eggert <eggert@cs.ucla.edu>
5211
5212 Merge from gnulib
5213
5214 This mostly just updates copyright dates of gnulib files.
5215 It also updates to the latest version of texinfo.tex.
5216
5217 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
5218
5219 lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.
5220
5221 2015-12-31 Mark Oteiza <mvoteiza@udel.edu>
5222
5223 Port chart.el methods to cl-generic.
5224
5225 cl-call-next-method cannot be used inside EIEIO's defmethod.
5226 * lisp/emacs-lisp/chart.el: Require cl-generic at compile time.
5227 * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw):
5228 (chart-draw-title, chart-size-in-dir, chart-draw-axis):
5229 (chart-axis-draw, chart-translate-xpos, chart-translate-ypos):
5230 (chart-translate-namezone, chart-draw-data, chart-add-sequence):
5231 (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
5232
5233 2015-12-31 Brian Burns <bburns.km@gmail.com>
5234
5235 Add nt/INSTALL.W64 build instructions
5236
5237 * nt/INSTALL.W64: New file.
5238 * nt/INSTALL: Point to INSTALL.W64 for 64-bit build instructions.
5239
5240 2015-12-31 Joakim Jalap <joakim.jalap@fastmail.com>
5241
5242 Add new input method 'programmer-dvorak'
5243
5244 * lisp/leim/quail/programmer-dvorak.el ("programmer-dvorak"): New
5245 input method.
5246
5247 * etc/NEWS: Mention it.
5248
5249 2015-12-31 Eli Zaretskii <eliz@gnu.org>
5250
5251 Allow to invoke original M-TAB binding in 'flyspell-prog-mode'
5252
5253 * lisp/textmodes/flyspell.el (flyspell-prog-mode): Record the
5254 original M-TAB binding in a buffer-local variable.
5255 (flyspell-auto-correct-word): Invoke the original binding of M-TAB
5256 if that is recorded, when point is in a place where flyspell
5257 should not be active (e.g., because the user turned on
5258 'flyspell-prog-mode'). (Bug#18533)
5259
5260 2015-12-31 Eli Zaretskii <eliz@gnu.org>
5261
5262 Fix EWW rendering of long RTL lines
5263
5264 * lisp/net/shr.el (shr-insert-document): Undo any previous hscroll
5265 of the selected window before filling its lines. (Bug#22250)
5266
5267 2015-12-31 Vincent Belaïche <vincentb1@users.sourceforge.net>
5268
5269 fix bug#21054
5270
5271 * ses.el (ses-check-curcell): Call `ses-set-curcell' unconditionally
5272
5273 2015-12-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5274
5275 Clean up cairo printing code
5276
5277 * src/gtkutil.c (xg_get_page_setup): Use listn.
5278 * src/xfns.c (Fx_export_frames, Fx_print_frames_dialog): Doc fix. Use
5279 decode_window_system_frame and FRAME_VISIBLE_P.
5280 (Fx_print_frames_dialog): Use redisplay_preserve_echo_area instead
5281 of Fdisplay.
5282 * src/xterm.c (x_cr_export_frames): Use redisplay_preserve_echo_area
5283 instead of Fdisplay. Temporarily unblock_input around QUIT.
5284
5285 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5286
5287 Add handle_user_signal_hook
5288
5289 * src/keyboard.h (handle_user_signal_hook): New declaration.
5290 * src/keyboard.c (handle_user_signal_hook): New variable.
5291 (handle_user_signal): Call it.
5292
5293 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5294
5295 Avoid writing to purespace
5296
5297 * src/alloc.c (Fmake_string): Don't write to empty string contents.
5298 (allocate_vector): Don't write to empty vector size.
5299 * src/character.h (CHECK_CHARACTER_CAR, CHECK_CHARACTER_CDR):
5300 Don't call unnecessary XSETCAR or XSETCDR.
5301 * src/lisp.h (STRING_SET_UNIBYTE, STRING_SET_MULTIBYTE): Don't
5302 write to empty string size_byte.
5303
5304 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5305
5306 Remove unused variable
5307
5308 * lisp/international/mule-cmds.el: Remove unused variable
5309 `mac-system-coding-system'.
5310
5311 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5312
5313 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin.
5314
5315 2015-12-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5316
5317 Use posix_openpt instead of openpty on Darwin
5318
5319 * configure.ac (PTY_ITERATION, FIRST_PTY_LETTER, PTY_OPEN)
5320 (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Remove
5321 Darwin-specific definitions. Use posix_openpt instead.
5322
5323 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
5324
5325 Document support for ':documentation' in Lisp mode
5326
5327 * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p)
5328 (lisp-string-after-doc-keyword-p)
5329 (lisp-font-lock-syntactic-face-function): Add doc strings.
5330
5331 2015-12-30 Shakthi Kannan <shakthimaan@gmail.com>
5332
5333 Document new features of TeX mode
5334
5335 * doc/emacs/text.texi (TeX Print): Document
5336 'tex-print-file-extension'.
5337 * doc/emacs/programs.texi (Misc for Programs): Document support
5338 for Prettify Symbols mode in TeX mode.
5339
5340 2015-12-30 Eli Zaretskii <eliz@gnu.org>
5341
5342 Clarify docs of hscroll in RTL text
5343
5344 * doc/lispref/windows.texi (Horizontal Scrolling): Clarify the
5345 meaning of a window's horizontal scroll amount for RTL paragraphs.
5346
5347 2015-12-30 Eli Zaretskii <eliz@gnu.org>
5348
5349 Fix rendering of HTML pages that use character composition
5350
5351 * src/indent.c (Fvertical_motion): Fix the case when point starts
5352 in the middle of a composition, as in shr-vertical-motion.
5353 (Bug#22250)
5354
5355 2015-12-30 Eli Zaretskii <eliz@gnu.org>
5356
5357 Avoid some compiler warnings in w32.c
5358
5359 * src/w32.c (codepage_for_filenames, crlf_to_lf)
5360 (ansi_encode_filename, socket_to_fd, sys_write)
5361 (check_windows_init_file): Avoid compiler warnings about
5362 differences in pointer signedness.
5363
5364 2015-12-29 Dmitry Gutov <dgutov@yandex.ru>
5365
5366 Undo ill-advised change
5367
5368 * lisp/progmodes/xref.el (xref-collect-matches): Undo
5369 ill-advised change. The hits come in the order that `find'
5370 produces them in, which isn't alphabetical.
5371
5372 2015-12-29 Dmitry Gutov <dgutov@yandex.ru>
5373
5374 Unbreak completion in python-mode buffers
5375
5376 * lisp/progmodes/python.el (python-shell-completion-at-point):
5377 Unbreak in python-mode buffers.
5378
5379 2016-01-09 Andrew Hyatt <ahyatt@gmail.com>
5380
5381 Adding example replies to bug-triage.
5382
5383 * admin/notes/bug-triage: Added example replies. Also, as requested,
5384 making the process notes into more of a checklist.
5385
5386 2016-01-08 Andrew Hyatt <ahyatt@gmail.com>
5387
5388 Rename the notes/admin/triage file to bug-triage.
5389
5390 * CONTRIBUTE: Change reference to the triage file name.
5391 * admin/notes/triage: Rename file to admin/notes/bug-triage.
5392
5393 2016-01-07 Glenn Morris <rgm@gnu.org>
5394
5395 Allow creation of loaddefs files without timestamps.
5396
5397 * lisp/emacs-lisp/autoload.el (autoload-timestamps): New variable.
5398 (autoload-generate-file-autoloads, update-directory-autoloads):
5399 If autoload-timestamps is nil, write "t" instead of file timestamp.
5400 (autoload-find-destination, update-directory-autoloads):
5401 If timestamp is "t", use the modtime of the output file instead.
5402
5403 2016-01-06 Glenn Morris <rgm@gnu.org>
5404
5405 Doc tweaks.
5406
5407 * lisp/calendar/cal-hebrew.el (diary-hebrew-list-entries):
5408 * lisp/calendar/cal-iso.el (calendar-iso-to-absolute)
5409 (calendar-iso-from-absolute):
5410 * lisp/calendar/cal-tex.el (cal-tex-comment):
5411 * lisp/calendar/solar.el (calendar-time-display-form): Doc tweaks.
5412
5413 2016-01-06 Glenn Morris <rgm@gnu.org>
5414
5415 Build tweaks related to tags files.
5416
5417 * lib-src/Makefile.in (tagsfiles): New variable.
5418 (TAGS): Also depend on the source files. Use our own etags program.
5419 * lisp/Makefile.in (ETAGS): Add EXEEXT.
5420 (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3, lisptagsfiles4):
5421 Remove.
5422 (tagsfiles): New, replacing lisptagsfiles1 etc.
5423 Remove irrelevant source files here rather than in the TAGS rule.
5424 (${ETAGS}): New rule.
5425 (TAGS): Also depend on the etags executable.
5426 * lwlib/Makefile.in (EXEEXT): New, set by configure.
5427 (ETAGS): Add EXEEXT.
5428 (${ETAGS}): New rule.
5429 (ctagsfiles): Use "wildcard".
5430 (TAGS): Also depend on the etags executable.
5431 * nt/Makefile.in (ETAGS, tagsfiles): New variables.
5432 (${ETAGS}): New rule.
5433 (TAGS): Fix dependencies.
5434 * oldXMenu/Makefile.in (EXEEXT): New, set by configure.
5435 (ETAGS): New variable, replacing $TAGS. Use our own etags program.
5436 Remove "-t" argument.
5437 (${ETAGS}): New rule.
5438 (tagsfiles): New variable.
5439 (TAGS): New rule, with proper dependencies.
5440 * src/Makefile.in (ETAGS): Add EXEEXT. Add a build rule.
5441 (ctagsfiles1, ctagsfiles2): Use "wildcard".
5442 (ctagsfiles3): Remove.
5443 (TAGS): Depend on etags.
5444 (../lisp/TAGS, $(lwlibdir)/TAGS): Let the rules in the relevant
5445 directories decide if updates are needed.
5446
5447 2016-01-06 Glenn Morris <rgm@gnu.org>
5448
5449 * lisp/Makefile.in (CAL_SRC): Skip calendar.el.
5450
5451 2016-01-06 Glenn Morris <rgm@gnu.org>
5452
5453 * test/lisp/emacs-lisp/package-tests.el
5454
5455 (package-test-macro-compilation): Fixup branch merge.
5456
5457 2016-01-05 Eli Zaretskii <eliz@gnu.org>
5458
5459 Fix fallout from merging emacs-25 branch in test/
5460
5461 * .gitignore: Update for the new place of biditest.txt.
5462 * test/automated/: Directory removed. All files moved to their
5463 proper places.
5464 * test/etags/: Directory removed. All files moved to their proper
5465 places.
5466 * test/automated/url-parse-tests.el: File removed; it was an exact
5467 copy of the same file in test/lisp/url/.
5468 * test/automated/url-expand-tests.el: Moved to test/lisp/url/.
5469
5470 2016-01-04 Paul Eggert <eggert@cs.ucla.edu>
5471
5472 Spelling fixes.
5473
5474 2016-01-04 Daniel Colascione <dancol@dancol.org>
5475
5476 Let users disable unsafe signal handling code
5477
5478 * src/keyboard.c (syms_of_keyboard): New user variables
5479 `attempt-stack-overflow-recovery' and
5480 `attempt-orderly-shutdown-on-fatal-signal'.
5481 * src/sysdep.c (stack_overflow): Check
5482 `attempt-stack-overflow-recovery'.
5483 * src/emacs.c (terminate_due_to_signal): Check
5484 `attempt-orderly-shutdown-on-fatal-signal'.
5485
5486 2016-01-03 Michael Albinus <michael.albinus@gmx.de>
5487
5488 * configure.ac: Add error message for gfile on Nextstep.
5489
5490 2016-01-03 John Wiegley <johnw@newartisans.com>
5491
5492 Merge branch 'emacs-25-merge'
5493
5494 2016-01-02 Vincent Belaïche <vincentb1@users.sourceforge.net>
5495
5496 Align textually on fix done for emacs-25 branch for bug#21054
5497
5498 * lisp/ses.el (ses-check-curcell): Suppress ``temporary fix'' comment,
5499 and useless `(if t ...)' in order to align textually on fix done for
5500 emacs-25 branch for bug#21054.
5501
5502 2016-01-02 K. Handa <handa@gnu.org>
5503
5504 support rendering of wider range of combinging characters by ftfont backend
5505
5506 * lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
5507 supports rendering of combining characters, call
5508 font-shape-gstring.
5509
5510 * src/font.c (Ffont_get): Handle `combining-capability' property.
5511 (syms_of_font): New symbol ":combining-capability'.
5512
5513 * src/font.h (struct font_driver): New member combining_capability.
5514
5515 * src/ftfont.c: Include "category.h".
5516 (ftfont_driver): Initialize combining_capability to
5517 ftfont_combining_capability.
5518 (ftfont_shape_by_flt): If OTF is null, try to find a suitable
5519 FLT in advance.
5520 (ftfont_combining_capability): New function.
5521
5522 2016-01-01 Andrew Hyatt <ahyatt@gmail.com>
5523
5524 Add notes on bug triage procedure
5525
5526 * CONTRIBUTE: In section on the issue tracker, point to new triage file.
5527 * admin/notes/triage: New file explaining triage procedure.
5528
5529 2015-12-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
5530
5531 Correct ses-rename-cell cursor-intangible text prop updating.
5532
5533 There were two problems:
5534
5535 - First ses-rename-cell has to work when called non interactively
5536 (with non-nil CELL argument), so in this case the start pos of
5537 put-text-property cannot be plainly (point), you need a
5538 ses-goto-print call before
5539
5540 - Second, the range itself was computed erronously, only the first
5541 char was affected instead of the full cell width. This was not
5542 noticeable prior to changes (Deprecate `intangible' and
5543 `point-entered' properties) made by Stefan on 2015-04-13T19:51:15Z
5544
5545 * lisp/ses.el (ses-rename-cell): Correct computation of position range
5546 to which the 'cursor-intangible text property has to be set to cell
5547 new name.
5548
5549 2015-12-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
5550
5551 Don't fake empty cells value by "" when printing with a lambda.
5552
5553 When using a lambda expression printer function the user should be
5554 free to format differently a really empty cell, ie. containing nil,
5555 from a cell containing an empty string "".
5556
5557 * ses.el (ses-call-printer): Replace `(or value "")' by just `value'
5558 in the case of a lambda expression printer function.
5559
5560 * ses.texi (Printer functions): Add example and description about
5561 lambda expression printer function handling all the possible values,
5562 including unexpected ones.
5563
5564 2015-12-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
5565
5566 Quick temporary hack to fix curcell refreshing.
5567
5568 The problem was caused by change: 2015-04-13 Deprecate `intangible'
5569 and `point-entered' properties. The problem is that this change has
5570 removed the (setq ses--curcell t) setting in the ses-command-hook
5571 function.
5572
5573 * ses.el (ses-check-curcell): replace `(eq ses--curcell t)' by just `t' as
5574 a condition to call function `ses-set-curcell'. Comment this as a quick
5575 temporary hack to make it work, as I don't know yet whether a definite
5576 correction would be to make the ses-set-curcell at every ses-check-curcell,
5577 or to revert to the previous approach, ie marking ses--curcell as out-of-date
5578 at every potentially cursor motion command.
5579
5580 2015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5581
5582 Restrictive URL checking tweaks
5583
5584 * lisp/net/eww.el (eww): Check whether the domain is
5585 restrictive instead of the string
5586 (http://македонија.icom.museum is restrictive even if each
5587 part is from a different script).
5588
5589 2015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5590
5591 New function `puny-highly-restrictive-domain-p'
5592
5593 * lisp/net/puny.el (puny-highly-restrictive-string-p): Rename.
5594 (puny-highly-restrictive-domain-p): New function.
5595
5596 2015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5597
5598 eww build fix (require puny)
5599
5600 2015-12-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5601
5602 Transform non-restrictive domains to punycode for display
5603
5604 * lisp/net/eww.el (eww): Check whether the domain is Highly
5605 Restrictive in the Unicode IDNA sense.
5606
5607 2015-12-30 John Wiegley <johnw@newartisans.com>
5608
5609 Merge emacs-25 into master (using imerge)
5610
5611 2015-12-29 Eli Zaretskii <eliz@gnu.org>
5612
5613 Fix typos in CC Mode manual
5614
5615 * doc/misc/cc-mode.texi (c-offsets-alist, Style Variables): Fix
5616 typos. (Bug#22267)
5617
5618 2015-12-29 Eli Zaretskii <eliz@gnu.org>
5619
5620 Avoid assertion violations in compact_font_cache_entry
5621
5622 * src/alloc.c (compact_font_cache_entry): Don't use VECTORP to
5623 avoid assertion violation in ASIZE. (Bug#22263)
5624
5625 2015-12-29 Eli Zaretskii <eliz@gnu.org>
5626
5627 Fix filling text with bidirectional characters in shr.el
5628
5629 * lisp/net/shr.el (shr-insert-document): Bind
5630 bidi-display-reordering to nil while filling lines. This is
5631 required for when a line includes characters whose bidi
5632 directionality is opposite to the base paragraph direction,
5633 because columns are counted in the logical order. (Bug#22250)
5634
5635 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5636
5637 Further Unicode restrictive fixups
5638
5639 * puny.el (puny-highly-restrictive-p): Include the extra
5640 identifier characters from table 3.
5641
5642 2015-12-29 Martin Rudalics <rudalics@gmx.at>
5643
5644 * src/xfns.c (x_create_tip_frame): Process alpha parameter.
5645
5646 2015-12-29 Michael Albinus <michael.albinus@gmx.de>
5647
5648 Sync with Tramp 2.2.13
5649
5650 * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
5651
5652 * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
5653 Use `tramp-compat-funcall'.
5654
5655 * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
5656 Make `split-string' call compatible with older Emacsen.
5657
5658 * lisp/net/trampver.el: Change version to "2.2.13.25.1".
5659
5660 2015-12-29 Lambda Coder <sjLambda@gmail.com>
5661
5662 * doc/misc/tramp.texi: Editorial revisions to the Tramp manual
5663
5664 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5665
5666 Mention that tls.el is secure by default, and will fail
5667
5668 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5669
5670 Make tls.el use trustfiles by default
5671
5672 * lisp/net/tls.el (tls-program): Add a certfile by default (bug#21227).
5673 (open-tls-stream): Insert the trustfile by looking at
5674 `gnutls-trustfiles'.
5675
5676 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5677
5678 Refactor out gnutls-trustfiles
5679
5680 * lisp/net/gnutls.el (gnutls-trustfiles): Refactor out for reuse by tls.el.
5681
5682 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5683
5684 Remove --insecure from gnutls-cli invocation
5685
5686 * tls.el (tls-program): Default to using secure TLS
5687 connections (bug#19284).
5688
5689 2015-12-29 Lars Ingebrigtsen <larsi@gnus.org>
5690
5691 Add a new function to say whether a string is restrictive
5692
5693 * puny.el (puny-highly-restrictive-p): New function.
5694
5695 2015-12-28 Paul Eggert <eggert@cs.ucla.edu>
5696
5697 Spelling fix
5698
5699 2015-12-28 Paul Eggert <eggert@cs.ucla.edu>
5700
5701 Port report-emacs-bug to deterministic builds
5702
5703 * lisp/mail/emacsbug.el (report-emacs-bug): Future-proof the
5704 recent "built on" change to deterministic builds where
5705 emacs-build-system will be nil. See:
5706 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01369.html
5707
5708 2015-12-28 Jose A. Ortega Ruiz <jao@gnu.org> (tiny change)
5709
5710 Fix URL auth error message
5711
5712 * lisp/url/url-http.el (url-http-handle-authentication): Make the error
5713 message more correct (bug#20069).
5714
5715 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5716
5717 Mention the new puny.el library
5718
5719 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5720
5721 IDNA-related fixes for the URL library
5722
5723 * lisp/url/url-http.el (url-http-create-request): IDNA-encode
5724 the Host: header.
5725
5726 * lisp/url/url-util.el (url-encode-url): Don't hex-encode
5727 domain names, but leave them as UTF-8, so that they can be
5728 IDNA-encoded later when contacting the host.
5729
5730 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5731
5732 IDNA-encode all domain names in `open-network-stream'
5733
5734 * network-stream.el (open-network-stream)
5735 (network-stream-open-plain, network-stream-open-starttls):
5736 IDNA-encode all domain names, if needed.
5737
5738 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5739
5740 Fix puny-encoding all-non-ASCII domains
5741
5742 * puny.el (puny-encode-string): Fix the all-non-ASCII encoding case.
5743
5744 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5745
5746 * lisp/net/shr.el (shr-next-link): Don't bug out on adjacent links.
5747
5748 2015-12-28 Tom Tromey <tom@tromey.com>
5749
5750 set :safe on css-indent-offset
5751
5752 * lisp/textmodes/css-mode.el (css-indent-offset): Add :safe 'integerp.
5753
5754 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5755
5756 * eww.el (eww-mode): Remove superfluous bidi reset.
5757
5758 2015-12-28 James Stout <james.wolf.stout@gmail.com> (tiny change)
5759
5760 Make chunked encoding trailer detection more compliant
5761
5762 * lisp/url/url-http.el
5763 (url-http-chunked-encoding-after-change-function): Make
5764 trailer detection more compliant (bug#16345).
5765
5766 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5767
5768 Reconnect erc even on server errors
5769
5770 * lisp/erc/erc-backend.el (erc-server-reconnect-p): Try to
5771 reconnect even if a server error has occurred (bug#18527).
5772
5773 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5774
5775 Fix punycode short circuit logic
5776
5777 * puny.el (puny-encode-domain): Fix short-circuit logic.
5778
5779 2015-12-28 Martin Rudalics <rudalics@gmx.at>
5780
5781 Fix Bug#10873 in `report-emacs-bug'
5782
5783 * lisp/mail/emacsbug.el (report-emacs-bug): If
5784 `report-emacs-bug-no-explanations' is nil, make sure we can show
5785 mail and warnings buffer on this frame (Bug#10873).
5786
5787 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5788
5789 IDNA speed up
5790
5791 * puny.el (puny-encode-domain): Make the common non-IDNA case faster
5792
5793 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5794
5795 Add IDNA domain encode/decode functions
5796
5797 * puny.el (puny-decode-domain): New function.
5798 (puny-encode-domain): Ditto.
5799 (puny-decode-digit): Fix digit decoding error.
5800
5801 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5802
5803 Rename idna.el to puny.el
5804
5805 * puny.el: Renamed from idna.el to avoid name collisions with
5806 the external idna.el library.
5807
5808 2015-12-28 Lars Ingebrigtsen <larsi@gnus.org>
5809
5810 Always reset the bidi direction
5811
5812 * eww.el (eww-display-html): Always reset the bidi direction
5813 to `left-to-right' (bug#22257).
5814
5815 2015-12-28 Alan Mackenzie <acm@muc.de>
5816
5817 Allow line comments ending with escaped NL to be continued to the next line.
5818
5819 Use this in C, C++, and Objective C Modes. Fixes bug#22246
5820
5821 * src/syntax.c (comment-end-can-be-escaped): New buffer local variable.
5822 (forw-comment, back-comment): On encountering an end of comment character,
5823 test whether it is escaped when `comment-end-can-be-escaped' is non-nil.
5824
5825 * doc/lispref/syntax.texi (Control Parsing): Describe
5826 `comment-end-can-be-escaped'.
5827
5828 * etc/NEWS (Lisp Changes): Describe `comment-end-can-be-escaped'.
5829
5830 * lisp/progmodes/cc-langs.el: New c-lang-setvar `comment-end-can-be-escaped'.
5831
5832 2015-12-28 Katsumi Yamaoka <yamaoka@jpl.org>
5833
5834 lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Keep old Emacsen compatibility
5835
5836 * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe):
5837 Don't use split-string with 4th arg for old Emacsen compatibility.
5838
5839 2015-12-27 Dmitry Gutov <dgutov@yandex.ru>
5840
5841 Rename project-library-roots to project-external-roots
5842
5843 * lisp/progmodes/project.el (project-library-roots): Rename to
5844 project-external-roots.
5845 (project-library-roots-function): Rename to
5846 project-vc-external-roots-function. Only use it in the VC
5847 backend, for now. Update project-external-roots accordingly.
5848 (project-vc-library-roots): Remove.
5849 (project-or-libraries-find-regexp):
5850 Rename to project-or-external-find-regexp.
5851
5852 * lisp/progmodes/elisp-mode.el (elisp-library-roots):
5853 Rename to elisp-load-path-roots.
5854
5855 * lisp/progmodes/etags.el (etags-library-roots): Remove. Use
5856 an anonymous function for the default value of
5857 project-vc-external-roots-function.
5858
5859 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5860
5861 * idna.el (idna-decode-string-internal): Implement decoding.
5862
5863 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5864
5865 Further IDNA tweaks
5866
5867 (idna-encode-string): Make idna-encode-string safe for
5868 non-ASCII use.
5869
5870 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5871
5872 Clean up the code slightly
5873
5874 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5875
5876 Added basic idna encoding support
5877
5878 * lisp/net/idna.el: New file.
5879
5880 2015-12-27 Vivek Dasmohapatra <vivek@etla.org>
5881
5882 Disconnection fixes for erc
5883
5884 * lisp/erc/erc-backend.el (erc-server-reconnect-p): Don't
5885 reconnect if the user has disconnected explicitly (bug#4589).
5886
5887 2015-12-27 Thomas Riccardi <riccardi.thomas@gmail.com> (tiny change)
5888
5889 Further erc asynch fixes
5890
5891 * lisp/erc/erc-backend.el (erc-process-sentinel-2): Make
5892 erc-server-connect to return even if the connection is not
5893 ready. Then erc-open and erc-server-reconnect do the
5894 same. (bug#5650).
5895
5896 2015-12-27 Vivek Dasmohapatra <vivek@etla.org>
5897
5898 Make erc connect asynchronously
5899
5900 * lisp/erc/erc-backend.el (erc-server-reconnect): Use it to
5901 reconnect asynchronously.
5902
5903 * lisp/erc/erc-backend.el (erc-open-network-stream): New function (bug#5650).
5904
5905 2015-12-27 Deniz Dogan <deniz@dogan.se>
5906
5907 Clear erc user list upon disconnection
5908
5909 * lisp/erc/erc-backend.el (erc-process-sentinel): Clear channel user
5910 lists upon disconnection. This prevents invalid channel
5911 user lists when reconnecting (bug#10947).
5912
5913 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5914
5915 Don't bug out in erc after waking from sleep
5916
5917 * erc-backend.el (erc-server-send-ping): If the server has
5918 closed connection, this may already have been detected and
5919 `erc-server-last-received-time' has been set to nil (bug#13608).
5920
5921 2015-12-27 David Edmondson <dme@dme.org>
5922
5923 Proxy error in erc with multiple clients
5924
5925 * lisp/erc/erc.el (erc-channel-receive-names): Fix errors
5926 generated when multiple IRC clients talk to a single IRC proxy
5927 (bug#19034).
5928
5929 2015-12-27 Dima Kogan <dima@secretsauce.net>
5930
5931 Ensure that we don't have several timers in erc
5932
5933 * lisp/erc/erc-backend.el (erc-server-setup-periodical-ping): Checks
5934 for existing timers in the alist before adding new ones. If a
5935 timer already exists, it is cancelled and
5936 overwritten. (bug#19292).
5937
5938 2015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
5939
5940 * lisp/gnus/mml-sec.el: Fix warnings by adding autoloads
5941 (bug#18718).
5942
5943 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5944
5945 * lisp/erc/erc-log.el (erc-log-setup-logging): Insert the previous log
5946 at the start of the buffer, not at the end (bug#20496).
5947
5948 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5949
5950 * lisp/net/eww.el (eww-setup-buffer): Restore left-to-right defaults.
5951
5952 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5953
5954 Don't join erc channels doubly
5955
5956 * erc-join.el (erc-autojoin-channels): Don't join channels
5957 more than once (if you have several nicks) (bug#20695).
5958
5959 2015-12-27 Eli Zaretskii <eliz@gnu.org>
5960
5961 Avoid leaving "ghost" of mouse pointer on MS-Windows
5962
5963 * src/w32term.c (frame_set_mouse_pixel_position):
5964 * src/w32fns.c (Fw32_mouse_absolute_pixel_position): Momentarily
5965 disable "mouse trails" when moving the mouse pointer. (Bug#22247)
5966 * src/w32term.c (frame_set_mouse_pixel_position): Include
5967 w32common.h.
5968
5969 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5970
5971 * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): Fix typo in last check-in.
5972
5973 2015-12-27 Jens Lechtenboerger <jens.lechtenboerger@fsfe.org>
5974
5975 Identify unsafe combinations of Bcc and encryption
5976
5977 * lisp/gnus/gnus-util.el (gnus-subsetp): New function
5978 * lisp/gnus/mml-sec.el (mml-secure-safe-bcc-list): New variable
5979 * lisp/gnus/mml-sec.el (mml-secure-bcc-is-safe): New function
5980
5981 2015-12-27 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
5982
5983 Fix auth source lookups from erc with port numbers
5984
5985 * lisp/erc/erc.el (erc-open): `auth-source' wants strings, not port
5986 numbers (bug#20541).
5987
5988 2015-12-27 Fran Litterio <flitterio@gmail.com>
5989
5990 Run erc-kill-channel-hook always on exit
5991
5992 * lisp/erc/erc.el (erc-kill-buffer-function): Run erc-kill-channel-hook
5993 when erc-kill-queries-on-quit is set (bug#21187).
5994
5995 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
5996
5997 Spelling fix
5998
5999 * test/automated/url-parse-tests.el:
6000 (url-generic-parse-url/same-document-reference):
6001 Rename from url-generic-parse-url/same-decument-reference.
6002
6003 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
6004
6005 Reword initial *scratch* for brevity, appearance
6006
6007 * lisp/startup.el (initial-scratch-message):
6008 Reword to avoid apostrophes, and to make it shorter.
6009 See the thread starting in:
6010 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg01241.html
6011
6012 2015-12-26 Leo Liu <sdl.web@gmail.com>
6013
6014 Add ert-deftest to lisp-mode.el
6015
6016 * lisp-mode.el (lisp-imenu-generic-expression,
6017 lisp-el-font-lock-keywords-1): Add ert-deftest.
6018
6019 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
6020
6021 Mark imap changes as not needing doc changes
6022
6023 * imap.el (imap-ssl-open): Remove
6024
6025 2015-12-26 Lars Ingebrigtsen <larsi@gnus.org>
6026
6027 Use built-in encryption in imap.el
6028
6029 * lisp/net/imap.el (imap-ssl-program): Remove (bug#21134).
6030 (imap-starttls-open): Use open-network-stream instead of starttls.el.
6031 (imap-tls-open): Use open-network-stream instead of tls.el.
6032
6033 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6034
6035 Don't try using /bin/sh in artist.el on MS-Windows
6036
6037 * lisp/textmodes/artist.el (artist-figlet-get-font-list-windows):
6038 New function.
6039 (artist-figlet-choose-font): Use it on MS-Windows and MS-DOS.
6040 (Bug#20167)
6041
6042 2015-12-26 Wolfgang Jenkner <wjenkner@inode.at>
6043
6044 Always define gmalloc etc. in src/gmalloc.c
6045
6046 This is a work-around to prevent the compiler from using semantic
6047 knowledge about malloc for optimization purposes. E.g., gcc 5.2
6048 with -O2 replaces most of calloc's definition by a call to calloc;
6049 see Bug#22085.
6050 * src/gmalloc.c [!HYBRID_MALLOC] (malloc, realloc, calloc)
6051 (aligned_alloc, free): Do not undef. Instead, define these as
6052 functions (perhaps renamed to gmalloc etc.) in terms of gmalloc etc.
6053
6054 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6055
6056 Fix documentation of browse-url browser-related functions
6057
6058 * lisp/net/browse-url.el (browse-url)
6059 (browse-url-default-browser, browse-url-default-windows-browser)
6060 (browse-url-default-macosx-browser, browse-url-chromium)
6061 (browse-url-kde, browse-url-text-xterm): Clarify the usage of ARGS
6062 and NEW-WINDOW arguments in these functions. (Bug#19421)
6063
6064 2015-12-26 Paul Eggert <eggert@cs.ucla.edu>
6065
6066 Propagate Bug#14412 fix to backtrace_eval_unrewind
6067
6068 * src/eval.c (unbind_to): Redo so that the FALLTHROUGH!! comment
6069 becomes accurate again. This shouldn’t affect behavior.
6070 (backtrace_eval_unrewind): Apply the recent unbind_to fix here, too.
6071
6072 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6073
6074 Don't produce non-ASCII characters in *scratch*
6075
6076 * lisp/startup.el (initial-scratch-message): Quote apostrophes to
6077 avoid producing non-ASCII characters in the *scratch* buffer's
6078 commentary.
6079
6080 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6081
6082 Document changes in 'compare-windows'
6083
6084 * lisp/vc/compare-w.el (compare-windows-removed)
6085 (compare-windows-added): Doc fix.
6086
6087 * doc/emacs/files.texi (Comparing Files): Document the changes in
6088 window selection by 'compare-windows'.
6089
6090 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6091
6092 Document 'vc-annotate-background-mode'
6093
6094 * doc/emacs/maintaining.texi (Old Revisions): Document
6095 'vc-annotate-background-mode'.
6096
6097 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6098
6099 Document 'vc-region-history'
6100
6101 * doc/emacs/maintaining.texi (VC Change Log): Document
6102 'vc-region-history'.
6103
6104 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6105
6106 Improve documentation of 'vc-push'
6107
6108 * doc/emacs/maintaining.texi (Pulling / Pushing): Expand and
6109 improve the documentation of 'vc-push'.
6110
6111 * lisp/vc/vc.el (vc-pull, vc-push): Doc fix.
6112
6113 2015-12-26 Alain Schneble <a.s@realize.ch>
6114
6115 Include the tests for the URL parsing fixes
6116
6117 2016-01-30 Alain Schneble <a.s@realize.ch>
6118
6119 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
6120
6121 * test/automated/url-parse-tests.el: Add tests covering url-generic-parse-url.
6122 * test/automated/url-expand-tests.el: Add tests covering url-expand-file-name.
6123 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
6124 information in URL-struct.
6125 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
6126 path and query into nil path and query, respectively.
6127 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
6128 empty path into an absolute ("/") path.
6129 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
6130 fragment-only URIs. Do not just return them unchanged.
6131 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
6132 reference URI should not drop the last segment.
6133
6134 Backport:
6135
6136 (cherry picked from commit b792ecea1715e080ad8e232d3d154b8a25d2edfb)
6137
6138 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6139
6140 Document 'url-user-agent'.
6141
6142 * lisp/url/url-http.el (url-user-agent): Move from here...
6143 * lisp/url/url-vars.el (url-user-agent): ...to here. This is to
6144 keep all the URL defcustoms in one place, and also have it defined
6145 whenever the URL library is loaded.
6146
6147 * doc/misc/url.texi (Customization): Document 'url-user-agent'.
6148
6149 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6150
6151 Document protocols supported by URL library via Tramp
6152
6153 * doc/misc/url.texi (Tramp): New node, describes the URL schemes
6154 supported via Tramp.
6155 (Supported URL Types, file/ftp, rlogin/telnet/tn3270): Mention
6156 Tramp.
6157
6158 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6159
6160 Document changes in Shell-script mode
6161
6162 * lisp/progmodes/sh-script.el (sh-mode, sh-set-shell): Document
6163 the 'sh-shell' file-local variable.
6164 (top level): Add an auto-load form to avoid byte-compiler warning
6165 about 'comint-send-string'.
6166
6167 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6168
6169 Fix documentation of 'ses-define-local-printer'
6170
6171 * doc/misc/ses.texi (Printer functions): Fix whitespace between
6172 sentences and punctuation. Add an index entry for
6173 'ses-define-local-printer'.
6174
6175 2015-12-26 Shakthi Kannan <shakthimaan@gmail.com>
6176
6177 Document 'ert-summarize-tests-batch-and-exit'
6178
6179 * doc/misc/ert.texi (Running Tests in Batch Mode): Document
6180 'ert-summarize-tests-batch-and-exit'.
6181
6182 2015-12-26 Eli Zaretskii <eliz@gnu.org>
6183
6184 Avoid assertion violation in unbind_to
6185
6186 * src/eval.c (unbind_to) <SPECPDL_LET>: Avoid assertion violation
6187 if we get here with an object that is not a symbol. (Bug#14412)
6188
6189 2015-12-25 Andreas Schwab <schwab@linux-m68k.org>
6190
6191 Don't treat /foo/bar:mumble as ange-ftp address
6192 * lisp/net/browse-url.el (browse-url-filename-alist): Match colons
6193 only in the first component. (bug#5362)
6194
6195 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
6196
6197 Follow <meta> redirects in eww
6198
6199 Merge conflict, but I think I resolved it.
6200
6201 Follow meta refresh tags in eww
6202
6203 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
6204
6205 Backport:
6206
6207 2016-01-30 Lars Ingebrigtsen <larsi@gnus.org>
6208
6209 Allow http://user:pass@foo/ URLs again
6210
6211 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
6212 user/passwords in URLs (bug#19046).
6213
6214 Backport:
6215
6216 (cherry picked from commit b563715a2db265517d5a77f165a42afa1e233fdd)
6217
6218 2016-01-30 Samer Masterson <samer@samertm.com>
6219
6220 Autoload url-insert-buffer-contents
6221
6222 * lisp/url/url-handlers.el: Add autoload cookie so that
6223 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
6224
6225 Backport:
6226
6227 (cherry picked from commit 7a7b5b492ff9929eecd90c4564db6fbf3b192323)
6228
6229 2015-12-25 Eli Zaretskii <eliz@gnu.org>
6230
6231 Make sure *scratch* etc. use forward slashes in its default-directory
6232
6233 * lisp/startup.el (normal-top-level): On MS-Windows, convert
6234 backslashes to forward slashes while decoding default-directory
6235 of the initially-created buffers.
6236
6237 2015-12-25 Eli Zaretskii <eliz@gnu.org>
6238
6239 Restore info about the build host in bug reports
6240
6241 * lisp/mail/emacsbug.el (report-emacs-bug): Report the system on
6242 which Emacs was built. This is important information for
6243 investigating bug reports reported by users who don't build their
6244 Emacs.
6245
6246 2015-12-25 Eli Zaretskii <eliz@gnu.org>
6247
6248 Fix bootstrap broken by changes related to OS X file-name encoding
6249
6250 * lisp/international/ucs-normalize.el (eval-when-compile): Make
6251 sure char-code-property-alist includes elements that allow access
6252 to 'decomposition' and 'canonical-combining-class' Unicode
6253 properties, as compiling ucs-normalize.el requires that.
6254 * lisp/loadup.el (featurep 'ns): Load ucs-normalize and ns-win
6255 only of charprop.el was already loaded.
6256
6257 * src/Makefile.in ($(lispsource)/international/ucs-normalize.elc):
6258 New order-only dependency.
6259
6260 2015-12-25 Leo Liu <sdl.web@gmail.com>
6261
6262 * lisp/ido.el (ido-add-virtual-buffers-to-list):
6263 Use bookmark-get-filename.
6264
6265 2015-12-25 Michael Albinus <michael.albinus@gmx.de>
6266
6267 Make tramp-test29-vc-registered more robust
6268
6269 * test/automated/tramp-tests.el (tramp-test29-vc-registered):
6270 Move `bzr' case down. Skip test when `vc-create-repo' fails.
6271 Remove instrumentation.
6272
6273 2015-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6274
6275 * lisp/term/x-win.el (x-gtk-stock-map): Fix typo.
6276
6277 2015-12-23 Katsumi Yamaoka <yamaoka@jpl.org>
6278
6279 Fix `gnus-union' so as to behave like `cl-union'
6280
6281 * lisp/gnus/gnus-group.el (gnus-group-prepare-flat):
6282 Make gnus-union use `equal' to compare items in lists.
6283
6284 * lisp/gnus/gnus-util.el (gnus-union):
6285 Make it behave like cl-union partially.
6286
6287 2015-12-23 Paul Eggert <eggert@cs.ucla.edu>
6288
6289 Fix dired.c typo with ptrdiff_t vs Lisp_Object
6290
6291 * src/dired.c (file_name_completion): Don't assume Lisp_Object is
6292 an integer type, fixing a problem introduced in the recent fix for
6293 Bug#22169.
6294
6295 2015-12-23 Eli Zaretskii <eliz@gnu.org>
6296
6297 Document default process sentinel more prominently
6298
6299 * doc/lispref/processes.texi (Asynchronous Processes): Mention the
6300 defaults for process filter and sentinel. Provide cross-references.
6301 (Process Information): Provide cross-references to where filters
6302 and sentinels are described.
6303 (Filter Functions): Add an index entry for "default filter".
6304 (Sentinels): Add a few status messages not documented previously.
6305 Resolve the "killed" confusion. Document and describe the default
6306 sentinel. (Bug#22220)
6307
6308 2015-12-23 Eli Zaretskii <eliz@gnu.org>
6309
6310 Fix file-name completion on OS X
6311
6312 * src/dired.c (file_name_completion): Reject false matches due to
6313 file-name-coding-systems that decompose characters when encoding
6314 file names, by comparing decoded file names as well. (Bug#22169)
6315 (syms_of_dired) <Qdecomposed_characters>: New DEFSYM.
6316
6317 * lisp/international/ucs-normalize.el (utf-8-hfs): Give it a
6318 non-nil 'decomposed-characters' property.
6319
6320 2015-12-23 Anders Lindgren <andlind@gmail.com>
6321
6322 File-name completion of non-ASCII characters on OS X (bug#22169)
6323
6324 The coding system `utf-8-nfd', locally defined in ns-win.el,
6325 didn't provide a :pre-write-conversion method, causing file name
6326 completion of non-ASCII characters to fail. Solved by using the
6327 `utf-8-hfs' coding system provided by `ucs-normalize'.
6328
6329 * lisp/loadup.el: Load international/ucs-normalize (when building
6330 for ns).
6331
6332 * lisp/term/ns-win.el (utf-8-nfd): Made `utf-8-nfd' as alias for
6333 `utf-8-hfs' and removed the old implementation. Set `utf-8-hfs'
6334 as the file name coding system.
6335
6336 * src/nsfns.m (ns-convert-utf8-nfd-to-nfc): Removed.
6337
6338 2015-12-22 Tom Tromey <tom@tromey.com>
6339
6340 Fix bug #18588 by making bug-reference-bug-regexp more lenient
6341
6342 * lisp/progmodes/bug-reference.el (bug-reference-bug-regexp): Accept
6343 "bug NNNN". (Bug #18588)
6344
6345 2016-01-30 Tom Tromey <tom@tromey.com>
6346 2015-12-22 Tom Tromey <tom@tromey.com>
6347
6348 add some cl-* aliases to lisp-mode imenu
6349
6350 * (lisp-imenu-generic-expression): Add cl-define-compiler-macro,
6351 cl-defgeneric, and cl-defmethod.
6352
6353 2015-12-22 Tom Tromey <tom@tromey.com>
6354
6355 Make a variable buffer-local
6356
6357 * lisp/generic-x.el (generic-rul-mode-setup-function): Make
6358 font-lock-syntax-table buffer-local. (Bug #21627)
6359
6360 2015-12-22 Eli Zaretskii <eliz@gnu.org>
6361
6362 Fix decoding of text in URLs retrieved by EWW
6363
6364 * lisp/net/eww.el (eww-render): Pass 'charset' to
6365 'eww-display-raw'. Use the value of 'last-coding-system-used', if
6366 non-nil, to set 'buffer-file-coding-system' of the buffer where we
6367 show the URL.
6368 (eww-display-html, eww-display-raw): Decode the text correctly,
6369 using the charset found in the headers, and defaulting to UTF-8.
6370 If the user told us to use a specific encoding, override the
6371 charset from the headers. (Bug#22222)
6372
6373 2015-12-22 Alan Mackenzie <acm@muc.de>
6374
6375 Fix a coding error in c-forward-<>-arglist-recur. Fixes bug#22156
6376
6377 * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): Remove unused
6378 variable `tmp'.
6379 After a failed search for a matching ">", restore point before continuing.
6380
6381 2015-12-22 Michael Albinus <michael.albinus@gmx.de>
6382
6383 Instrument Tramp tests
6384
6385 * test/automated/tramp-tests.el (tramp-test29-vc-registered)
6386 (tramp--test-utf8): Instrument tests.
6387
6388 2015-12-22 Martin Rudalics <rudalics@gmx.at>
6389
6390 Fix `display-buffer' call in `display-message-or-buffer' (Bug#22221)
6391
6392 * lisp/simple.el (display-message-or-buffer): Call
6393 `display-buffer' with ACTION instead of NOT-THIS-WINDOW
6394 (Bug#22221).
6395
6396 2016-01-30 Juri Linkov <juri@linkov.net>
6397 2015-12-21 Juri Linkov <juri@linkov.net>
6398
6399 * lisp/saveplace.el (toggle-save-place, save-place-to-alist)
6400
6401 (save-places-to-alist, save-place-dired-hook):
6402 Check for dired-subdir-alist. (Bug#19851)
6403
6404 2015-12-21 Paul Eggert <eggert@cs.ucla.edu>
6405
6406 Add FIXME comment re stack overflow and modules
6407
6408 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
6409 2015-12-20 Paul Eggert <eggert@cs.ucla.edu>
6410
6411 Revert some recent emacs-module commentary
6412
6413 Most of the recently-added commentary was incorrect, due to the
6414 possibility of stack overflow.
6415
6416 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
6417
6418 Spelling fix: prefer "cooperate" to "co-operate"
6419
6420 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
6421 2015-12-20 Paul Eggert <eggert@cs.ucla.edu>
6422
6423 Spelling fix: prefer "cooperate" to "co-operate"
6424
6425 2015-12-20 Paul Eggert <eggert@cs.ucla.edu>
6426
6427 Port undo fixes to -fno-common
6428
6429 Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
6430 * src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
6431 (buffer_before_last_command_or_undo):
6432 Declare in keyboard.h, and define in keyboard.c,
6433 instead of assuming the traditional Unix relaxed ref-def linkage.
6434
6435 2015-12-20 Philipp Stephani <phst@google.com>
6436
6437 Improve commentary for emacs-module.c
6438
6439 * src/lisp.h: Document emacs-module.c assumptions about EQ and NILP.
6440 * src/emacs-module.c (module_non_local_exit_get): Document that we
6441 cannot use the current implementation.
6442 (module_is_not_nil, module_eq): Document assumptions about EQ and
6443 NILP.
6444
6445 2015-12-20 Michael Albinus <michael.albinus@gmx.de>
6446
6447 Suppress test on Mac OS X
6448
6449 * test/automated/tramp-tests.el (tramp--test-darwin-p): New defun.
6450 (tramp--test-utf8): Use it.
6451
6452 2015-12-20 Alan Mackenzie <acm@muc.de>
6453
6454 Merge branch 'scratch/follow' into emacs-25
6455
6456 This allows Isearch, etc., to work well when Follow Mode is active.
6457
6458 2015-12-19 Michael Albinus <michael.albinus@gmx.de>
6459
6460 * lisp/net/tramp-sh.el (tramp-get-ls-command-with-w-option):
6461 Improve check.
6462
6463 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6464
6465 Fix last commit
6466
6467 * doc/emacs/rmail.texi (Rmail Deletion): Document new behavior of 'u'
6468 with numeric argument.
6469
6470 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6471
6472 Document new features of Rmail
6473
6474 * doc/emacs/rmail.texi (Rmail Summary Edit, Rmail Deletion):
6475 Document new behavior of 'd' and 'C-d' with numeric argument.
6476 (Rmail Display): Document the rendering of HTML MIME parts.
6477
6478 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6479
6480 Improve documentation of new cl-lib functions
6481
6482 * doc/misc/cl.texi (Predicates on Numbers, Numerical Functions):
6483 Fix wording.
6484
6485 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6486
6487 Document the new feature of 'minibuffer-with-setup-hook'
6488
6489 * lisp/files.el (minibuffer-with-setup-hook): Clarify how FUN is
6490 added to `minibuffer-setup-hook'.
6491
6492 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6493
6494 Document new features of Font Lock
6495
6496 * doc/lispref/modes.texi (Other Font Lock Variables): Document
6497 'font-lock-flush-function' and 'font-lock-ensure-function'.
6498 (Font Lock Basics): Document the basic fontification functions
6499 referenced in "Other Font Lock Variables".
6500
6501 * lisp/font-lock.el (font-lock-flush, font-lock-ensure): Doc fix.
6502
6503 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6504
6505 Document new features of Rectangle mode
6506
6507 * doc/emacs/killing.texi (Rectangles): Document "C-x C-x" in
6508 rectangle-mark-mode.
6509
6510 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6511
6512 Manual followup to last change
6513
6514 * doc/lispref/display.texi (Displaying Messages): Sync with the
6515 doc string. (Bug#22210)
6516
6517 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6518
6519 Clarify doc string of 'display-message-or-buffer'
6520
6521 * lisp/simple.el (display-message-or-buffer): Doc fix. Suggested
6522 by Sebastian Wiesner <swiesner@lunaryorn.com>. (Bug#22210)
6523
6524 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6525
6526 * doc/emacs/emacs.texi (Top): Update top-level menus.
6527
6528 * doc/lispref/elisp.texi (Top): Update top-level menus.
6529
6530 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6531
6532 Document how to avoid file-local variables that aren't
6533
6534 * doc/emacs/custom.texi (Specifying File Variables): Describe how
6535 to prevent Emacs from interpreting unrelated text as file-local
6536 variables. (Bug#22166)
6537
6538 2015-12-19 Dave Thomas <dave@pragprog.org> (tiny change)
6539
6540 Fix a typo in eterm-color's termcap entry
6541
6542 * lisp/term.el (term-termcap-format): Fix a typo in the "ue="
6543 entry. (Bug#22184)
6544
6545 2015-12-19 Eli Zaretskii <eliz@gnu.org>
6546
6547 Allow 'browse-url-emacs' visit non-existent URLs
6548
6549 * lisp/url/url-handlers.el (url-insert-file-contents): Don't
6550 signal an error if VISIT is non-nil, to more faithfully emulate
6551 the behavior of 'insert-file-contents'. (Bug#22160)
6552
6553 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
6554 2015-12-18 Paul Eggert <eggert@cs.ucla.edu>
6555
6556 Remove SunOS 4.x cruft
6557
6558 Support for SunOS 4.x was removed in Emacs 23 but some cruft was left behind.
6559 * lib-src/pop.c [sun]: Remove no-longer-needed include.
6560 * lwlib/xlwmenu.c (SUNSO41): Remove.
6561
6562 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
6563 2015-12-18 Paul Eggert <eggert@cs.ucla.edu>
6564
6565 Merge from gnulib
6566
6567 This mostly commentary fixes.
6568 * doc/misc/texinfo.tex, lib/intprops.h: Copy from gnulib.
6569 * lib/gnulib.mk: Regenerate with new gnulib-tool.
6570
6571 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
6572
6573 Minor fixes in Tramp
6574
6575 * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6576 Reorder ls arguments.
6577
6578 * lisp/net/tramp.el (tramp-dissect-file-name): Fix docstring.
6579
6580 2015-12-18 Michael Albinus <michael.albinus@gmx.de>
6581
6582 Make tramp a built-in package
6583
6584 * lisp/finder.el (finder-compile-keywords): Update
6585 `package--builtins' also when Version: keyword is available.
6586
6587 * lisp/net/trampver.el: Add Version: keyword.
6588 (tramp-version): Change it to "2.2.13.25.1", in order to be
6589 compatible with `version-to-list'.
6590
6591 2015-12-18 Lele Gaifax <lele@metapensiero.it>
6592
6593 * etc/tutorials/TUTORIAL.it: Update and fix typos. (Bug#22187)
6594
6595 2015-12-18 Alan Mackenzie <acm@muc.de>
6596
6597 Rename `recenter-group' to `recenter-window-group'
6598
6599 * doc/lispref/windows.texi (Textual Scrolling)
6600 * lisp/window.el (top level, recenter-group)
6601 * lisp/follow.el (follow-mode)
6602 * lisp/isearch.el (isearch-back-into-window): Rename `recenter-group' to
6603 `recenter-window-group' and `recenter-group-function' to
6604 `recenter-window-group-function'.
6605
6606 2015-12-18 Eli Zaretskii <eliz@gnu.org>
6607
6608 Fix vertical-motion in tabulated-list mode
6609
6610 * src/indent.c (Fvertical_motion): When moving from line beginning
6611 to point under line truncation, assume overshoot by one line only
6612 if point actually lies beyond the window's right margin.
6613 (Bug#22194)
6614
6615 2015-12-18 Martin Rudalics <rudalics@gmx.at>
6616
6617 Don't have help functions call x-display-pixel-width/-height on ttys
6618
6619 * lisp/help.el (temp-buffer-max-height, temp-buffer-max-width):
6620 Don't call x-display-pixel-width/-height on ttys.
6621
6622 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
6623 2015-12-17 Dmitry Gutov <dgutov@yandex.ru>
6624
6625 Use 'hg id' in vc-hg-previous-revision
6626
6627 * lisp/vc/vc-hg.el (vc-hg-previous-revision):
6628 Use 'hg id' to retrieve it (bug#22032).
6629
6630 2015-12-17 Alan Mackenzie <acm@muc.de>
6631
6632 * lisp/follow.el (follow-sit-for): Remove (it's redundant).
6633
6634 2015-12-17 Eli Zaretskii <eliz@gnu.org>
6635
6636 Fix a typo in the Emacs manual
6637
6638 * doc/emacs/trouble.texi (Sending Patches): Fix a typo. Reported
6639 by Lele Gaifax <lele@metapensiero.it>. (Bug#22193)
6640
6641 2015-12-17 Eli Zaretskii <eliz@gnu.org>
6642
6643 Fix parsing netrc entries with ports
6644
6645 * lisp/gnus/auth-source.el (auth-source-ensure-strings): Don't
6646 make a list out of 't'. (Bug#22188)
6647
6648 * test/automated/auth-source-tests.el
6649 (auth-source-test-netrc-parse-entry): New test.
6650
6651 2015-12-17 Paul Eggert <eggert@cs.ucla.edu>
6652
6653 Fix typo in Doug Lea malloc configure log
6654
6655 * configure.ac (emacs_cv_var_doug_lea_malloc):
6656 Fix typo that confused the log output of 'configure'.
6657
6658 2015-12-16 Nicolas Petton <nicolas@petton.fr>
6659
6660 * etc/NEWS: Mention the new pcase patterns `seq' and `map'.
6661
6662 2015-12-16 Alan Mackenzie <acm@muc.de>
6663
6664 * etc/NEWS: Move entry on pcase to correct section
6665
6666 (Accidentally omitted from previous commit)
6667
6668 2015-12-16 Alan Mackenzie <acm@muc.de>
6669
6670 Add documentation for changes to Show Paren mode.
6671
6672 * lisp/paren.el (show-paren-highlight-openparen): Enhance doc string.
6673
6674 * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user
6675 options, including the new show-paren-when-point-inside-paren and
6676 show-paren-when-point-in-periphery.
6677
6678 * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode.
6679 Move an entry on pcase to the Lisp Changes section.
6680
6681 2015-12-16 Eli Zaretskii <eliz@gnu.org>
6682
6683 Document Eldoc changes
6684
6685 * doc/emacs/programs.texi (Lisp Doc): Document Global Eldoc mode.
6686
6687 2015-12-16 Eli Zaretskii <eliz@gnu.org>
6688
6689 Fix invocation of Python and Guile interpreters from gdb-mi
6690
6691 * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Add
6692 commands for interactive Python and Guile interpreters.
6693 (gdb-send): Recognize various ways of exiting from Python and
6694 Guile interpreters and returning to GDB. For details, see
6695 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00693.html
6696 and http://stackoverflow.com/questions/31514741.
6697
6698 2015-12-16 Paul Eggert <eggert@cs.ucla.edu>
6699
6700 Remove attempt to use C11 threads
6701
6702 C11 threads are not needed for Emacs now, and their use is causing
6703 hassles on FreeBSD 10.x. Problem reported by Ashish SHUKLA in:
6704 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00648.html
6705 * configure.ac: Do not check for C11 threads. Remove unnecessary
6706 fiddling with CPPFLAGS when configuring pthreads.
6707 * src/emacs-module.c (main_thread, check_main_thread)
6708 (module_init): Do not worry about C11 threads.
6709
6710 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
6711
6712 Set utf8 encoding with stty in Tramp
6713
6714 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6715 Move up uname check. Handle Mac OS X eol encoding. Set utf8
6716 encoding with stty.
6717
6718 2015-12-15 Alan Mackenzie <acm@muc.de>
6719
6720 Tidy up documentation associated with window groups.
6721
6722 * doc/lispref/windows.texi (Basic Windows): Add an @anchor for "Window
6723 Groups". Correct example function to `window-group-start'.
6724 (Window Start and End, Textual scrolling): Point to the new anchor. State
6725 that (most of) the args in window group functions have the same meaning as for
6726 the corresponding window primitives.
6727
6728 * doc/lispref/positions.texi (Screen Lines). Same as above.
6729
6730 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
6731
6732 Complete last commit
6733
6734 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6735 Move uname check up. Handle Mac OS X eol encoding.
6736
6737 2015-12-15 Michael Albinus <michael.albinus@gmx.de>
6738
6739 Handle Mac OS X eol encoding in Tramp
6740
6741 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6742 Handle Mac OS X eol encoding.
6743
6744 2015-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6745
6746 Fix variable name typo in compute_tip_xy
6747
6748 * src/w32fns.c (compute_tip_xy):
6749 * src/xfns.c (compute_tip_xy): Modify *root_x instead of *root_y
6750 when `right' is integer.
6751
6752 2016-01-30 foudfou <foudil.newbie+git@gmail.com>
6753 2015-12-14 foudfou <foudil.newbie+git@gmail.com> (tiny change)
6754
6755 * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region.
6756
6757 2015-12-14 Tassilo Horn <tsdh@gnu.org>
6758
6759 Revert "Fix rx matcher overflow without limiting"
6760
6761 This reverts commit fe27e037663d36be3e5741c2ce86ab4ee8017db1.
6762
6763 2015-12-14 Alan Mackenzie <acm@muc.de>
6764
6765 Ispell: Bind isearch-regexp-function to nil around call to isearch..-new-loop
6766
6767 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): bind
6768 isearch-regexp-function to nil around call to isearch-lazy-highligh-new-loop.
6769
6770 2015-12-14 Tassilo Horn <tsdh@gnu.org>
6771
6772 Fix rx matcher overflow without limiting
6773
6774 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve last
6775 change to the regexp without imposing a limit on the length of the
6776 options.
6777
6778 2015-12-14 Alan Mackenzie <acm@muc.de>
6779
6780 Enhance ispell-skip-region-alist by generating part of it at runtime.
6781
6782 * lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
6783 (ispell--make-filename-or-URL-re): New functions which generate a regexp.
6784 (ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
6785 (ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
6786 Include the result of ispell--make-filename-or-URL-re in regexps.
6787
6788 2015-12-14 Glenn Morris <rgm@gnu.org>
6789
6790 * build-aux/gitlog-to-emacslog: Ignore more pointless merge commits.
6791
6792 2015-12-14 Alan Mackenzie <acm@muc.de>
6793
6794 Replace GROUP argument in six window primitives by new functions.
6795
6796 * doc/lispref/windows.texi (Window Start and End, Textual Scrolling)
6797 * doc/lispref/positions.texi (Screen Lines): Remove optional GROUP argument
6798 from description of six window functions. Add in description of new functions
6799 window-group-start, window-group-end, set-window-group-start,
6800 pos-visible-in-window-group-p, recenter-group and move-to-window-group-line,
6801 together with the six variables indirecting to the pertinent group
6802 functions.
6803
6804 * src/window.c
6805 * src/keyboard.c: Revert the commit from 2015-11-11 12:02:48, in so far as it
6806 applies to these two files, which added the GROUP argument to six window
6807 primitives.
6808
6809 * lisp/follow.el (follow-mode): Use updated variable names for the indirected
6810 functions.
6811
6812 * lisp/isearch.el (isearch-update, isearch-done, isearch-string-out-of-window)
6813 (isearch-back-into-window, isearch-lazy-highlight-new-loop)
6814 (isearch-lazy-highlight-search, isearch-lazy-highlight-update): Replace calls
6815 to window primitives (e.g. window-start) with a GROUP argument by calls to
6816 new functions (e.g. window-group-start).
6817
6818 * lisp/ispell.el (ispell-command-loop): Replace call to
6819 pos-visible-in-window-p with pos-visible-in-window-group-p.
6820
6821 * lisp/window.el (window-group-start, window-group-end)
6822 (set-window-group-start, recenter-group, pos-visible-in-window-group-p)
6823 (selected-window-group, move-to-window-group-line): New functions.
6824 (window-group-start-function, window-group-end-function)
6825 (set-window-group-start-function, recenter-group-function)
6826 (pos-visible-in-window-group-p-function, selected-window-group-function)
6827 (move-to-window-group-line-function): New variables.
6828
6829 2015-12-14 Vitorio Miguel <vdrbandeiras@gmail.com> (tiny change)
6830
6831 * etc/tutorials/TUTORIAL.pt_BR: Fix a typo. (Bug#22165)
6832
6833 2015-12-13 Eli Zaretskii <eliz@gnu.org>
6834
6835 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
6836
6837 2015-12-13 Tassilo Horn <tsdh@gnu.org>
6838
6839 Improve regex to not trigger stack overflow
6840
6841 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Improve regex in
6842 order not to trigger a stack overflow in regex matcher with unbalanced
6843 brackets (bug#22146).
6844
6845 2015-12-13 Eli Zaretskii <eliz@gnu.org>
6846
6847 Fix visiting files with raw-text
6848
6849 * src/fileio.c (Finsert_file_contents): Fix setting buffer unibyte
6850 when some stuff was actually read. (Bug#22162)
6851
6852 2015-12-13 Tassilo Horn <tsdh@gnu.org>
6853
6854 Fix regex matching keyval labels
6855
6856 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Fix regexp
6857 matching keyval labels.
6858
6859 2015-12-13 Michael Albinus <michael.albinus@gmx.de>
6860
6861 * lisp/ido.el (ido-file-name-all-completions-1): Do not raise an error
6862
6863 ... in case of Tramp. (Bug#20821)
6864
6865 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
6866 2015-12-12 Paul Eggert <eggert@cs.ucla.edu>
6867
6868 Fix performance regression with gcc -O0
6869
6870 This fixes the smaller performance hit that I noted in:
6871 https://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00357.html
6872 * src/alloc.c (macro_XPNTR_OR_SYMBOL_OFFSET, macro_XPNTR):
6873 * src/puresize.h (puresize_h_PURE_P)
6874 (puresize_h_CHECK_IMPURE):
6875 New macros, with the old contents of the functions.
6876 * src/alloc.c (XPNTR_OR_SYMBOL_OFFSET, XPNTR):
6877 * src/puresize.h (PURE_P, CHECK_IMPURE):
6878 Use the new macros. Also macros, if DEFINE_KEY_OPS_AS_MACROS.
6879 * src/conf_post.h (ATTRIBUTE_UNUSED):
6880 * src/lisp.h (DEFINE_KEY_OPS_AS_MACROS): New macros.
6881
6882 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
6883
6884 * lisp/emacs-lisp/package.el (package-unpack): Security check
6885
6886 Check that we received the package we were offered.
6887
6888 2015-12-12 Artur Malabarba <bruce.connor.am@gmail.com>
6889
6890 * lisp/emacs-lisp/package.el (package--compile): Don't activate
6891
6892 `package-unpack' takes care of all activations now (other than
6893 `package-initialize). `package--compile' now only compiles.
6894
6895 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6896
6897 Document the new bindings of <UP> and <DOWN> in the minibuffer
6898
6899 * doc/emacs/mini.texi (Minibuffer History): Describe the new
6900 bindings of <UP> and <DOWN> in the minibuffer.
6901
6902 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6903
6904 Document new features of Ido
6905
6906 * doc/misc/ido.texi (Misc): Document 'C-S-b'.
6907
6908 2015-12-12 Martin Rudalics <rudalics@gmx.at>
6909
6910 Fix frame height calculations with added menu bar on Windows (Bug#22105)
6911
6912 * doc/lispref/frames.texi (Parameter Access): Mention pitfalls
6913 when simultaneously specifying multiple parameters for
6914 `modify-frame-parameters' that all may change the frame's size.
6915 * src/w32fns.c (x_set_menu_bar_lines): Don't set
6916 windows_or_buffers_changed here.
6917 (my_create_tip_window, Fx_show_tip): Call AdjustWindowRect
6918 with third argument false.
6919 * src/w32menu.c (set_frame_menubar): Set
6920 windows_or_buffers_changed here.
6921 * src/w32term.c (x_set_window_size): Determine third argument of
6922 AdjustWindowRect from whether the frame has a menu bar and not
6923 from whether it wants one.
6924
6925 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6926
6927 Document the change in interactive shell mode
6928
6929 * doc/emacs/misc.texi (Interactive Shell): Document that the
6930 '*shell*' buffer by default displays in a new window.
6931
6932 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6933
6934 Document new features of package.el
6935
6936 * doc/emacs/package.texi (Package Menu): Document the 'external'
6937 status and the new menu commands.
6938 (Package Installation): Document archive priorities.
6939
6940 * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix.
6941 (package-menu-hide-low-priority): Doc fix.
6942
6943 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6944
6945 Update and document new features of xterm support
6946
6947 * doc/emacs/frames.texi (Text-Only Mouse): Document that
6948 track-mouse is supported by newer xterm versions.
6949
6950 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6951
6952 Document new features of Prettify Mode
6953
6954 * doc/emacs/programs.texi (Misc for Programs): Document
6955 'prettify-symbols-compose-predicate' and
6956 'prettify-symbols-unprettify-at-point'.
6957
6958 * lisp/progmodes/prog-mode.el (prettify-symbols-alist)
6959 (prettify-symbols-default-compose-p)
6960 (prettify-symbols-compose-predicate)
6961 (prettify-symbols--compose-symbol): Doc fixes.
6962
6963 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6964
6965 Document multi-mode indentation facilities
6966
6967 * doc/lispref/text.texi (Mode-Specific Indent): Document
6968 'prog-indentation-context', 'prog-first-column', and 'prog-widen'.
6969
6970 * lisp/progmodes/prog-mode.el (prog-indentation-context)
6971 (prog-widen): Doc fixes.
6972
6973 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6974
6975 Document 'vc-refresh-state'
6976
6977 * doc/emacs/maintaining.texi (Version Control): Document
6978 'vc-refresh-state'.
6979
6980 * lisp/vc/vc-hooks.el (vc-refresh-state): Doc fix.
6981
6982 2015-12-12 Eli Zaretskii <eliz@gnu.org>
6983
6984 Fix echo for "C-u"
6985
6986 * src/keyboard.c (command_loop_1): Undo last change. It caused
6987 duplicate echo of C-u. (Bug#22107)
6988
6989 2015-12-11 Eli Zaretskii <eliz@gnu.org>
6990
6991 Avoid errors when creating files under SVN in new directory
6992
6993 * lisp/vc/vc-svn.el (vc-svn-registered): Use
6994 file-accessible-directory-p, to avoid cd'ing to a non-existing
6995 directory, which signals an error on some systems. (Bug#21984)
6996 (vc-svn-checkin): Call log-edit-extract-headers with 2 arguments.
6997 Use declare-function to avoid byte-compiler warnings.
6998
6999 2015-12-11 Eli Zaretskii <eliz@gnu.org>
7000
7001 Improve Lua support in etags
7002
7003 * lib-src/etags.c (Lua_functions): Skip spaces before looking for
7004 "function".
7005
7006 * etc/NEWS: Mention improved Lua support by 'etags'.
7007
7008 * test/etags/lua-src/test.lua (test): Add tests for indented
7009 function definitions.
7010 * test/etags/ETAGS.good_1:
7011 * test/etags/ETAGS.good_2:
7012 * test/etags/ETAGS.good_3:
7013 * test/etags/ETAGS.good_4:
7014 * test/etags/ETAGS.good_5:
7015 * test/etags/ETAGS.good_6:
7016 * test/etags/CTAGS.good: Adapt to the modified Lua tests.
7017
7018 2015-12-11 Eli Zaretskii <eliz@gnu.org>
7019
7020 Fix 'this-command-keys' wrt prefix argument
7021
7022 * src/keyboard.c (command_loop_1): Restore the feature whereby C-u
7023 was part of this-command-keys, but not of this-single-command-keys.
7024 (Bug#22107)
7025
7026 * lisp/simple.el (internal-echo-keystrokes-prefix): Add
7027 commentary about the function's return value.
7028
7029 2015-12-11 Eli Zaretskii <eliz@gnu.org>
7030
7031 * lisp/files.el (load-library): Doc fix. (Bug#22140)
7032
7033 2015-12-11 Eli Zaretskii <eliz@gnu.org>
7034
7035 Improve and document Ruby support in 'etags'
7036
7037 * lib-src/etags.c (Ruby_suffixes): Add ".ruby".
7038 (Ruby_functions): Support "module" and overloaded operators.
7039 (Ruby_help): Mention "module".
7040
7041 * test/etags/ruby-src/test.rb:
7042 * test/etags/ruby-src/test1.ruby: New files.
7043 * test/etags/Makefile (RBSRC): New tests.
7044 (SRCS): Add ${RBSRC}.
7045 * test/etags/ETAGS.good_1:
7046 * test/etags/ETAGS.good_2:
7047 * test/etags/ETAGS.good_3:
7048 * test/etags/ETAGS.good_4:
7049 * test/etags/ETAGS.good_5:
7050 * test/etags/ETAGS.good_6:
7051 * test/etags/CTAGS.good: Adapt to the new Ruby tests.
7052
7053 * doc/man/etags.1: Mention Ruby support.
7054 * etc/NEWS: Mention Ruby support.
7055
7056 2015-12-11 Xi Lu <lx@shellcodes.org>
7057
7058 Initial support for Ruby in 'etags'
7059
7060 * lib-src/etags.c <Ruby_suffixes>: New variable.
7061 (lang_names): Add an entry for Ruby.
7062 (Ruby_functions): New function. (Bug#22116)
7063
7064 2015-12-11 Eli Zaretskii <eliz@gnu.org>
7065
7066 Clarify documentation of 'modify-frame-parameters'
7067
7068 * doc/lispref/frames.texi (Parameter Access): Clarify what "ignored
7069 PARMs" mean for 'modify-frame-parameters'.
7070
7071 * src/frame.c (Fmodify_frame_parameters): Clarify what "ignored
7072 PARMs" mean for this function. (Bug#22104)
7073
7074 2015-12-11 Eli Zaretskii <eliz@gnu.org>
7075
7076 Fix setting buffer unibyte when reading from a device
7077
7078 * src/fileio.c (Finsert_file_contents): Call Fset_buffer_multibyte
7079 to make a (possibly non-empty) buffer unibyte. (Bug#22096)
7080
7081 2015-12-11 Eli Zaretskii <eliz@gnu.org>
7082
7083 Clarify documentation of 'values'
7084
7085 * doc/lispref/eval.texi (Eval): Clarify that 'values' are not
7086 updated by any evaluation commands in 'lisp-interaction-mode'.
7087 (Bug#22056)
7088
7089 2015-12-11 Anders Lindgren <andlind@gmail.com>
7090
7091 Fixed subversion vc error when opening file in new directory (bug#21984).
7092
7093 * lisp/vc/vc-svn.el (vc-svn-registered): Check if directory exists.
7094
7095 2015-12-09 Eli Zaretskii <eliz@gnu.org>
7096
7097 Yet another fix for when point ends up in invisible text
7098
7099 * src/xdisp.c (redisplay_window): When someone forced
7100 window-start, and honoring that failed to show the cursor, try
7101 moving out of invisible text, before falling back to the middle of
7102 the window. (Bug#22098)
7103
7104 2015-12-09 Michael Albinus <michael.albinus@gmx.de>
7105
7106 Fix error in Tramp perl script for cygwin
7107
7108 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not raise an
7109 error if file doesn't exist.
7110
7111 2015-12-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7112
7113 Remove font workaround for limited outdated versions
7114
7115 * src/macfont.m (mac_font_descriptor_get_adjusted_weight): Remove
7116 workaround for HiraginoSans-W7 on OS X 10.11 and 10.11.1.
7117
7118 2015-12-09 Anders Lindgren <andlind@gmail.com>
7119
7120 Don't add "." to load path (bug#21104)
7121
7122 When configured with --enable-locallisppath=no, which is the
7123 default for OS X, the load-path incorrectly was populated with ".".
7124
7125 * src/lread.c (init_lread): Don't call `decode_env_path' when
7126 PATH_SITELOADSEARCH is empty.
7127
7128 2015-12-08 Artur Malabarba <bruce.connor.am@gmail.com>
7129
7130 * lisp/emacs-lisp/package.el (package--with-response-buffer):
7131
7132 Search for the blank-line in the right buffer.
7133
7134 2015-12-08 Glenn Morris <rgm@gnu.org>
7135
7136 * test/automated/simple-test.el (undo-auto-boundary-timer): Update
7137 for recent change.
7138
7139 2015-12-08 Glenn Morris <rgm@gnu.org>
7140
7141 Fix some display-warning usage.
7142
7143 * lisp/files.el (hack-local-variables, hack-dir-local-variables):
7144 * lisp/calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
7145 * lisp/calendar/holidays.el (calendar-holiday-list):
7146 * lisp/mail/rmailout.el (rmail-output-read-file-name):
7147 Fix display-warning usage.
7148
7149 2016-01-30 Glenn Morris <rgm@gnu.org>
7150 2015-12-07 Glenn Morris <rgm@gnu.org>
7151
7152 * lisp/calendar/cal-html.el: Require diary-lib.
7153
7154 (cal-html-list-diary-entries): Handle no diary. (Bug#21994)
7155
7156 2016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7157
7158 Add Obsolete-since header to eudcb-ph.el
7159
7160 * lisp/obsolete/eudcb-ph.el: Add Obsolete-since header.
7161 2015-12-07 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7162
7163 Add Obsolete-since header to eudcb-ph.el
7164
7165 * eudcb-ph.el: Add Obsolete-since header.
7166
7167 2015-12-07 Paul Eggert <eggert@cs.ucla.edu>
7168
7169 Spelling fixes
7170
7171 * doc/misc/calc.texi (Predefined Units): Use the bland modern
7172 scientific style for spelling the units “ampere” and
7173 “angstrom” rather than the older style “Ampere” and
7174 “Ångstrom”. The latter spelling was wrong anyway (it should
7175 have been “Ångström”).
7176 * lisp/emacs-lisp/ert.el (ert--explain-equal-rec):
7177 Fix misspelling of ‘atom’ in code.
7178
7179 2015-12-07 Eli Zaretskii <eliz@gnu.org>
7180
7181 Improve documentation of kill commands
7182
7183 * lisp/simple.el (region-extract-function, delete-backward-char)
7184 (delete-forward-char, kill-region, copy-region-as-kill)
7185 (kill-ring-save): Better document the optional argument REGION in
7186 the doc strings. Mention in the doc strings that text put in the
7187 kill-ring can be filtered by 'filter-buffer-substring'.
7188
7189 * doc/lispref/text.texi (Kill Functions): Mention that functions
7190 described in this subsection can filter text they put in the
7191 kill-ring. Add a cross-reference to "Buffer Contents" and an
7192 index entry. Document the optional argument 'region' and its
7193 effect.
7194 (Bug#21315)
7195
7196 2015-12-07 Alan Mackenzie <acm@muc.de>
7197
7198 Further progress making Isearch, Ispell, Replace work with Follow Mode.
7199
7200 * lisp/follow.el: (follow-mode): Remove references to sit*-for-function, which
7201 no longer exists. Add follow-post-command-hook to three special purpose
7202 hooks at setup, and remove them at tear down.
7203
7204 * lisp/isearch.el: (isearch-update): invoke isearch-update-post-hook before
7205 isearch-lazy-highlight-new-loop.
7206 (isearch-lazy-highlight-new-loop): Restore this function to what it previously
7207 was, merging the functionality of isearch-lazy-highlight-maybe-new-loop into
7208 it.
7209 (isearch-lazy-highlight-maybe-new-loop): function removed.
7210
7211 * lisp/replace.el: (replace-update-post-hook): New hook variable.
7212 (perform-replace): Add second (nil) argument to looking-back. Invoke
7213 replace-update-post-hook before calling replace-highlight.
7214
7215 * lisp/textmodes/ispell.el: (ispell-update-post-hook): New hook variable.
7216 (ispell-command-loop): invoke ispell-update-post-hook. Add GROUP argument to
7217 call of pos-visible-in-window-p.
7218 (ispell-display-buffer): Place *Choices* window at the top of the last window
7219 in a window group.
7220
7221 2015-12-07 Alan Mackenzie <acm@muc.de>
7222
7223 Amend doc of `mapconcat': it can take sequences, not merely strings.
7224
7225 * doc/lispref/functions.texi (Mapping Functions): Amend the doc of `mapconcat'
7226 to say that SEPARATOR and the results from FUNCTION may be any character
7227 sequences, not just strings. Add an @xref to "Sequences Arrays Vectors".
7228
7229 2015-12-07 Michael Albinus <michael.albinus@gmx.de>
7230
7231 Fix an utf8 problem for Tramp on BSD
7232
7233 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7234 Make lax check for utf8.
7235 (tramp-get-remote-locale): Add "en_US.UTF-8" as candidate.
7236
7237 2016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7238 2015-12-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
7239
7240 Make eudcb-ph.el obsolete
7241
7242 * doc/misc/eudc.texi: Bump version to 1.40.0.
7243 Remove PH/QI sections and mentions.
7244 * lisp/obsolete/eudcb-ph.el: Make obsolete.
7245 * lisp/net/eudc-vars.el (eudc-known-protocols): Remove ph.
7246 (eudc-ph-bbdb-conversion-alist): Make obsolete.
7247 * etc/NEWS: Mention this. (Bug#21191)
7248
7249 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
7250 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
7251
7252 Remove overenthusiastic eassert
7253
7254 * src/lisp.h (XSYMBOL): Remove eassert incorrectly added in
7255 previous change. It breaks on MS-Windows --with-wide-int.
7256 Problem reported by Eli Zaretskii in:
7257 http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00275.html
7258
7259 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
7260
7261 Pacify gcc -Wparentheses
7262
7263 * src/xdisp.c (row_containing_pos): Reparenthesize.
7264
7265 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
7266
7267 Port mod-test to 32-bit Emacs --without-wide-int
7268
7269 * modules/mod-test/test.el (mod-test-sum-test):
7270 Bring back the 2**29 tests, but port them to 32-bit Emacs
7271 --without-wide-int.
7272
7273 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
7274
7275 Fix minor Tramp problems found on BSD
7276
7277 * lisp/net/tramp-sh.el (tramp-perl-file-truename): Do not append
7278 trailing slash. Quote apostrophes.
7279 (tramp-sh-handle-file-truename): Do not append trailing slash in
7280 the "ls" case.
7281 (tramp-get-ls-command-with-w-option): New defun.
7282 (tramp-do-file-attributes-with-ls)
7283 (tramp-do-directory-files-and-attributes-with-stat): Use it.
7284
7285 * test/automated/tramp-tests.el
7286 (tramp-test31-special-characters-with-perl)
7287 (tramp-test31-special-characters-with-ls)
7288 (tramp-test32-utf8-with-perl, tramp-test32-utf8-with-ls):
7289 Suppress also readlink.
7290
7291 2015-12-06 Eli Zaretskii <eliz@gnu.org>
7292
7293 Fix cursor display when invisible text is at line beginning
7294
7295 * src/xdisp.c (redisplay_window): When scrolling fails to show
7296 point, prefer using the desired matrix if possible for finding the
7297 fallback glyph row for displaying the cursor. (Bug#22098)
7298 (row_containing_pos): Exit the loop as soon as we hit the first
7299 disabled glyph row. Otherwise we risk accessing garbled data and
7300 departing to the no-no land.
7301
7302 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
7303
7304 Improve module interface when WIDE_EMACS_INT
7305
7306 * src/emacs-module.c (plain_values): New constant.
7307 (module_nil): Now a constant.
7308 (Finternal_module_call, value_to_lisp_bits, lisp_to_value_bits)
7309 (syms_of_module): Use if, not #ifdef, so that both sides are
7310 checked at compile-time, and so that GCC doesn’t complain
7311 about an unused var in the typical case. Also, depend on
7312 plain_values, not on WIDE_EMACS_INT; the code shouldn’t assume
7313 that WIDE_EMACS_INT implies !USE_LSB_TAG.
7314 (value_to_lisp_bits, lisp_to_value_bits): New functions.
7315 Sign-extend integers rather than zero-extending them, as small
7316 negative integers are more likely.
7317 (value_to_lisp, lisp_to_value): Rewrite in terms of the new *_bits
7318 functions.
7319 (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Define to 0 if not already defined.
7320 (mark_modules): Remove. All uses removed.
7321 (lisp_to_value): Don’t assume Fcons returns a pointer aligned
7322 to GCALIGNMENT.
7323 (syms_of_module): Check that module_nil converts to Qnil.
7324 * src/lisp.h (lisp_h_XSYMBOL, XSYMBOL): Use signed conversion, since
7325 we prefer signed to unsigned when either will do.
7326 (TAG_PTR): Sign-extend pointers when USE_LSB_TAG, as this is
7327 a bit better for emacs-module.c.
7328
7329 2015-12-06 Paul Eggert <eggert@cs.ucla.edu>
7330
7331 Port mod-test to x86-64 GNU/Linux running 32-bit
7332
7333 * modules/mod-test/test.el (mod-test-sum-test):
7334 Don’t attempt to match descriptions to operating systems.
7335 It didn’t work on Fedora x86-64 running a 32-bit executable,
7336 and it’s not worth the trouble anyway.
7337 Port to 32-bit platforms by removing an assumption about
7338 fixnum widths.
7339
7340 2015-12-06 Michael Albinus <michael.albinus@gmx.de>
7341
7342 Fix auto-revert-tests.el when filenotify isn't used
7343
7344 * test/automated/auto-revert-tests.el (auto-revert--wait-for-revert):
7345 Make it working also when filenotify isn't used.
7346
7347 2016-01-30 Juri Linkov <juri@linkov.net>
7348 2015-12-05 Juri Linkov <juri@linkov.net>
7349
7350 * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
7351
7352 Let-bind isearch-regexp-function to nil. (Bug#22097)
7353
7354 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
7355
7356 * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)
7357
7358 (package--with-response-buffer): NOERROR and ERROR-FORM only
7359 handle connection errors.
7360 (bad-signature): New error type.
7361 (package--check-signature-content): Use it.
7362 (package--check-signature): Properly distinguish connection errors
7363 from bad-signature errors. Do the check for
7364 `package-check-signature' `allow-unsigned' here instead of forcing
7365 the callbacks to do it. Add a new argument, UNWIND.
7366 (package--download-one-archive, package-install-from-archive):
7367 Update usage of `package--check-signature'.
7368
7369 2015-12-05 Ulf Jasper <ulf.jasper@web.de>
7370
7371 Fix Bug#22092.
7372
7373 * lisp/calendar/icalendar.el (icalendar--get-unfolded-buffer):
7374 Clean up inconsistent line endings. (Bug#22092)
7375 (icalendar--clean-up-line-endings): New.
7376 * test/automated/icalendar-tests.el (icalendar-real-world): Add test
7377 for Bug#22092.
7378
7379 2015-12-05 Eli Zaretskii <eliz@gnu.org>
7380
7381 Document 'bookmark-set-no-overwrite'
7382
7383 * doc/emacs/regs.texi (Bookmarks): Document the new command
7384 'bookmark-set-no-overwrite' and its keybinding.
7385
7386 2015-12-05 Eli Zaretskii <eliz@gnu.org>
7387
7388 Document new binding of 'mouse-buffer-menu'
7389
7390 * doc/emacs/buffers.texi (Buffer Menus): 'mouse-buffer-menu' is
7391 now also on C-F10.
7392
7393 2015-12-05 Eli Zaretskii <eliz@gnu.org>
7394
7395 Initial documentation of dynamic modules
7396
7397 * doc/lispref/loading.texi (Dynamic Modules): New section with
7398 initial documentation for dynamic modules.
7399 * doc/lispref/elisp.texi (Top): Add "Dynamic Modules" to the
7400 detailed menu
7401
7402 * etc/NEWS: Fix typos in dynamic modules' entry.
7403
7404 2015-12-05 Artur Malabarba <bruce.connor.am@gmail.com>
7405
7406 Remove copyright statements from trivial test files
7407
7408 2015-12-05 Eli Zaretskii <eliz@gnu.org>
7409
7410 Add "Preliminaries" section to etc/DEBUG
7411
7412 * etc/DEBUG: Add the "Preliminaries" section for GDB beginners.
7413 Most of the content was suggested by Phillip Lord
7414 <phillip.lord@russet.org.uk>. Remove the section about debugging
7415 with the Visual Studio, as building Emacs with the Microsoft
7416 compilers is no longer supported. Minor fixes in some other
7417 sections.
7418
7419 2015-12-05 Alex Dunn <dunn.alex@gmail.com> (tiny change)
7420
7421 Improve parsing of version strings
7422
7423 * lisp/subr.el (version-regexp-alist): Allow "." as priority separator
7424 (version-to-list): More helpful error messages.
7425 (version-to-list): ".5" is valid (update docstring). Make
7426 "22.8X3" invalid, as the doc string says.
7427
7428 * test/automated/subr-tests.el (ert-test-version-parsing): New
7429 tests for version string processing.
7430
7431 2015-12-05 Eli Zaretskii <eliz@gnu.org>
7432
7433 Fix documentation of 'undo' changes
7434
7435 * doc/lispref/text.texi (Undo): Minor wording changes. Use US
7436 English conventions for spelling and whitespace between sentences.
7437
7438 * etc/NEWS: Fix wording and spelling of undo-related entries.
7439 Mark them as documented.
7440
7441 2016-01-30 Glenn Morris <rgm@gnu.org>
7442 2015-12-04 Glenn Morris <rgm@gnu.org>
7443
7444 * lisp/net/net-utils.el: Small improvements.
7445
7446 (net-utils--executable-find-sbin): New function.
7447 (ifconfig-program): Check sbin directories.
7448 Fallback to "ip". (Bug#22091)
7449 (ifconfig-program-options): Check the actual program in use.
7450 (arp-program): Check sbin directories.
7451
7452 2016-01-30 (tiny change) Arash Esbati <esbati@gmx.de> (tiny change)
7453 2015-12-04 Arash Esbati <esbati@gmx.de> (tiny change)
7454
7455 Fix wrong-type-argument integer-or-marker-p nil error
7456
7457 * lisp/textmodes/reftex-auc.el (reftex-what-index-tag):
7458 Fix (wrong-type-argument integer-or-marker-p nil) error (bug#22077).
7459
7460 2015-12-04 Alan Mackenzie <acm@muc.de>
7461
7462 Merge branch 'scratch/follow' of /home/acm/emacs/emacs.git/emacs-25 into scratch/follow
7463
7464 Merge necessitated by a rebase operation.
7465
7466 2015-12-04 Alan Mackenzie <acm@muc.de>
7467
7468 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
7469
7470 2015-12-04 Alan Mackenzie <acm@muc.de>
7471
7472 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
7473
7474 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
7475 Windows" and new @defun selected-window-group.
7476 (Window Start and End): Describe new &optional parameter GROUP and
7477 ...-group-function for window-start, window-end, set-window-start, and
7478 pos-visible-in-window-p.
7479 (Textual Scrolling) Describe the same for recenter.
7480 doc/lispref/positions.texi (Screen Lines): Describe the same for
7481 move-to-window-line.
7482
7483 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
7484 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
7485 new optional parameter "group". At the beginning of each, check whether the
7486 corresponding ...-group-function is set to a function, and if so execute this
7487 function in place of the normal processing.
7488 (syms_of_window): Define symbols for the six new variables below.
7489 (window-start-group-function, window-end-group-function)
7490 (set-window-start-group-function, recenter-group-function)
7491 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
7492 New permanent local buffer local variables.
7493 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
7494 Fpos_visible_in_window_p.
7495
7496 lisp/window.el (selected-window-group-function): New permanent local buffer
7497 local variable.
7498 (selected-window-group): New function.
7499
7500 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
7501 enable, kill them at mode disable. Add/remove follow-after-change to/from
7502 after-change-functions.
7503 (follow-start-end-invalid): New variable.
7504 (follow-redisplay): Manipulate follow-start-end-invalid.
7505 (follow-after-change, follow-window-start, follow-window-end)
7506 (follow-set-window-start, follow-pos-visible-in-window-p)
7507 (follow-move-to-window-line, follow-sit-for): New functions.
7508
7509 lisp/isearch.el (isearch-call-message): New macro.
7510 (isearch-update, with-isearch-suspended, isearch-del-char)
7511 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
7512 (with-isearch-suspended): Rearrange code such that isearch-call-message is
7513 invoked before point is moved.
7514 (isearch-message): Add comment about where point must be at function call.
7515 (isearch-search): Remove call to isearch-message.
7516 (isearch-lazy-highlight-window-group): New variable.
7517 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
7518 the battery of tests to ...
7519 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
7520 Note: (sit-for 0) is still called.
7521 (isearch-lazy-highlight-update): Check membership of
7522 isearch-lazy-highlight-window-group. Don't set the `window' overlay
7523 property.
7524 (isearch-update, isearch-done, isearch-string-out-of-window)
7525 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
7526 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
7527 (isearch-lazy-highlight-update): Call the six amended primitives (see
7528 src/window.c above) with the new `group' argument set to t, to cooperate
7529 with Follow Mode.
7530
7531 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecase
7534
7535 * lisp/emacs-lisp/ert.el (ert--should-error-handle-error)
7536 (ert--explain-format-atom, ert--explain-equal-rec)
7537 (ert--print-backtrace, ert-test-result-type-p, ert-select-tests)
7538 (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
7539
7540 2015-12-04 Artur Malabarba <bruce.connor.am@gmail.com>
7541
7542 * lisp/character-fold.el: Remove special case-folding support
7543
7544 (character-fold-to-regexp): Remove special code for
7545 case-folding. Char-fold search still respects the
7546 `case-fold-search' variable (i.e., f matches F). This only
7547 removes the code that was added to ensure that f also matched
7548 all chars that F matched. For instance, after this commit, f
7549 no longer matches 𝔽.
7550
7551 This was necessary because the logic created a regexp with
7552 2^(length of the string) redundant paths. So, when a very
7553 long string "almost" matched, Emacs took a very long time to
7554 figure out that it didn't. This became particularly relevant
7555 because isearch's lazy-highlight does a search bounded by (1-
7556 match-end) (which, in most circumstances, is a search that
7557 almost matches). A recipe for this can be found in bug#22090.
7558
7559 2015-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
7560
7561 * lisp/emacs-lisp/cl-macs.el (character): Can't be negative
7562 Fixes (bug#21701)
7563
7564 2015-12-04 Daiki Ueno <ueno@gnu.org>
7565
7566 lisp/gnus/qp.el: Don't replace "from " at bol
7567
7568 * lisp/gnus/qp.el (quoted-printable-encode-region): Bind `case-fold-search'
7569 to nil when looking for "^From ". Problem reported by Simon Josefsson.
7570
7571 2015-12-03 Phillip Lord <phillip.lord@russet.org.uk>
7572
7573 Externalize some symbols in undo-auto
7574
7575 * doc/lispref/text.texi: Update symbols.
7576 * lisp/simple.el (undo-auto--amalgamate,
7577 undo-auto--current-boundary-timer): Make symbols public.
7578 * src/cmds.c (Fself_insert_command,Fdelete_char): Call
7579 updated symbol.
7580
7581 2015-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"
7584
7585 2015-12-03 Michael Albinus <michael.albinus@gmx.de>
7586
7587 Some error message improvements in tramp-sh.el
7588
7589 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
7590 Suppress error messages for "mesg" and "biff" calls.
7591 (tramp-get-remote-path): Ignore errors when expanding
7592 `tramp-own-remote-path'. Raise a warning instead.
7593
7594 2015-12-03 Eli Zaretskii <eliz@gnu.org>
7595
7596 Document 'nacl' value for 'system-type'
7597
7598 * doc/lispref/os.texi (System Environment): Document the 'nacl'
7599 value of 'system-type'.
7600
7601 2015-12-03 Eli Zaretskii <eliz@gnu.org>
7602
7603 Document 'window-max-chars-per-line'
7604
7605 * doc/lispref/windows.texi (Window Sizes): Document
7606 'window-max-chars-per-line'.
7607
7608 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
7609
7610 Fix some file headers for the purpose of `package--builtins'
7611
7612 * lisp/emacs-lisp/cl-preloaded.el
7613 * lisp/emacs-lisp/eieio-compat.el
7614 * lisp/net/sasl-scram-rfc.el: Add a "Package:" header
7615
7616 * lisp/ielm.el: Fix summary line.
7617
7618 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
7619
7620 * lisp/emacs-lisp/package.el (package-unpack): Load before compiling
7621
7622 Reload any previously loaded package files before compiling
7623 the package (also reload the same files after compiling).
7624 This ensures that we have the most recent definitions during
7625 compilation, and avoids generating bad elc files when a macro
7626 changes and it is used in a different file from the one it's
7627 defined in.
7628
7629 2015-12-03 Artur Malabarba <bruce.connor.am@gmail.com>
7630
7631 * lisp/emacs-lisp/package.el: Refactor package activation code
7632
7633 (package-activate): Move code that activates dependencies into
7634 package-activate-1.
7635 (package--load-files-for-activation): New function.
7636 (package-activate-1): Add code for (optionally) activating
7637 dependencies, and move file-loading code into
7638 `package--load-files-for-activation'.
7639
7640 2015-12-03 Eli Zaretskii <eliz@gnu.org>
7641
7642 Document new font-related functionality
7643
7644 * doc/lispref/display.texi (Low-Level Font): Document
7645 'default-font-width', 'default-font-height', 'window-font-width',
7646 and 'window-font-height'.
7647
7648 * etc/NEWS: Move entries for 'default-font-width',
7649 'default-font-height', 'window-font-width', and 'window-font-height'
7650 to their place and mark them documented.
7651
7652 2015-12-03 Eli Zaretskii <eliz@gnu.org>
7653
7654 Fix documentation and implementation of 'directory-name-p'
7655
7656 * lisp/files.el (directory-name-p): Modify to recognize
7657 backslashes on MS-Windows and MS-DOS. Adjust the doc string
7658 accordingly. Use '=', not char-equal, for comparison, as
7659 letter-case cannot possibly be an issue here.
7660
7661 * doc/lispref/files.texi (Directory Names): Move the documentation
7662 of directory-name-p here from "Relative File Names". Update the
7663 description per the changes in implementation.
7664
7665 * etc/NEWS: Move the entry for 'directory-name-p' to its proper
7666 place and mark it documented.
7667
7668 2015-12-02 Eli Zaretskii <eliz@gnu.org>
7669
7670 Minor copyedit in Emacs manual
7671
7672 * doc/emacs/search.texi (Lax Search): Make wording about character
7673 folding by default less definitive. (Bug#22043)
7674
7675 2015-12-02 Eli Zaretskii <eliz@gnu.org>
7676
7677 More emacs-module.c fixes for wide ints
7678
7679 * src/emacs-module.c (value_to_lisp) [WIDE_EMACS_INT]: Use
7680 unsigned data types to manipulate pointers, to avoid sign
7681 extension coming after us with a vengeance.
7682
7683 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
7684 Emacs with wide ints that verify integer values near the critical
7685 value that requires us to switch to a cons cell.
7686
7687 2015-12-02 Stephen Leake <stephen_leake@stephe-leake.org>
7688
7689 Fix bug#22069 in cl-generic.el
7690
7691 * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is
7692 not run thru `format'.
7693
7694 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
7695 2015-12-01 Dmitry Gutov <dgutov@yandex.ru>
7696
7697 APPEND etags--xref-backend to xref-backend-functions
7698
7699 * lisp/progmodes/xref.el (xref-backend-functions):
7700 Use APPEND when adding the default element
7701 (http://lists.gnu.org/archive/html/emacs-devel/2015-12/msg00061.html).
7702
7703 2015-12-01 Eli Zaretskii <eliz@gnu.org>
7704
7705 More accurate documentation of lax whitespace matching
7706
7707 * lisp/isearch.el (isearch-forward-word, isearch-forward-symbol)
7708 (word-search-backward, word-search-forward)
7709 (word-search-backward-lax, word-search-forward-lax): Mention in
7710 doc strings that toggling lax whitespace matching has no effect on
7711 these commands.
7712
7713 * doc/emacs/search.texi (Word Search, Symbol Search): Clarify that
7714 lax whitespace matching has no effect on these commands.
7715
7716 2015-12-01 Eli Zaretskii <eliz@gnu.org>
7717
7718 Fix emacs-module.c for wide ints
7719
7720 * src/emacs-module.c (lisp_to_value): Compare the produced value
7721 with the original Lisp object, not with the one potentially
7722 converted into a Lisp_Cons. Fixes assertion violations when
7723 working with integers larger than fit into a 32-bit value.
7724
7725 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
7726 large integers, to test --with-wide-int.
7727
7728 2015-12-01 Eli Zaretskii <eliz@gnu.org>
7729
7730 Document 'directory-files-recursively'
7731
7732 * lisp/files.el (directory-files-recursively): Doc fix. Rename
7733 the argument MATCH to REGEXP, to be more explicit about its form.
7734
7735 * doc/lispref/files.texi (Contents of Directories): Improve the
7736 documentation of 'directory-files-recursively'. Add
7737 cross-references.
7738
7739 * etc/NEWS: Move the entry for 'directory-files-recursively' to
7740 its place and mark it documented.
7741
7742 2015-12-01 Eli Zaretskii <eliz@gnu.org>
7743
7744 Document 'inhibit-read-only' property
7745
7746 * doc/lispref/text.texi (Special Properties): Describe the new
7747 'inhibit-read-only' text property. Add cross-reference to where
7748 read-only buffers are described.
7749 * doc/lispref/buffers.texi (Read Only Buffers): Mention that
7750 'inhibit-read-only' property exempts text from being read-only.
7751 Add cross-reference to "Special Properties".
7752
7753 * etc/NEWS: Move the entry about 'inhibit-read-only' property to
7754 its place and mark it documented.
7755
7756 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
7757
7758 * lisp/emacs-lisp/package.el: Update header comments
7759
7760 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
7761
7762 * lisp/character-fold.el: Add back multi-char matching
7763
7764 (character-fold-to-regexp): Uncomment recently commented code
7765 and make the algorithm "dummer" by not checking every possible
7766 combination. This will miss some possible matches, but it
7767 greatly reduces regexp size.
7768
7769 * test/automated/character-fold-tests.el
7770 (character-fold--test-fold-to-regexp): Comment out test of
7771 functionality no longer supported.
7772
7773 2015-12-01 Xue Fuqiao <xfq.free@gmail.com>
7774
7775 * doc/emacs/ack.texi (Acknowledgments): Update.
7776
7777 2015-12-01 Michael Albinus <michael.albinus@gmx.de>
7778
7779 Check `file-remote-p' over absolute files names in files.el
7780
7781 * lisp/files.el (directory-files-recursively)
7782 (get-free-disk-space): Check `file-remote-p' over absolute files names.
7783
7784 2015-12-01 Andreas Schwab <schwab@linux-m68k.org>
7785
7786 * src/lread.c (syms_of_lread): Doc fix.
7787
7788 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
7789 2015-11-30 Dmitry Gutov <dgutov@yandex.ru>
7790
7791 Don't mistake certain JS method calls for keywords
7792
7793 * lisp/progmodes/js.el (js--ctrl-statement-indentation):
7794 Braceless keyword can't come after a period (bug#22063).
7795
7796 2016-01-30 David Reitter <david.reitter@gmail.com>
7797
7798 Read frame_title_format from buffer-local variable for NS port
7799
7800 * src/nsfns.m (x_implicitly_set_name): Read frame-title-format and
7801 icon-title-format variables from buffer in appropriate window.
7802 (Bug#22048)
7803
7804 2016-01-30 Juri Linkov <juri@linkov.net>
7805 2015-11-30 David Reitter <david.reitter@gmail.com>
7806
7807 Read frame_title_format from buffer-local variable for NS port
7808
7809 * nsfns.m (x_implicitly_set_name): Read frame-title-format and
7810 icon-title-format variables from buffer in appropriate window.
7811 (Bug#22048)
7812
7813 2015-11-30 Juri Linkov <juri@linkov.net>
7814
7815 * lisp/replace.el (occur-engine): Count matches in empty lines.
7816
7817 (Bug#22062)
7818
7819 2015-11-30 Aurélien Aptel <aurelien.aptel@gmail.com>
7820
7821 * src/emacs-module.h: Fix finalizer typedef for C++11
7822
7823 C++11 standard doesn't allow exception-specification in typedef.
7824 The workaround is to declare a dummy function prototype and use
7825 decltype on it.
7826
7827 2015-11-30 Eli Zaretskii <eliz@gnu.org>
7828
7829 Fix last change
7830
7831 * src/emacs-module.c (lisp_to_value, value_to_lisp)
7832 [WIDE_EMACS_INT]: Avoid compiler warnings.
7833
7834 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
7835
7836 Rely on conservative stack scanning to find "emacs_value"s
7837
7838 * src/emacs-module.c (struct emacs_value_tag)
7839 (struct emacs_value_frame, struct emacs_value_storage): Remove.
7840 (value_frame_size): Remove constant.
7841 (struct emacs_env_private): Use Lisp_Object for non_local_exit info.
7842 (lisp_to_value): Remove first arg.
7843 (module_nil): New constant.
7844 Use it instead of NULL when returning an emacs_value.
7845 (module_make_function): Adjust to new calling convention of
7846 Qinternal_module_call.
7847 (DEFUN): Receive args in an array rather than a list.
7848 Use SAFE_ALLOCA rather than xnmalloc. Skip the lisp_to_value loop when
7849 we don't have WIDE_EMACS_INT. Adjust to new type of non_local_exit info.
7850 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
7851 Adjust to new type of non_local_exit info.
7852 (ltv_mark) [WIDE_EMACS_INT]: New constant.
7853 (value_to_lisp, lisp_to_value): Rewrite.
7854 (initialize_frame, initialize_storage, finalize_storage): Remove functions.
7855 (allocate_emacs_value): Remove function.
7856 (mark_modules): Gut it.
7857 (initialize_environment): Don't initialize storage any more.
7858 Keep the actual env object on Vmodule_environments.
7859 (finalize_environment): Don't finalize storage any more.
7860 (syms_of_module): Initialize ltv_mark and module_nil.
7861
7862 * src/emacs-module.h (emacs_value): Make it more clear that this type
7863 is really opaque, including the fact that NULL may not be valid.
7864
7865 * modules/mod-test/mod-test.c (Fmod_test_signal, Fmod_test_throw):
7866 Don't assume that NULL is a valid emacs_value.
7867
7868 2015-11-30 Eli Zaretskii <eliz@gnu.org>
7869
7870 Yet another doc improvement for search commands
7871
7872 * doc/emacs/search.texi (Word Search, Symbol Search)
7873 (Regexp Search): Document commands that don't support lax
7874 whitespace matching or character folding.
7875 (Nonincremental Search): Mention the search commands that can be
7876 invoked from the menu bar.
7877
7878 * lisp/isearch.el (isearch-define-mode-toggle-word)
7879 (isearch-define-mode-toggle-symbol)
7880 (isearch-define-mode-toggle-character-fold): Note in the doc
7881 string that turning these on exits the regexp mode.
7882 (isearch-forward-regexp, isearch-forward-word)
7883 (isearch-forward-symbol, isearch-backward-regexp)
7884 (word-search-backward, word-search-forward)
7885 (word-search-backward-lax, word-search-forward-lax): State in the
7886 doc string which commands don't support character folding and/or
7887 lax-whitespace matching.
7888
7889 2015-11-30 Martin Rudalics <rudalics@gmx.at>
7890
7891 Run `window-size-change-functions' also when reading from minibuffer
7892
7893 * src/xdisp.c (redisplay_internal): Run `window-size-change-functions'
7894 also when reading from minibuffer.
7895
7896 2015-11-30 Ulf Jasper <ulf.jasper@web.de>
7897
7898 Fix scrambling of html-rendered item buffers
7899
7900 * lisp/net/newst-treeview.el (newsticker--treeview-render-text): Fix
7901 scrambling of contents by wrapping call to html-renderer in
7902 save-selected-window.
7903
7904 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
7905
7906 Fix font typo in previous doc fix.
7907
7908 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
7909
7910 A bit more security doc, esp. file local vars
7911
7912 * doc/emacs/emacs.texi (Top):
7913 * doc/emacs/misc.texi (Miscellaneous Commands):
7914 Refer to new Host Security section.
7915 (Host Security): New section.
7916 * doc/lispref/os.texi (Security Considerations):
7917 Mention file local variables.
7918
7919 2015-11-30 Artur Malabarba <bruce.connor.am@gmail.com>
7920
7921 * lisp/character-fold.el: Comment out branching code
7922
7923 (character-fold-to-regexp): Comment out code that uses multi-char
7924 table. The branching caused by this induces absurdly long regexps,
7925 up to 10k chars for as little as 25 input characters.
7926
7927 2015-11-30 Paul Eggert <eggert@cs.ucla.edu>
7928
7929 Spelling and grammar fixes
7930
7931 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
7932 2015-11-29 Dmitry Gutov <dgutov@yandex.ru>
7933
7934 Make lisp-completion-at-point a wrapper instead of an alias
7935
7936 * lisp/progmodes/elisp-mode.el (lisp-completion-at-point):
7937 Turn into an obsolete wrapper around elisp-completion-at-point
7938 (bug#20455).
7939
7940 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7941
7942 * lisp/isearch.el (isearch-search-fun-default): Nicer error
7943
7944 message when the search fails.
7945
7946 2015-11-29 Dmitry Gutov <dgutov@yandex.ru>
7947
7948 Update menu-bar-goto-uses-etags-p for the current xref API
7949
7950 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Consult
7951 xref-backend-functions, instead of now-nonexistent
7952 xref-find-function.
7953
7954 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7955
7956 * lisp/isearch.el (isearch-define-mode-toggle): Advertise binding
7957
7958 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7959
7960 * lisp/menu-bar.el: Use folding in searches
7961
7962 (nonincremental-search-forward): Use `isearch-search-fun-default'
7963 to determine the search function.
7964 (nonincremental-search-backward)
7965 (nonincremental-repeat-search-forward)
7966 (nonincremental-repeat-search-backward): Use it.
7967
7968 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7969
7970 * lisp/menu-bar.el (menu-bar-goto-uses-etags-p): Fix a warning
7971
7972 2015-11-29 Artur Malabarba <bruce.connor.am@gmail.com>
7973
7974 * lisp/character-fold.el (character-fold-to-regexp): Be careful
7975
7976 not to return huge regexps.
7977
7978 2015-11-29 Eli Zaretskii <eliz@gnu.org>
7979
7980 Improve documentation of string-collate-* functions
7981
7982 * doc/lispref/strings.texi (Text Comparison): Improve wording and
7983 indexing of 'string-collate-equalp' and 'string-collate-lessp'.
7984
7985 * etc/NEWS: Move the entry of 'string-collate-equalp' and
7986 'string-collate-lessp' to "Lisp Changes" section and mark it as
7987 documented.
7988
7989 2015-11-29 Eli Zaretskii <eliz@gnu.org>
7990
7991 Document truncate-string-ellipsis
7992
7993 * doc/lispref/display.texi (Size of Displayed Text): Document
7994 'truncate-string-ellipsis'.
7995
7996 * lisp/international/mule-util.el (truncate-string-ellipsis): Doc fix.
7997 (truncate-string-to-width): Mention in the doc string that the
7998 default for ELLIPSIS comes from 'truncate-string-ellipsis'.
7999
8000 * etc/NEWS: Move the 'truncate-string-ellipsis' entry to the "Lisp
8001 Changes" section.
8002
8003 2015-11-29 Eli Zaretskii <eliz@gnu.org>
8004
8005 Fix confusion wrt character folding in the Emacs manual
8006
8007 * doc/emacs/search.texi (Nonincremental Search, Regexp Search):
8008 Document that invoking search-forward/backward and
8009 re-search-forward/backward supports only case folding, but not the
8010 rest of the lax-search features. Reported by Mike Kupfer
8011 <m.kupfer@acm.org>.
8012
8013 2015-11-29 Ken Brown <kbrown@cornell.edu>
8014
8015 Update mod-test-sum-test
8016
8017 * modules/mod-test/test.el (mod-test-sum-test): Update to
8018 accommodate the lack of dladdr on Cygwin.
8019
8020 2015-11-29 Alan Mackenzie <acm@muc.de>
8021
8022 Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.
8023
8024 * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument
8025 to `funcall', (i) Output an error message; (ii) Generate code to signal a
8026 `wrong-number-of-arguments' error.
8027
8028 2015-11-29 Martin Rudalics <rudalics@gmx.at>
8029
8030 * lisp/window.el (split-window): Don't sanitize sizes when SIZE is non-nil.
8031
8032 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
8033
8034 * lisp/character-fold.el (character-fold-to-regexp)
8035
8036 Warn about using long strings.
8037
8038 * test/automated/character-fold-tests.el
8039 (character-fold--test-lax-whitespace)
8040 (character-fold--test-consistency): Reduce string size for tests.
8041
8042 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8043
8044 Document renaming of x-select-enable-* variables
8045
8046 * doc/emacs/killing.texi (Clipboard): Rename
8047 x-select-enable-clipboard to select-enable-clipboard and
8048 x-select-enable-primary to select-enable-primary. Update index
8049 entries.
8050
8051 * etc/NEWS: Mark entry as documented.
8052
8053 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8054
8055 Document the shorthand hints displayed by M-x
8056
8057 * doc/emacs/m-x.texi (M-x): Document the numeric meaning of
8058 suggest-key-bindings. Document the shorthand hints for commands
8059 that have no key bindings. Document that M-x completion ignores
8060 obsolete commands.
8061
8062 * etc/NEWS: Move the M-x entry to "Editing Changes" and mark it as
8063 documented.
8064
8065 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8066
8067 Update docs of character folding
8068
8069 * doc/emacs/search.texi (Lax Search): Update the description of
8070 character folding for the latest changes.
8071
8072 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
8073
8074 * lisp/character-fold.el: Also play nice with case-folding
8075
8076 (character-fold-to-regexp): Take `case-fold-search' into account.
8077
8078 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
8079
8080 * lisp/character-fold.el: Add support for multi-char matches
8081
8082 (character-fold-table): Now has an extra-slot. This is a second
8083 char-table that holds multi-character matches. See docstring for
8084 details.
8085 (character-fold-to-regexp): Can build branching regexps when a
8086 character's entry the extra slot of `character-fold-table' matches the
8087 characters that succeed it.
8088
8089 2015-11-28 Artur Malabarba <bruce.connor.am@gmail.com>
8090
8091 * lisp/character-fold.el: Code simplifications
8092
8093 (character-fold-table): Reduce the scope of a variable.
8094 (character-fold-to-regexp): Change logic to work directly on the
8095 input string. It's a little easier to understand, probably
8096 faster, and sets us up for implementing multi-char matches.
8097
8098 * test/automated/character-fold-tests.el
8099 (character-fold--test-fold-to-regexp): New test.
8100
8101 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8102
8103 Document changes in "C-h l"
8104
8105 * doc/emacs/help.texi (Misc Help): Document the changes in "C-h l".
8106
8107 * etc/NEWS: mark "C-h l" changes as documented.
8108
8109 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8110
8111 Finalize documentation of 'custom-prompt-customize-unsaved-options'
8112
8113 * doc/emacs/custom.texi (Saving Customizations): Index the new
8114 function 'custom-prompt-customize-unsaved-options'.
8115
8116 * etc/NEWS: Mention when 'custom-prompt-customize-unsaved-options'
8117 is useful.
8118
8119 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8120
8121 Document 'comment-line'
8122
8123 * doc/emacs/programs.texi (Comment Commands): Document
8124 'comment-line'.
8125
8126 * etc/NEWS: Move the entry for 'comment-line' into "Editing Changes".
8127
8128 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8129
8130 Document new checkdoc features
8131
8132 * doc/lispref/tips.texi (Tips, Library Headers): Document the
8133 keyword-checking features of checkdoc and the commands
8134 'checkdoc-file' and 'checkdoc-current-buffer'.
8135
8136 * etc/NEWS: Move the checkdoc-related entries to their own
8137 section.
8138
8139 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
8140
8141 Simplify the prologue of emacs-module.c functions
8142
8143 * src/emacs-module.c (MODULE_FUNCTION_BEGIN): New macro.
8144 (module_make_global_ref)
8145 (module_free_global_ref, module_make_function, module_funcall)
8146 (module_intern, module_type_of, module_extract_integer)
8147 (module_make_integer, module_extract_float, module_make_float)
8148 (module_copy_string_contents, module_make_string)
8149 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
8150 (module_get_user_finalizer, module_set_user_finalizer)
8151 (module_vec_set, module_vec_get, module_vec_size): Use new helper
8152 macro MODULE_FUNCTION_BEGIN.
8153
8154 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8155
8156 Don't reject module calls with no arguments
8157
8158 * src/emacs-module.c (Finternal_module_call): Allow ARGLIST be nil.
8159
8160 2015-11-28 Philipp Stephani <p.stephani2@gmail.com>
8161
8162 Make module-call be visible from Lisp
8163
8164 * src/emacs-module.c (module_make_function): Use internal--module-call.
8165 (Finternal_module_call): Renamed from Fmodule_call. Add safety
8166 checks.
8167 (syms_of_module): DEFSYM save-value-p and save-pointer-p. Do
8168 defsubr internal--module-call.
8169
8170 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8171
8172 Add etags tests for the recent Lua-related bugfix
8173
8174 * test/etags/lua-src/test.lua: New file, tests the issues raised
8175 by bug#21934.
8176 * test/etags/Makefile (LUASRC): Add test.lua.
8177 * test/etags/ETAGS.good_1:
8178 * test/etags/ETAGS.good_2:
8179 * test/etags/ETAGS.good_3:
8180 * test/etags/ETAGS.good_4:
8181 * test/etags/ETAGS.good_5:
8182 * test/etags/ETAGS.good_6:
8183 * test/etags/CTAGS.good: Adapt to the new Lua test. Also, an old
8184 regression fix, resolved around 25 May 2015, required changes to
8185 the "good" ETAGS files.
8186
8187 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8188
8189 Fix Lua tags when a function name includes '.' or ':'
8190
8191 * lib-src/etags.c (Lua_functions): Add a tag for the last element
8192 of a function name after a dot or a colon. (Bug#21934)
8193
8194 2015-11-28 Eli Zaretskii <eliz@gnu.org>
8195
8196 Improve documentation of search and replace commands
8197
8198 * doc/emacs/search.texi (Replacement and Lax Matches): Document
8199 which commands are affected by 'replace-character-fold'.
8200 (Lax Search): Add a cross reference to "Replacement and Lax
8201 Matches". Improve wording. Fix lost extra whitespace.
8202 (Search Customizations): Improve wording. (Bug#22036)
8203 See also comments in
8204 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02376.html.
8205
8206 * lisp/replace.el (query-replace, query-replace-regexp)
8207 (query-replace-regexp-eval, replace-string, replace-regexp):
8208 Mention 'replace-character-fold' in the doc strings.
8209
8210 2015-11-28 Paul Eggert <eggert@cs.ucla.edu>
8211
8212 Fix minor problems found by static checking
8213
8214 * src/undo.c (prepare_record): Add proper prototype for C.
8215
8216 2015-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
8217
8218 * src/emacs-module.c (struct env_storage): Delete
8219
8220 (struct emacs_runtime_private): Keep an emacs_env instead.
8221 (Fmodule_load, Fmodule_call): Declare emacs_env_private separately.
8222 (initialize_environment): Split the arg in two. Adjust all callers.
8223 Only store the private part in Vmodule_environments.
8224 (finalize_environment): Change the arg to only be the private env.
8225 Adjust all callers.
8226
8227 2015-11-27 Eli Zaretskii <eliz@gnu.org>
8228
8229 Improve documentation of 'replace-character-fold'
8230
8231 * lisp/replace.el (replace-character-fold): Clarify which commands
8232 are affected by this variable.
8233
8234 2016-01-30 Mark Oteiza <mvoteiza@udel.edu>
8235
8236 Backport: Add interactive seek command.
8237
8238 * lisp/mpc.el (mpc-cmd-seekcur): New function.
8239 (mpc-seek-current): New command.
8240 (mpc-mode-menu): Add entry for mpc-seek-current
8241 (mpc-mode-map): Bind mpc-seek-current to "g"
8242
8243 2015-11-27 Dmitry Gutov <dgutov@yandex.ru>
8244
8245 Autoload etags when using its xref backend
8246
8247 * lisp/progmodes/xref.el (xref--etags-backend):
8248 Rename to etags--xref-backend. Move to etags.el. Autoload.
8249 (Bug#22026)
8250
8251 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
8252
8253 * lisp/character-fold.el: Allow complex chars to match their decomposition
8254
8255 (character-fold-table): When a character's decomposition does not
8256 involve a formatting tag (i.e., if it has an "exact" description via
8257 other characters), then this character is allowed to match the
8258 decomposition.
8259
8260 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
8261
8262 * lisp/character-fold.el: More descriptive variable names
8263
8264 (character-fold-table): Rename a lot of the lexical variables to
8265 make the code easier to read.
8266
8267 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
8268
8269 * lisp/isearch.el: Ensure we still support `isearch-new-word'
8270
8271 (isearch-new-regexp-function): Define variable.
8272 (isearch-new-word): Define as an obsolete alias. (Bug#22018)
8273
8274 2015-11-27 Eli Zaretskii <eliz@gnu.org>
8275
8276 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
8277
8278 2015-11-27 Lee Bochicchio <lboc.home@gmail.com>
8279
8280 * test/lisp/abbrev-tests.el: Define more tests
8281
8282 (abbrev-table-name-test, kill-all-abbrevs-test)
8283 (clear-abbrev-table-test): New tests.
8284
8285 2015-11-27 Eli Zaretskii <eliz@gnu.org>
8286
8287 Add module tests for wrong-type-argument
8288
8289 * modules/mod-test/test.el (mod-test-sum-test): Add tests for
8290 wrong-type-argument.
8291
8292 2015-11-27 Eli Zaretskii <eliz@gnu.org>
8293
8294 Improve handling of signals and 'throw' in modules
8295
8296 * src/emacs-module.c: Add commentary explaining how to write
8297 functions in this file.
8298 (module_make_global_ref, module_free_global_ref)
8299 (module_non_local_exit_signal, module_non_local_exit_throw)
8300 (module_make_function, module_funcall, module_intern)
8301 (module_type_of, module_is_not_nil, module_eq)
8302 (module_extract_integer, module_make_integer)
8303 (module_extract_float, module_make_float)
8304 (module_copy_string_contents, module_make_string)
8305 (module_make_user_ptr, module_get_user_ptr, module_set_user_ptr)
8306 (module_get_user_finalizer, module_set_user_finalizer)
8307 (module_vec_set, module_vec_get, module_vec_size)
8308 (module_non_local_exit_signal_1, module_non_local_exit_throw_1):
8309 Do nothing and return with failure indication immediately, if some
8310 previous module call signaled an error or wants to throw. See
8311 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02133.html
8312 for the relevant discussions.
8313
8314 2015-11-27 Eli Zaretskii <eliz@gnu.org>
8315
8316 Add ':version' tag to 'checkdoc-package-keywords-flag'
8317
8318 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
8319 Add a ':version' tag.
8320
8321 2015-11-27 Eli Zaretskii <eliz@gnu.org>
8322
8323 Improve documentation of 'eval-buffer' and 'eval-region'
8324
8325 * src/lread.c (Feval_buffer, Feval_region): Doc fixes. (Bug#22023)
8326
8327 * doc/lispref/eval.texi (Eval): Mention narrowing to clarify
8328 "accessible portion of buffer".
8329
8330 2015-11-27 Eli Zaretskii <eliz@gnu.org>
8331
8332 Unbreak the Cygwin w32 build
8333
8334 * src/emacs.c (main): Call w32_init_main_thread in the Cygwin w32
8335 build as well. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8336
8337 2015-11-27 Eli Zaretskii <eliz@gnu.org>
8338
8339 Improve commentary in character-fold.el
8340
8341 * lisp/character-fold.el (character-fold-to-regexp): Move detailed
8342 description from commit log message to comments. (Bug#22019)
8343
8344 2015-11-26 Alan Mackenzie <acm@muc.de>
8345
8346 Byte Compiler: generate code to adjust stack count after call to `signal'.
8347
8348 Corrects change from earlier today.
8349
8350 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of
8351 `byte-compile--for-effect' as argument to `byte-compile-form'.
8352
8353 2015-11-26 Eli Zaretskii <eliz@gnu.org>
8354
8355 Improve commentary of prepare_to_modify_buffer_1
8356
8357 * src/insdel.c (prepare_to_modify_buffer_1): Mention in commentary
8358 that this function runs Lisp. Suggested by Richard Stallman
8359 <rms@gnu.org>.
8360
8361 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
8362
8363 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
8364
8365 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
8366
8367 Fix regression after merge.
8368
8369 * src/undo.c (prepare_record): Remove call to run_undoable_change.
8370
8371 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
8372
8373 After delete, record point location in undo.
8374
8375 Addresses Bug #21968.
8376
8377 * lisp/simple.el (undo-auto--add-boundary): Clean up code to
8378 better support intercalating calls.
8379 * src/keyboard.c, src/keyboard.h (command_loop_1): Store value of
8380 point and current buffer before each command.
8381 * src/undo.c (record_point): Now only record the point.
8382 * src/undo.c (prepare_record): Functionality removed form
8383 record_point.
8384 * src/undo.c (record_delete): Check if point needs recording.
8385 * src/undo.c (undo-boundary): Record value of point before each
8386 boundary.
8387 * test/automated/simple-test.el: New tests.
8388
8389 Conflicts:
8390 src/undo.c
8391
8392 2015-11-26 Eli Zaretskii <eliz@gnu.org>
8393
8394 Fix compiler warnings in w32.c
8395
8396 * src/w32.c (sys_socket): In case of error, use -1 as return
8397 value, not INVALID_SOCKET, which causes compiler warnings.
8398 (maybe_load_unicows_dll): Cast the return value of GetProcAddress
8399 to the appropriate function signature, to avoid compiler errors.
8400 Reported by Andy Moreton <andrewjmoreton@gmail.com>. (Bug#21953)
8401
8402 2015-11-26 Dmitry Gutov <dgutov@yandex.ru>
8403
8404 Check if the file exists on disk before producing the revert diff
8405
8406 * lisp/vc/vc-dispatcher.el (vc-buffer-sync): Check if the file
8407 exists on disk (bug#20558).
8408
8409 2015-11-26 Alan Mackenzie <acm@muc.de>
8410
8411 Byte compiler: on setq with an odd number of arguments, generate a `signal'
8412
8413 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when
8414 it has an odd number of arguments, to allow bytecomp to handle the error.
8415
8416 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an
8417 odd number of arguments, generate a `signal' instead of the normal code.
8418
8419 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8420 2015-11-25 Dmitry Gutov <dgutov@yandex.ru>
8421
8422 Use find-tag-default for xref-backend-identifier-at-point
8423
8424 * lisp/progmodes/etags.el (find-tag-tag)
8425 (tags-completion-at-point-function): Extract common code as
8426 find-tag--default.
8427 (xref-backend-identifier-at-point): Define in terms of the new
8428 function.
8429
8430 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8431 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
8432
8433 * src/undo.c (record_property_change): Remove now-unused local.
8434
8435 2015-11-25 Phillip Lord <phillip.lord@russet.org.uk>
8436
8437 run_undoable_changes now called from insdel.
8438
8439 The original calls from inside undo.c are not always at a safe position
8440 to call lisp, as they originate in varied positions within insdel.c.
8441 Calling them directly from prepare_to_modify_buffer_1 ensures that they
8442 are always run at the same point.
8443
8444 * src/undo.c (run_undoable_changes,syms_of_undo): Remove function
8445 and symbol used.
8446 * src/insdel.c (run_undoable_changes): Add function and symbol.
8447
8448 2015-11-25 Eli Zaretskii <eliz@gnu.org>
8449
8450 Improve and update documentation of search commands
8451
8452 * doc/emacs/search.texi (Lax Search): Renamed from "Search Case";
8453 all references changed. Move the description of lax-whitespace
8454 here. Add description of the new character folding features and
8455 additional customizable options.
8456 (Isearch Yank): Move before "Error in Search".
8457 (Basic Isearch): Improve wording. Add index entries. Add short
8458 description of how to abandon search, making this subsection a
8459 complete introduction to search basics.
8460 (Repeat Isearch): Add index entries. Describe additional
8461 customizable options. Describe mouse clicks.
8462 (Isearch Yank): Add index entries. Describe mouse-2 click in echo
8463 area. Describe more customizable options.
8464 (Error in Isearch): Add index entries.
8465 (Special Isearch): Move actual description of some isearch
8466 commands to other sections, leaving here just the summary of the
8467 commands. Add command that toggles character folding. Describe
8468 commands, like "C-h C-h", that were previously omitted for some
8469 reason.
8470 (Not Exiting Isearch): Describe search-exit-option. Add index
8471 entries.
8472 (Word Search): Describe eww-search-word and eww-search-prefix.
8473 (Symbol Search): Add index entries.
8474 (Regexp Search): Describe regexp-search-ring-max.
8475 (Replacement and Lax Matches): Renamed from "Replacement and
8476 Case"; all references changed. Describe lax-whitespace matching
8477 in replace commands and related options. Describe character
8478 folding in replace commands and related options.
8479 (Query Replace): Describe query-replace-from-to-separator and the
8480 new history features. Add index entries for highlighted text.
8481 Describe query-replace-skip-read-only. Describe more keys
8482 accepted by query-replace.
8483 (Other Repeating Search): More index entries for Occur. Describe
8484 list-matching-lines-default-context-lines.
8485 (Search Customizations): New section, documents customizable
8486 options that were not documented until now.
8487 * doc/emacs/glossary.texi (Glossary): Add "Case Folding" and
8488 "Character Folding".
8489
8490 * etc/NEWS: Move search- and replace-related entries to a single
8491 parent section.
8492
8493 * lisp/replace.el (query-replace-show-replacement): Doc fix.
8494 * lisp/isearch.el (search-nonincremental-instead)
8495 (isearch-hide-immediately): Doc fixes.
8496
8497 2015-11-25 Katsumi Yamaoka <yamaoka@jpl.org>
8498
8499 Remove nnml-retrieve-groups that is unnecessary and somewhat problematic
8500
8501 * lisp/gnus/nnml.el (nnml-retrieve-groups): Remove. See:
8502 <http://thread.gmane.org/gmane.emacs.gnus.general/86308> and
8503 <http://thread.gmane.org/gmane.emacs.gnus.general/86321>
8504
8505 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
8506
8507 Fix module_format_fun_env when dynlib_addr fails
8508
8509 * src/emacs-module.c (module_format_fun_env):
8510 exprintf doesn’t support %p, so use %x. Reported by Eli Zaretskii in:
8511 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02122.html
8512
8513 2015-11-25 Paul Eggert <eggert@cs.ucla.edu>
8514
8515 Disambiguate variable help a bit better
8516
8517 * lisp/help-fns.el (describe-variable): Quote the
8518 variable’s value if it is a symbol other than t or nil.
8519 See: T.V Raman in:
8520 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg02147.html
8521
8522 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8523
8524 Pass SVN commit message through log-edit-extract-headers
8525
8526 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
8527 log-edit-extract-headers (bug#18954).
8528
8529 2016-01-30 Alan Mackenzie <acm@muc.de>
8530
8531 CC Mode: Eliminate compiler warning messages.
8532
8533 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
8534 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
8535 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
8536 (c-awk-set-syntax-table-properties): Clarify comments about
8537 `font-lock-syntactic-keywords'.
8538
8539 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
8540 of this before the real (interpreted) one, to satisfy the byte compiler.
8541
8542 2016-01-30 Simen Heggestøyl <simenheg@gmail.com>
8543
8544 Extend the test suite for json.el
8545
8546 * lisp/json.el (json-plist-p): Clarify docstring.
8547
8548 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
8549 macro.
8550 (test-json-join, test-json-alist-p)
8551 (test-json-plist-p, test-json-advance, test-json-peek)
8552 (test-json-pop, test-json-skip-whitespace)
8553 (test-json-read-keyword, test-json-encode-keyword)
8554 (test-json-read-number, test-json-encode-number)
8555 (test-json-read-escaped-char, test-json-read-string)
8556 (test-json-encode-string, test-json-encode-key)
8557 (test-json-new-object, test-json-add-to-object)
8558 (test-json-read-object, test-json-encode-list)
8559 (test-json-read-array, test-json-encode-array)
8560 (test-json-read, test-json-read-from-string)
8561 (test-json-encode): New tests.
8562 (json-read-simple-alist): Merged into `test-json-read-object'.
8563 (json-encode-string-with-special-chars): Merged into
8564 `test-json-encode-string'.
8565 (json-read-string-with-special-chars): Split into
8566 `test-json-encode-string' and `test-json-read-from-string'.
8567
8568 2016-01-30 Anders Lindgren <andlind@gmail.com>
8569
8570 Fixed bug#18283: Enable applescript in NextStep.
8571
8572 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
8573
8574 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8575
8576 Allow completion on dynamic module files in load-library
8577
8578 * lisp/files.el (load-library): Bind completion-ignored-extensions
8579 to nil, to allow completion on dynamic modules typed as file
8580 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8581
8582 2016-01-30 Alan Mackenzie <acm@muc.de>
8583
8584 CC Mode: eliminate almost all byte compilation warnings
8585
8586 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
8587 (cc-require): Remove the crude hack that saved and restored
8588 byte-compile-noruntime-functions.
8589 (cc-conditional-require, cc-conditional-require-after-load): New macros.
8590
8591 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
8592 cc-fix.el using the new macros in cc-bytecomp.el.
8593
8594 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
8595 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
8596 forms to remove the superflous quotes.
8597
8598 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8599
8600 Add one more mod-test test
8601
8602 * modules/mod-test/test.el (mod-test-sum-test): Test the error
8603 signaled when the function is invoked with a wrong number of
8604 arguments.
8605
8606 2016-01-30 Philipp Stephani <phst@google.com>
8607
8608 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
8609
8610 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8611
8612 Implement dynlib_addr for MS-Windows
8613
8614 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
8615 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
8616 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
8617 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
8618 if undefined.
8619 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
8620 zero.
8621 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
8622 the full file name of the module for a given address.
8623
8624 2016-01-30 Alan Mackenzie <acm@muc.de>
8625
8626 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
8627
8628 2016-01-30 Alan Mackenzie <acm@muc.de>
8629
8630 Squashed commit of the following:
8631
8632 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
8633 Author: Alan Mackenzie <acm@muc.de>
8634 Date: Tue Nov 24 16:50:09 2015 +0000
8635
8636 Byte compile: minor amendments.
8637
8638 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
8639 add a comment to explain the binding of variables around a subsidiary
8640 compilation.
8641 (byte-compile-new-defuns): Amend the doc string.
8642
8643 commit c537bfed1dda1593d218956ff00c6105a3ff0316
8644 Author: Alan Mackenzie <acm@muc.de>
8645 Date: Sat Nov 21 18:43:57 2015 +0000
8646
8647 Byte compiler: fix spurious warnings "might not be defined at runtime".
8648
8649 Also initialize byte-compile-noruntime-functions between runs.
8650
8651 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
8652 (byte-compile-initial-macro-environment): For eval-when-compile: bind
8653 byte-compile-unresolved-functions and byte-compile-new-defuns around
8654 byte-compile-top-level, to prevent spurious entries being made.
8655 (byte-compile-warn-about-unresolved-functions): Check whether function is
8656 in byte-compile-new-defuns before emitting a warning about it.
8657 (byte-compile-from-buffer): Initialize new variable and
8658 byte-compile-noruntime-functions to nil.
8659 (byte-compile-file-form-require): record all new functions defined by a
8660 `require' in byte-compile-new-defuns.
8661 (byte-compile-file-form-defmumble): record the new alias in
8662 byte-compile-new-defuns.
8663
8664 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8665
8666 Fix crash at startup related to GC of font entities
8667
8668 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
8669 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
8670 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
8671 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
8672 Don't ifdef away font cache compaction on NT_GUI, as the problems
8673 which led to that seem to have been solved.
8674 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
8675 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
8676 cousins. (Bug#21999)
8677
8678 2016-01-30 Alan Mackenzie <acm@muc.de>
8679
8680 Byte compile: Output an error, not a warning, for odd number of args to setq
8681
8682 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
8683
8684 2016-01-30 Ken Raeburn <raeburn@raeburn.org>
8685
8686 Fix kbd_buffer iteration loop in readable_events
8687
8688 * src/keyboard.c (readable_events): Wrap the event pointer back to the
8689 start of the kbd_buffer array inside the top of the loop instead of
8690 right before checking the loop condition, since kbd_fetch_ptr and
8691 kbd_store_ptr point past the end of the array to mean that element 0
8692 is next. (bug#21935)
8693
8694 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8695
8696 Improve text-quoting-style doc again
8697
8698 * doc/lispref/help.texi (Keys in Documentation):
8699 Omit overkill discussion of ‘setq’. Mention Emacs versions
8700 where ‘grave’ style was standard.
8701
8702 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8703
8704 Improve text-quoting-style doc
8705
8706 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8707
8708 Simplify module_make_function
8709
8710 * src/emacs-module.c (module_make_function):
8711 Simplify by calling build_unibyte_string.
8712
8713 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8714
8715 Port better to FreeBSD’s dlfunc vs dlsym
8716
8717 This avoids warnings when converting between void * and
8718 function pointers, which strict C11 does not allow.
8719 * configure.ac (dlfunc): Check for existence.
8720 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
8721 (dynlib_func): New function.
8722 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
8723 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
8724 dynlib_sym, for function pointers.
8725
8726 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8727
8728 Simplify use of emacs_finalizer_function type
8729
8730 * src/emacs-module.h (emacs_finalizer_function):
8731 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
8732 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
8733
8734 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8735
8736 module_format_fun_env fixes
8737
8738 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
8739 * src/emacs-module.c (module_format_fun_env):
8740 Convert path and sym to UTF-8.
8741 Don’t use VLAs, as the C11 standard says they’re optional,
8742 and anyway they can cause core dumps with large allocations.
8743 Use exprintf rather than snprintf, as exprintf handles arbitrarily
8744 long strings. Simplify the code a bit.
8745
8746 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8747
8748 Don't use package-user-dir in elisp-library-roots if it's not bound
8749
8750 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
8751 use package-user-dir if it's not bound (bug#19759).
8752
8753 2016-01-30 Anders Lindgren <andlind@gmail.com>
8754
8755 New visible-bell for NextStep (OS X El Capitan compatible).
8756
8757 Instead of inverting a rectangle in the middle of the frame, use
8758 the standard NextStep image "caution", represented using an
8759 warning sign with an exclamation mark. (Bug#21662)
8760
8761 Implemented based on a suggestion drafted by Mustafa Kocaturk.
8762
8763 * src/nsterm.m (EmacsBell): New class for managing the caution
8764 image. Support multiple active bells, the image is removed once
8765 all bells have timed out.
8766 (ns_timeout): Removed, no longer used.
8767 (ns_ring_bell): Reimplemented to use EmacsBell.
8768
8769 2016-01-30 Johan Bockgård <bojohan@gnu.org>
8770
8771 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
8772
8773 (remove-function): Ditto. (Bug#20376)
8774
8775 2016-01-30 Mark Oteiza <mvoteiza@udel.edu>
8776
8777 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
8778
8779 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8780
8781 Improve how non-ASCII strings are accepted from modules
8782
8783 * src/emacs-module.c (module_make_function, module_make_string):
8784 Build a unibyte Lisp string and then decode it by UTF-8, instead
8785 of building a multibyte string without decoding. This is more
8786 tolerant to deviations from UTF-8.
8787
8788 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
8789
8790 Port recent module changes to pickier compilers
8791
8792 * src/emacs-module.c (module_make_function)
8793 (module_make_string): Add casts to fix pointer signedness issues.
8794
8795 2016-01-30 Philipp Stephani <phst@google.com>
8796
8797 Fix how strings are accepted from modules
8798
8799 * src/emacs-module.c (module_make_function, module_make_string): Use
8800 make_multibyte_string.
8801 (module_copy_string_contents): Encode before reading the byte
8802 size. Return false if and only if an error occurred.
8803
8804 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8805
8806 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
8807
8808 2016-01-30 Shakthi Kannan <shakthimaan@gmail.com>
8809
8810 Add the tamil-dvorak input method
8811
8812 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
8813
8814 * etc/NEWS: Mention the new input method.
8815
8816 2016-01-30 Martin Rudalics <rudalics@gmx.at>
8817
8818 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
8819
8820 * src/frame.c (adjust_frame_size): Don't set
8821 FRAME_WINDOW_SIZES_CHANGED here ...
8822 * src/window.c (resize_frame_windows): ... but here, as suggested
8823 by Stefan Monnier. Also remove some dead code along the way.
8824
8825 2016-01-30 Alan Mackenzie <acm@muc.de>
8826
8827 * etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
8828
8829 2016-01-30 Alan Mackenzie <acm@muc.de>
8830
8831 Signal an error when `setf' gets an odd number of arguments.
8832
8833 * lisp/emacs-lisp/gv.el (setf): Amend.
8834
8835 2016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
8836
8837 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
8838
8839 2016-01-30 Alan Mackenzie <acm@muc.de>
8840
8841 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
8842
8843 2016-01-30 Alan Mackenzie <acm@muc.de>
8844
8845 Expunge occurrences of `setq' with an odd number of arguments.
8846
8847 * lisp/apropos.el (apropos-documentation):
8848 * lisp/obsolete/complete.el (PC-include-file-all-completions):
8849 * lisp/progmodes/compile.el (compilation-goto-locus):
8850 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
8851 Insert missing nil at end of `setq' forms.
8852
8853 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
8854 erroneous trailing variable name from a setq, thus allowing a compilation
8855 properly to track functions not defined at runtime.
8856
8857 2016-01-30 John Wiegley <johnw@newartisans.com>
8858
8859 Add a note about a questionable use of bool in xdisp.c
8860
8861 2016-01-30 Alan Mackenzie <acm@muc.de>
8862
8863 Issue a warning from the byte compiler on a malformed `setq' form.
8864
8865 Partly fixes bug#20241.
8866 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
8867 `setq' form with an odd number of arguments is compiled.
8868
8869 2016-01-30 Alan Mackenzie <acm@muc.de>
8870
8871 Don't let cconv_convert insert a nil argument into a `setq' form.
8872
8873 Fixes bug#21983.
8874 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
8875 argument into a `setq' when there're an odd number of args. This enables the
8876 byte compiler to issue a message in this case.
8877
8878 2016-01-30 Alan Mackenzie <acm@muc.de>
8879
8880 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
8881
8882 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
8883 (syms_of_eval): Add a DEFSYM for Qsetq.
8884
8885 2016-01-30 Martin Rudalics <rudalics@gmx.at>
8886
8887 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
8888
8889 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
8890
8891 2016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8892
8893 Add EUDC BBDB 3 entry in NEWS
8894
8895 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
8896
8897 2016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8898
8899 Improve EUDC to BBDB 3 export
8900
8901 * lisp/net/eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
8902 entry to single item. Add company conversion.
8903 * lisp/net/eudc-export.el (eudc-bbdbify-company): New function.
8904 (bbdb-parse-phone): Declare function.
8905 (eudc-bbdbify-phone): Add BBDB 3 support.
8906 (Bug#21971)
8907
8908 2016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
8909
8910 Add BBDB 3 support for EUDC export
8911
8912 * lisp/net/eudc.el: Add bbdb-version defvar.
8913 (eudc--using-bbdb-3-or-newer-p): New function.
8914 * lisp/net/eudc-export.el (eudc-create-bbdb-record): Add support for
8915 bbdb-create-internal argument list changes introduced in BBDB 3.
8916 * lisp/net/eudcb-bbdb.el: Remove bbdb-version defvar.
8917 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
8918 (Bug#21971)
8919
8920 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8921
8922 Allow loading modules by 'load-file'
8923
8924 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
8925 2nd arg, to avoid the "binding stack not balanced" error.
8926 (syms_of_lread) <module-file-suffix>: New Lisp variable.
8927
8928 * lisp/files.el (module-file-suffix): Declare.
8929 (load-file): Remove 'module-file-suffix' from
8930 'completion-ignored-extensions', to allow completion on modules.
8931
8932 * etc/NEWS: Mention 'module-file-suffix'.
8933
8934 2016-01-30 Eli Zaretskii <eliz@gnu.org>
8935
8936 Fix unoptimized builds
8937
8938 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
8939 builds.
8940
8941 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8942
8943 Work around the asynchronous-empty-diff problem
8944
8945 * lisp/vc/vc-rcs.el (vc-rcs-diff):
8946 * lisp/vc/vc-mtn.el (vc-mtn-diff):
8947 * lisp/vc/vc-hg.el (vc-hg-diff):
8948 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
8949 do a synchronous process call (bug#21969).
8950
8951 2016-01-30 Karl Fogel <kfogel@red-bean.com>
8952
8953 Finish excising electric indent from `open-line'
8954
8955 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
8956
8957 * test/automated/simple-test.el (open-line-indent, open-line-hook):
8958 Adjust accordingly.
8959
8960 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
8961 (git commit c59353896) started. It turns out that having INTERACTIVE
8962 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
8963 still had the electric indent behavior, as `post-self-insert-hook'
8964 normally contains `electric-indent-post-self-insert-function' ever
8965 since `electric-indent-mode' has been on by default. Tracing the code
8966 change in `open-line' is mildly twisty, because Artur Malabarba's
8967 earliest two commits of 24 Oct 2015 first removed the `interactive'
8968 form entirely (git commit 6939896e2) and then restored it with the new
8969 extra "p" already added (git commit bd4f04f86), such that there is no
8970 single-commit diff in which one sees the second "p" appear. Thus this
8971 change is effectively a reversion of parts of each of those commits.
8972
8973 This could close bug#21884, at least until further discussion.
8974
8975 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
8976
8977 Adhere closer to the "implicit tag name" definition
8978
8979 * lisp/progmodes/etags.el (etags-tags-completion-table):
8980 Adhere closer to the "implicit tag name" definition. Simplify
8981 the regexp. Search for the explicit tag name first, and when
8982 not found, search locally for the implicit one. (Bug#21934)
8983
8984 2016-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 Unrevert most of regexp reentrancy abort patch
8987
8988 The problem was in:
8989 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
8990 which is hence not unreverted.
8991 The rest is:
8992 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
8993 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
8994 All callers in regex.c changed back to the _FAST versions.
8995
8996 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
8997 propertization in backward-sexp.
8998
8999 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9000
9001 Revert regexp reentrancy abort patch
9002
9003 Although the patch does fix Bug#21688 and prevents a core dump,
9004 it also makes the message-mode-propertize test fail; see:
9005 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
9006 Perhaps someone else can come up with a better fix some day.
9007 * src/syntax.c (update_syntax_table_forward):
9008 Propertize even when truncated.
9009 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
9010 (UPDATE_SYNTAX_TABLE_FAST): Remove.
9011 All callers changed back to the non-_FAST versions.
9012
9013 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9014
9015 Add a few safety checks when ENABLE_CHECKING
9016
9017 This was motivated by the recent addition of module code,
9018 which added some ENABLE_CHECKING-enabled checks that are
9019 useful elsewhere too.
9020 * src/alloc.c (compact_font_cache_entry):
9021 * src/fns.c (sweep_weak_table):
9022 * src/lread.c (oblookup):
9023 Use gc_asize rather than doing it by hand.
9024 * src/emacs-module.c (module_make_global_ref)
9025 (module_free_global_ref, module_vec_size):
9026 Omit assertions that lisp.h now checks.
9027 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
9028 check that the result is nonnegative. Use eassume, as this
9029 info can help a bit when optimizing production code.
9030 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
9031 to be consistent with the USE_LSB_TAG case.
9032 (gc_asize): New function, when ASIZE is needed in the gc.
9033 (gc_aset): Use it.
9034 (HASH_TABLE_P): Move definition up, so that it can be used ...
9035 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
9036
9037 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9038
9039 Simplify recording of main thread's ID on MS-Windows
9040
9041 * src/w32term.c (w32_initialize):
9042 * src/w32console.c (initialize_w32_display):
9043 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
9044 ID independently for each type of session (GUI, TTY, batch).
9045 * src/w32term.c (w32_init_main_thread): New function, records the
9046 main thread's thread ID.
9047 * src/w32term.h: Add prototype for w32_init_main_thread.
9048 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
9049
9050 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
9051 main_thread, for consistency with other threading libraries. All
9052 users changed. Include w32term.h.
9053 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
9054 make sure the main thread is alive, as we hold a handle on it
9055 opened by w32_init_main_thread.
9056 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
9057 w32_init_main_thread, instead of calling the requisite APIs once
9058 more.
9059
9060 2016-01-30 Mark Oteiza <mvoteiza@udel.edu>
9061
9062 Backport: Fix issue where a new tempfile was created every refresh
9063
9064 * lisp/mpc.el (mpc-format): Leave dir as relative path
9065
9066 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9067
9068 Call 'window-size-change-functions' for mini-windows
9069
9070 * src/window.c (grow_mini_window, shrink_mini_window): Set the
9071 frame's 'window_sizes_changed' flag.
9072 * src/xdisp.c (redisplay_internal): Call the hooks on
9073 'window-size-change-functions' if the call to 'echo_area_display'
9074 sets the frame's 'window_sizes_changed' flag.
9075 (syms_of_xdisp) <window-size-change-functions>:
9076 Update doc string to indicate the mini-window resizes trigger a
9077 call to the hooks, and don't promise that will happen "before
9078 redisplay". (Bug#19576, Bug#21333)
9079
9080 * doc/lispref/windows.texi (Window Hooks): Update the description
9081 of 'window-size-change-functions'.
9082
9083 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9084
9085 Improve documentation of dynamic modules
9086
9087 * src/fns.c (Frequire): Doc fix to include the dynamic module
9088 support.
9089 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
9090 dynamic module support.
9091 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
9092 wrt the MUST-SUFFIX argument.
9093
9094 * etc/NEWS: Expand documentation of dynamically loaded modules.
9095
9096 2016-01-30 Philipp Stephani <phst@google.com> (tiny change)
9097
9098 Initial documentation for dynamic modules
9099
9100 * etc/NEWS: Mention the new support for dynamically loaded modules.
9101
9102 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9103
9104 Add xref--etags-backend to xref-backing-functions using add-hook
9105
9106 * lisp/progmodes/xref.el (xref-backend-functions): Move the
9107 default value into a separate `add-hook' call (bug#21964).
9108
9109 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
9110 Don't declare the xref-backend-functions variable.
9111 It doesn't make any difference.
9112
9113 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9114
9115 Fix double-decrement bug when freeing global refs
9116
9117 * src/emacs-module.c (module_free_global_ref): Add a FIXME
9118 comment about error reporting. Fix a recently-introduced typo
9119 that double-decremented the refcount.
9120
9121 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9122
9123 Declare emacs_module_init in the module API
9124
9125 * src/emacs-module.h (emacs_module_init): New decl.
9126 Without it, GCC might complain about a module that defines
9127 emacs_module_init without using it. This also checks the
9128 API better.
9129
9130 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9131
9132 Fix module test to use ptrdiff_t nargs too
9133
9134 * modules/mod-test/mod-test.c (Fmod_test_return_t)
9135 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
9136 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
9137 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
9138 (Fmod_test_userptr_get, Fmod_test_vector_fill)
9139 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
9140 (finalizer): Remove; no longer used.
9141
9142 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9143
9144 Fix reindent-introduced typo in module code
9145
9146 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
9147 introduced while reindenting the code earlier, and add a
9148 comment explaining the unusual use of do-while here.
9149
9150 2016-01-30 Anders Lindgren <andlind@gmail.com>
9151
9152 Fixed bug#19576: `write-file' saves wrong buffer.
9153
9154 If a function on the hook `window-size-change-functions' doesn't
9155 restore the current buffer, functions that save and restore the
9156 current window configuration (like `y-or-no-p') could silently
9157 change the current buffer. When `write-file' asked the user
9158 confirmation to overwrite a file, `y-or-no-p' changed the current
9159 buffer, and the wrong buffer was saved to the file.
9160
9161 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
9162 using the `norecord' parameter.
9163 (follow-window-size-change): Restore current buffer. Call
9164 `select-frame' using the `norecord' parameter. Cleanup.
9165
9166 2016-01-30 John Wiegley <johnw@newartisans.com>
9167
9168 Correct a documentation error in frames.texi
9169
9170 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
9171
9172 * lisp/cedet/mode-local.el: Delete obsolete comment
9173
9174 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9175
9176 Module function arg counts are ptrdiff_t, not int
9177
9178 * src/emacs-module.c (struct module_fun_env)
9179 (module_make_function, module_funcall, Fmodule_call):
9180 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
9181 Use ptrdiff_t, not int, for arg counts.
9182 * src/emacs-module.c (module_make_function): Don’t bother
9183 checking arity against MOST_POSITIVE_FIXNUM, as that’s
9184 unnecessary here. Make the checking clearer by negating it.
9185 (module_make_function, Fmodule_call): No need to use xzalloc
9186 since the storage doesn’t need to be cleared.
9187 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
9188 for it, and many implementations are buggy with large VLAs anyway.
9189 Use SAFE_ALLOCA_LISP instead.
9190 (module_vec_set): Don’t crash if i < 0.
9191 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
9192 (module_vec_set, module_vec_get): Do fixnum checks only when
9193 i is out of array bounds, for efficiency in the usual case.
9194 (Fmodule_load): Simplify fixnum range check.
9195 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
9196 integer overflow in array allocation size.
9197
9198 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9199
9200 Minor improvements in module test
9201
9202 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
9203 about missing prototype of malloc.
9204 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
9205 compiler warnings.
9206
9207 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9208
9209 Improve MS-Windows implementation in dynlib.c
9210
9211 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
9212 No need to include windows.h, as w32.h already does that.
9213 <dynlib_last_err>: New static variable.
9214 (dynlib_reset_last_error): New function.
9215 (dynlib_open): Convert forward slashes to backslashes. Convert
9216 file names from UTF-8 to either UTF-16 or the current ANSI
9217 codepage, and call either LoadLibraryW or LoadLibraryA. If the
9218 argument is NULL, return a handle to the main module, like
9219 'dlopen' does. Record the error, if any, for use by dynlib_error.
9220 (dynlib_sym): Check the handle for validity. Record the error, if
9221 any, for use by dynlib_error.
9222 (dynlib_error): Call w32_strerror to produce the error string, and
9223 zero out the last error code, like dlerror does.
9224 (dynlib_close): Check the handle for validity. Record the error,
9225 if any, for use by dynlib_error. Don't call FreeLibrary with a
9226 handle for the main module.
9227 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
9228
9229 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9230
9231 Include-file tweaks for modules
9232
9233 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
9234 * src/dynlib.h: Do not include config.h.
9235 It’s every .c file’s responsibility to include config.h first.
9236 * src/emacs-module.c: Include emacs-module.h immediately after
9237 config.h, to test that emacs-module.h doesn’t depend on
9238 include files other than config.h.
9239
9240 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9241
9242 Simplify push_handler and profile its malloc
9243
9244 * src/lisp.h (PUSH_HANDLER): Remove.
9245 All callers changed to use push_handler directly.
9246 * src/eval.c (internal_condition_case)
9247 (internal_condition_case_1, internal_condition_case_2)
9248 (internal_condition_case_n):
9249 Use same pattern as for other invokers of push_handler.
9250 (push_handler, push_handler_nosignal): Use call-by-value
9251 instead of call-by-reference. All uses changed.
9252 (push_handler): Simplify by rewriting in terms of
9253 push_handler_nosignal.
9254 (push_handler_nosignal): Profile any newly allocated memory.
9255
9256 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9257
9258 * src/emacs-module.h: Include stddef.h, not stdlib.h.
9259
9260 2016-01-30 Juanma Barranquero <lekktu@gmail.com>
9261
9262 Discover repository version in linked worktrees (bug#21930)
9263
9264 * lisp/version.el (emacs-repository--version-git-1): Do not assume
9265 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
9266 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
9267 is nil too.
9268
9269 2016-01-30 Juri Linkov <juri@linkov.net>
9270
9271 * lisp/replace.el (occur-regexp-descr): New function.
9272 (occur-1, occur-engine): Use it.
9273
9274 * lisp/isearch.el (isearch-occur): Propertize regexp with
9275 isearch-string and isearch-regexp-function-descr for
9276 occur-regexp-descr to display the correct description
9277 message in the header (bug#21176, bug#21180).
9278
9279 2016-01-30 Karl Fogel <kfogel@red-bean.com>
9280
9281 Revert `open-line' electric-indent sensitivity
9282
9283 * lisp/simple.el (open-line): Remove electric indent code.
9284 (electric-indent-just-newline): Don't declare.
9285
9286 * test/automated/simple-test.el (open-line-indent): Adjust test.
9287
9288 This partly reverts Artur Malabarba's change that added electric
9289 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
9290 commit bd4f04f86), and adjusts a new test he added right afterwards
9291 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
9292 However, the new INTERACTIVE argument to `open-line', which he also
9293 added in the first commit, is not reverted here.
9294
9295 See the thread "Questioning the new behavior of `open-line'." on the
9296 Emacs Devel mailing list, and in particular this message:
9297
9298 From: Artur Malabarba
9299 Subject: Re: Questioning the new behavior of `open-line'.
9300 To: Karl Fogel
9301 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
9302 Date: Wed, 18 Nov 2015 21:03:58 +0000
9303 Message-ID: \
9304 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
9305
9306 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
9307
9308 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9309
9310 Omit unnecessary clear in Fmodule_load
9311
9312 * src/emacs-module.c (Fmodule_load):
9313 Simplify and avoid unnecessary initialization of priv member to 0.
9314
9315 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
9316
9317 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9318
9319 Prefer signed integer types in module code
9320
9321 Generally speaking, at the C level the Emacs source code prefers
9322 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
9323 partly to avoid the usual signedness confusion when comparing values.
9324 Change the module API to follow this convention.
9325 Use ‘int’ for small values that can’t exceed INT_MAX.
9326 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
9327 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
9328 (Fmod_test_vector_eq):
9329 * src/emacs-module.c (struct emacs_value_frame)
9330 (module_make_global_ref, module_free_global_ref)
9331 (module_copy_string_contents, module_make_string)
9332 (module_vec_set, module_vec_get, module_vec_size):
9333 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
9334 * src/lread.c (suffix_p):
9335 Prefer signed to unsigned integer types.
9336
9337 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9338
9339 Omit ‘const’ on locals
9340
9341 Remove ‘const’ qualifier from locals that were newly added.
9342 We don’t normally bother declaring locals with ‘const’ even
9343 though they are not modified, for the same reason we don’t
9344 bother declaring them with ‘register’ even though their
9345 addresses are not taken; the advantage in compile-time
9346 checking isn’t worth the loss of readability.
9347 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
9348 (Fmod_test_vector_fill, Fmod_test_vector_eq):
9349 * src/emacs-module.c (MODULE_SETJMP_1)
9350 (module_make_global_ref, module_free_global_ref)
9351 (module_non_local_exit_get, module_make_function)
9352 (module_extract_integer, module_extract_float)
9353 (module_get_user_ptr, module_set_user_ptr)
9354 (module_get_user_finalizer, module_set_user_finalizer)
9355 (module_vec_get, Fmodule_call)
9356 (module_non_local_exit_signal_1)
9357 (module_non_local_exit_throw_1, lisp_to_value)
9358 (finalize_storage, allocate_emacs_value, mark_modules)
9359 (module_handle_signal, module_handle_throw)
9360 (module_format_fun_env):
9361 * src/eval.c (push_handler, push_handler_nosignal)
9362 (init_handler):
9363 * src/lread.c (suffix_p):
9364 Omit unnecessary ‘const’.
9365
9366 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9367
9368 Prefer intmax_t to int64_t in module code
9369
9370 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
9371 * src/emacs-module.c (module_extract_integer)
9372 (module_make_integer):
9373 * src/emacs-module.h (struct emacs_env_25):
9374 Prefer intmax_t to int64_t. This doesn’t change the generated
9375 code on any of the machines Emacs currently ports to, but it’s
9376 at least in theory more future-proof as C99 doesn’t guarantee
9377 that int64_t exists.
9378
9379 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9380
9381 Rename module.c to emacs-module.c, etc.
9382
9383 * src/emacs-module.c: Rename from src/module.c.
9384 * src/emacs-module.h: Rename from src/module.h.
9385 All uses changed.
9386
9387 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9388
9389 Fix minor module problems found by static checking
9390
9391 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
9392 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
9393 * src/emacs-module.c (Fmodule_load): Fix pointer signedness bug.
9394 (Fmodule_call): Tell GCC that the default case is unreachable.
9395
9396 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9397
9398 Style fixes for indenting etc. in module code
9399
9400 This is mostly indenting and spacing changes. Also, remove
9401 some unnecessary static decls instead of bothering to reindent them.
9402 * src/emacs-module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
9403 as most other Emacs files do for this sort of thing.
9404
9405 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9406
9407 Minor improvements in modules testing Makefile
9408
9409 * modules/mod-test/Makefile (EMACS, SO): New variables.
9410 (CFLAGS): When SO = dll, don't use -fPIC.
9411 (check): New target, runs the test.
9412
9413 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9414
9415 * .gitignore: Add "*.dll".
9416
9417 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9418
9419 Migrate modules/.gitignore into .gitignore
9420
9421 * .gitignore: Add former contents of modules/.gitignore.
9422 * modules/.gitignore: Remove.
9423
9424 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9425
9426 Add copyright notices to module code
9427
9428 Put them in the usual format for GNU Emacs copyright notices.
9429
9430 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9431
9432 Rename emacs_module.h to module.h
9433
9434 * src/module.h: Rename from src/emacs_module.h.
9435 All uses changed.
9436
9437 2016-01-30 Juanma Barranquero <lekktu@gmail.com>
9438
9439 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
9440
9441 * src/lread.c (Fload): Remove unused variable `size'
9442
9443 2016-01-30 Alan Mackenzie <acm@muc.de>
9444
9445 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
9446
9447 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9448
9449 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
9450
9451 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
9452 vc-parent-buffer over log-view-mode fallback (bug#21955).
9453
9454 2016-01-30 Alan Mackenzie <acm@muc.de>
9455
9456 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
9457
9458 2016-01-30 Ken Brown <kbrown@cornell.edu>
9459
9460 * configure.ac (LIBMODULES): Don’t define on Cygwin
9461
9462 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9463
9464 Fix MS-Windows build --with-modules
9465
9466 * src/module.c: Reformat copyright commentary.
9467 (module_vec_get): Use explicit cast to size_t to avoid compiler
9468 warning in 32-bit builds.
9469 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
9470 Compare thread IDs directly, as GetThreadId is not available
9471 before Windows Vista.
9472 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
9473 without using APIs and constants not available on XP and older
9474 systems. Obtain and store the thread ID as well.
9475
9476 2016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9477 Philipp Stephani <phst@google.com>
9478
9479 Add dynamic module test and helper script
9480
9481 Add 'modhelp.py' script (python2) to automate module testing and
9482 module generation.
9483
9484 To build and test all modules in the modules/ dir
9485 $ ./modhelp.py test
9486
9487 To generate a module from template code (good starting point)
9488 $ ./modhelp init mynewtestmodule
9489
9490 See the script -h option for more documentation.
9491
9492 * modules/modhelp.py: New module helper script.
9493 * modules/mod-test/Makefile: New file. Makefile for the test module.
9494 * modules/mod-test/mod-test.c: New file. Test module source file.
9495 * modules/mod-test/test.el: New file. ert test suite for the test module.
9496 * modules/.gitignore: New file. Local .gitignore file.
9497
9498 2016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9499
9500 Make 'Fload' look for modules
9501
9502 'Fload' can now load dynamic modules. This also makes 'require' work.
9503
9504 * src/lread.c:
9505 (suffix_p): New function.
9506 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
9507 with a module suffix.
9508 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
9509
9510 2016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9511 Philipp Stephani <phst@google.com>
9512
9513 Add dynamic module module support
9514
9515 * configure.ac: Add '--with-modules' option. Conditionally add
9516 dynlib.o and module.o to the list of objects. Add any system
9517 specific flags to the linker flags to support dynamic libraries.
9518 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
9519 attributes.
9520 * src/Makefile.in: Conditionally add module objects and linker flags.
9521 * src/alloc.c (garbage_collect_1): protect module local values from
9522 GC.
9523 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
9524 * src/emacs-module.h: New header file included by modules. Public
9525 module API.
9526 * src/emacs-module.c: New module implementation file.
9527
9528 2016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9529
9530 Add new User Pointer (User_Ptr) type
9531
9532 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
9533 (XUSER_PTR): New User_Ptr accessor.
9534 * src/alloc.c (make_user_ptr): New function.
9535 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
9536 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
9537 (Fuser-ptrp): New user pointer type predicate function.
9538 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
9539 subr.
9540 * src/print.c (print_object): Add printer for User_Ptr type.
9541
9542 2016-01-30 Aurélien Aptel <aurelien.aptel@gmail.com>
9543 Philipp Stephani <phst@google.com>
9544
9545 Add portable layer for dynamic loading
9546
9547 * src/dynlib.h: New file.
9548 * src/dynlib.c: New file.
9549
9550 2016-01-30 Philipp Stephani <phst@google.com>
9551
9552 Add catch-all & no-signal version of PUSH_HANDLER
9553
9554 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
9555 a new "catch-all" handler type.
9556
9557 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
9558 functions.
9559 * src/fns.c (hash_remove_from_table): Expose function public.
9560 * src/lisp.h: New handler type, define macro to push_handler call.
9561
9562 2016-01-30 Ken Brown <kbrown@cornell.edu>
9563
9564 Silence byte-compiler warning
9565
9566 * lisp/server.el (server-process-filter): Silence byte-compiler
9567 warning.
9568
9569 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9570
9571 Quote symbols in docstrings using `'
9572
9573 Be more systematic about quoting symbols `like-this' rather than
9574 `like-this or 'like-this' in docstrings. This follows up Artur
9575 Malabarba's email in:
9576 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
9577
9578 2016-01-30 Peder O. Klingenberg <peder@klingenberg.no>
9579
9580 Fix savegames in dunnet
9581
9582 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
9583 of separate implementation.
9584
9585 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9586
9587 * lisp/emacs-lisp/package.el (package--with-response-buffer):
9588
9589 Ensure we're at the start of the buffer before searching for
9590 the end of headers.
9591
9592 2016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9593
9594 * admin/release-process: Improve wording.
9595
9596 2016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9597
9598 Backport: * CONTRIBUTE: Remove information about feature freeze.
9599
9600 (cherry picked from commit ae0653b5ab9ee223751ec389b87011963e1cbbef)
9601
9602 2016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9603
9604 Backport: Document the release process
9605
9606 * admin/notes/versioning: Add information about RC releases.
9607 * admin/release-process: Document the release process.
9608 * admin/authors.el (authors-ignored-files):
9609 * admin/README: Change FOR-RELEASE to release-process.
9610 * CONTRIBUTE:
9611 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
9612
9613 (cherry picked from commit 9a4aa0f5945a03611ae29c516025dbd353bd26ab)
9614
9615 2016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9616
9617 Backport: * admin/release-process: Rename from admin/FOR-RELEASE.
9618
9619 (cherry picked from commit f8cc14b59700e51a4e31139c0a65c8154995e055)
9620
9621 2016-01-30 Xue Fuqiao <xfq.free@gmail.com>
9622
9623 Backport: Mention CONTRIBUTE in README
9624
9625 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
9626 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
9627 * README: Mention CONTRIBUTE.
9628
9629 (cherry picked from commit ed2e7e20ae0945288c98091f308f5460c3453873)
9630
9631 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9632
9633 Fix docstring quoting problems with ‘ '’
9634
9635 Problem reported by Artur Malabarba in:
9636 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
9637 Most of these fixes are to documentation; many involve fixing
9638 longstanding quoting glitches that are independent of the
9639 recent substitute-command-keys changes. The changes to code are:
9640 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
9641 (describe-mode-local-overload):
9642 Substitute docstrings before displaying them.
9643 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
9644 Quote the generated docstring for later substitution.
9645
9646 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9647
9648 Improve configure --help text for wide ints
9649
9650 * configure.ac (wide-int): Clarify user-level advantages and
9651 disadvantages.
9652
9653 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
9654
9655 Improve doc string
9656
9657 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
9658
9659 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9660
9661 eval_sub followed dangling pointer when debugging
9662
9663 Problem reported by Pip Cet (Bug#21245).
9664 This bug could occur in eval_sub if the C compiler reused
9665 storage associated with the ‘argvals’ local after ‘argvals’
9666 went out of scope, and if the Elisp debugger stopped on Elisp
9667 function exit and accessed ‘argvals’. It could also occur if
9668 a variadic function was called with so many arguments (over
9669 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
9670 SAFE_FREE freed the arguments, then the memory manager used
9671 the storage for other purposes, then the debugger accessed the
9672 arguments.
9673 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
9674 function body. Simplify local decls.
9675 When allocating args via SAFE_ALLOCA, call
9676 debugger before invoking SAFE_FREE, as the debugger needs
9677 access to the args.
9678 (eval_sub, apply_lambda): Rework to avoid need for
9679 set_backtrace_debug_on_exit hack. This is cleaner,
9680 and should work better with buggy custom debuggers.
9681
9682 2016-01-30 Daiki Ueno <ueno@gnu.org>
9683
9684 * lisp/image-mode.el: Support encrypted file
9685
9686 (image-toggle-display-image): Read content from the buffer instead
9687 of the file, if the buffer holds a decrypted data. (Bug#21870)
9688
9689 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9690
9691 ELF unexec: align section header
9692
9693 This ports the recent unexelf.c changes to Fedora x86-64
9694 when configured with GCC’s -fsanitize=undefined option.
9695 * src/unexelf.c (unexec): Align new_data2_size to a multiple
9696 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
9697 pointer aligned appropriately for its type.
9698
9699 2016-01-30 Andreas Schwab <schwab@linux-m68k.org>
9700
9701 Do more checks on bytecode objects (Bug#21929)
9702
9703 * src/eval.c (funcall_lambda): Check size of compiled function
9704 object.
9705 (Ffetch_bytecode): Likewise.
9706
9707 2016-01-30 Johan Bockgård <bojohan@gnu.org>
9708
9709 pcase.el: Fix edebugging of backquoted cons patterns
9710
9711 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
9712 cons patterns. (Bug#21920)
9713
9714 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9715
9716 Improve fix for regex reentrancy abort
9717
9718 Suggested by Stefan Monnier (Bug#21688).
9719 * src/syntax.c (update_syntax_table_forward):
9720 Remove recently-added PROPERTIZE arg, and assume it is true.
9721 All callers changed.
9722 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
9723 Invoke update_syntax_table directly.
9724
9725 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9726
9727 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
9728
9729 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
9730
9731 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
9732
9733 2016-01-30 Vasily Korytov <vasily.korytov@yahoo.com>
9734
9735 Recognize .rbw and .pyw files (bug#18753)
9736
9737 * lisp/progmodes/python.el (auto-mode-alist):
9738 Recognize .pyw files.
9739
9740 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
9741 Recognize .rbw files.
9742
9743 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9744
9745 Fix ruby-mode auto-mode-alist entry
9746
9747 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
9748 around the extensions (bug#21257).
9749
9750 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9751
9752 Fix etags completion near eob
9753
9754 * lisp/progmodes/etags.el (tags-completion-at-point-function):
9755 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
9756
9757 2016-01-30 Alan Mackenzie <acm@muc.de>
9758
9759 De-pessimize detection of C++ member initialization lists.
9760
9761 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
9762 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
9763 is only called when a construct "looks right" rather than continually.
9764 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
9765
9766 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9767
9768 Backport: * lisp/emacs-lisp/package.el: Fix a decoding issue.
9769
9770 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
9771 `url-insert-buffer-contents'.
9772 (url-insert-buffer-contents): New function
9773
9774 (package--with-response-buffer): Use `url-insert-buffer-contents'.
9775 The previous code had some issues with decoding. Refactoring that
9776 function allows us to use the decoding from url-handlers while still
9777 treating both sync and async requests the same.
9778
9779 2016-01-30 Stephen Leake <stephen_leake@stephe-leake.org>
9780
9781 Improve a few doc strings, comments
9782
9783 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
9784 * lisp/cedet/ede/locate.el (ede-locate-base):
9785 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
9786 * src/fns.c (Fdelq): Improve doc string.
9787
9788 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
9789
9790 2016-01-30 Anders Lindgren <andlind@gmail.com>
9791
9792 Enhance NSTRACE (trace output for NextStep).
9793
9794 Trace can be disabled for groups of functions. By default, event
9795 functions and functions that generate lots of output are disabled.
9796
9797 Trace output of Objective-C functions now use the "[ClassName
9798 parameter:]" form.
9799
9800 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
9801 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
9802 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
9803 controlling in which function groups trace should be active.
9804 (NSTRACE_WHEN): Support for silencing a function, this also
9805 silencing all called functions.
9806 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
9807 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
9808 print the full screen state in NSTRACE functions.
9809
9810 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
9811 can be accessed from multiple threads.
9812 (nstrace_enabled_global): New variable, when FALSE, trace is
9813 silenced.
9814 (nstrace_restore_global_trace_state): New function, used to
9815 restore `nstrace_enabled_global' at end of block.
9816 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
9817 ([EmacsWindow setFrame:display:animation:])
9818 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
9819 and call corresponding super function.
9820 (Many functions): Add or enhance trace output.
9821
9822 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
9823
9824 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
9825
9826 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
9827 and call corresponding super function.
9828
9829 2016-01-30 Anders Lindgren <andlind@gmail.com>
9830
9831 Fixed a toolbar related issue on OS X.
9832
9833 Earlier, when toggling the tool-bar in a maximized frame, the
9834 frame size didn't match the number of text lines, leaving an
9835 unused area at the bottom of the frame.
9836
9837 * src/nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
9838 fullscreen modes when tool bar is disabled.
9839
9840 2016-01-30 Anders Lindgren <andlind@gmail.com>
9841
9842 Fixed OS X 10.6.8 build issue (bug#21862).
9843
9844 * src/nsterm.h (EmacsView): Add missing declarations.
9845 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
9846 the standard method but without the notification parameter.
9847 Intended to be used for direct calls.
9848 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
9849 version of `windowDidBecomeKey'. Made the notification method call
9850 the non-notification method instead of the vice versa.
9851 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
9852 needed.
9853
9854 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9855
9856 * lisp/faces.el (faces--attribute-at-point): Fix an issue
9857
9858 Previous code would signal an error when the face at point was
9859 a manually built list of attributes such as '(:foregroud "white").
9860
9861 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
9862
9863 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9864
9865 Fix regex abort when it tries to reenter itself
9866
9867 Problem reported by Ken Raeburn.
9868 Solution suggested by Stefan Monnier (Bug#21688).
9869 * src/regex.c (re_match_2_internal):
9870 Use new _FAST functions to avoid regex code reentering itself.
9871 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
9872 All callers changed.
9873 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
9874 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
9875
9876 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9877
9878 Improve Ruby 1.9-style keyword keys highlighting
9879
9880 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
9881 Handle required keyword arguments (bug#21367).
9882 And highlight the colon together with the name.
9883
9884 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9885
9886 Unify the absolutely equal xref-backend-references implementations
9887
9888 * lisp/progmodes/elisp-mode.el (xref-backend-references):
9889 Remove.
9890
9891 * lisp/progmodes/etags.el (xref-backend-references):
9892 Remove.
9893
9894 * lisp/progmodes/xref.el (xref-backend-references):
9895 Define the default implementation.
9896
9897 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9898
9899 Update project-find-regexp for the new xref API
9900
9901 * lisp/progmodes/project.el (project--read-regexp):
9902 Update to use the new xref API methods.
9903
9904 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
9905
9906 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
9907
9908 Fix replacing a match with a shorter string
9909
9910 In effect, partially reverting fe973fc.
9911
9912 * lisp/progmodes/xref.el (xref-query-replace): Store the end
9913 of each match as a marker again, instead of length.
9914 (xref--query-replace-1): Update accordingly.
9915
9916 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9917
9918 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
9919
9920 Signal user-errors instead.
9921
9922 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9923
9924 Document 'describe-symbol'
9925
9926 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
9927 (Name Help): Document "C-h o" and describe-symbol.
9928
9929 * lisp/help-fns.el (describe-symbol): Doc fix.
9930
9931 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
9932
9933 Change test name to avoid spellcheck issue.
9934
9935 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9936
9937 Avoid signaling an error in 'describe-symbol'
9938
9939 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
9940 exists as a function/variable/face/etc., but is undocumented.
9941
9942 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
9943 test.
9944
9945 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9946
9947 * INSTALL (--with-cairo): Document this new configure option.
9948
9949 2016-01-30 Eli Zaretskii <eliz@gnu.org>
9950
9951 Document that GNU Make >= 3.81 is required to build Emacs
9952
9953 * doc/lispref/internals.texi (Building Emacs): Document that GNU
9954 Make 3.81 or later is now required.
9955
9956 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
9957
9958 Backport: * lisp/emacs-lisp/package.el: Refactor -with-work-buffer-async.
9959 2015-11-24 Dmitry Gutov <dgutov@yandex.ru>
9960
9961 Pass SVN commit message through log-edit-extract-headers
9962
9963 * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
9964 log-edit-extract-headers (bug#18954).
9965
9966 2015-11-24 Alan Mackenzie <acm@muc.de>
9967
9968 CC Mode: Eliminate compiler warning messages.
9969
9970 * lisp/progmodes/cc-mode.el (top level): remove compile time declaration of
9971 `font-lock-syntactic-keywords' (which CC Mode doesn't use).
9972 * lisp/progmodes/cc-awk.el (awk-mode-syntax-table)
9973 (c-awk-set-syntax-table-properties): Clarify comments about
9974 `font-lock-syntactic-keywords'.
9975
9976 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-load): Create a dummy declaration
9977 of this before the real (interpreted) one, to satisfy the byte compiler.
9978
9979 2015-11-24 Simen Heggestøyl <simenheg@gmail.com>
9980
9981 Extend the test suite for json.el
9982
9983 * lisp/json.el (json-plist-p): Clarify docstring.
9984
9985 * test/automated/json-tests.el (json-tests--with-temp-buffer): New
9986 macro.
9987 (test-json-join, test-json-alist-p)
9988 (test-json-plist-p, test-json-advance, test-json-peek)
9989 (test-json-pop, test-json-skip-whitespace)
9990 (test-json-read-keyword, test-json-encode-keyword)
9991 (test-json-read-number, test-json-encode-number)
9992 (test-json-read-escaped-char, test-json-read-string)
9993 (test-json-encode-string, test-json-encode-key)
9994 (test-json-new-object, test-json-add-to-object)
9995 (test-json-read-object, test-json-encode-list)
9996 (test-json-read-array, test-json-encode-array)
9997 (test-json-read, test-json-read-from-string)
9998 (test-json-encode): New tests.
9999 (json-read-simple-alist): Merged into `test-json-read-object'.
10000 (json-encode-string-with-special-chars): Merged into
10001 `test-json-encode-string'.
10002 (json-read-string-with-special-chars): Split into
10003 `test-json-encode-string' and `test-json-read-from-string'.
10004
10005 2015-11-24 Anders Lindgren <andlind@gmail.com>
10006
10007 Fixed bug#18283: Enable applescript in NextStep.
10008
10009 * nextstep/templates/Info.plist.in: Set NSAppleScriptEnabled to YES.
10010
10011 2015-11-24 Eli Zaretskii <eliz@gnu.org>
10012
10013 Allow completion on dynamic module files in load-library
10014
10015 * lisp/files.el (load-library): Bind completion-ignored-extensions
10016 to nil, to allow completion on dynamic modules typed as file
10017 names. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10018
10019 2015-11-24 Alan Mackenzie <acm@muc.de>
10020
10021 CC Mode: eliminate almost all byte compilation warnings
10022
10023 * lisp/progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): Remove.
10024 (cc-require): Remove the crude hack that saved and restored
10025 byte-compile-noruntime-functions.
10026 (cc-conditional-require, cc-conditional-require-after-load): New macros.
10027
10028 * lisp/progmodes/cc-defs.el (top level): Reformulate code which loaded
10029 cc-fix.el using the new macros in cc-bytecomp.el.
10030
10031 * lisp/progmodes/cc-langs.el (c++-template-syntax-table)
10032 (c-no-parens-syntax-table): Add extra "(eval ..)"s around "'(lambda ..)"
10033 forms to remove the superflous quotes.
10034
10035 2015-11-24 Eli Zaretskii <eliz@gnu.org>
10036
10037 Add one more mod-test test
10038
10039 * modules/mod-test/test.el (mod-test-sum-test): Test the error
10040 signaled when the function is invoked with a wrong number of
10041 arguments.
10042
10043 2015-11-24 Philipp Stephani <phst@google.com>
10044
10045 * modules/mod-test/mod-test.c (Fmod_test_sum): Verify there are 2 args.
10046
10047 2015-11-24 Eli Zaretskii <eliz@gnu.org>
10048
10049 Implement dynlib_addr for MS-Windows
10050
10051 * src/dynlib.c [WINDOWSNT]: Include w32common.h.
10052 <g_b_init_get_module_handle_ex> [WINDOWSNT]: New static variable.
10053 (GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS)
10054 (GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT) [WINDOWSNT]: Define
10055 if undefined.
10056 (dynlib_reset_last_error): Reset g_b_init_get_module_handle_ex to
10057 zero.
10058 (dynlib_addr) [WINDOWSNT]: Non-trivial implementation to report
10059 the full file name of the module for a given address.
10060
10061 2015-11-24 Alan Mackenzie <acm@muc.de>
10062
10063 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into emacs-25
10064
10065 2015-11-24 Alan Mackenzie <acm@muc.de>
10066
10067 Squashed commit of the following:
10068
10069 commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70
10070 Author: Alan Mackenzie <acm@muc.de>
10071 Date: Tue Nov 24 16:50:09 2015 +0000
10072
10073 Byte compile: minor amendments.
10074
10075 * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10076 add a comment to explain the binding of variables around a subsidiary
10077 compilation.
10078 (byte-compile-new-defuns): Amend the doc string.
10079
10080 commit c537bfed1dda1593d218956ff00c6105a3ff0316
10081 Author: Alan Mackenzie <acm@muc.de>
10082 Date: Sat Nov 21 18:43:57 2015 +0000
10083
10084 Byte compiler: fix spurious warnings "might not be defined at runtime".
10085
10086 Also initialize byte-compile-noruntime-functions between runs.
10087
10088 * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable.
10089 (byte-compile-initial-macro-environment): For eval-when-compile: bind
10090 byte-compile-unresolved-functions and byte-compile-new-defuns around
10091 byte-compile-top-level, to prevent spurious entries being made.
10092 (byte-compile-warn-about-unresolved-functions): Check whether function is
10093 in byte-compile-new-defuns before emitting a warning about it.
10094 (byte-compile-from-buffer): Initialize new variable and
10095 byte-compile-noruntime-functions to nil.
10096 (byte-compile-file-form-require): record all new functions defined by a
10097 `require' in byte-compile-new-defuns.
10098 (byte-compile-file-form-defmumble): record the new alias in
10099 byte-compile-new-defuns.
10100
10101 2015-11-24 Eli Zaretskii <eliz@gnu.org>
10102
10103 Fix crash at startup related to GC of font entities
10104
10105 * src/font.h (GC_FONT_SPEC_P, GC_FONT_ENTITY_P)
10106 (GC_FONT_OBJECT_P, GC_XFONT_SPEC, GC_XFONT_ENTITY)
10107 (GC_XFONT_OBJECT): New macros, for use in garbage collector.
10108 * src/alloc.c (compact_font_cache_entry, compact_font_caches):
10109 Don't ifdef away font cache compaction on NT_GUI, as the problems
10110 which led to that seem to have been solved.
10111 (compact_font_cache_entry): Use GC_FONT_SPEC_P, GC_XFONT_SPEC,
10112 GC_XFONT_ENTITY, and GC_XFONT_OBJECT, instead of their non-GC_
10113 cousins. (Bug#21999)
10114
10115 2015-11-24 Alan Mackenzie <acm@muc.de>
10116
10117 Byte compile: Output an error, not a warning, for odd number of args to setq
10118
10119 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
10120
10121 2015-11-24 Ken Raeburn <raeburn@raeburn.org>
10122
10123 Fix kbd_buffer iteration loop in readable_events
10124
10125 * src/keyboard.c (readable_events): Wrap the event pointer back to the
10126 start of the kbd_buffer array inside the top of the loop instead of
10127 right before checking the loop condition, since kbd_fetch_ptr and
10128 kbd_store_ptr point past the end of the array to mean that element 0
10129 is next. (bug#21935)
10130
10131 2015-11-24 Paul Eggert <eggert@cs.ucla.edu>
10132
10133 Improve text-quoting-style doc again
10134
10135 * doc/lispref/help.texi (Keys in Documentation):
10136 Omit overkill discussion of ‘setq’. Mention Emacs versions
10137 where ‘grave’ style was standard.
10138
10139 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
10140
10141 Improve text-quoting-style doc
10142
10143 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
10144
10145 Simplify module_make_function
10146
10147 * src/emacs-module.c (module_make_function):
10148 Simplify by calling build_unibyte_string.
10149
10150 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
10151
10152 Port better to FreeBSD’s dlfunc vs dlsym
10153
10154 This avoids warnings when converting between void * and
10155 function pointers, which strict C11 does not allow.
10156 * configure.ac (dlfunc): Check for existence.
10157 * src/dynlib.c (dlfunc) [!HAVE_DLFUNC]: New macro.
10158 (dynlib_func): New function.
10159 * src/dynlib.h (dynlib_function_ptr, dynlib_func): New decls.
10160 * src/emacs-module.c (Fmodule_load): Use dynlib_func, not
10161 dynlib_sym, for function pointers.
10162
10163 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
10164
10165 Simplify use of emacs_finalizer_function type
10166
10167 * src/emacs-module.h (emacs_finalizer_function):
10168 Now EMACS_NOEXCEPT. All users simplified to omit EMACS_NOEXCEPT.
10169 (struct emacs_env_25): Use emacs_finalizer_function where applicable.
10170
10171 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
10172
10173 module_format_fun_env fixes
10174
10175 * src/doprnt.c (exprintf) [HAVE_MODULES]: Also define in this case.
10176 * src/emacs-module.c (module_format_fun_env):
10177 Convert path and sym to UTF-8.
10178 Don’t use VLAs, as the C11 standard says they’re optional,
10179 and anyway they can cause core dumps with large allocations.
10180 Use exprintf rather than snprintf, as exprintf handles arbitrarily
10181 long strings. Simplify the code a bit.
10182
10183 2015-11-23 Dmitry Gutov <dgutov@yandex.ru>
10184
10185 Don't use package-user-dir in elisp-library-roots if it's not bound
10186
10187 * lisp/progmodes/elisp-mode.el (elisp-library-roots): Don't
10188 use package-user-dir if it's not bound (bug#19759).
10189
10190 2015-11-23 Anders Lindgren <andlind@gmail.com>
10191
10192 New visible-bell for NextStep (OS X El Capitan compatible).
10193
10194 Instead of inverting a rectangle in the middle of the frame, use
10195 the standard NextStep image "caution", represented using an
10196 warning sign with an exclamation mark. (Bug#21662)
10197
10198 Implemented based on a suggestion drafted by Mustafa Kocaturk.
10199
10200 * src/nsterm.m (EmacsBell): New class for managing the caution
10201 image. Support multiple active bells, the image is removed once
10202 all bells have timed out.
10203 (ns_timeout): Removed, no longer used.
10204 (ns_ring_bell): Reimplemented to use EmacsBell.
10205
10206 2015-11-23 Johan Bockgård <bojohan@gnu.org>
10207
10208 * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.
10209
10210 (remove-function): Ditto. (Bug#20376)
10211
10212 2015-11-23 Mark Oteiza <mvoteiza@udel.edu>
10213
10214 * lisp/leim/quail/tamil-dvorak.el: Add necessary escapes.
10215
10216 2015-11-23 Eli Zaretskii <eliz@gnu.org>
10217
10218 Improve how non-ASCII strings are accepted from modules
10219
10220 * src/emacs-module.c (module_make_function, module_make_string):
10221 Build a unibyte Lisp string and then decode it by UTF-8, instead
10222 of building a multibyte string without decoding. This is more
10223 tolerant to deviations from UTF-8.
10224
10225 2015-11-23 Paul Eggert <eggert@cs.ucla.edu>
10226
10227 Port recent module changes to pickier compilers
10228
10229 * src/emacs-module.c (module_make_function)
10230 (module_make_string): Add casts to fix pointer signedness issues.
10231
10232 2015-11-23 Philipp Stephani <phst@google.com>
10233
10234 Fix how strings are accepted from modules
10235
10236 * emacs-module.c (module_make_function, module_make_string): Use
10237 make_multibyte_string.
10238 (module_copy_string_contents): Encode before reading the byte
10239 size. Return false if and only if an error occurred.
10240
10241 2015-11-23 Eli Zaretskii <eliz@gnu.org>
10242
10243 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
10244
10245 2015-11-23 Shakthi Kannan <shakthimaan@gmail.com>
10246
10247 Add the tamil-dvorak input method
10248
10249 * lisp/leim/quail/tamil-dvorak.el: New file. (Bug#21768)
10250
10251 * etc/NEWS: Mention the new input method.
10252
10253 2015-11-23 Martin Rudalics <rudalics@gmx.at>
10254
10255 Move setting FRAME_WINDOW_SIZES_CHANGED to resize_frame_windows.
10256
10257 * src/frame.c (adjust_frame_size): Don't set
10258 FRAME_WINDOW_SIZES_CHANGED here ...
10259 * src/window.c (resize_frame_windows): ... but here, as suggested
10260 by Stefan Monnier. Also remove some dead code along the way.
10261
10262 2015-11-23 Alan Mackenzie <acm@muc.de>
10263
10264 * /etc/NEWS (Incompatible Lisp Changes): Also `setf' needs an even # of args.
10265
10266 2015-11-23 Alan Mackenzie <acm@muc.de>
10267
10268 Signal an error when `setf' gets an odd number of arguments.
10269
10270 * lisp/emacs-lisp/gv.el (setf): Amend.
10271
10272 2015-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.
10275
10276 2015-11-23 Alan Mackenzie <acm@muc.de>
10277
10278 * etc/NEWS (Incompatible Lisp Changes): Document new restriction on `setq'.
10279
10280 2015-11-23 Alan Mackenzie <acm@muc.de>
10281
10282 Expunge occurrences of `setq' with an odd number of arguments.
10283
10284 * lisp/apropos.el (apropos-documentation):
10285 * lisp/obsolete/complete.el (PC-include-file-all-completions):
10286 * lisp/progmodes/compile.el (compilation-goto-locus):
10287 * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice)
10288 Insert missing nil at end of `setq' forms.
10289
10290 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an
10291 erroneous trailing variable name from a setq, thus allowing a compilation
10292 properly to track functions not defined at runtime.
10293
10294 2015-11-23 John Wiegley <johnw@newartisans.com>
10295
10296 Add a note about a questionable use of bool in xdisp.c
10297
10298 2015-11-23 Alan Mackenzie <acm@muc.de>
10299
10300 Issue a warning from the byte compiler on a malformed `setq' form.
10301
10302 Partly fixes bug#20241.
10303 * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a
10304 `setq' form with an odd number of arguments is compiled.
10305
10306 2015-11-23 Alan Mackenzie <acm@muc.de>
10307
10308 Don't let cconv_convert insert a nil argument into a `setq' form.
10309
10310 Fixes bug#21983.
10311 * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last
10312 argument into a `setq' when there're an odd number of args. This enables the
10313 byte compiler to issue a message in this case.
10314
10315 2015-11-23 Alan Mackenzie <acm@muc.de>
10316
10317 Signal an error when `setq' has an odd number of arguments. Fixes bug#20241.
10318
10319 * src/eval.c (Fsetq): Signal an error on an odd number of arguments.
10320 (syms_of_eval): Add a DEFSYM for Qsetq.
10321
10322 2015-11-23 Martin Rudalics <rudalics@gmx.at>
10323
10324 * doc/lispref/windows.texi (Window Sizes): Fix indices and references.
10325
10326 * src/frame.c (adjust_frame_size): Set FRAME_WINDOW_SIZES_CHANGED (Bug#21975).
10327
10328 2015-11-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10329
10330 Add EUDC BBDB 3 entry in NEWS
10331
10332 * NEWS: Mention EUDC BBDB backend support for BBDB 3.
10333
10334 2015-11-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10335
10336 Improve EUDC to BBDB 3 export
10337
10338 * eudc-vars.el (eudc-ldap-bbdb-conversion-alist): Change phone
10339 entry to single item. Add company conversion.
10340 * eudc-export.el (eudc-bbdbify-company): New function.
10341 (bbdb-parse-phone): Declare function.
10342 (eudc-bbdbify-phone): Add BBDB 3 support.
10343 (Bug#21971)
10344
10345 2015-11-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
10346
10347 Add BBDB 3 support for EUDC export
10348
10349 * eudc.el: Add bbdb-version defvar.
10350 (eudc--using-bbdb-3-or-newer-p): New function.
10351 * eudc-export.el (eudc-create-bbdb-record): Add support for
10352 bbdb-create-internal argument list changes introduced in BBDB 3.
10353 * eudcb-bbdb.el: Remove bbdb-version defvar.
10354 (eudc-bbdb-field): Call eudc--using-bbdb-3-or-newer-p.
10355 (Bug#21971)
10356
10357 2015-11-22 Eli Zaretskii <eliz@gnu.org>
10358
10359 Allow loading modules by 'load-file'
10360
10361 * src/lread.c (Fload): Call 'unbind_to' with 'Fmodule_load' as the
10362 2nd arg, to avoid the "binding stack not balanced" error.
10363 (syms_of_lread) <module-file-suffix>: New Lisp variable.
10364
10365 * lisp/files.el (module-file-suffix): Declare.
10366 (load-file): Remove 'module-file-suffix' from
10367 'completion-ignored-extensions', to allow completion on modules.
10368
10369 * etc/NEWS: Mention 'module-file-suffix'.
10370
10371 2015-11-22 Eli Zaretskii <eliz@gnu.org>
10372
10373 Fix unoptimized builds
10374
10375 * src/lisp.h (XTYPE): Move before XSYMBOL, to fix unoptimized
10376 builds.
10377
10378 2015-11-22 Dmitry Gutov <dgutov@yandex.ru>
10379
10380 Work around the asynchronous-empty-diff problem
10381
10382 * lisp/vc/vc-rcs.el (vc-rcs-diff):
10383 * lisp/vc/vc-mtn.el (vc-mtn-diff):
10384 * lisp/vc/vc-hg.el (vc-hg-diff):
10385 * lisp/vc/vc-git.el (vc-git-diff): Ignore the ASYNC argument,
10386 do a synchronous process call (bug#21969).
10387
10388 2015-11-21 Karl Fogel <kfogel@red-bean.com>
10389
10390 Finish excising electric indent from `open-line'
10391
10392 * lisp/simple.el (open-line): Remove INTERACTIVE argument.
10393
10394 * test/automated/simple-test.el (open-line-indent, open-line-hook):
10395 Adjust accordingly.
10396
10397 This change finishes what my commit of Thu Nov 19 17:32:37 2015 -0600
10398 (git commit c59353896) started. It turns out that having INTERACTIVE
10399 cause `post-self-insert-hook' to run (via `newline') meant `open-line'
10400 still had the electric indent behavior, as `post-self-insert-hook'
10401 normally contains `electric-indent-post-self-insert-function' ever
10402 since `electric-indent-mode' has been on by default. Tracing the code
10403 change in `open-line' is mildly twisty, because Artur Malabarba's
10404 earliest two commits of 24 Oct 2015 first removed the `interactive'
10405 form entirely (git commit 6939896e2) and then restored it with the new
10406 extra "p" already added (git commit bd4f04f86), such that there is no
10407 single-commit diff in which one sees the second "p" appear. Thus this
10408 change is effectively a reversion of parts of each of those commits.
10409
10410 This could close bug#21884, at least until further discussion.
10411
10412 2015-11-21 Dmitry Gutov <dgutov@yandex.ru>
10413
10414 Adhere closer to the "implicit tag name" definition
10415
10416 * lisp/progmodes/etags.el (etags-tags-completion-table):
10417 Adhere closer to the "implicit tag name" definition. Simplify
10418 the regexp. Search for the explicit tag name first, and when
10419 not found, search locally for the implicit one. (Bug#21934)
10420
10421 2015-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
10422
10423 Unrevert most of regexp reentrancy abort patch
10424
10425 The problem was in:
10426 * src/syntax.c (update_syntax_table_forward): Propertize even when truncated
10427 which is hence not unreverted.
10428 The rest is:
10429 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
10430 (UPDATE_SYNTAX_TABLE_FAST): Re-introduce.
10431 All callers in regex.c changed back to the _FAST versions.
10432
10433 * test/automated/message-mode-tests.el: Tweak the test to rely on auto
10434 propertization in backward-sexp.
10435
10436 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
10437
10438 Revert regexp reentrancy abort patch
10439
10440 Although the patch does fix Bug#21688 and prevents a core dump,
10441 it also makes the message-mode-propertize test fail; see:
10442 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01667.html
10443 Perhaps someone else can come up with a better fix some day.
10444 * src/syntax.c (update_syntax_table_forward):
10445 Propertize even when truncated.
10446 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
10447 (UPDATE_SYNTAX_TABLE_FAST): Remove.
10448 All callers changed back to the non-_FAST versions.
10449
10450 2015-11-21 Paul Eggert <eggert@cs.ucla.edu>
10451
10452 Add a few safety checks when ENABLE_CHECKING
10453
10454 This was motivated by the recent addition of module code,
10455 which added some ENABLE_CHECKING-enabled checks that are
10456 useful elsewhere too.
10457 * src/alloc.c (compact_font_cache_entry):
10458 * src/fns.c (sweep_weak_table):
10459 * src/lread.c (oblookup):
10460 Use gc_asize rather than doing it by hand.
10461 * src/emacs-module.c (module_make_global_ref)
10462 (module_free_global_ref, module_vec_size):
10463 Omit assertions that lisp.h now checks.
10464 * src/lisp.h (XFASTINT, ASIZE): In functional implementations,
10465 check that the result is nonnegative. Use eassume, as this
10466 info can help a bit when optimizing production code.
10467 (XSYMBOL) [!USE_LSB_TAG]: Assert that argument is a symbol,
10468 to be consistent with the USE_LSB_TAG case.
10469 (gc_asize): New function, when ASIZE is needed in the gc.
10470 (gc_aset): Use it.
10471 (HASH_TABLE_P): Move definition up, so that it can be used ...
10472 (XHASH_TABLE): ... here, to assert that the arg is a hash table.
10473
10474 2015-11-21 Eli Zaretskii <eliz@gnu.org>
10475
10476 Simplify recording of main thread's ID on MS-Windows
10477
10478 * src/w32term.c (w32_initialize):
10479 * src/w32console.c (initialize_w32_display):
10480 * src/w32fns.c (globals_of_w32fns): Don't record the main thread
10481 ID independently for each type of session (GUI, TTY, batch).
10482 * src/w32term.c (w32_init_main_thread): New function, records the
10483 main thread's thread ID.
10484 * src/w32term.h: Add prototype for w32_init_main_thread.
10485 * src/emacs.c (main) [WINDOWSNT]: Call w32_init_main_thread.
10486
10487 * src/emacs-module.c [WINDOWSNT]: Rename main_thread_id to
10488 main_thread, for consistency with other threading libraries. All
10489 users changed. Include w32term.h.
10490 (check_main_thread) [WINDOWSNT]: Simplify the test: no need to
10491 make sure the main thread is alive, as we hold a handle on it
10492 opened by w32_init_main_thread.
10493 (module_init) [WINDOWSNT]: Reuse the thread ID recorded by
10494 w32_init_main_thread, instead of calling the requisite APIs once
10495 more.
10496
10497 2015-11-21 Eli Zaretskii <eliz@gnu.org>
10498
10499 Call 'window-size-change-functions' for mini-windows
10500
10501 * src/window.c (grow_mini_window, shrink_mini_window): Set the
10502 frame's 'window_sizes_changed' flag.
10503 * src/xdisp.c (redisplay_internal): Call the hooks on
10504 'window-size-change-functions' if the call to 'echo_area_display'
10505 sets the frame's 'window_sizes_changed' flag.
10506 (syms_of_xdisp) <window-size-change-functions>:
10507 Update doc string to indicate the mini-window resizes trigger a
10508 call to the hooks, and don't promise that will happen "before
10509 redisplay". (Bug#19576, Bug#21333)
10510
10511 * doc/lispref/windows.texi (Window Hooks): Update the description
10512 of 'window-size-change-functions'.
10513
10514 2015-11-21 Eli Zaretskii <eliz@gnu.org>
10515
10516 Improve documentation of dynamic modules
10517
10518 * src/fns.c (Frequire): Doc fix to include the dynamic module
10519 support.
10520 * src/lread.c (Fload, Vload_suffixes): Doc fixes to include the
10521 dynamic module support.
10522 (Fload): Treat the module suffix the same as '*.el' and '*.elc'
10523 wrt the MUST-SUFFIX argument.
10524
10525 * etc/NEWS: Expand documentation of dynamically loaded modules.
10526
10527 2015-11-21 Philipp Stephani <phst@google.com> (tiny change)
10528
10529 Initial documentation for dynamic modules
10530
10531 * etc/NEWS: Mention the new support for dynamically loaded modules.
10532
10533 2015-11-20 Dmitry Gutov <dgutov@yandex.ru>
10534
10535 Add xref--etags-backend to xref-backing-functions using add-hook
10536
10537 * lisp/progmodes/xref.el (xref-backend-functions): Move the
10538 default value into a separate `add-hook' call (bug#21964).
10539
10540 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
10541 Don't declare the xref-backend-functions variable.
10542 It doesn't make any difference.
10543
10544 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10545
10546 Fix double-decrement bug when freeing global refs
10547
10548 * src/emacs-module.c (module_free_global_ref): Add a FIXME
10549 comment about error reporting. Fix a recently-introduced typo
10550 that double-decremented the refcount.
10551
10552 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10553
10554 Declare emacs_module_init in the module API
10555
10556 * src/emacs-module.h (emacs_module_init): New decl.
10557 Without it, GCC might complain about a module that defines
10558 emacs_module_init without using it. This also checks the
10559 API better.
10560
10561 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10562
10563 Fix module test to use ptrdiff_t nargs too
10564
10565 * modules/mod-test/mod-test.c (Fmod_test_return_t)
10566 (Fmod_test_sum, Fmod_test_signal, Fmod_test_throw)
10567 (Fmod_test_non_local_exit_funcall, Fmod_test_globref_make)
10568 (Fmod_test_string_a_to_b, Fmod_test_userptr_make)
10569 (Fmod_test_userptr_get, Fmod_test_vector_fill)
10570 (Fmod_test_vector_eq): Arg counts are ptrdiff_t, not int.
10571 (finalizer): Remove; no longer used.
10572
10573 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10574
10575 Fix reindent-introduced typo in module code
10576
10577 * src/emacs-module.c (MODULE_SETJMP_1): Fix typo that I
10578 introduced while reindenting the code earlier, and add a
10579 comment explaining the unusual use of do-while here.
10580
10581 2015-11-20 Anders Lindgren <andlind@gmail.com>
10582
10583 Fixed bug#19576: `write-file' saves wrong buffer.
10584
10585 If a function on the hook `window-size-change-functions' doesn't
10586 restore the current buffer, functions that save and restore the
10587 current window configuration (like `y-or-no-p') could silently
10588 change the current buffer. When `write-file' asked the user
10589 confirmation to overwrite a file, `y-or-no-p' changed the current
10590 buffer, and the wrong buffer was saved to the file.
10591
10592 * lisp/follow.el (follow-windows-start-end): Call `select-frame'
10593 using the `norecord' parameter.
10594 (follow-window-size-change): Restore current buffer. Call
10595 `select-frame' using the `norecord' parameter. Cleanup.
10596
10597 2015-11-20 John Wiegley <johnw@newartisans.com>
10598
10599 Correct a documentation error in frames.texi
10600
10601 2015-11-20 Stephen Leake <stephen_leake@stephe-leake.org>
10602
10603 * lisp/cedet/mode-local.el: Delete obsolete comment
10604
10605 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10606
10607 Module function arg counts are ptrdiff_t, not int
10608
10609 * src/emacs-module.c (struct module_fun_env)
10610 (module_make_function, module_funcall, Fmodule_call):
10611 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
10612 Use ptrdiff_t, not int, for arg counts.
10613 * src/emacs-module.c (module_make_function): Don’t bother
10614 checking arity against MOST_POSITIVE_FIXNUM, as that’s
10615 unnecessary here. Make the checking clearer by negating it.
10616 (module_make_function, Fmodule_call): No need to use xzalloc
10617 since the storage doesn’t need to be cleared.
10618 (module_funcall): Don’t use VLA, since C11 doesn’t guarantee support
10619 for it, and many implementations are buggy with large VLAs anyway.
10620 Use SAFE_ALLOCA_LISP instead.
10621 (module_vec_set): Don’t crash if i < 0.
10622 (module_vec_get): Don’t crash if i < MOST_NEGATIVE_FIXNUM.
10623 (module_vec_set, module_vec_get): Do fixnum checks only when
10624 i is out of array bounds, for efficiency in the usual case.
10625 (Fmodule_load): Simplify fixnum range check.
10626 (Fmodule_call): Simplify arity check. Use xnmalloc to detect
10627 integer overflow in array allocation size.
10628
10629 2015-11-20 Eli Zaretskii <eliz@gnu.org>
10630
10631 Minor improvements in module test
10632
10633 * modules/mod-test/mod-test.c: Include stdlib.h, to avoid warnings
10634 about missing prototype of malloc.
10635 * modules/mod-test/Makefile (CFLAGS): Add -std=gnu99, to avoid
10636 compiler warnings.
10637
10638 2015-11-20 Eli Zaretskii <eliz@gnu.org>
10639
10640 Improve MS-Windows implementation in dynlib.c
10641
10642 * src/dynlib.c [WINDOWSNT]: Include errno.h, lisp.h, and w32.h.
10643 No need to include windows.h, as w32.h already does that.
10644 <dynlib_last_err>: New static variable.
10645 (dynlib_reset_last_error): New function.
10646 (dynlib_open): Convert forward slashes to backslashes. Convert
10647 file names from UTF-8 to either UTF-16 or the current ANSI
10648 codepage, and call either LoadLibraryW or LoadLibraryA. If the
10649 argument is NULL, return a handle to the main module, like
10650 'dlopen' does. Record the error, if any, for use by dynlib_error.
10651 (dynlib_sym): Check the handle for validity. Record the error, if
10652 any, for use by dynlib_error.
10653 (dynlib_error): Call w32_strerror to produce the error string, and
10654 zero out the last error code, like dlerror does.
10655 (dynlib_close): Check the handle for validity. Record the error,
10656 if any, for use by dynlib_error. Don't call FreeLibrary with a
10657 handle for the main module.
10658 * src/w32.c (globals_of_w32): Call dynlib_reset_last_error.
10659
10660 2015-11-20 Paul Eggert <eggert@cs.ucla.edu>
10661
10662 Include-file tweaks for modules
10663
10664 * src/dynlib.c, src/emacs-module.c: Include <config.h> first.
10665 * src/dynlib.h: Do not include config.h.
10666 It’s every .c file’s responsibility to include config.h first.
10667 * src/emacs-module.c: Include emacs-module.h immediately after
10668 config.h, to test that emacs-module.h doesn’t depend on
10669 include files other than config.h.
10670
10671 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10672
10673 Simplify push_handler and profile its malloc
10674
10675 * src/lisp.h (PUSH_HANDLER): Remove.
10676 All callers changed to use push_handler directly.
10677 * src/eval.c (internal_condition_case)
10678 (internal_condition_case_1, internal_condition_case_2)
10679 (internal_condition_case_n):
10680 Use same pattern as for other invokers of push_handler.
10681 (push_handler, push_handler_nosignal): Use call-by-value
10682 instead of call-by-reference. All uses changed.
10683 (push_handler): Simplify by rewriting in terms of
10684 push_handler_nosignal.
10685 (push_handler_nosignal): Profile any newly allocated memory.
10686
10687 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10688
10689 * src/emacs-module.h: Include stddef.h, not stdlib.h.
10690
10691 2015-11-19 Juanma Barranquero <lekktu@gmail.com>
10692
10693 Discover repository version in linked worktrees (bug#21930)
10694
10695 * lisp/version.el (emacs-repository--version-git-1): Do not assume
10696 HEAD is at .git/HEAD, it can also be at .git/worktrees/<branch>/HEAD.
10697 (emacs-repository-get-version): Grok linked worktrees when EXTERNAL
10698 is nil too.
10699
10700 2015-11-19 Juri Linkov <juri@linkov.net>
10701
10702 * lisp/replace.el (occur-regexp-descr): New function.
10703 (occur-1, occur-engine): Use it.
10704
10705 * lisp/isearch.el (isearch-occur): Propertize regexp with
10706 isearch-string and isearch-regexp-function-descr for
10707 occur-regexp-descr to display the correct description
10708 message in the header (bug#21176, bug#21180).
10709
10710 2015-11-19 Karl Fogel <kfogel@red-bean.com>
10711
10712 Revert `open-line' electric-indent sensitivity
10713
10714 * lisp/simple.el (open-line): Remove electric indent code.
10715 (electric-indent-just-newline): Don't declare.
10716
10717 * test/automated/simple-test.el (open-line-indent): Adjust test.
10718
10719 This partly reverts Artur Malabarba's change that added electric
10720 indent sensitivity to `open-line' (Oct 24 22:26:27 2015 +0100, git
10721 commit bd4f04f86), and adjusts a new test he added right afterwards
10722 (Sat Oct 24 23:43:06 2015 +0100, git commit 207f235e3) accordingly.
10723 However, the new INTERACTIVE argument to `open-line', which he also
10724 added in the first commit, is not reverted here.
10725
10726 See the thread "Questioning the new behavior of `open-line'." on the
10727 Emacs Devel mailing list, and in particular this message:
10728
10729 From: Artur Malabarba
10730 Subject: Re: Questioning the new behavior of `open-line'.
10731 To: Karl Fogel
10732 Cc: David Kastrup, Pierpaolo Bernardi, emacs-devel
10733 Date: Wed, 18 Nov 2015 21:03:58 +0000
10734 Message-ID: \
10735 <CAAdUY-KN06pvCMy5bt3+Buk3yeKjf6n9iB2FaSTTOPpCqPwyhA@mail.gmail.com>
10736
10737 https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01707.html
10738
10739 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10740
10741 Omit unnecessary clear in Fmodule_load
10742
10743 * src/emacs-module.c (Fmodule_load):
10744 Simplify and avoid unnecessary initialization of priv member to 0.
10745
10746 * src/emacs-module.c: (module_vec_set, module_vec_get, module_vec_size)
10747
10748 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10749
10750 Prefer signed integer types in module code
10751
10752 Generally speaking, at the C level the Emacs source code prefers
10753 signed types like ‘ptrdiff_t’ to unsigned types like ‘size_t’,
10754 partly to avoid the usual signedness confusion when comparing values.
10755 Change the module API to follow this convention.
10756 Use ‘int’ for small values that can’t exceed INT_MAX.
10757 * modules/mod-test/mod-test.c (Fmod_test_globref_make)
10758 (Fmod_test_string_a_to_b, Fmod_test_vector_fill)
10759 (Fmod_test_vector_eq):
10760 * src/emacs-module.c (struct emacs_value_frame)
10761 (module_make_global_ref, module_free_global_ref)
10762 (module_copy_string_contents, module_make_string)
10763 (module_vec_set, module_vec_get, module_vec_size):
10764 * src/emacs-module.h (struct emacs_runtime, struct emacs_env_25):
10765 * src/lread.c (suffix_p):
10766 Prefer signed to unsigned integer types.
10767
10768 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10769
10770 Omit ‘const’ on locals
10771
10772 Remove ‘const’ qualifier from locals that were newly added.
10773 We don’t normally bother declaring locals with ‘const’ even
10774 though they are not modified, for the same reason we don’t
10775 bother declaring them with ‘register’ even though their
10776 addresses are not taken; the advantage in compile-time
10777 checking isn’t worth the loss of readability.
10778 * modules/mod-test/mod-test.c (Fmod_test_non_local_exit_funcall)
10779 (Fmod_test_vector_fill, Fmod_test_vector_eq):
10780 * src/emacs-module.c (MODULE_SETJMP_1)
10781 (module_make_global_ref, module_free_global_ref)
10782 (module_non_local_exit_get, module_make_function)
10783 (module_extract_integer, module_extract_float)
10784 (module_get_user_ptr, module_set_user_ptr)
10785 (module_get_user_finalizer, module_set_user_finalizer)
10786 (module_vec_get, Fmodule_call)
10787 (module_non_local_exit_signal_1)
10788 (module_non_local_exit_throw_1, lisp_to_value)
10789 (finalize_storage, allocate_emacs_value, mark_modules)
10790 (module_handle_signal, module_handle_throw)
10791 (module_format_fun_env):
10792 * src/eval.c (push_handler, push_handler_nosignal)
10793 (init_handler):
10794 * src/lread.c (suffix_p):
10795 Omit unnecessary ‘const’.
10796
10797 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10798
10799 Prefer intmax_t to int64_t in module code
10800
10801 * modules/mod-test/mod-test.c (sum, Fmod_test_sum):
10802 * src/emacs-module.c (module_extract_integer)
10803 (module_make_integer):
10804 * src/emacs-module.h (struct emacs_env_25):
10805 Prefer intmax_t to int64_t. This doesn’t change the generated
10806 code on any of the machines Emacs currently ports to, but it’s
10807 at least in theory more future-proof as C99 doesn’t guarantee
10808 that int64_t exists.
10809
10810 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10811
10812 Rename module.c to emacs-module.c, etc.
10813
10814 * src/emacs-module.c: Rename from src/module.c.
10815 * src/emacs-module.h: Rename from src/module.h.
10816 All uses changed.
10817
10818 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10819
10820 Fix minor module problems found by static checking
10821
10822 * src/dynlib.c (dynlib_close): #ifdef out for now, as it’s not used.
10823 * src/eval.c, src/lisp.h (lisp_eval_depth): Now static.
10824 * src/module.c (Fmodule_load): Fix pointer signedness bug.
10825 (Fmodule_call): Tell GCC that the default case is unreachable.
10826
10827 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10828
10829 Style fixes for indenting etc. in module code
10830
10831 This is mostly indenting and spacing changes. Also, remove
10832 some unnecessary static decls instead of bothering to reindent them.
10833 * src/module.h (EMACS_EXTERN_C_BEGIN): Remove, and do this inline,
10834 as most other Emacs files do for this sort of thing.
10835
10836 2015-11-19 Eli Zaretskii <eliz@gnu.org>
10837
10838 Minor improvements in modules testing Makefile
10839
10840 * modules/mod-test/Makefile (EMACS, SO): New variables.
10841 (CFLAGS): When SO = dll, don't use -fPIC.
10842 (check): New target, runs the test.
10843
10844 2015-11-19 Eli Zaretskii <eliz@gnu.org>
10845
10846 * .gitignore: Add "*.dll".
10847
10848 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10849
10850 Migrate modules/.gitignore into .gitignore
10851
10852 * .gitignore: Add former contents of modules/.gitignore.
10853 * modules/.gitignore: Remove.
10854
10855 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10856
10857 Add copyright notices to module code
10858
10859 Put them in the usual format for GNU Emacs copyright notices.
10860
10861 2015-11-19 Paul Eggert <eggert@cs.ucla.edu>
10862
10863 Rename emacs_module.h to module.h
10864
10865 * src/module.h: Rename from src/emacs_module.h.
10866 All uses changed.
10867
10868 2015-11-19 Juanma Barranquero <lekktu@gmail.com>
10869
10870 * src/module.c (Fmodule_load): Remove unused vars `doc_name', `args'
10871
10872 * src/lread.c (Fload): Remove unused variable `size'
10873
10874 2015-11-19 Alan Mackenzie <acm@muc.de>
10875
10876 src/keyboard.c (pre-command-hook): Fix typo in doc string: "pre" -> "post".
10877
10878 2015-11-18 Dmitry Gutov <dgutov@yandex.ru>
10879
10880 Prioritize looking inside vc-parent-buffer over log-view-mode fallback
10881
10882 * lisp/vc/vc.el (vc-deduce-fileset): Prioritize looking inside
10883 vc-parent-buffer over log-view-mode fallback (bug#21955).
10884
10885 2015-11-18 Alan Mackenzie <acm@muc.de>
10886
10887 lisp/isearch.el: Eliminate macro isearch-call-message, replacing with funcall.
10888
10889 2015-11-18 Ken Brown <kbrown@cornell.edu>
10890
10891 * configure.ac (LIBMODULES): Don’t define on Cygwin
10892
10893 2015-11-18 Eli Zaretskii <eliz@gnu.org>
10894
10895 Fix MS-Windows build --with-modules
10896
10897 * src/module.c: Reformat copyright commentary.
10898 (module_vec_get): Use explicit cast to size_t to avoid compiler
10899 warning in 32-bit builds.
10900 (check_main_thread) [WINDOWSNT]: Fix letter-case in Windows APIs.
10901 Compare thread IDs directly, as GetThreadId is not available
10902 before Windows Vista.
10903 (check_main_thread) [WINDOWSNT]: Duplicate the thread handle
10904 without using APIs and constants not available on XP and older
10905 systems. Obtain and store the thread ID as well.
10906
10907 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10908 Philipp Stephani <phst@google.com>
10909
10910 Add dynamic module test and helper script
10911
10912 Add 'modhelp.py' script (python2) to automate module testing and
10913 module generation.
10914
10915 To build and test all modules in the modules/ dir
10916 $ ./modhelp.py test
10917
10918 To generate a module from template code (good starting point)
10919 $ ./modhelp init mynewtestmodule
10920
10921 See the script -h option for more documentation.
10922
10923 * modules/modhelp.py: New module helper script.
10924 * modules/mod-test/Makefile: New file. Makefile for the test module.
10925 * modules/mod-test/mod-test.c: New file. Test module source file.
10926 * modules/mod-test/test.el: New file. ert test suite for the test module.
10927 * modules/.gitignore: New file. Local .gitignore file.
10928
10929 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10930
10931 Make 'Fload' look for modules
10932
10933 'Fload' can now load dynamic modules. This also makes 'require' work.
10934
10935 * src/lread.c:
10936 (suffix_p): New function.
10937 (Fload): Use 'suffix_p'. Call 'Fmodule_load' when we try to load a file
10938 with a module suffix.
10939 (syms_of_lread): Append module suffix to 'Vload_suffixes'.
10940
10941 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10942 Philipp Stephani <phst@google.com>
10943
10944 Add dynamic module module support
10945
10946 * configure.ac: Add '--with-modules' option. Conditionally add
10947 dynlib.o and module.o to the list of objects. Add any system
10948 specific flags to the linker flags to support dynamic libraries.
10949 * m4/ax_gcc_var_attribute.m4: Add autoconf extension to test gcc
10950 attributes.
10951 * src/Makefile.in: Conditionally add module objects and linker flags.
10952 * src/alloc.c (garbage_collect_1): protect module local values from
10953 GC.
10954 * src/lisp.h: Add 'module_init' and 'syms_of_module' prototypes.
10955 * src/emacs_module.h: New header file included by modules. Public
10956 module API.
10957 * src/module.c: New module implementation file.
10958
10959 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10960
10961 Add new User Pointer (User_Ptr) type
10962
10963 * src/lisp.h: Add new Lisp_Misc_User_Ptr type.
10964 (XUSER_PTR): New User_Ptr accessor.
10965 * src/alloc.c (make_user_ptr): New function.
10966 (mark_object, sweep_misc): Handle Lisp_Misc_User_Ptr.
10967 * src/data.c (Ftype_of): Return 'user-ptr' for user pointer.
10968 (Fuser-ptrp): New user pointer type predicate function.
10969 (syms_of_data): New 'user-ptrp', 'user-ptr' symbol. New 'user-ptrp'
10970 subr.
10971 * src/print.c (print_object): Add printer for User_Ptr type.
10972
10973 2015-11-18 Aurélien Aptel <aurelien.aptel@gmail.com>
10974 Philipp Stephani <phst@google.com>
10975
10976 Add portable layer for dynamic loading
10977
10978 * src/dynlib.h: New file.
10979 * src/dynlib.c: New file.
10980
10981 2015-11-18 Philipp Stephani <phst@google.com>
10982
10983 Add catch-all & no-signal version of PUSH_HANDLER
10984
10985 Ground work for modules. Add a non-signaling version of PUSH_HANDLER and
10986 a new "catch-all" handler type.
10987
10988 * src/eval.c (init_handler, push_handler, push_handler_nosignal): New
10989 functions.
10990 * src/fns.c (hash_remove_from_table): Expose function public.
10991 * src/lisp.h: New handler type, define macro to push_handler call.
10992
10993 2015-11-18 Ken Brown <kbrown@cornell.edu>
10994
10995 Silence byte-compiler warning
10996
10997 * lisp/server.el (server-process-filter): Silence byte-compiler
10998 warning.
10999
11000 2015-11-18 Paul Eggert <eggert@cs.ucla.edu>
11001
11002 Quote symbols in docstrings using `'
11003
11004 Be more systematic about quoting symbols `like-this' rather than
11005 `like-this or 'like-this' in docstrings. This follows up Artur
11006 Malabarba's email in:
11007 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01647.html
11008
11009 2015-11-18 Peder O. Klingenberg <peder@klingenberg.no>
11010
11011 Fix savegames in dunnet
11012
11013 * lisp/play/dunnet.el (dun-rot13): Use the standard rot13-region instead
11014 of separate implementation.
11015
11016 2015-11-18 Artur Malabarba <bruce.connor.am@gmail.com>
11017
11018 * lisp/emacs-lisp/package.el (package--with-response-buffer):
11019
11020 Ensure we're at the start of the buffer before searching for
11021 the end of headers.
11022
11023 2015-11-17 Xue Fuqiao <xfq.free@gmail.com>
11024
11025 * admin/release-process: Improve wording.
11026
11027 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
11028
11029 Fix docstring quoting problems with ‘ '’
11030
11031 Problem reported by Artur Malabarba in:
11032 http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
11033 Most of these fixes are to documentation; many involve fixing
11034 longstanding quoting glitches that are independent of the
11035 recent substitute-command-keys changes. The changes to code are:
11036 * lisp/cedet/mode-local.el (mode-local-augment-function-help)
11037 (describe-mode-local-overload):
11038 Substitute docstrings before displaying them.
11039 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
11040 Quote the generated docstring for later substitution.
11041
11042 2015-11-17 Eli Zaretskii <eliz@gnu.org>
11043
11044 Improve configure --help text for wide ints
11045
11046 * configure.ac (wide-int): Clarify user-level advantages and
11047 disadvantages.
11048
11049 2015-11-17 Stephen Leake <stephen_leake@stephe-leake.org>
11050
11051 Improve doc string
11052
11053 * lisp/progmodes/xref.el (xref-backend-references): Improve doc string.
11054
11055 2015-11-17 Paul Eggert <eggert@cs.ucla.edu>
11056
11057 eval_sub followed dangling pointer when debugging
11058
11059 Problem reported by Pip Cet (Bug#21245).
11060 This bug could occur in eval_sub if the C compiler reused
11061 storage associated with the ‘argvals’ local after ‘argvals’
11062 went out of scope, and if the Elisp debugger stopped on Elisp
11063 function exit and accessed ‘argvals’. It could also occur if
11064 a variadic function was called with so many arguments (over
11065 2048 args on x86-64) that SAFE_ALLOCA_LISP called malloc, then
11066 SAFE_FREE freed the arguments, then the memory manager used
11067 the storage for other purposes, then the debugger accessed the
11068 arguments.
11069 * src/eval.c (eval_sub): Declare ‘argvals’ at top level of
11070 function body. Simplify local decls.
11071 When allocating args via SAFE_ALLOCA, call
11072 debugger before invoking SAFE_FREE, as the debugger needs
11073 access to the args.
11074 (eval_sub, apply_lambda): Rework to avoid need for
11075 set_backtrace_debug_on_exit hack. This is cleaner,
11076 and should work better with buggy custom debuggers.
11077
11078 2015-11-16 Daiki Ueno <ueno@gnu.org>
11079
11080 * lisp/image-mode.el: Support encrypted file
11081
11082 (image-toggle-display-image): Read content from the buffer instead
11083 of the file, if the buffer holds a decrypted data. (Bug#21870)
11084
11085 2015-11-16 Paul Eggert <eggert@cs.ucla.edu>
11086
11087 ELF unexec: align section header
11088
11089 This ports the recent unexelf.c changes to Fedora x86-64
11090 when configured with GCC’s -fsanitize=undefined option.
11091 * src/unexelf.c (unexec): Align new_data2_size to a multiple
11092 of ElfW (Shdr)’s alignment, so that NEW_SECTION_H returns a
11093 pointer aligned appropriately for its type.
11094
11095 2015-11-16 Andreas Schwab <schwab@linux-m68k.org>
11096
11097 Do more checks on bytecode objects (Bug#21929)
11098
11099 * src/eval.c (funcall_lambda): Check size of compiled function
11100 object.
11101 (Ffetch_bytecode): Likewise.
11102
11103 2015-11-16 Johan Bockgård <bojohan@gnu.org>
11104
11105 pcase.el: Fix edebugging of backquoted cons patterns
11106
11107 * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted
11108 cons patterns. (Bug#21920)
11109
11110 2015-11-16 Paul Eggert <eggert@cs.ucla.edu>
11111
11112 Improve fix for regex reentrancy abort
11113
11114 Suggested by Stefan Monnier (Bug#21688).
11115 * src/syntax.c (update_syntax_table_forward):
11116 Remove recently-added PROPERTIZE arg, and assume it is true.
11117 All callers changed.
11118 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST):
11119 Invoke update_syntax_table directly.
11120
11121 2015-11-16 Artur Malabarba <bruce.connor.am@gmail.com>
11122
11123 * lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
11124
11125 * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing require
11126
11127 * lisp/emacs-lisp/nadvice.el (add-function): Escape quote
11128
11129 2015-11-15 Vasily Korytov <vasily.korytov@yahoo.com>
11130
11131 Recognize .rbw and .pyw files (bug#18753)
11132
11133 * lisp/progmodes/python.el (auto-mode-alist):
11134 Recognize .pyw files.
11135
11136 * lisp/progmodes/ruby-mode.el (auto-mode-alist):
11137 Recognize .rbw files.
11138
11139 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
11140
11141 Fix ruby-mode auto-mode-alist entry
11142
11143 * lisp/progmodes/ruby-mode.el (auto-mode-alist): Add grouping
11144 around the extensions (bug#21257).
11145
11146 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
11147
11148 Fix etags completion near eob
11149
11150 * lisp/progmodes/etags.el (tags-completion-at-point-function):
11151 Use `goto-char', to avoid the end-of-buffer error (bug#20061).
11152
11153 2015-11-15 Alan Mackenzie <acm@muc.de>
11154
11155 De-pessimize detection of C++ member initialization lists.
11156
11157 list/progmodes/cc-engine.el (c-back-over-list-of-member-inits): New macro.
11158 (c-back-over-member-initializers): Reformulate such that c-at-toplevel-p
11159 is only called when a construct "looks right" rather than continually.
11160 (c-guess-basic-syntax, CASE 5R): Add a check for the mode being C++ Mode.
11161
11162 2015-11-15 Stephen Leake <stephen_leake@stephe-leake.org>
11163
11164 Improve a few doc strings, comments
11165
11166 * lisp/cedet/cedet-global.el (cedet-gnu-global-expand-filename):
11167 * lisp/cedet/ede/locate.el (ede-locate-base):
11168 * lisp/cedet/semantic/symref.el (semantic-symref-calculate-rootdir):
11169 * src/fns.c (Fdelq): Improve doc string.
11170
11171 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Add FIXME.
11172
11173 2015-11-15 Anders Lindgren <andlind@gmail.com>
11174
11175 Enhance NSTRACE (trace output for NextStep).
11176
11177 Trace can be disabled for groups of functions. By default, event
11178 functions and functions that generate lots of output are disabled.
11179
11180 Trace output of Objective-C functions now use the "[ClassName
11181 parameter:]" form.
11182
11183 * src/nsterm.h (NSTRACE_ALL_GROUPS, NSTRACE_GROUP_EVENTS)
11184 (NSTRACE_GROUP_UPDATES, NSTRACE_GROUP_FRINGE, NSTRACE_GROUP_COLOR)
11185 (NSTRACE_GROUP_GLYPHS, NSTRACE_GROUP_FOCUS): New macros,
11186 controlling in which function groups trace should be active.
11187 (NSTRACE_WHEN): Support for silencing a function, this also
11188 silencing all called functions.
11189 (NSTRACE_UNSILENCE): New macro, used to re-enable trace.
11190 (NSTRACE_FMT_FSTYPE, NSTRACE_ARG_FSTYPE): New macros, used to
11191 print the full screen state in NSTRACE functions.
11192
11193 * src/nsterm.m (nstrace_depth, nstrace_num): Made volatile as they
11194 can be accessed from multiple threads.
11195 (nstrace_enabled_global): New variable, when FALSE, trace is
11196 silenced.
11197 (nstrace_restore_global_trace_state): New function, used to
11198 restore `nstrace_enabled_global' at end of block.
11199 ([EmacsView setFrame:], [EmacsWindow setFrame:display:])
11200 ([EmacsWindow setFrame:display:animation:])
11201 ([EmacsWindow setFrameTopLeftPoint:]): New functions, print trace
11202 and call corresponding super function.
11203 (Many functions): Add or enhance trace output.
11204
11205 * src/nsimage.m (ns_image_from_file): Enhanced trace output.
11206
11207 * src/nsfns.m (x_set_tool_bar_lines): Add trace output.
11208
11209 * src/nsmenu.m ([EmacsToolbar setVisible:]): New function, print trace
11210 and call corresponding super function.
11211
11212 2015-11-15 Anders Lindgren <andlind@gmail.com>
11213
11214 Fixed a toolbar related issue on OS X.
11215
11216 Earlier, when toggling the tool-bar in a maximized frame, the
11217 frame size didn't match the number of text lines, leaving an
11218 unused area at the bottom of the frame.
11219
11220 * nsfns.m (x_set_tool_bar_lines): Exit maximized and full height
11221 fullscreen modes when tool bar is disabled.
11222
11223 2015-11-15 Anders Lindgren <andlind@gmail.com>
11224
11225 Fixed OS X 10.6.8 build issue (bug#21862).
11226
11227 * src/nsterm.h (EmacsView): Add missing declarations.
11228 * src/nsterm.m ([EmacsView windowDidBecomeKey]): New method, like
11229 the standard method but without the notification parameter.
11230 Intended to be used for direct calls.
11231 ([EmacsView windowDidEnterFullScreen]): Call the non-notification
11232 version of `windowDidBecomeKey'. Made the notification method call
11233 the non-notification method instead of the vice versa.
11234 (NSWindowDidEnterFullScreenNotification): Deleted, no longer
11235 needed.
11236
11237 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
11238
11239 * lisp/faces.el (faces--attribute-at-point): Fix an issue
11240
11241 Previous code would signal an error when the face at point was
11242 a manually built list of attributes such as '(:foregroud "white").
11243
11244 * test/automated/faces-tests.el (faces--test-color-at-point): Add a test
11245
11246 2015-11-15 Paul Eggert <eggert@cs.ucla.edu>
11247
11248 Fix regex abort when it tries to reenter itself
11249
11250 Problem reported by Ken Raeburn.
11251 Solution suggested by Stefan Monnier (Bug#21688).
11252 * src/regex.c (re_match_2_internal):
11253 Use new _FAST functions to avoid regex code reentering itself.
11254 * src/syntax.c (update_syntax_table_forward): New arg PROPERTIZE.
11255 All callers changed.
11256 * src/syntax.h (UPDATE_SYNTAX_TABLE_FORWARD_FAST)
11257 (UPDATE_SYNTAX_TABLE_FAST): New inline functions.
11258
11259 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
11260
11261 Improve Ruby 1.9-style keyword keys highlighting
11262
11263 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
11264 Handle required keyword arguments (bug#21367).
11265 And highlight the colon together with the name.
11266
11267 2015-11-15 Dmitry Gutov <dgutov@yandex.ru>
11268
11269 Unify the absolutely equal xref-backend-references implementations
11270
11271 * lisp/progmodes/elisp-mode.el (xref-backend-references):
11272 Remove.
11273
11274 * lisp/progmodes/etags.el (xref-backend-references):
11275 Remove.
11276
11277 * lisp/progmodes/xref.el (xref-backend-references):
11278 Define the default implementation.
11279
11280 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
11281
11282 Update project-find-regexp for the new xref API
11283
11284 * lisp/progmodes/project.el (project--read-regexp):
11285 Update to use the new xref API methods.
11286
11287 * lisp/progmodes/xref.el (xref-find-backend): Autoload.
11288
11289 2015-11-14 Dmitry Gutov <dgutov@yandex.ru>
11290
11291 Fix replacing a match with a shorter string
11292
11293 In effect, partially reverting fe973fc.
11294
11295 * lisp/progmodes/xref.el (xref-query-replace): Store the end
11296 of each match as a marker again, instead of length.
11297 (xref--query-replace-1): Update accordingly.
11298
11299 2015-11-14 Artur Malabarba <bruce.connor.am@gmail.com>
11300
11301 * lisp/progmodes/xref.el (xref-pop-marker-stack): Downgrade errors
11302
11303 Signal user-errors instead.
11304
11305 2015-11-14 Eli Zaretskii <eliz@gnu.org>
11306
11307 Document 'describe-symbol'
11308
11309 * doc/emacs/help.texi (Help Summary): Mention "C-h o".
11310 (Name Help): Document "C-h o" and describe-symbol.
11311
11312 * lisp/help-fns.el (describe-symbol): Doc fix.
11313
11314 2015-11-14 Paul Eggert <eggert@cs.ucla.edu>
11315
11316 Change test name to avoid spellcheck issue.
11317
11318 2015-11-14 Eli Zaretskii <eliz@gnu.org>
11319
11320 Avoid signaling an error in 'describe-symbol'
11321
11322 * lisp/help-fns.el (describe-symbol): Avoid errors when the symbol
11323 exists as a function/variable/face/etc., but is undocumented.
11324
11325 * test/automated/help-fns.el (help-fns-test-describe-symbol): New
11326 test.
11327
11328 2015-11-14 Eli Zaretskii <eliz@gnu.org>
11329
11330 * INSTALL (--with-cairo): Document this new configure option.
11331
11332 2015-11-14 Eli Zaretskii <eliz@gnu.org>
11333
11334 Document that GNU Make >= 3.81 is required to build Emacs
11335
11336 * doc/lispref/internals.texi (Building Emacs): Document that GNU
11337 Make 3.81 or later is now required.
11338
11339 2015-11-14 Eli Zaretskii <eliz@gnu.org>
11340
11341 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
11342
11343 2015-11-13 l3thal <kwhite@gnu.org>
11344
11345 Merge branch 'erc-async-reconnect' into emacs-25
11346
11347 Reconnect asynchronously.
11348
11349 2015-11-11 Alan Mackenzie <acm@muc.de>
11350
11351 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
11352
11353 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
11354 Windows" and new @defun selected-window-group.
11355 (Window Start and End): Describe new &optional parameter GROUP and
11356 ...-group-function for window-start, window-end, set-window-start, and
11357 pos-visible-in-window-p.
11358 (Textual Scrolling) Describe the same for recenter.
11359 doc/lispref/positions.texi (Screen Lines): Describe the same for
11360 move-to-window-line.
11361
11362 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
11363 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
11364 new optional parameter "group". At the beginning of each, check whether the
11365 corresponding ...-group-function is set to a function, and if so execute this
11366 function in place of the normal processing.
11367 (syms_of_window): Define symbols for the six new variables below.
11368 (window-start-group-function, window-end-group-function)
11369 (set-window-start-group-function, recenter-group-function)
11370 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
11371 New permanent local buffer local variables.
11372 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
11373 Fpos_visible_in_window_p.
11374
11375 lisp/window.el (selected-window-group-function): New permanent local buffer
11376 local variable.
11377 (selected-window-group): New function.
11378
11379 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
11380 enable, kill them at mode disable. Add/remove follow-after-change to/from
11381 after-change-functions.
11382 (follow-start-end-invalid): New variable.
11383 (follow-redisplay): Manipulate follow-start-end-invalid.
11384 (follow-after-change, follow-window-start, follow-window-end)
11385 (follow-set-window-start, follow-pos-visible-in-window-p)
11386 (follow-move-to-window-line, follow-sit-for): New functions.
11387
11388 lisp/isearch.el (isearch-call-message): New macro.
11389 (isearch-update, with-isearch-suspended, isearch-del-char)
11390 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
11391 (with-isearch-suspended): Rearrange code such that isearch-call-message is
11392 invoked before point is moved.
11393 (isearch-message): Add comment about where point must be at function call.
11394 (isearch-search): Remove call to isearch-message.
11395 (isearch-lazy-highlight-window-group): New variable.
11396 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
11397 the battery of tests to ...
11398 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
11399 Note: (sit-for 0) is still called.
11400 (isearch-lazy-highlight-update): Check membership of
11401 isearch-lazy-highlight-window-group. Don't set the `window' overlay
11402 property.
11403 (isearch-update, isearch-done, isearch-string-out-of-window)
11404 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
11405 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
11406 (isearch-lazy-highlight-update): Call the six amended primitives (see
11407 src/window.c above) with the new `group' argument set to t, to cooperate
11408 with Follow Mode.
11409
11410 2015-12-27 Lars Ingebrigtsen <larsi@gnus.org>
11411
11412 * shr.el (shr-descend): Allow using lambdas in external functions.
11413
11414 2015-12-25 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * admin/gitmerge.el: Tweaks that seemed necessary
11417
11418 * admin/gitmerge.el (gitmerge-skip-regexp): Remove "sync".
11419 (gitmerge-maybe-resume): Provide explicit empty commit message.
11420
11421 2015-12-25 Łukasz Stelmach <stlman@poczta.fm> (tiny change)
11422
11423 Use a different port for TLS erc
11424
11425 * lisp/erc/erc.el (erc-default-port-tls): New variable
11426 (bug#19497).
11427 * lisp/erc/erc.el (erc-tls): Use it.
11428
11429 2015-12-25 Alain Schneble <a.s@realize.ch>
11430
11431 Make relative URL parsing and resolution consistent with RFC 3986 (bug#22044)
11432
11433 * test/lisp/url/url-parse-tests.el: Add tests covering url-generic-parse-url.
11434 * test/lisp/url/url-expand-tests.el: Add tests covering url-expand-file-name.
11435 * lisp/url/url-parse.el (url-generic-parse-url): Keep empty fragment
11436 information in URL-struct.
11437 * lisp/url/url-parse.el (url-path-and-query): Do not artificially turn empty
11438 path and query into nil path and query, respectively.
11439 * lisp/url/url-expand.el (url-expander-remove-relative-links): Do not turn
11440 empty path into an absolute ("/") path.
11441 * lisp/url/url-expand.el (url-expand-file-name): Properly resolve
11442 fragment-only URIs. Do not just return them unchanged.
11443 * lisp/url/url-expand.el (url-default-expander): An empty path in the relative
11444 reference URI should not drop the last segment.
11445
11446 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11447
11448 Let url use default file modes when copying files
11449
11450 * lisp/url/url-handlers.el (url-copy-file): Use default file
11451 modes when copying files (bug#11400).
11452
11453 2015-12-25 Devon Sean McCullough <Emacs-Hacker2012@jovi.net>
11454
11455 Doc fix for url-http
11456
11457 * lisp/url/url-http.el (url-http): Document better return values
11458 (bug#13187) (tiny change)
11459
11460 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11461
11462 * eww.el (eww-display-html): Support <button> tags (bug#20485).
11463
11464 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11465
11466 Made ffap-url-p a defun instead of a defsubst
11467
11468 * lisp/ffap.el (ffap-url-p): Change from defsusbt to defun,
11469 since there doesn't seem to be much of a reason for it to be a
11470 defsubst (bug#18203).
11471
11472 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11473
11474 Add a command to view files in the browser to dired
11475
11476 * lisp/dired.el (dired-mode-map): Add the `W' command
11477 (bug#18810).
11478
11479 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11480
11481 Allow http://user:pass@foo/ URLs again
11482
11483 * lisp/url/url-auth.el (url-basic-auth): Allow explicit
11484 user/passwords in URLs (bug#19046).
11485
11486 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11487
11488 * eww.el (eww-mode-map): Fix command name of eww-toggle-colors.
11489
11490 2015-12-25 Samer Masterson <samer@samertm.com>
11491
11492 Autoload url-insert-buffer-contents
11493
11494 * lisp/url/url-handlers.el: Add autoload cookie so that
11495 `package-list-packages' doesn't bug out (bug#21927) (tiny change)
11496
11497 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11498
11499 Allow toggling colors in eww
11500
11501 * doc/misc/eww.texi (Basics): Mention "C".
11502
11503 * lisp/net/eww.el (eww-toggle-colors): New command and keystroke.
11504
11505 * lisp/net/shr.el (shr-use-colors): New variable.
11506 (shr-colorize-region): Use it.
11507
11508 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11509
11510 Follow meta refresh tags in eww
11511
11512 * eww.el (eww-tag-meta): Follow meta refresh tags (bug#22234).
11513
11514 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11515
11516 More eww file name coding fixes
11517
11518 * eww.el (eww-decode-url-file-name): Use the base coding
11519 system to check for encodability.
11520
11521 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11522
11523 Always save eww history
11524
11525 * eww.el (eww-setup-buffer): Always save history, even when
11526 called from outside the eww buffer (bug#19638).
11527
11528 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11529
11530 Default web pages to right-to-left
11531
11532 * eww.el (eww-mode): Most web pages are left-to-right, so make
11533 that the default (bug#19801).
11534
11535 * shr.el (shr-tag-html): Respect "dir" attributes
11536 (left-to-right, right-to-left).
11537
11538 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11539
11540 Make toggling checkboxes work again
11541
11542 * eww.el (eww-update-field): Make toggling checkboxes work
11543 again (bug#21881).
11544
11545 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11546
11547 Don't store cookies with empty names
11548
11549 * lisp/url/url-cookie.el (url-cookie-store): Refuse to store
11550 cookies with empty names (bug#21936).
11551
11552 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11553
11554 * shr.el (shr-descend): Stop rendering before we run out of
11555 specpdl room (bug#22117).
11556
11557 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11558
11559 Use cl-reduce, not reduce.
11560
11561 2015-12-25 Lars Ingebrigtsen <larsi@gnus.org>
11562
11563 Allow several <tbody> tags in shr
11564
11565 * shr.el (shr-table-body): New function to find the real body
11566 of a table.
11567 (shr-tag-table): Use it to render several <tbody> tags in a
11568 table (bug#22170).
11569
11570 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11571
11572 Make prettier unique file names in eww
11573
11574 (eww-make-unique-file-name): Make unique file names by making
11575 files like foo(2).jpg instead of foo(1)(2).jpg.
11576
11577 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11578
11579 Decode hex-encoded URLs before using them as file names
11580
11581 * eww.el (eww-decode-url-file-name): New function.
11582 (eww-download-callback): Use it to decode file names before
11583 saving them.
11584
11585 2015-12-24 Ashish SHUKLA <ashish.is@lostca.se> (tiny change)
11586
11587 * doc/misc/emacs-gnutls.texi (Help For Users): Document FreeBSD bundle.
11588 * lisp/net/gnutls.el (gnutls-trustfiles): Add FreeBSD cert bundle.
11589
11590 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11591
11592 Allow overriding shr functions from eww
11593
11594 * eww.el (eww-display-html): Allow overriding elements in
11595 `shr-external-rendering-functions'.
11596
11597 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11598
11599 Ignore invalid SVG images
11600
11601 * shr.el (shr-tag-svg): Ignore SVG images that have no width
11602 or height, because these can't be displayed by ImageMagick,
11603 anyway.
11604
11605 2015-12-24 Lars Ingebrigtsen <larsi@gnus.org>
11606
11607 shr table rendering fix
11608
11609 * shr.el (shr-tag-table): Allow rendering body-less tables
11610 that have headers.
11611
11612 2015-12-22 Sam Steingold <sds@gnu.org>
11613
11614 clipboard should still work even if interprogram-* is disabled
11615
11616 (clipboard-yank): When `interprogram-cut-function' is nil,
11617 bind it to `gui-selection-value' - the default value.
11618 (clipboard-kill-region, clipboard-kill-ring-save): When
11619 `interprogram-paste-function' is nil, bind it to `gui-select-text' -
11620 the default value.
11621
11622 2015-12-18 Phillip Lord <phillip.lord@russet.org.uk>
11623
11624 Fix bootstrap issue with dired-loaddefs
11625
11626 * lisp/dired.el: Autoloads for secondary files loaded optionally.
11627
11628 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11629
11630 dired generate autoloads to non-versioned file.
11631
11632 * lisp/dired.el: Remove autoloads.
11633 * lisp/Makefile.in: Add dired to autogenel.
11634 * lisp/dired-aux.el,lisp/dired-x.el: Update file local.
11635 * test/lisp/dired-tests.el: Add new test.
11636
11637 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11638
11639 eieio generate autoloads to non-versioned file.
11640
11641 * lisp/Makefile.in: eieio-loaddefs add to autogenel.
11642 * lisp/emacs-lisp/eieio.el,lisp/emacs-lisp/eieio-core.el:
11643 Remove autoloads.
11644 * lisp/emacs-lisp/eieio-compat.el,lisp/emacs-lisp/eieio-custom.el,
11645 lisp/emacs-lisp/eieio-opt.el: Update file local.
11646 * test/lisp/emacs-lisp/eieio-tests/eieio-tests.el: New test.
11647
11648 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11649
11650 htmlfontify generate autoload to non-versioned file.
11651
11652 * lisp/Makefile.in: Add htmlfontity-loaddefs to autogenel.
11653 * lisp/hfy-cmap.el: Update file local.
11654 * lisp/htmlfontify.el: Remove autoloads, add require.
11655 * test/lisp/htmlfontify-tests.el: Test autoload functionality.
11656
11657 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11658
11659 ibuffer generate autoloads to non-versioned file.
11660
11661 * lisp/Makefile.in: Add ibuffer-loaddefs to autogenel.
11662 * lisp/ibuf-ext.el: Update file local.
11663 * lisp/ibuffer.el: Remove autoloads and add a require.
11664 * test/lisp/ibuffer-tests.el: Test that autoload is working.
11665
11666 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11667
11668 rmail generate autoloads to non-versioned file.
11669
11670 * lisp/Makefile.in: Add rmail-loaddefs.el to autogenel.
11671 * lisp/mail/rmail.el: Remove autoloads, add require.
11672 * lisp/mail/rmailedit.el,lisp/mail/rmailkwd.el,
11673 lisp/mail/rmailmm.el,lisp/mail/rmailmsc.el,
11674 lisp/mail/rmailsort.el,lisp/mail/rmailsum.el,
11675 lisp/mail/undigest.el: Update file-local.
11676 * test/lisp/mail/rmail-tests.el:
11677
11678 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11679
11680 Add autoload-force target.
11681
11682 * lisp/Makefile.in (autoload-force): New target.
11683
11684 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11685
11686 ps-print generate autoloads to non versioned file.
11687
11688 * lisp/Makefile.in: Add ps-print-loaddefs.el to autogen list.
11689 * lisp/ps-print.el: Remove autoloads.
11690 * lisp/ps-mule.el: Update file-local.
11691 * test/lisp/ps-print-tests.el: Test autoload functionality.
11692
11693 2015-12-17 Phillip Lord <phillip.lord@russet.org.uk>
11694
11695 reftex generate autoloads to non versioned file.
11696
11697 * lisp/Makefile.in: Add reftex-loaddefs to autogen files
11698 * lisp/textmodes/reftex.el: Remove autoloads.
11699 * lisp/textmodes/reftex-auc.el,lisp/textmodes/reftex-cite.el,
11700 lisp/textmodes/reftex-dcr.el,lisp/textmodes/reftex-global.el,
11701 lisp/textmodes/reftex-index.el,lisp/textmodes/reftex-parse.el,
11702 lisp/textmodes/reftex-ref.el,lisp/textmodes/reftex-sel.el,
11703 lisp/textmodes/reftex-toc.el: Update autoload file-local.
11704 * test/lisp/textmodes/reftex-tests.el: Add test of an autoloaded
11705 function.
11706
11707 2015-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
11708
11709 * lisp/calculator.el (calculator-define-key): Undo last change
11710
11711 Make map argument mandatory instead (bug#22106).
11712 (calculator-add-operators): Pass the argument that's not optional any more.
11713
11714 2015-12-03 Glenn Morris <rgm@gnu.org>
11715
11716 * Makefile.in: Avoid duplication.
11717
11718 (have-tests): New rule.
11719 (check, check-maybe): Use it.
11720
11721 2015-12-02 Phillip Lord <phillip.lord@russet.org.uk>
11722
11723 make check unconditional, check-maybe top-level.
11724
11725 * Makefile.in: Add check-maybe target.
11726 * test/Makefile.in: Restore unconditional behaviour to make check.
11727
11728 2015-12-01 Phillip Lord <phillip.lord@russet.org.uk>
11729
11730 Tests now support out-of-source-build.
11731
11732 * tests/Makefile.in,test/make-test-deps.emacs-lisp: Remove assumptions
11733 about current working directory.
11734
11735 2015-12-01 Artur Malabarba <bruce.connor.am@gmail.com>
11736
11737 * lisp/emacs-lisp/let-alist.el: Now an Elpa :core package
11738
11739 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
11740
11741 Improve documentation and clean up.
11742
11743 * test/Makefile.in: Improve documentation, use EMACS variable
11744 correctly, and clean up makefile rules.
11745
11746 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
11747
11748 Update file headers for name change.
11749
11750 * (test/src/decompress-tests.el, test/src/alloc-tests.el): Update headers.
11751
11752 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
11753
11754 Test files renamed to new scheme.
11755
11756 * (finalizer-tests.el): Now renamed alloc-tests.el
11757 * (zlib-tests.el): Now renamed decompress-tests.el.
11758
11759 2015-11-30 Phillip Lord <phillip.lord@russet.org.uk>
11760
11761 Tests now depend on source files
11762
11763 * test/Makefile.in: Include dependences from tests to source files.
11764 * test/make-test-deps.emacs-lisp: New file
11765 * .gitignore: Ignore generated make include file
11766
11767 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * lisp/progmodes/which-func.el: Improve disabling the mode
11770
11771 Use lexical-binding.
11772 (which-func-modes, which-func-non-auto-modes, which-func-maxout)
11773 (which-func, which-func-format): Remove redundant :group arg.
11774 (which-func-try-to-enable): New function.
11775 (which-func-ff-hook, which-function-mode): Use it.
11776 (mode-line-misc-info): Add ourselves here instead of in bindings.el.
11777 * lisp/bindings.el (mode-line-misc-info): Remove which-func-mode entry.
11778
11779 2015-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * lisp/calculator.el (calculator-define-key): Silence warning
11782
11783 ...about unknown calculator-mode-map.
11784
11785 2015-11-29 Eli Barzilay <eli@barzilay.org>
11786
11787 * lisp/calculator.el: more improvements and bugfixes.
11788
11789 - Mark `calculator-paste-decimals' as obsolete. (It wasn't having an
11790 effect anyway.)
11791
11792 - Simplify `calculator-number-to-string' by throwing most of the work
11793 onto `number-to-string', leaving just some tweaks for decimal inputs.
11794 This leads to some minor changes, for example, pasting "1x1" in hex
11795 mode would warn that "x" is ignored and result in "11" (and it wasn't
11796 done in decimal mode), whereas now it just ignores everything from the
11797 "x" and on and result in a "1" just like in decimal input mode. Also,
11798 overflows are left for `number-to-string' to deal with.
11799
11800 - `calculator-paste' is very simple as a result.
11801
11802 - Extend the simplified `calculator-paste': with a prefix argument it
11803 pastes a string as if the characters were entered. This can be used
11804 to reduce expressions, but note that it's a simple literal operation,
11805 so precedence can be messed, a number can be paster while entering a
11806 number, spaces and newlines matter, etc.
11807
11808 - Fix a minor bug where "e+" in hex mode wouldn't use "+" as an
11809 operator.
11810
11811 - Fix a bug in `calculator-put-value': avoid grouping in the display
11812 that is used to construct `calculator-curnum'. This would trigger
11813 when pasting or getting a value from a register in some radix mode
11814 with a large enough value. Another fix: make the output radix equal
11815 the input one, otherwise numbers could be converted twice.
11816
11817 2015-11-29 Eli Barzilay <eli@barzilay.org>
11818
11819 * lisp/calculator.el: Re-do key bindings.
11820
11821 Use a helper function that arranges a parent keymap that binds alternate
11822 case keys so if some letter key is unbound and it's un/shifted version
11823 is, it will get used. This makes the global-map trickery unnecessary.
11824
11825 Also switch to passing strings that name keys through `kbd'.
11826
11827 2015-11-29 Eli Barzilay <eli@barzilay.org>
11828
11829 * lisp/calculator.el: improve radix modes
11830
11831 Fix prompt for some input radix with decimal output (eg, "BD" instead of
11832 the incorrect "B="); also, some minor docstring tweaks for these.
11833
11834 2015-11-29 Eli Barzilay <eli@barzilay.org>
11835
11836 * lisp/calculator.el: better reading of register names
11837
11838 Use `register-read-with-preview' with a dynamically bound
11839 `register-alist' and a proper preview function to read register names.
11840
11841 2015-11-29 Eli Barzilay <eli@barzilay.org>
11842
11843 * lisp/calculator.el: General improvements
11844
11845 Use things like `when', `unless', and `push'.
11846
11847 Improve `calculator-last-input' so it doesn't barf when hitting `F1' in
11848 non-electric mode.
11849
11850 2015-11-28 Michael Albinus <michael.albinus@gmx.de>
11851
11852 Fix a problem with gfilenotify in filenotify-tests.el
11853
11854 * test/lisp/filenotify-tests.el
11855 (file-notify--test-expected-events): Remove.
11856 (file-notify--test-cleanup): Do not set that variable.
11857 (file-notify--test-with-events): EVENTS can also be a list of lists.
11858 (file-notify-test02-events, file-notify-test04-file-validity):
11859 Adapt expected result.
11860
11861 2015-11-28 Eli Zaretskii <eliz@gnu.org>
11862
11863 * .gitignore: Adjust to changes in 'test' directory structure.
11864
11865 2015-11-28 Eli Zaretskii <eliz@gnu.org>
11866
11867 Fix test/manual/etags/Makefile
11868
11869 * test/manual/etags/Makefile (ETAGS_PROG, CTAGS_PROG): Adjust to
11870 changes in 'test' directory structure.
11871
11872 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
11873
11874 Exclude resource dirs from search for tests.
11875
11876 * test/Makefile.in: Test file locations are now found with find
11877 rather than using finds native functions.
11878
11879 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
11880
11881 Add test targets without directory names.
11882
11883 * (test/Makefile.in): Extend test_template to add two targets for each
11884 file.
11885
11886 2015-11-27 Artur Malabarba <bruce.connor.am@gmail.com>
11887
11888 * lisp/emacs-lisp/package.el: Require url-handlers
11889
11890 2015-11-27 Phillip Lord <phillip.lord@russet.org.uk>
11891
11892 Move elisp-mode-tests to new function names.
11893
11894 * test/lisp/progmodes/elisp-mode-tests.el (find-defsdefun-c-defvar-c,
11895 find-defs-defun-el-defvar-c): Call `elisp--xref-find-definitions'.
11896
11897 2015-11-27 Juanma Barranquero <lekktu@gmail.com>
11898
11899 * lisp/emacs-lisp/package.el: Declare `url-insert-buffer-contents'
11900
11901 2015-11-26 Phillip Lord <phillip.lord@russet.org.uk>
11902
11903 Merge branch 'feature/standard-test-location'
11904
11905 2015-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
11906
11907 * lisp/emacs-lisp/eieio.el: Add some default implementations
11908
11909 (standard-class): Mark it obsolete.
11910 (slot-missing): Give it a default implementation.
11911 (destructor): Simplify and mark it obsolete.
11912 (object-print): Give it a default implementation.
11913 (eieio-change-class): Rename from change-class.
11914 (change-class): Redefine as obsolete alias.
11915
11916 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11917
11918 Some final fixes in file notification before merging with master
11919
11920 * lisp/filenotify.el (file-notify--rm-descriptor): Remove WHAT arg.
11921 (file-notify-callback): Improve check for `stopped' event. Call
11922 `file-notify-rm-watch' rather than `file-notify--rm-descriptor'.
11923 (file-notify-add-watch): In case FILE is not a directory, call the
11924 file monitor for the kqueue backend. Otherwise, call the
11925 directory monitor for the upper directory.
11926
11927 * src/inotify.c (inotifyevent_to_event): Extract file name from
11928 watch_object if the event doesn't provide it.
11929 (Finotify_add_watch): Add file name to watch_object.
11930
11931 * test/automated/file-notify-tests.el (file-notify--test-timeout):
11932 Use different timeouts for different libraries.
11933 (file-notify--test-with-events): Suppress lock files. Flush
11934 outstanding events before running the body.
11935 (file-notify-test02-events, file-notify-test04-file-validity): Do
11936 not skip cygwin tests. Add additional test for file creation.
11937 Adapt expected result for different backends.
11938 (file-notify-test03-autorevert): Some of the tests don't work for
11939 w32notify.
11940 (file-notify-test06-many-events): Rename into both directions.
11941
11942 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11943
11944 Rework file notifications, kqueue has problems with directory monitors
11945
11946 * lisp/filenotify.el (file-notify-add-watch): Call the native
11947 add-watch function on the file, not on the dir.
11948
11949 * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
11950 about already deleted entries.
11951
11952 * test/automated/auto-revert-tests.el
11953 (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
11954 since this deletes the target file first.
11955
11956 * test/automated/file-notify-tests.el (file-notify--test-event-test):
11957 Make stronger checks.
11958 (file-notify-test01-add-watch, file-notify-test02-events)
11959 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
11960 Rewrite in order to call file monitors but directory monitors.
11961 (file-notify-test06-many-events): Ler rename work in both directions.
11962
11963 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11964
11965 Continue with pending events
11966
11967 * src/kqueue.c (pending_events): Remove global variable.
11968 (kqueue_compare_dir_list): Create `write' event for not used
11969 pending events.
11970 (globals_of_kqueue): Remove initialization of pending_events.
11971
11972 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11973
11974 Improve loops in file-notify-test06-many-events
11975
11976 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
11977 Use `read-event' pauses for the `write-file' loops; otherwise
11978 events are lost in inotify and gfilenotify cases.
11979
11980 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
11981
11982 Handle more complex rename operation in kqueue
11983
11984 * src/kqueue.c (pending_events): New variable.
11985 (kqueue_compare_dir_list): Handle more complex rename operation.
11986 (globals_of_kqueue): Initialize pending_events.
11987
11988 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
11989 Adapt expected events in the `rename-file' case.
11990 (file-notify-test06-many-events-remote): Declare.
11991
11992 2015-11-25 Wolfgang Jenkner <wjenkner@inode.at>
11993
11994 New test with a larger number of events
11995
11996 * test/automated/file-notify-tests.el (file-notify--test-with-events):
11997 Make timeout heuristically depend on the number of events.
11998
11999 (file-notify-test06-many-events): Use it for new test.
12000
12001 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12002
12003 Further fixes for kqueue
12004
12005 * lisp/filenotify.el (file-notify-callback): Raise also event if
12006 directory name matches.
12007 (file-notify-add-watch): Add `create' to the flags for `kqueue'.
12008
12009 * src/kqueue.c (kqueue_generate_event): Use watch_object as
12010 argument instead of ident. Remove callback argument. Adapt
12011 callees. Check actions whether they are monitored flags.
12012
12013 * test/automated/file-notify-tests.el (file-notify--test-library):
12014 New defun.
12015 (file-notify-test00-availability, file-notify-test02-events)
12016 (file-notify-test04-file-validity)
12017 (file-notify-test05-dir-validity): Use it.
12018 (file-notify-test02-events, file-notify-test04-file-validity): Add
12019 `read-event' calls between different file actions, in order to
12020 give the backends a chance to rais an event. Needed especially
12021 for kqueue. In case of deleting a directory, there are two
12022 `deleted' events.
12023
12024 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12025
12026 Code cleanup of kqueue.c
12027
12028 * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
12029 (kqueue_compare_dir_list): Do not loop when calling
12030 directory_files_internal. Remove checks for "." and "..", this is
12031 done in kqueue_directory_listing now.
12032 (Fkqueue_add_watch): Check for proper emacs_open flags.
12033
12034 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12035
12036 Doc changes for kqueue
12037
12038 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
12039 Fix some glitches in the example.
12040
12041 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12042
12043 Finish implementation in kqueue.c
12044
12045 * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
12046 Simplify access to list.
12047 (kqueue_compare_dir_list): Simplify access to list. Raise
12048 `delete' event if directory does not exist any longer. Otherwise,
12049 wait until directory contents has changed. Fix error in check.
12050
12051 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12052
12053 * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
12054
12055 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12056
12057 More work on kqueue
12058
12059 * lisp/filenotify.el (file-notify-callback): Handle also the
12060 `rename' event from kqueue.
12061 (file-notify-add-watch): Do not register an entry twice.
12062
12063 * src/kqueue.c (kqueue_directory_listing): New function.
12064 (kqueue_generate_event): New argument FILE1. Adapt callees.
12065 (kqueue_compare_dir_list): Rewrite in order to make it more robust.
12066
12067 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12068
12069 Implement directory events
12070
12071 * lisp/filenotify.el (file-notify-handle-event)
12072 (file-notify-callback): Remove traces.
12073
12074 * src/kqueue.c: Include <sys/time.h>.
12075 (kqueue_generate_event, kqueue_compare_dir_list): New functions.
12076 (kqueue_callback): Use them. Call kevent() with a zero timeout.
12077 (Fkqueue_add_watch): Adapt docstring. Support directory events.
12078 Compute initial directory listing. Close file descriptor in case
12079 of errors.
12080 (syms_of_kqueue): Declare Qcreate.
12081
12082 2015-11-25 Wolfgang Jenkner <wjenkner@inode.at>
12083
12084 Build fixes for kqueue support
12085
12086 * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
12087 flag.
12088
12089 * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
12090 kqueue on *BSD.
12091
12092 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12093
12094 Continue kqueue implementation
12095
12096 * lisp/filenotify.el (file-notify-handle-event)
12097 (file-notify-callback): Enable trace messages.
12098
12099 * src/kqueue.c: Include also <sys/types.h>.
12100 (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
12101 (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
12102 (syms_of_kqueue): Add them.
12103
12104 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12105
12106 Work on kqueue
12107
12108 * lisp/filenotify.el (file-notify--library)
12109 (file-notify-descriptors, file-notify-callback)
12110 (file-notify-add-watch, file-notify-rm-watch)
12111 (file-notify-valid-p): Add kqueue support.
12112
12113 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
12114
12115 2015-11-25 Michael Albinus <michael.albinus@gmx.de>
12116
12117 Add kqueue support
12118
12119 * configure.ac (--with-file-notification): Add kqueue.
12120 (top): Remove special test for "${HAVE_NS}" and
12121 ${with_file_notification}, this is handled inside gfilenotify
12122 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
12123 instead of library specific variables.
12124
12125 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
12126
12127 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
12128
12129 * src/kqueue.c: New file.
12130
12131 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
12132
12133 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
12134
12135 Update elisp-mode-tests for changed file location.
12136
12137 * test/lisp/progmodes/elisp-mode-tests.el:
12138
12139 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
12140
12141 Exclude manual tests from Makefile
12142
12143 * test/Makefile.in:
12144
12145 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
12146
12147 Move package test files to new directory.
12148
12149 * test/lisp/emacs-lisp/package-tests.el: Update resoruce file location.
12150 * test/data/package: Moved to test/lisp/emacs-lisp/package-resources
12151
12152 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
12153
12154 Restore delete Makefiles and fix .gitignore.
12155
12156 * .gitignore: Update Makefiles to changed locations
12157 * test/lisp/progmodes/flymake-resources/Makefile,
12158 test/manual/etags/Makefile,
12159 test/manual/etags/make-src/Makefile,
12160 test/manual/indent/Makefile: Restored and moved to new location.
12161
12162 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
12163
12164 Test infrastructure: updates after directory move
12165
12166 * (test/Makefile.in): Support directories several levels deep.
12167 * (test/data/flymake): Rename to test/lisp/progmodes/flymake-resources.
12168 * (test/lisp/progmodes/flymake-tests.el): Support renamed resource directory.
12169
12170 2015-11-24 Phillip Lord <phillip.lord@russet.org.uk>
12171
12172 Rename all test files to reflect source layout.
12173
12174 * CONTRIBUTE,Makefile.in,configure.ac: Update to reflect
12175 test directory moves.
12176 * test/file-organisation.org: New file.
12177 * test/automated/Makefile.in
12178 test/automated/data/decompress/foo.gz
12179 test/automated/data/epg/pubkey.asc
12180 test/automated/data/epg/seckey.asc
12181 test/automated/data/files-bug18141.el.gz
12182 test/automated/data/flymake/test.c
12183 test/automated/data/flymake/test.pl
12184 test/automated/data/package/archive-contents
12185 test/automated/data/package/key.pub
12186 test/automated/data/package/key.sec
12187 test/automated/data/package/multi-file-0.2.3.tar
12188 test/automated/data/package/multi-file-readme.txt
12189 test/automated/data/package/newer-versions/archive-contents
12190 test/automated/data/package/newer-versions/new-pkg-1.0.el
12191 test/automated/data/package/newer-versions/simple-single-1.4.el
12192 test/automated/data/package/package-test-server.py
12193 test/automated/data/package/signed/archive-contents
12194 test/automated/data/package/signed/archive-contents.sig
12195 test/automated/data/package/signed/signed-bad-1.0.el
12196 test/automated/data/package/signed/signed-bad-1.0.el.sig
12197 test/automated/data/package/signed/signed-good-1.0.el
12198 test/automated/data/package/signed/signed-good-1.0.el.sig
12199 test/automated/data/package/simple-depend-1.0.el
12200 test/automated/data/package/simple-single-1.3.el
12201 test/automated/data/package/simple-single-readme.txt
12202 test/automated/data/package/simple-two-depend-1.1.el
12203 test/automated/abbrev-tests.el
12204 test/automated/auto-revert-tests.el
12205 test/automated/calc-tests.el
12206 test/automated/icalendar-tests.el
12207 test/automated/character-fold-tests.el
12208 test/automated/comint-testsuite.el
12209 test/automated/descr-text-test.el
12210 test/automated/electric-tests.el
12211 test/automated/cl-generic-tests.el
12212 test/automated/cl-lib-tests.el
12213 test/automated/eieio-test-methodinvoke.el
12214 test/automated/eieio-test-persist.el
12215 test/automated/eieio-tests.el
12216 test/automated/ert-tests.el
12217 test/automated/ert-x-tests.el
12218 test/automated/generator-tests.el
12219 test/automated/let-alist.el
12220 test/automated/map-tests.el
12221 test/automated/advice-tests.el
12222 test/automated/package-test.el
12223 test/automated/pcase-tests.el
12224 test/automated/regexp-tests.el
12225 test/automated/seq-tests.el
12226 test/automated/subr-x-tests.el
12227 test/automated/tabulated-list-test.el
12228 test/automated/thunk-tests.el
12229 test/automated/timer-tests.el
12230 test/automated/epg-tests.el
12231 test/automated/eshell.el
12232 test/automated/faces-tests.el
12233 test/automated/file-notify-tests.el
12234 test/automated/auth-source-tests.el
12235 test/automated/gnus-tests.el
12236 test/automated/message-mode-tests.el
12237 test/automated/help-fns.el
12238 test/automated/imenu-test.el
12239 test/automated/info-xref.el
12240 test/automated/mule-util.el
12241 test/automated/isearch-tests.el
12242 test/automated/json-tests.el
12243 test/automated/bytecomp-tests.el
12244 test/automated/coding-tests.el
12245 test/automated/core-elisp-tests.el
12246 test/automated/decoder-tests.el
12247 test/automated/files.el
12248 test/automated/font-parse-tests.el
12249 test/automated/lexbind-tests.el
12250 test/automated/occur-tests.el
12251 test/automated/process-tests.el
12252 test/automated/syntax-tests.el
12253 test/automated/textprop-tests.el
12254 test/automated/undo-tests.el
12255 test/automated/man-tests.el
12256 test/automated/completion-tests.el
12257 test/automated/dbus-tests.el
12258 test/automated/newsticker-tests.el
12259 test/automated/sasl-scram-rfc-tests.el
12260 test/automated/tramp-tests.el
12261 test/automated/obarray-tests.el
12262 test/automated/compile-tests.el
12263 test/automated/elisp-mode-tests.el
12264 test/automated/f90.el
12265 test/automated/flymake-tests.el
12266 test/automated/python-tests.el
12267 test/automated/ruby-mode-tests.el
12268 test/automated/subword-tests.el
12269 test/automated/replace-tests.el
12270 test/automated/simple-test.el
12271 test/automated/sort-tests.el
12272 test/automated/subr-tests.el
12273 test/automated/reftex-tests.el
12274 test/automated/sgml-mode-tests.el
12275 test/automated/tildify-tests.el
12276 test/automated/thingatpt.el
12277 test/automated/url-future-tests.el
12278 test/automated/url-util-tests.el
12279 test/automated/add-log-tests.el
12280 test/automated/vc-bzr.el
12281 test/automated/vc-tests.el
12282 test/automated/xml-parse-tests.el
12283 test/BidiCharacterTest.txt
12284 test/biditest.el
12285 test/cedet/cedet-utests.el
12286 test/cedet/ede-tests.el
12287 test/cedet/semantic-ia-utest.el
12288 test/cedet/semantic-tests.el
12289 test/cedet/semantic-utest-c.el
12290 test/cedet/semantic-utest.el
12291 test/cedet/srecode-tests.el
12292 test/cedet/tests/test.c
12293 test/cedet/tests/test.el
12294 test/cedet/tests/test.make
12295 test/cedet/tests/testdoublens.cpp
12296 test/cedet/tests/testdoublens.hpp
12297 test/cedet/tests/testfriends.cpp
12298 test/cedet/tests/testjavacomp.java
12299 test/cedet/tests/testnsp.cpp
12300 test/cedet/tests/testpolymorph.cpp
12301 test/cedet/tests/testspp.c
12302 test/cedet/tests/testsppcomplete.c
12303 test/cedet/tests/testsppreplace.c
12304 test/cedet/tests/testsppreplaced.c
12305 test/cedet/tests/testsubclass.cpp
12306 test/cedet/tests/testsubclass.hh
12307 test/cedet/tests/testtypedefs.cpp
12308 test/cedet/tests/testvarnames.c
12309 test/etags/CTAGS.good
12310 test/etags/ETAGS.good_1
12311 test/etags/ETAGS.good_2
12312 test/etags/ETAGS.good_3
12313 test/etags/ETAGS.good_4
12314 test/etags/ETAGS.good_5
12315 test/etags/ETAGS.good_6
12316 test/etags/a-src/empty.zz
12317 test/etags/a-src/empty.zz.gz
12318 test/etags/ada-src/2ataspri.adb
12319 test/etags/ada-src/2ataspri.ads
12320 test/etags/ada-src/etags-test-for.ada
12321 test/etags/ada-src/waroquiers.ada
12322 test/etags/c-src/a/b/b.c
12323 test/etags/c-src/abbrev.c
12324 test/etags/c-src/c.c
12325 test/etags/c-src/dostorture.c
12326 test/etags/c-src/emacs/src/gmalloc.c
12327 test/etags/c-src/emacs/src/keyboard.c
12328 test/etags/c-src/emacs/src/lisp.h
12329 test/etags/c-src/emacs/src/regex.h
12330 test/etags/c-src/etags.c
12331 test/etags/c-src/exit.c
12332 test/etags/c-src/exit.strange_suffix
12333 test/etags/c-src/fail.c
12334 test/etags/c-src/getopt.h
12335 test/etags/c-src/h.h
12336 test/etags/c-src/machsyscalls.c
12337 test/etags/c-src/machsyscalls.h
12338 test/etags/c-src/sysdep.h
12339 test/etags/c-src/tab.c
12340 test/etags/c-src/torture.c
12341 test/etags/cp-src/MDiagArray2.h
12342 test/etags/cp-src/Range.h
12343 test/etags/cp-src/burton.cpp
12344 test/etags/cp-src/c.C
12345 test/etags/cp-src/clheir.cpp.gz
12346 test/etags/cp-src/clheir.hpp
12347 test/etags/cp-src/conway.cpp
12348 test/etags/cp-src/conway.hpp
12349 test/etags/cp-src/fail.C
12350 test/etags/cp-src/functions.cpp
12351 test/etags/cp-src/screen.cpp
12352 test/etags/cp-src/screen.hpp
12353 test/etags/cp-src/x.cc
12354 test/etags/el-src/TAGTEST.EL
12355 test/etags/el-src/emacs/lisp/progmodes/etags.el
12356 test/etags/erl-src/gs_dialog.erl
12357 test/etags/f-src/entry.for
12358 test/etags/f-src/entry.strange.gz
12359 test/etags/f-src/entry.strange_suffix
12360 test/etags/forth-src/test-forth.fth
12361 test/etags/html-src/algrthms.html
12362 test/etags/html-src/index.shtml
12363 test/etags/html-src/software.html
12364 test/etags/html-src/softwarelibero.html
12365 test/etags/lua-src/allegro.lua
12366 test/etags/objc-src/PackInsp.h
12367 test/etags/objc-src/PackInsp.m
12368 test/etags/objc-src/Subprocess.h
12369 test/etags/objc-src/Subprocess.m
12370 test/etags/objcpp-src/SimpleCalc.H
12371 test/etags/objcpp-src/SimpleCalc.M
12372 test/etags/pas-src/common.pas
12373 test/etags/perl-src/htlmify-cystic
12374 test/etags/perl-src/kai-test.pl
12375 test/etags/perl-src/yagrip.pl
12376 test/etags/php-src/lce_functions.php
12377 test/etags/php-src/ptest.php
12378 test/etags/php-src/sendmail.php
12379 test/etags/prol-src/natded.prolog
12380 test/etags/prol-src/ordsets.prolog
12381 test/etags/ps-src/rfc1245.ps
12382 test/etags/pyt-src/server.py
12383 test/etags/tex-src/gzip.texi
12384 test/etags/tex-src/nonewline.tex
12385 test/etags/tex-src/testenv.tex
12386 test/etags/tex-src/texinfo.tex
12387 test/etags/y-src/atest.y
12388 test/etags/y-src/cccp.c
12389 test/etags/y-src/cccp.y
12390 test/etags/y-src/parse.c
12391 test/etags/y-src/parse.y
12392 test/indent/css-mode.css
12393 test/indent/js-indent-init-dynamic.js
12394 test/indent/js-indent-init-t.js
12395 test/indent/js-jsx.js
12396 test/indent/js.js
12397 test/indent/latex-mode.tex
12398 test/indent/modula2.mod
12399 test/indent/nxml.xml
12400 test/indent/octave.m
12401 test/indent/pascal.pas
12402 test/indent/perl.perl
12403 test/indent/prolog.prolog
12404 test/indent/ps-mode.ps
12405 test/indent/ruby.rb
12406 test/indent/scheme.scm
12407 test/indent/scss-mode.scss
12408 test/indent/sgml-mode-attribute.html
12409 test/indent/shell.rc
12410 test/indent/shell.sh
12411 test/redisplay-testsuite.el
12412 test/rmailmm.el
12413 test/automated/buffer-tests.el
12414 test/automated/cmds-tests.el
12415 test/automated/data-tests.el
12416 test/automated/finalizer-tests.el
12417 test/automated/fns-tests.el
12418 test/automated/inotify-test.el
12419 test/automated/keymap-tests.el
12420 test/automated/print-tests.el
12421 test/automated/libxml-tests.el
12422 test/automated/zlib-tests.el: Files Moved.
12423
12424 2015-11-20 Michael Albinus <michael.albinus@gmx.de>
12425
12426 Rework file notifications, kqueue has problems with directory monitors
12427
12428 * lisp/filenotify.el (file-notify-add-watch): Call the native
12429 add-watch function on the file, not on the dir.
12430
12431 * src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
12432 about already deleted entries.
12433
12434 * test/automated/auto-revert-tests.el
12435 (auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
12436 since this deletes the target file first.
12437
12438 * test/automated/file-notify-tests.el (file-notify--test-event-test):
12439 Make stronger checks.
12440 (file-notify-test01-add-watch, file-notify-test02-events)
12441 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
12442 Rewrite in order to call file monitors but directory monitors.
12443 (file-notify-test06-many-events): Ler rename work in both directions.
12444
12445 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
12446
12447 Continie with pending events
12448
12449 * src/kqueue.c (pending_events): Remove global variable.
12450 (kqueue_compare_dir_list): Create `write' event for not used
12451 pending events.
12452 (globals_of_kqueue): Remove initialization of pending_events.
12453
12454 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
12455
12456 Improve loops in file-notify-test06-many-events
12457
12458 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
12459 Use `read-event' pauses for the `write-file' loops; otherwise
12460 events are lost in inotify and gfilenotify cases.
12461
12462 2015-11-19 Michael Albinus <michael.albinus@gmx.de>
12463
12464 Handle more complex rename operation in kqueue
12465
12466 * src/kqueue.c (pending_events): New variable.
12467 (kqueue_compare_dir_list): Handle more complex rename operation.
12468 (globals_of_kqueue): Initialize pending_events.
12469
12470 * test/automated/file-notify-tests.el (file-notify-test06-many-events):
12471 Adapt expected events in the `rename-file' case.
12472 (file-notify-test06-many-events-remote): Declare.
12473
12474 2015-11-18 Wolfgang Jenkner <wjenkner@inode.at>
12475
12476 New test with a larger number of events.
12477
12478 * test/automated/file-notify-tests.el (file-notify--test-with-events):
12479 Make timeout heuristically depend on the number of events.
12480
12481 (file-notify-test06-many-events): Use it for new test.
12482
12483 2015-11-18 Michael Albinus <michael.albinus@gmx.de>
12484
12485 Further fixes for kqueue.
12486
12487 * lisp/filenotify.el (file-notify-callback): Raise also event if
12488 directory name matches.
12489 (file-notify-add-watch): Add `create' to the flags for `kqueue'.
12490
12491 * src/kqueue.c (kqueue_generate_event): Use watch_object as
12492 argument instead of ident. Remove callback argument. Adapt
12493 callees. Check actions whether they are monitored flags.
12494
12495 * test/automated/file-notify-tests.el (file-notify--test-library):
12496 New defun.
12497 (file-notify-test00-availability, file-notify-test02-events)
12498 (file-notify-test04-file-validity)
12499 (file-notify-test05-dir-validity): Use it.
12500 (file-notify-test02-events, file-notify-test04-file-validity): Add
12501 `read-event' calls between different file actions, in order to
12502 give the backends a chance to rais an event. Needed especially
12503 for kqueue. In case of deleting a directory, there are two
12504 `deleted' events.
12505
12506 2015-11-17 Michael Albinus <michael.albinus@gmx.de>
12507
12508 Code cleanup of kqueue.c
12509
12510 * src/kqueue.c (kqueue_directory_listing): Skip "." and "..".
12511 (kqueue_compare_dir_list): Do not loop when calling
12512 directory_files_internal. Remove checks for "." and "..", this is
12513 done in kqueue_directory_listing now.
12514 (Fkqueue_add_watch): Check for proper emacs_open flags.
12515
12516 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
12517
12518 Doc changes for kqueue
12519
12520 * doc/lispref/os.texi (File Notifications): Add kqueue as backend.
12521 Fix some glitches in the example.
12522
12523 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
12524
12525 Finish implementation in kqueue.c
12526
12527 * src/kqueue.c (kqueue_directory_listing, kqueue_callback):
12528 Simplify access to list.
12529 (kqueue_compare_dir_list): Simplify access to list. Raise
12530 `delete' event if directory does not exist any longer. Otherwise,
12531 wait until directory contents has changed. Fix error in check.
12532
12533 2015-11-16 Michael Albinus <michael.albinus@gmx.de>
12534
12535 * lisp/filenotify.el (file-notify-add-watch): Fix thinko.
12536
12537 2015-11-15 Michael Albinus <michael.albinus@gmx.de>
12538
12539 More work on kqueue
12540
12541 * lisp/filenotify.el (file-notify-callback): Handle also the
12542 `rename' event from kqueue.
12543 (file-notify-add-watch): Do not register an entry twice.
12544
12545 * src/kqueue.c (kqueue_directory_listing): New function.
12546 (kqueue_generate_event): New argument FILE1. Adapt callees.
12547 (kqueue_compare_dir_list): Rewrite in order to make it more robust.
12548
12549 2015-11-14 Michael Albinus <michael.albinus@gmx.de>
12550
12551 Implement directory events
12552
12553 * lisp/filenotify.el (file-notify-handle-event)
12554 (file-notify-callback): Remove traces.
12555
12556 * src/kqueue.c: Include <sys/time.h>.
12557 (kqueue_generate_event, kqueue_compare_dir_list): New functions.
12558 (kqueue_callback): Use them. Call kevent() with a zero timeout.
12559 (Fkqueue_add_watch): Adapt docstring. Support directory events.
12560 Compute initial directory listing. Close file descriptor in case
12561 of errors.
12562 (syms_of_kqueue): Declare Qcreate.
12563
12564 2015-11-11 Wolfgang Jenkner <wjenkner@inode.at>
12565
12566 Build fixes for kqueue support.
12567
12568 * src/kqueue.c (Fkqueue_add_watch): O_BINARY is not a POSIX open(3)
12569 flag.
12570
12571 * configure.ac (HAVE_KQUEUE): There is no pkg-config module for native
12572 kqueue on *BSD.
12573
12574 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
12575
12576 Continue kqueue implementation
12577
12578 * lisp/filenotify.el (file-notify-handle-event)
12579 (file-notify-callback): Enable trace messages.
12580
12581 * src/kqueue.c: Include also <sys/types.h>.
12582 (kqueue_callback): Remove watch in case of NOTE_DELETE or NOTE_RENAME.
12583 (Fkqueue_rm_watch, Fkqueue_valid_p): New functions.
12584 (syms_of_kqueue): Add them.
12585
12586 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
12587
12588 Work on kqueue
12589
12590 * lisp/filenotify.el (file-notify--library)
12591 (file-notify-descriptors, file-notify-callback)
12592 (file-notify-add-watch, file-notify-rm-watch)
12593 (file-notify-valid-p): Add kqueue support.
12594
12595 * src/keyboard.c (make_lispy_event): Check also for HAVE_KQUEUE.
12596
12597 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
12598
12599 Add kqueue support
12600
12601 * configure.ac (--with-file-notification): Add kqueue.
12602 (top): Remove special test for "${HAVE_NS}" and
12603 ${with_file_notification}, this is handled inside gfilenotify
12604 tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
12605 instead of library specific variables.
12606
12607 * src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
12608
12609 * src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
12610
12611 * src/kqueue.c: New file.
12612
12613 * src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
12614
12615 2015-11-21 Wilson Snyder <wsnyder@wsnyder.org>
12616
12617 verilog-mode.el: Commentary and fix pre-Emacs 21 behavior.
12618
12619 * verilog-mode.el (verilog-save-font-no-change-functions):
12620 Commentary and fix pre-Emacs 21 behavior.
12621
12622 2015-11-19 Przemysław Wojnowski <esperanto@cumego.com>
12623
12624 Use obarray functions from obarray.
12625
12626 * lisp/abbrev.el (copy-abbrev-table, abbrev-table-p, make-abbrev-table,
12627 abbrev-table-get, abbrev-table-put, abbrev-table-empty-p,
12628 clear-abbrev-table, define-abbrev, abbrev--symbol, abbrev-table-menu):
12629 delegate to obarray.el functions.
12630 * lisp/loadup.el: load obarray before abbrev
12631 * test/automated/abbrev-tests.el: new tests
12632
12633 2015-11-18 Christian Schwarzgruber <c.schwarzgruber.cs@gmail.com> (tiny change)
12634
12635 epa.el: Add option to replace original text
12636
12637 * lisp/epa.el (epa-replace-original-text): New user option.
12638 (Bug#21947)
12639
12640 2015-11-18 Mark Oteiza <mvoteiza@udel.edu>
12641
12642 Add interactive seek command.
12643
12644 * lisp/mpc.el (mpc-cmd-seekcur): New function.
12645 (mpc-seek-current): New command.
12646 (mpc-mode-menu): Add entry for mpc-seek-current
12647 (mpc-mode-map): Bind mpc-seek-current to "g"
12648
12649 2015-11-18 Mark Oteiza <mvoteiza@udel.edu>
12650
12651 Fix issue where a new tempfile was created every refresh
12652
12653 * lisp/mpc.el (mpc-format): Leave dir as relative path
12654
12655 2015-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12656
12657 * lisp/progmodes/cc-defs.el: Use with-silent-modifications
12658
12659 (c-save-buffer-state): Use with-silent-modifications when available.
12660 (c--macroexpand-all): Check macroexpand-all directly rather than
12661 c--mapcan-status.
12662
12663 2015-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * lisp/loadup.el: Set max-lisp-eval-depth here
12666
12667 * lisp/Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS): Remove.
12668 (BYTE_COMPILE_FLAGS): Adjust accordingly.
12669
12670 2015-11-17 João Távora <joaotavora@gmail.com>
12671
12672 Minor fix to comment indentation and typo in last commit
12673
12674 * linum.el (linum-update-window): Fix comment indentation and a
12675 typo.
12676
12677 2015-11-17 João Távora <joaotavora@gmail.com>
12678
12679 linum-mode plays more nicely with other margin-setting extensions
12680
12681 linum.el will only modify the left margin if it needs to, and will
12682 only reset the it back to 0 if it guesses that no-one has touched that
12683 margin in the meantime.
12684
12685 As such, this is a more of a workaround than an actual fix, but fixes
12686 the problems described in bug#20674 regarding the interaction with
12687 modes such as darkroom-mode and olivetti-mode.
12688
12689 A similar fix was commited to nlinum.el in ELPA.git's
12690 e7f5f549fbfb740b911fb7f33b42381ecece56d8
12691
12692 * linum.el (linum-delete-overlays): Restore margins more
12693 criteriously.
12694 (linum-update-window): Set margins more criteriously.
12695
12696 2015-11-16 Daiki Ueno <ueno@gnu.org>
12697
12698 * lisp/image-mode.el: Support encrypted file
12699
12700 (image-toggle-display-image): Read content from the buffer instead
12701 of the file, if the buffer holds a decrypted data. (Bug#21870)
12702
12703 2015-11-15 Juanma Barranquero <lekktu@gmail.com>
12704
12705 * lisp/progmodes/verilog-mode.el (verilog-save-buffer-state): Add backquote
12706
12707 2015-11-15 Artur Malabarba <bruce.connor.am@gmail.com>
12708
12709 * lisp/emacs-lisp/package.el: Fix a decoding issue
12710
12711 (package--with-response-buffer): Use `url-insert-buffer-contents'.
12712 The previous code had some issues with decoding. Refactoring that
12713 function allows us to use the decoding from url-handlers while still
12714 treating both sync and async requests the same.
12715
12716 * lisp/url/url-handlers.el (url-insert-file-contents): Move some code to
12717 `url-insert-buffer-contents'.
12718 (url-insert-buffer-contents): New function
12719
12720 2016-01-30 Eli Zaretskii <eliz@gnu.org>
12721
12722 * CONTRIBUTE (Branches): Improve wording for back-ported commits.
12723
12724 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
12725
12726 Merge branch 'master' into emacs-25
12727
12728 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
12729 2015-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
12730
12731 * lisp/progmodes/verilog-mode.el: Use with-silent-modifications
12732
12733 (verilog-save-buffer-state): Use with-silent-modifications when available.
12734 (verilog-save-font-no-change-functions): Don't bind
12735 before/after-change-functions if it's not needed.
12736
12737 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
12738
12739 * CONTRIBUTE: Remove information about feature freeze.
12740
12741 Merge branch 'release-process-lowercase'
12742
12743 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
12744
12745 Document the release process
12746
12747 * admin/notes/versioning: Add information about RC releases.
12748 * admin/release-process: Document the release process.
12749 * admin/authors.el (authors-ignored-files):
12750 * admin/README: Change FOR-RELEASE to release-process.
12751 * CONTRIBUTE:
12752 * admin/notes/bugtracker: Don't mention FOR-RELEASE.
12753
12754 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
12755
12756 * admin/release-process: Rename from admin/FOR-RELEASE.
12757
12758 2015-11-14 David Engster <deng@randomsample.de>
12759
12760 gitmerge: Fix git log command
12761
12762 * admin/gitmerge.el (gitmerge-missing): Use '--left-only' since we
12763 only want commits from the branch that is to be merged.
12764 (gitmerge-setup-log-buffer): Use the same symmetric range as in
12765 `gitmerge-missing'.
12766
12767 2015-11-14 David Engster <deng@randomsample.de>
12768
12769 gitmerge: Try to detect cherry-picks
12770
12771 * admin/gitmerge.el (gitmerge-default-branch): Change to
12772 origin/emacs-25.
12773 (gitmerge-missing): Use symmetric difference ('...') between
12774 branch and master so that cherry-picks can be detected.
12775
12776 2015-11-14 Eli Zaretskii <eliz@gnu.org>
12777
12778 Increment Emacs version on master branch
12779
12780 * lisp/cus-edit.el (customize-changed-options-previous-release):
12781 Increase previous version to 24.5.
12782
12783 * configure.ac:
12784 * msdos/sed2v2.inp: Bump version to 25.1.50.
12785
12786 2015-11-14 Xue Fuqiao <xfq.free@gmail.com>
12787
12788 Mention CONTRIBUTE in README, since it was moved from etc/ to root.
12789 * etc/TODO: Remove the reference to `etc/CONTRIBUTE'.
12790 * README: Mention CONTRIBUTE.
12791
12792 2015-11-13 Wilson Snyder <wsnyder@wsnyder.org>
12793
12794 Update verilog-mode.el to 2015-11-09-b121d60-vpo
12795
12796 * verilog-mode.el (verilog-auto, verilog-delete-auto)
12797 (verilog-modi-cache-results, verilog-save-buffer-state)
12798 (verilog-save-font-no-change-functions): When internally suppressing
12799 change functions, use `inhibit-modification-hooks' and call
12800 `after-change-funtions' to more nicely work with user hooks.
12801 Reported by Stefan Monnier.
12802 (verilog-auto, verilog-delete-auto, verilog-delete-auto-buffer):
12803 Create `verilog-delete-auto-buffer' to avoid double-calling
12804 fontification hooks.
12805 (verilog-restore-buffer-modified-p, verilog-auto)
12806 (verilog-save-buffer-state): Prefer restore-buffer-modified-p over
12807 set-buffer-modified-p. Reported by Stefan Monnier.
12808 (verilog-diff-auto, verilog-diff-buffers-p)
12809 (verilog-diff-ignore-regexp): Add `verilog-diff-ignore-regexp'.
12810 (verilog-auto-inst-port, verilog-read-sub-decls-expr): Fix
12811 AUTOINST with unpacked dimensional parameters, bug981. Reported by
12812 by Amol Nagapurkar.
12813 (verilog-read-decls, verilog-read-sub-decls-line): Avoid unneeded
12814 properties inside internal structures. No functional change
12815 intended.
12816
12817 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
12818
12819 Use generic dispatch for xref backends
12820
12821 * lisp/progmodes/xref.el (xref-backend-functions):
12822 New variable.
12823 (xref-find-function): Remove.
12824 (xref-find-backend)
12825 (xref--etags-backend): New functions.
12826 (xref-identifier-at-point-function)
12827 (xref-identifier-completion-table-function): Remove.
12828 (xref-backend-definitions, xref-backend-references)
12829 (xref-backend-apropos, xref-backend-identifier-at-point)
12830 (xref-backend-identifier-completion-table):
12831 New generic functions.
12832
12833 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
12834 Add `elisp--xref-backend' to the beginning of
12835 `xref-backend-functions', locally. Delete references to
12836 removed functions and vars.
12837 (elisp-xref-find): Remove.
12838 (elisp--xref-backend): New function.
12839 (elisp--xref-find-references, elisp--xref-find-apropos)
12840 (elisp--xref-identifier-completion-table):
12841 Turn into appropriately named generic methods.
12842
12843 * lisp/progmodes/etags.el (etags-xref-find): Remove.
12844 (xref-backend-identifier-completion-table)
12845 (xref-backend-references, xref-backend-definitions)
12846 (xref-backend-apropos): New generic methods.
12847
12848 2016-01-30 Juri Linkov <juri@linkov.net>
12849
12850 Support rectangular regions for more commands
12851
12852 * lisp/simple.el (region-extract-function): Handle the arg value ‘bounds’.
12853 2015-11-13 Juri Linkov <juri@linkov.net>
12854
12855 Support rectangular regions for more commands
12856
12857 * lisp/simple.el (region-extract-function): Handle the arg
12858 value ‘bounds’.
12859 (region-insert-function): New function.
12860 (shell-command-on-region): Add arg ‘region-noncontiguous-p’.
12861 If non-nil, operate on multiple chunks.
12862 (region-noncontiguous-p): New function.
12863
12864 * lisp/rect.el: Add function rectangle--insert-region
12865 around region-insert-function.
12866 (extract-rectangle-bounds): New function.
12867 (rectangle--extract-region): Handle the arg value ‘bounds’.
12868 (rectangle--insert-region): New function.
12869
12870 * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle
12871 around region-insert-function.
12872 (cua--extract-rectangle-bounds): New function.
12873 (cua--rectangle-region-extract): Handle the arg value ‘bounds’.
12874
12875 * lisp/replace.el (query-replace, query-replace-regexp): Add arg
12876 ‘region-noncontiguous-p’. Use ‘use-region-p’.
12877 (query-replace-regexp-eval, map-query-replace-regexp)
12878 (replace-string, replace-regexp): Use ‘use-region-p’.
12879 (keep-lines, flush-lines, how-many): Use ‘use-region-p’.
12880 (perform-replace): Add arg ‘region-noncontiguous-p’.
12881 If non-nil, operate on multiple chunks.
12882
12883 * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’.
12884 If non-nil, operate on multiple chunks. (Bug#19829)
12885
12886 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
12887
12888 Handle multiple matches on the same line; add highlighting
12889
12890 * lisp/progmodes/xref.el (xref-location-marker): Interpret the
12891 column value in characters.
12892 (xref--collect-matches): Rename from `xref--collect-match'.
12893 Search for all matches in the hit line. Add `highlight' face to
12894 the matched region in the summary. Update both callers.
12895
12896 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
12897 2015-11-13 Dmitry Gutov <dgutov@yandex.ru>
12898
12899 Replace xref-match-bounds with xref-match-length
12900
12901 Relying on xref-location-marker to point to the beginning of the match
12902
12903 * lisp/progmodes/xref.el (xref-match-bounds): Remove.
12904 (xref-match-length): Add.
12905 (xref-make-match): Change the arguments.
12906 (xref--match-buffer-bounds): Remove.
12907 (xref-match-item): Store length, instead of end-column.
12908 (xref-pulse-momentarily)
12909 (xref--collect-match)
12910 (xref--query-replace-1): Update accordingly.
12911 (xref-query-replace): Ditto. And check that the search results
12912 are up-to-date.
12913
12914 2016-01-30 John Wiegley <johnw@newartisans.com>
12915
12916 Merge remote-tracking branch 'origin/master' into emacs-25
12917
12918 2016-01-30 l3thal <kwhite@gnu.org>
12919
12920 Merge branch 'erc-async-reconnect' into emacs-25
12921
12922 Reconnect asynchronously.
12923
12924 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
12925
12926 Merge from gnulib
12927
12928 This incorporates:
12929 2015-11-13 xalloc-oversized: improve performance with GCC 5
12930 * lib/xalloc-oversized.h: Copy from gnulib.
12931
12932 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
12933
12934 Spruce up ftfont.c memory allocation
12935
12936 * src/ftfont.c (setup_otf_gstring):
12937 Avoid O(N**2) behavior when reallocating.
12938 (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when
12939 reallocating buffers; this simplifies the code. Do not trust
12940 mflt_run to leave the output areas unchanged on failure, as
12941 this isn’t part of its interface spec.
12942
12943 2016-01-30 Eli Zaretskii <eliz@gnu.org>
12944
12945 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emacs into emacs-25
12946
12947 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
12948
12949 Port recent XCB changes to 64-bit ‘long int’
12950
12951 For historical reasons, libX11 represents 32-bit values like Atoms as
12952 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
12953 do that, so adapt the recent XCB code to behave properly on 64-bit
12954 platforms. Also, fix what appears to be a bug in the interpretation
12955 of xcb_get_property_value_length, at least on my Fedora platform
12956 which is running libxcb-1.11-5.fc21.
12957 * src/xfns.c (x_real_pos_and_offsets):
12958 * src/xterm.c (get_current_wm_state):
12959 xcb_get_property_value_length returns a byte count, not a word count.
12960 For 32-bit quantities, xcb_get_property_value returns a vector
12961 of 32-bit words, not of (possibly 64-bit) long int.
12962
12963 Backport.
12964
12965 2016-01-30 Paul Eggert <eggert@cs.ucla.edu>
12966
12967 * src/undo.c (run_undoable_change): Now static.
12968
12969 Backport.
12970
12971 2016-01-30 Eli Zaretskii <eliz@gnu.org>
12972
12973 Remove support for ':timeout' from w32 tray notifications
12974
12975 * src/w32fns.c (Fw32_notification_notify): Delete the code that
12976 supports ':timeout'.
12977 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
12978 with dbusbind.c when D-Bus is compiled in.
12979
12980 * doc/lispref/os.texi (Desktop Notifications): Don't mention
12981 ':timeout'.
12982
12983 Backport.
12984
12985 2016-01-30 Juanma Barranquero <lekktu@gmail.com>
12986
12987 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
12988
12989 (simple-test--transpositions): New macro.
12990 (simple-transpose-subr): New test.
12991
12992 Backport.
12993
12994 2016-01-30 Juanma Barranquero <lekktu@gmail.com>
12995
12996 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
12997
12998 Backport.
12999
13000 2016-01-30 Juanma Barranquero <lekktu@gmail.com>
13001
13002 * src/undo.c: Small fixes for previous change
13003
13004 (run_undoable_change): Mark void argument list.
13005 (record_property_change): Remove unused variable `boundary'.
13006
13007 Backport.
13008
13009 2016-01-30 Eli Zaretskii <eliz@gnu.org>
13010
13011 Add a few more variables to redisplay--variables
13012
13013 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
13014 and bidi-display-reordering to the list.
13015
13016 Backport.
13017
13018 2016-01-30 Eli Zaretskii <eliz@gnu.org>
13019
13020 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
13021
13022 Backport.
13023
13024 2016-01-30 Eli Barzilay <eli@barzilay.org>
13025
13026 Fix point positioning after transposing with negative arg
13027
13028 * lisp/simple.el (transpose-subr): When invoked with a negative
13029 argument, move point to after the transposed text, like we do
13030 when invoked with a positive argument. (Bug#21885)
13031
13032 Backport.
13033
13034 2016-01-30 Eli Zaretskii <eliz@gnu.org>
13035
13036 Fix last change in shr.el
13037
13038 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
13039 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
13040
13041 Backport.
13042
13043 2016-01-30 Eli Zaretskii <eliz@gnu.org>
13044
13045 Fix last change
13046
13047 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
13048 Don't DEFSYM tray notification symbols if D-Bus is being used.
13049
13050 Backport.
13051
13052 2016-01-30 Eli Zaretskii <eliz@gnu.org>
13053
13054 Another fix for MinGW64 and Cygwin builds due to notifications
13055
13056 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
13057 being compiled into Emacs.
13058 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
13059 Sw32_notification_notify and Sw32_notification_close if the code
13060 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13061
13062 Backport.
13063
13064 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13065
13066 Remove intern calls and XXX comments from Fx_export_frames
13067
13068 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
13069 Qsvg instead of intern calls. Use "postscript" instead of "ps"
13070 for consistency with image types. Remove XXX comments.
13071 (syms_of_xfns) <Qpdf>: DEFSYM it.
13072
13073 Backport.
13074
13075 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
13076
13077 Port recent XCB changes to 64-bit ‘long int’
13078
13079 For historical reasons, libX11 represents 32-bit values like Atoms as
13080 ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t
13081 do that, so adapt the recent XCB code to behave properly on 64-bit
13082 platforms. Also, fix what appears to be a bug in the interpretation
13083 of xcb_get_property_value_length, at least on my Fedora platform
13084 which is running libxcb-1.11-5.fc21.
13085 * src/xfns.c (x_real_pos_and_offsets):
13086 * src/xterm.c (get_current_wm_state):
13087 xcb_get_property_value_length returns a byte count, not a word count.
13088 For 32-bit quantities, xcb_get_property_value returns a vector
13089 of 32-bit words, not of (possibly 64-bit) long int.
13090
13091 2015-11-13 Paul Eggert <eggert@cs.ucla.edu>
13092
13093 * src/undo.c (run_undoable_change): Now static.
13094
13095 2016-01-30 Michael Albinus <michael.albinus@gmx.de>
13096
13097 Adapt Tramp version, do not merge with master
13098
13099 * doc/misc/trampver.texi (trampver):
13100 * lisp/net/trampver.el (tramp-version): Set to "2.2.13-25.1".
13101
13102 2015-11-13 Eli Zaretskii <eliz@gnu.org>
13103
13104 Remove support for ':timeout' from w32 tray notifications
13105
13106 * src/w32fns.c (Fw32_notification_notify): Delete the code that
13107 supports ':timeout'.
13108 (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes
13109 with dbusbind.c when D-Bus is compiled in.
13110
13111 * doc/lispref/os.texi (Desktop Notifications): Don't mention
13112 ':timeout'.
13113
13114 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
13115
13116 * test/automated/simple-test.el: Add test for bug#20698 (bug#21885)
13117 (simple-test--transpositions): New macro.
13118 (simple-transpose-subr): New test.
13119
13120 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
13121
13122 * lisp/progmodes/elisp-mode.el: Declare function `project-roots'
13123
13124 2015-11-13 Juanma Barranquero <lekktu@gmail.com>
13125
13126 * src/undo.c: Small fixes for previous change
13127 (run_undoable_change): Mark void argument list.
13128 (record_property_change): Remove unused variable `boundary'.
13129
13130 2015-11-13 Eli Zaretskii <eliz@gnu.org>
13131
13132 Add a few more variables to redisplay--variables
13133
13134 * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction
13135 and bidi-display-reordering to the list.
13136
13137 2015-11-13 Eli Zaretskii <eliz@gnu.org>
13138
13139 * lisp/loadup.el: Enlarge the size of the hash table to 80000.
13140
13141 2015-11-13 Eli Barzilay <eli@barzilay.org>
13142
13143 Fix point positioning after transposing with negative arg
13144
13145 * lisp/simple.el (transpose-subr): When invoked with a negative
13146 argument, move point to after the transposed text, like we do
13147 when invoked with a positive argument. (Bug#21885)
13148
13149 2015-11-13 Eli Zaretskii <eliz@gnu.org>
13150
13151 Fix last change in shr.el
13152
13153 * lisp/net/shr.el (shr--have-one-fringe-p): Rename from
13154 have-fringes-p. All callers changed. Doc fix. (Bug#21895)
13155
13156 2015-11-13 Eli Zaretskii <eliz@gnu.org>
13157
13158 Fix last change
13159
13160 * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]:
13161 Don't DEFSYM tray notification symbols if D-Bus is being used.
13162
13163 2015-11-13 Eli Zaretskii <eliz@gnu.org>
13164
13165 Another fix for MinGW64 and Cygwin builds due to notifications
13166
13167 * src/w32fns.c: Ifdef away tray notification code if D-Bus is
13168 being compiled into Emacs.
13169 (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr
13170 Sw32_notification_notify and Sw32_notification_close if the code
13171 is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13172
13173 2016-01-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13174 2015-11-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
13175
13176 Remove intern calls and XXX comments from Fx_export_frames
13177
13178 * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and
13179 Qsvg instead of intern calls. Use "postscript" instead of "ps"
13180 for consistency with image types. Remove XXX comments.
13181 (syms_of_xfns) <Qpdf>: DEFSYM it.
13182
13183 2016-01-30 Eric Hanchrow <eric.hanchrow@gmail.com>
13184 2015-11-12 Eric Hanchrow <eric.hanchrow@gmail.com>
13185
13186 shr: don't invoke unbound function (Bug#21895)
13187
13188 * lisp/net/shr.el (have-fringes-p): New function.
13189 (shr-insert-document, shr-fill-text): Use it.
13190
13191 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
13192
13193 * test/automated/keymap-tests.el: Fix test to make it repeatable
13194
13195 (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map
13196 entry to its initial value to make the test repeatable in interactive
13197 sessions (assuming it doesn't fail and crashes Emacs, of course).
13198
13199 2016-01-30 Artur Malabarba <bruce.connor.am@gmail.com>
13200
13201 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix
13202
13203 2016-01-30 Phillip Lord <phillip.lord@russet.org.uk>
13204
13205 : Tests for undo-auto functionality.
13206 2015-11-12 Artur Malabarba <bruce.connor.am@gmail.com>
13207
13208 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
13209 Small fix.
13210
13211 2015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk>
13212
13213 The heuristic that Emacs uses to add an `undo-boundary' has been
13214 reworked, as it interacts poorly with functions on `post-command-hook'
13215 or `after-change-functions'.
13216
13217 * lisp/simple.el: New section added.
13218 * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp.
13219 (self_insert_command): Calls simple.el to amalgamate.
13220 (delete_char): Calls simple.el to amalgamate.
13221 * src/keyboard.c (last_undo_boundary): Removed.
13222 * src/undo.c (run_undoable_change): New function.
13223
13224 2015-11-12 Juri Linkov <juri@linkov.net>
13225
13226 Bind [?\S-\ ] to previous line command in Dired-like modes.
13227
13228 * lisp/arc-mode.el (archive-mode-map):
13229 * lisp/dired.el (dired-mode-map):
13230 * lisp/proced.el (proced-mode-map):
13231 * lisp/vc/vc-dir.el (vc-dir-mode-map):
13232 Bind [?\S-\ ] to previous line command.
13233 (Bug#20790)
13234
13235 2015-11-12 Eli Zaretskii <eliz@gnu.org>
13236
13237 Fix the MinGW64 and Cygwin-w32 builds
13238
13239 * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE)
13240 (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and
13241 use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros,
13242 which cause trouble with MinGW42 headers. Ifdef away tray
13243 notifications code for Cygwin. Reported by Andy Moreton
13244 <andrewjmoreton@gmail.com>.
13245
13246 2015-11-12 Simen Heggestøyl <simenheg@gmail.com>
13247
13248 Enable sorting of JSON object keys when encoding
13249
13250 * lisp/json.el (json-encoding-object-sort-predicate): New variable
13251 for specifying a sorting predicate for JSON objects during encoding.
13252 (json--plist-to-alist): New utility function.
13253 (json-encode-hash-table): Re-use `json-encode-alist' when object keys
13254 are to be sorted.
13255 (json-encode-alist): Sort output by
13256 `json-encoding-object-sort-predicate, when set.
13257 (json-encode-plist): Re-use `json-encode-alist' when object keys are
13258 to be sorted.
13259 (json-pretty-print-buffer-ordered): New command to pretty print the
13260 buffer with object keys sorted alphabetically.
13261 (json-pretty-print-ordered): New command to pretty print the region
13262 with object keys sorted alphabetically.
13263
13264 * test/automated/json-tests.el (test-json-plist-to-alist)
13265 (test-json-encode-plist, test-json-encode-hash-table)
13266 (test-json-encode-alist-with-sort-predicate)
13267 (test-json-encode-plist-with-sort-predicate): New tests.
13268
13269 * etc/NEWS: Add an entry for the new commands.
13270
13271 2015-11-12 Juanma Barranquero <lekktu@gmail.com>
13272
13273 * test/automated/keymap-tests.el: New test file.
13274
13275 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
13276
13277 Speed up x_real_pos_and_offsets using XCB
13278
13279 * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of
13280 all X calls, and pipeline requests when possible, collecting results
13281 later. Eliminate use of x_catch_errors (and thus XSync) in XCB case.
13282
13283 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
13284
13285 Enable use of XCB for checking window manager state
13286
13287 * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead
13288 of XGetWindowProperty plus error-catching, since we can explicitly
13289 check for errors in the XCB version. This eliminates 3 XSync calls on
13290 top of the round-trip actually fetching the information.
13291
13292 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
13293
13294 Detect XCB and save a connection handle
13295
13296 * configure.ac: If using X11, check for XCB libraries and header.
13297 * src/Makefile.in (XCB_LIBS): Define.
13298 (LIBX_EXTRA): Include it.
13299
13300 * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h.
13301 (struct x_display_info) [USE_XCB]: Add an XCB connection handle field.
13302 * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field.
13303
13304 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
13305
13306 Reduce some data dependencies between X calls
13307
13308 Gains nothing in the traditional-Xlib code, but more closely aligns
13309 with how the XCB version will work.
13310
13311 * src/xfns.c (x_real_pos_and_offsets): When translating coordinates,
13312 send coordinates (0,0) to the X server and add in the real coordinates
13313 after getting the response. Move XGetGeometry for outer window inside
13314 error-trapping block. Use DPY variable more, since it's available.
13315
13316 2015-11-12 Ken Raeburn <raeburn@raeburn.org>
13317
13318 Use color cache for creating bitmap
13319
13320 * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]:
13321 Set attributes to use the caching color allocator. Initialize and
13322 free the cache.
13323
13324 2015-11-12 Eli Barzilay <eli@barzilay.org>
13325
13326 Add "^" to the interactive specs of `dired-next/previous-line'
13327
13328 * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense
13329 to bind these commands to the arrow keys, and that means that they work
13330 better with a "^" in the `interactive' declaration so selection works
13331 as expected.
13332
13333 2016-01-30 Thomas Fitzsimmons <fitzsim@fitzsim.org>
13334
13335 Sync with soap-client repository, version 3.0.2
13336
13337 * lisp/net/soap-client.el: Bump version to 3.0.2.
13338
13339 * lisp/net/soap-client.el (soap-warning): Use format, not format-message.
13340
13341 * lisp/net/soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
13342 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
13343
13344 * lisp/net/soap-client.el: Support Emacs versions that do not have
13345 define-error.
13346
13347 * lisp/net/soap-inspect.el: Remove version header.
13348
13349 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Fix first line header
13350 2015-11-11 Thomas Fitzsimmons <fitzsim@fitzsim.org>
13351
13352 Sync with soap-client repository, version 3.0.2
13353
13354 * soap-client.el: Bump version to 3.0.2.
13355
13356 * soap-client.el (soap-warning): Use format, not format-message.
13357
13358 * soap-client.el: Add cl-lib to Package-Requires. Require cl-lib.
13359 (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet.
13360
13361 * soap-client.el: Support Emacs versions that do not have
13362 define-error.
13363
13364 * soap-inspect.el: Remove version header.
13365
13366 * soap-client.el, soap-inspect.el, jira2.el: Fix first line header
13367 format.
13368
13369 2015-11-11 Alan Mackenzie <acm@muc.de>
13370
13371 CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start.
13372
13373 * lisp/progmodes/cc-engine.el (c-backward-single-comment)
13374 (c-backward-comments, c-invalidate-state-cache-1, c-parse-state-1)
13375 (c-guess-basic-syntax):
13376 Remove bindings of open-paren-in-column-0-is-defun-start to nil.
13377 (c-get-fallback-scan-pos): "New" function (existed several years ago).
13378 (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using
13379 c-get-fallback-scan-pos.
13380 (c-parse-state-1): Handle 'BOD strategy.
13381
13382 * lisp/progmodes/cc-mode.el (c-before-change, c-after-change)
13383 (c-font-lock-fontify-region): Remove bindings of
13384 open-paren-in-column-0-is-defun-start to nil.
13385
13386 * doc/misc/cc-mode.texi (Performance Issues)
13387 (Limitations and Known Bugs): Fix mix up between @chapter and @appendix.
13388
13389 2015-11-11 Artur Malabarba <bruce.connor.am@gmail.com>
13390
13391 * lisp/obarray.el: Fix shadowed variables.
13392 (obarray-map, obarray-remove, obarray-put, obarray-get):
13393 Change OBARRAY arg to OB to avoid shadowing ‘obarray’.
13394
13395 2015-11-11 Eli Zaretskii <eliz@gnu.org>
13396
13397 Avoid error in submitting a form with EWW
13398
13399 * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument
13400 CHUNK to be nil. (Bug#21881)
13401
13402 2015-11-11 Nicolas Petton <nicolas@petton.fr>
13403
13404 Rename seq-p and map-p to seqp and mapp
13405
13406 * lisp/emacs-lisp/seq.el (seqp): New name.
13407 * lisp/emacs-lisp/map.el (mapp): New name.
13408 * doc/lispref/sequences.texi: Update the documentation for seqp.
13409 * test/automated/map-tests.el: Update the tests for mapp.
13410
13411 2015-11-11 Nicolas Petton <nicolas@petton.fr>
13412
13413 Rename obarray-p to obarrayp
13414
13415 * lisp/obarray.el (obarrayp): New name.
13416 * test/automated/obarray-tests.el: Update the tests.
13417
13418 2015-11-11 Nicolas Petton <nicolas@petton.fr>
13419
13420 Rename obarray-foreach to obarray-map
13421
13422 * lisp/obarray.el (obarray-map): New name.
13423 * test/automated/obarray-tests.el: Update the corresponding tests.
13424
13425 2015-11-11 Przemysław Wojnowski <esperanto@cumego.com>
13426
13427 New file with obarray functions.
13428
13429 * lisp/obarray.el: Basic obarray functions extracted from abbrev.el.
13430 * test/automated/obarray-tests.el: New file.
13431
13432 2015-11-11 Eli Zaretskii <eliz@gnu.org>
13433
13434 Implement tray notifications for MS-Windows
13435
13436 * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef.
13437 (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE)
13438 (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO)
13439 (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID)
13440 (EMACS_NOTIFICATION_MSG): New macros.
13441 (NI_Severity): New enumeration.
13442 (get_dll_version, utf8_mbslen_lim, add_tray_notification)
13443 (delete_tray_notification, Fw32_notification_notify)
13444 (Fw32_notification_close): New functions.
13445 (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM
13446 keywords used by w32-notification-notify.
13447
13448 * doc/lispref/os.texi (Desktop Notifications): Describe the native
13449 w32 tray notifications.
13450
13451 2016-01-30 Alan Mackenzie <acm@muc.de>
13452
13453 First commit to scratch/follow. Make Isearch work with Follow Mode, etc.
13454
13455 doc/lispref/window.texi (Basic Windows): Add paragraph defining "Group of
13456 Windows" and new @defun selected-window-group.
13457 (Window Start and End): Describe new &optional parameter GROUP and
13458 ...-group-function for window-start, window-end, set-window-start, and
13459 pos-visible-in-window-p.
13460 (Textual Scrolling) Describe the same for recenter.
13461 doc/lispref/positions.texi (Screen Lines): Describe the same for
13462 move-to-window-line.
13463
13464 src/window.c (Fwindow_start, Fwindow_end, Fset_window_start)
13465 (Fpos_visible_in_window_p, Frecenter, Fmove_to_window_line): To each, add ar
13466 new optional parameter "group". At the beginning of each, check whether the
13467 corresponding ...-group-function is set to a function, and if so execute this
13468 function in place of the normal processing.
13469 (syms_of_window): Define symbols for the six new variables below.
13470 (window-start-group-function, window-end-group-function)
13471 (set-window-start-group-function, recenter-group-function)
13472 (pos-visible-in-window-p-group-function, move-to-window-line-group-function):
13473 New permanent local buffer local variables.
13474 src/keyboard.c (Fposn_at_point): Add extra parameter in call to
13475 Fpos_visible_in_window_p.
13476
13477 lisp/window.el (selected-window-group-function): New permanent local buffer
13478 local variable.
13479 (selected-window-group): New function.
13480
13481 lisp/follow.el (follow-mode): Set the ...-group-function variables at mode
13482 enable, kill them at mode disable. Add/remove follow-after-change to/from
13483 after-change-functions.
13484 (follow-start-end-invalid): New variable.
13485 (follow-redisplay): Manipulate follow-start-end-invalid.
13486 (follow-after-change, follow-window-start, follow-window-end)
13487 (follow-set-window-start, follow-pos-visible-in-window-p)
13488 (follow-move-to-window-line, follow-sit-for): New functions.
13489
13490 lisp/isearch.el (isearch-call-message): New macro.
13491 (isearch-update, with-isearch-suspended, isearch-del-char)
13492 (isearch-search-and-update, isearch-ring-adjust): Invoke above new macro.
13493 (with-isearch-suspended): Rearrange code such that isearch-call-message is
13494 invoked before point is moved.
13495 (isearch-message): Add comment about where point must be at function call.
13496 (isearch-search): Remove call to isearch-message.
13497 (isearch-lazy-highlight-window-group): New variable.
13498 (isearch-lazy-highlight-new-loop): Unconditionally start idle timer. Move
13499 the battery of tests to ...
13500 (isearch-lazy-highlight-maybe-new-loop): New function, started by idle timer.
13501 Note: (sit-for 0) is still called.
13502 (isearch-lazy-highlight-update): Check membership of
13503 isearch-lazy-highlight-window-group. Don't set the `window' overlay
13504 property.
13505 (isearch-update, isearch-done, isearch-string-out-of-window)
13506 (isearch-back-into-window, isearch-lazy-highlight-maybe-new-loop)
13507 (isearch-lazy-highlight-search, isearch-lazy-highlight-update)
13508 (isearch-lazy-highlight-update): Call the six amended primitives (see
13509 src/window.c above) with the new `group' argument set to t, to cooperate
13510 with Follow Mode.
13511
13512 2015-11-11 Michael Albinus <michael.albinus@gmx.de>
13513
13514 Optimize `file-equal-p' and `file-in-directory-p' in Tramp
13515
13516 * lisp/net/tramp.el (tramp-handle-file-equal-p)
13517 (tramp-handle-file-in-directory-p): New defuns. Suggested by
13518 Harvey Chapman <hchapman@3gfp.com>.
13519
13520 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
13521 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13522 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
13523 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them.
13524
13525 2015-11-10 Karl Fogel <kfogel@red-bean.com>
13526
13527 * CONTRIBUTE: Encourage adding tests.
13528
13529 Based on this post from John Wiegley:
13530
13531 From: "John Wiegley" <johnw@newartisans.com>
13532 Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test
13533 To: Juanma Barranquero <lekktu@gmail.com>
13534 Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com,
13535 emacs-devel <emacs-devel@gnu.org>
13536 Date: Wed, 28 Oct 2015 18:45:29 -0700
13537 Message-ID: <m2y4emqwg6.fsf@newartisans.com>
13538
13539 https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html
13540
13541 2015-11-10 David Reitter <david.reitter@gmail.com>
13542
13543 Avoid creating notification objects when possible
13544
13545 * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:)
13546 (windowDidEnterFullScreen, windowDidExitFullScreen): Provide convenience
13547 functions that do not require a notification object. When needed,
13548 define NSWindowDidEnterFullScreenNotification to allow for compilation
13549 on OS X 10.6.8.
13550
13551 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
13552
13553 Move INTEGER_TO_CONS body out of .h file
13554
13555 * src/data.c (INTBIG_TO_LISP): New macro, with most
13556 of the contents of the old INTEGER_TO_CONS.
13557 (intbig_to_lisp, uintbig_to_lisp): New functions.
13558 * src/lisp.h (INTEGER_TO_CONS):
13559 Simplify by using EXPR_SIGNED and the new functions.
13560 This shrinks code size a bit, and makes it easier to
13561 put a breakpoint on handling of large integers.
13562
13563 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
13564
13565 Merge from gnulib
13566
13567 This incorporates:
13568 2015-11-10 intprops: new public macro EXPR_SIGNED
13569 2015-11-10 intprops: fix typo in clang port
13570 * lib/intprops.h: Copy from gnulib.
13571
13572 2015-11-10 Paul Eggert <eggert@cs.ucla.edu>
13573
13574 Spelling fixes
13575
13576 * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type):
13577 Fix misspelling in output.
13578
13579 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13580
13581 * doc/lispref/variables.texi (Directory Local Variables):
13582 Document dir-locals wildcards.
13583
13584 * lisp/files.el (dir-locals-file): Point to Info node.
13585
13586 * doc/emacs/custom.texi (Directory Variables):
13587 Document dir-locals wildcards.
13588
13589 * etc/NEWS: Document new functionality.
13590
13591 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13592
13593 * lisp/files.el: Don't allow customization of dir-locals sorting.
13594 In retrospect, this is not a good idea for the same reason that
13595 `dir-locals-file' is a defconst, because it is important that this
13596 behaviour be "uniform across different environments and users".
13597 Sure, the user can still change the sorting with a hack, but we
13598 shouldn't encourage them to change it.
13599 (dir-locals--all-files): Return list in the order returned by
13600 `file-expand-wildcards'.
13601 (file-expand-wildcards): Document the sorting predicate used.
13602 (dir-locals-sort-predicate): Delete variable.
13603
13604 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13605
13606 * lisp/files.el (dir-locals-read-from-file): Better handle errors.
13607
13608 * lisp/isearch.el (search-default-regexp-mode): Change default value.
13609
13610 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13611
13612 * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files.
13613 `locate-dominating-file' will now keep looking if the files it finds in
13614 a given directory are unreadable (or not files).
13615
13616 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13617
13618 * lisp/files.el (dir-locals-file): Allow wildcards.
13619 (dir-locals-find-file, dir-locals-collect-variables)
13620 (dir-locals-read-from-file): Update accordingly.
13621 (hack-dir-local-variables): Rename a local variable.
13622
13623 * lisp/files-x.el (modify-dir-local-variable): Update accordingly.
13624
13625 * lisp/help-fns.el (describe-variable): Update accordingly.
13626
13627 * .gitignore: Add .dir-locals?.el.
13628
13629 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com>
13630
13631 * lisp/emacs-lisp/map.el (map-merge-with): New function.
13632
13633 * test/automated/map-tests.el (test-map-merge-with): New test.
13634
13635 2015-11-09 Karl Fogel <kfogel@red-bean.com>
13636
13637 Fix some recently-perturbed bookmark autoloads
13638
13639 * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload.
13640 (bookmark-set): Restore autoload.
13641 (bookmark-set-no-overwrite): Add autoload.
13642
13643 Thanks to Juanma Barranquero for noticing the autoload problems
13644 introduced by my recent commit adding/changing the above functions
13645 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
13646
13647 2016-01-30 Noah Friedman <friedman@splode.com>
13648
13649 (ydump-buffer): Handle case where gap is at the start of buffer.
13650 I don't recall if older versions of gdb were less strict but you
13651 cannot dump a 0-length range in gdb 7.9.1.
13652
13653 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
13654 2015-11-09 Noah Friedman <friedman@splode.com>
13655
13656 * etc/emacs-buffer.gdb (ydump-buffer): Handle case where gap is at
13657 the start of buffer. I don't recall if older versions of gdb were
13658 less strict but you cannot dump a 0-length range in gdb 7.9.1.
13659
13660 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
13661
13662 * lisp/progmodes/project.el: Update Commentary.
13663
13664 Merge branch 'project-next'
13665
13666 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
13667
13668 Fold `project-ask-user' into `project-current'
13669
13670 * lisp/progmodes/project.el (project-find-functions): Remove
13671 `project-ask-user'.
13672 2015-11-09 Dmitry Gutov <dgutov@yandex.ru>
13673
13674 Fold `project-ask-user' into `project-current'
13675
13676 * lisp/progmodes/project.el (project-find-functions):
13677 Remove `project-ask-user'.
13678 (project-ask-user): Remove function and the corresponding
13679 `project-roots' implementation.
13680 (project-current): Add a new argument, MAYBE-PROMPT. Prompt the
13681 user in case there's no project in the current directory. Update
13682 all callers.
13683
13684 2015-11-09 Karl Fogel <kfogel@red-bean.com>
13685
13686 When VC detects a conflict, specify which file
13687
13688 * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function.
13689 * lisp/vc/vc-svn.el (vc-svn-find-file-hook):
13690 * lisp/vc/vc-hg.el (vc-hg-find-file-hook):
13691 * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook):
13692 * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function
13693 to display a standard message that specifies the conflicted file.
13694
13695 Before this change, the message VC used for indicating a conflicted
13696 file was just "There are unresolved conflicts in this file" without
13697 naming the file (and this language was duplicated in several places).
13698 After this change, it's "There are unresolved conflicts in file FOO"
13699 (and this language is now centralized in one function in vc.el).
13700
13701 Justification: It's important for the message to name the conflicted
13702 file because the moment when VC realizes a file is conflicted does not
13703 always come interactively. For example, some people automatically
13704 find a set of Org Mode files on startup, and may keep those .org files
13705 under version control. If any of the files are conflicted, the user
13706 just sees some messages fly by, and might later check the "*Messages*"
13707 buffer to find out what files were conflicted. I'm not saying this
13708 happened to me or anything; it's a purely hypothetical example.
13709
13710 2015-11-09 Eli Zaretskii <eliz@gnu.org>
13711
13712 Fix assertion violation in define-key
13713
13714 * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character
13715 objects. Reported by Drew Adams <drew.adams@oracle.com>
13716 and Juanma Barranquero <lekktu@gmail.com>.
13717
13718 2015-11-09 Dima Kogan <dima@secretsauce.net>
13719
13720 Fix a memory leak in GC of font cache
13721
13722 * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font
13723 entities if some of the fonts it references are marked. This
13724 plugs a memory leak. (Bug#21556)
13725
13726 2015-11-09 Paul Eggert <eggert@cs.ucla.edu>
13727
13728 Use INT_ADD_WRAPV etc. to check integer overflow
13729
13730 * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string):
13731 * src/buffer.c (record_overlay_string, overlay_strings):
13732 * src/casefiddle.c (casify_object):
13733 * src/ccl.c (Fccl_execute_on_string):
13734 * src/character.c (char_width, c_string_width, lisp_string_width)
13735 (count_size_as_multibyte, string_escape_byte8):
13736 * src/coding.c (coding_alloc_by_realloc, produce_chars):
13737 * src/data.c (arith_driver):
13738 * src/dispnew.c (realloc_glyph_pool, init_display):
13739 * src/editfns.c (styled_format):
13740 * src/fns.c (Ffillarray):
13741 * src/ftfont.c (ftfont_shape_by_flt):
13742 * src/gnutls.c (gnutls_hex_string):
13743 * src/gtkutil.c (get_utf8_string):
13744 * src/image.c (x_to_xcolors, x_detect_edges, png_load_body):
13745 * src/keymap.c (Fkey_description):
13746 * src/lisp.h (SAFE_ALLOCA_LISP):
13747 * src/term.c (encode_terminal_code):
13748 * src/tparam.c (tparam1):
13749 * src/xselect.c (x_property_data_to_lisp):
13750 * src/xsmfns.c (smc_save_yourself_CB):
13751 * src/xterm.c (x_term_init):
13752 When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to
13753 more-complicated code involving division and/or
13754 INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and
13755 subtraction and/or INT_ADD_OVERFLOW.
13756 * src/casefiddle.c (casify_object): Simplify multibyte size check.
13757 * src/character.c: Remove some obsolete ‘#ifdef emacs’s.
13758 * src/data.c (arith_driver): Also check for division overflow,
13759 as that’s now possible given that the accumulator can now contain
13760 any Emacs integer.
13761 * src/lisp.h (lisp_word_count): Remove; no longer used.
13762
13763 2016-01-30 Dmitry Gutov <dgutov@yandex.ru>
13764 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
13765
13766 Make sure that the ignore file exists
13767
13768 * lisp/vc/vc.el (vc-default-ignore-completion-table):
13769 Make sure that the ignore file exists.
13770
13771 2016-01-30 Michael Sperber <mike@xemacs.org>
13772
13773 * lisp/gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
13774 2015-11-08 Michael Sperber <mike@xemacs.org>
13775
13776 * gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to
13777 `gnus-summary-delete-article` in a way that also works on XEmacs.
13778
13779 2015-11-08 Simen Heggestøyl <simenheg@gmail.com>
13780
13781 Add support for retrieving paths to JSON elements
13782
13783 Add support for retrieving the path to a JSON element. This can for
13784 instance be useful to retrieve paths in deeply nested JSON
13785 structures.
13786
13787 * lisp/json.el (json-pre-element-read-function)
13788 (json-post-element-read-function): New variables to hold pre- and post
13789 read callback functions for `json-read-array' and `json-read-object'.
13790 (json--path): New variable used internally by `json-path-to-position'.
13791 (json--record-path, json--check-position): New functions used
13792 internally by `json-path-to-position'.
13793 (json-path-to-position): New function for retrieving the path to a
13794 JSON element at a given position.
13795 (json-read-object, json-read-array): Call
13796 `json-pre-element-read-function' and `json-post-element-read-function'
13797 when set.
13798
13799 * test/automated/json-tests.el (test-json-path-to-position-with-objects)
13800 (test-json-path-to-position-with-arrays)
13801 (test-json-path-to-position-no-match): New tests for
13802 `json-path-to-position'.
13803
13804 2015-11-08 Karl Fogel <kfogel@red-bean.com>
13805
13806 * etc/NEWS: Mention new `bookmark-set-no-overwrite'.
13807
13808 This really should been part of my previous commit
13809 (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978).
13810
13811 2015-11-08 Karl Fogel <kfogel@red-bean.com>
13812
13813 Offer non-overwrite bookmark setter (Bug#15746)
13814
13815 * lisp/bookmark.el (bookmark-set-internal): New helper function to do
13816 what `bookmark-set' used to do, but with more choices for overwrite
13817 vs push, and with minor changes to the interactive prompt format.
13818 (bookmark-set): Rewrite as wrapper around above.
13819 If overwriting, inform the user of that in the prompt.
13820 (bookmark-set-no-overwrite): New function, also done as wrapper.
13821 Bind to "M" in `ctl-x-r-map' autoloads.
13822 (bookmark-map): Similarly bind "M" here.
13823
13824 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
13825
13826 * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614).
13827
13828 2015-11-08 Alan Modra <amodra@gmail.com>
13829
13830 ELF unexec: Don't insert a new section
13831
13832 Reuse the .bss section instead, making it SHT_PROGBITS. This way we
13833 don't need to mess with symbol st_shndx, or section sh_link and
13834 sh_info.
13835
13836 This does lead to eu-elflint complaints about symbols defined in .bss
13837 with a needed version, because normally it is undefined symbols that
13838 have needed versions; Defined symbols have version definitions.
13839 The exception is symbols defined by the linker in .dynbss for
13840 variables copied from a shared library in order to avoid text
13841 relocations, with copy relocs to copy their initial values from the
13842 shared library. These symbols are both defined and have needed
13843 versions, and eu-elflink only expects to see them in SHT_NOBITS
13844 sections. Of course there is no real problem with having such symbols
13845 in SHT_PROGBITS sections. glibc ld.so handles them fine.
13846
13847 * src/unexelf.c: Delete outdated comments.
13848 (PATCH_INDEX): Delete.
13849 (find_section): Delete.
13850 (unexec): Don't add a new section. Instead reuse the last bss
13851 section, extending it to cover dumped data. Make bss sections
13852 SHT_PROGBITS. Remove all patching of sh_link, sh_info and
13853 st_shndx. Rename bss sections.
13854
13855 2015-11-08 Alan Modra <amodra@gmail.com>
13856
13857 ELF unexec: Drive from PT_LOAD header rather than sections
13858
13859 This rewrites bss handling in the ELF unexec code. Finding bss
13860 sections by name results in complicated code that
13861 - does not account for all names of possible bss sections,
13862 - assumes specific ordering of bss sections,
13863 - can wrongly choose a SHT_NOBITS section not in the bss segment,
13864 - incorrectly calculates bss size (no accounting for alignment gaps),
13865 - assumes .data and .bss are in the same segment.
13866
13867 All of these problems and more are solved by finding the bss segment
13868 in PT_LOAD headers, ie. the address range included in p_memsz but not
13869 p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections
13870 in that address range.
13871
13872 * src/unexelf.c: Delete old ppc comment.
13873 (OLD_PROGRAM_H): Define.
13874 (round_up): Delete.
13875 (unexec): Don't search for bss style sections by name. Instead,
13876 use the last PT_LOAD header address range covered by p_memsz
13877 but not p_filesz and match any SHT_NOBITS section in that
13878 address range. Simplify initialisation of section header vars.
13879 Don't assume that section headers are above bss segment. Move
13880 copying of bss area out of section loop. Align .data2 section
13881 to 1, since it now covers the entire bss area. For SHT_NOBITS
13882 sections in the bss segment, leave sh_addr and sh_addralign
13883 unchanged, but correct sh_offset. Clear memory corresponding
13884 to SHT_NOBITS .plt section. Delete comment and hacks for
13885 sections partly overlapping bss range now that the full range
13886 is properly calculated. Delete now dead .sbss code.
13887 (Bug#20614)
13888
13889 2015-11-08 Alan Modra <amodra@gmail.com>
13890
13891 ELF unexec: R_*_NONE relocs
13892
13893 These should be ignored on all targets.
13894
13895 * src/unexelf.c (unexec): Ignore R_*_NONE relocs for any target,
13896 not just Alpha. Comment on reloc size assumption.
13897
13898 2015-11-08 Alan Modra <amodra@gmail.com>
13899
13900 ELF unexec: _OBJC_ symbols in bss sections
13901
13902 This code assumed that there was only one bss section. Rather than
13903 checking for a particular index, check the section type. Also, handle
13904 the possibility that the section was SHT_NOBITS originally and is
13905 unchanged, in which case no clearing is needed (and sh_offset isn't
13906 necessarily valid, which can lead to a wild memset).
13907
13908 * src/unexelf.c (unexec): Properly handle _OBJC_ symbols in
13909 bss sections.
13910
13911 2015-11-08 Alan Modra <amodra@gmail.com>
13912
13913 ELF unexec: Symbol table patching
13914
13915 No st_shndx value larger than SHN_LORESERVE should be changed.
13916 * src/unexelf.c (unexec): Don't adjust any st_shndx larger than
13917 SHN_LORESERVE. Error on SHN_XINDEX.
13918
13919 2015-11-08 Alan Modra <amodra@gmail.com>
13920
13921 ELF unexec: Merge Alpha and MIPS COFF debug handling
13922
13923 * src/unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling.
13924 Don't find .mdebug section index, find the section in the loop.
13925 Allow for unlikely possibility that .mdebug is located at sh_offset
13926 before bss segment, by calculating move from difference in
13927 sh_offset rather than just assuming new_data2_size. Simplify
13928 cbLineOffset handling.
13929
13930 2015-11-08 Alan Modra <amodra@gmail.com>
13931
13932 ELF unexec: Tidy code
13933
13934 Separate out some of the more mechanical changes so following patches
13935 are smaller.
13936
13937 * src/unexelf.c (unexec): Rearrange initialisation of program
13938 header vars. Use pointer vars in loops rather than indexing
13939 section header array via macros. Simplify _OBJC_ sym code
13940 and reloc handling code.
13941
13942 2015-11-08 Alan Modra <amodra@gmail.com>
13943
13944 ELF unexec: Correct section header index
13945
13946 First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when
13947 it should have been using "NEW_SECTION_H (nn)" to find the name of the
13948 section currently being processed. Of course, before the bss
13949 sections, n and nn have the same value, so this doesn't matter except
13950 in the case of .sbss. For .sbss this probably meant .bss (most likely
13951 the next section) was copied from memory. A later patch removes the
13952 bogus .sbss handling anyway.
13953
13954 * src/unexelf.c (unexec): Use correct index to look up names.
13955
13956 2015-11-08 Michael Albinus <michael.albinus@gmx.de>
13957
13958 Fix Bug#21841
13959
13960 * lisp/filenotify.el (file-notify--rm-descriptor):
13961 Use `descriptor' instead of computing its value.
13962 (file-notify--descriptor): Additional argument FILE. Adapt all callees.
13963 (file-notify-rm-watch): Use `descriptor' when calling file name handler.
13964 (Bug#21841)
13965
13966 2015-11-08 Dmitry Gutov <dgutov@yandex.ru>
13967
13968 Remove dirs in vc project roots from the the vc project library roots
13969
13970 * lisp/progmodes/project.el (project-library-roots):
13971 Remove directories inside the project roots from the result.
13972 (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html)
13973
13974 2015-11-07 Dmitry Gutov <dgutov@yandex.ru>
13975
13976 Move and rename xref-find-regexp to the project package
13977
13978 * lisp/progmodes/project.el (project-find-regexp)
13979 (project--read-regexp)
13980 (project--find-regexp-in): New functions.
13981
13982 * lisp/progmodes/xref.el (xref--find-xrefs): Extract from
13983 xref--show-xrefs. Use in existing callers in place of that
13984 function.
13985 (xref--show-xrefs): Only do the "show" part.
13986 (xref-find-regexp): Rename, more or less, to
13987 project-or-libraries-find-regexp.
13988
13989 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
13990
13991 Abolish temporary buffer management for xref
13992
13993 * lisp/progmodes/xref.el (xref--temporary-buffers)
13994 (xref--current)
13995 (xref--inhibit-mark-current)
13996 (xref--mark-selected): Remove. Remove all references.
13997 (xref--show-xrefs): Do not construct the
13998 list of the temporary buffers, nor pass it along.
13999
14000 2015-11-06 Dmitry Gutov <dgutov@yandex.ru>
14001
14002 Rename "search path" to "library roots"
14003
14004 * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order
14005 of the elements from CL-LIST1.
14006
14007 * test/automated/cl-lib-tests.el (cl-lib-test-set-functions):
14008 Update WRT to the above change.
14009
14010 * lisp/progmodes/project.el (project-search-path-function): Rename
14011 to project-library-roots-function, update the documentation and
14012 references.
14013 (project-search-path): Likewise, to project-library-roots.
14014 (project-roots): Clarify documentation.
14015 (project-vc-search-path): Likewise, to project-vc-library-roots.
14016 (project-library-roots): In addition to the renames, thread the
14017 results through file-name-as-directory.
14018 (project-prune-directories): Accept a variable number of
14019 arguments. Rename to project-combine-directories.
14020 (project-subtract-directories): New function.
14021
14022 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
14023 Append project-roots and project-library-roots together.
14024
14025 * lisp/progmodes/etags.el (etags--xref-find-references): Ditto.
14026
14027 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
14028
14029 Prefer xpalloc to doubling buffers by hand
14030
14031 * src/lread.c (grow_read_buffer): New function, which uses xpalloc.
14032 (read1): Use it for simplicity.
14033 * src/macros.c (store_kbd_macro_char):
14034 * src/minibuf.c (read_minibuf_noninteractive):
14035 * src/term.c (encode_terminal_code):
14036 * src/xrdb.c (magic_db):
14037 Prefer xpalloc to growing buffers by hand.
14038 This doesn’t fix any bugs, but simplifies the code a bit.
14039
14040 2015-11-08 Paul Eggert <eggert@cs.ucla.edu>
14041
14042 Merge from gnulib
14043
14044 This incorporates:
14045 2015-11-05 timespec-sub: fix overflow bug; add tests
14046 2015-11-04 intprops: revise _WRAPV macros, revert _OVERFLOW
14047 2015-11-03 intprops: add parentheses
14048 * lib/intprops.h, lib/timespec-add.c, lib/timespec-sub.c:
14049 Copy from gnulib.
14050
14051 2015-11-07 David Reitter <david.reitter@gmail.com>
14052
14053 Provide NS notification objects where required to eliminate warnings
14054
14055 * src/nsterm.m (windowDidResize:, toggleFullScreen:):
14056 Call notification functions with notification objects
14057 as per delegate APIs.
14058
14059 2015-11-07 Noam Postavsky <npostavs@users.sourceforge.net>
14060
14061 Add test for bug #21824
14062
14063 * test/automated/buffer-tests.el: New file.
14064 (overlay-modification-hooks-message-other-buf): New test.
14065
14066 2015-11-07 Kelvin White <kwhite@gnu.org>
14067
14068 * lisp/erc/erc-pcomplete.el (pcomplete-erc-nicks): Fix bug#18771.
14069
14070 2015-11-07 David Reitter <david.reitter@gmail.com>
14071
14072 Ignore fullscreen exit notifications on NS when frame is dead
14073
14074 * src/nsterm.m (windowDidResize:, windowWillExitFullScreen:)
14075 (windowDidExitFullScreen:): Return if frame is dead.
14076 These functions may be called when a fullscreen frame
14077 is closed; they are called before, not after.
14078
14079 May address Bug#21428.
14080
14081 2015-11-07 Eli Zaretskii <eliz@gnu.org>
14082
14083 Speed up lookup in redisplay--variables
14084
14085 * lisp/frame.el (redisplay--variables): Make it a hash-table.
14086
14087 * src/xdisp.c (maybe_set_redisplay): Access redisplay--variables
14088 as a hash-table. This speeds up this function by an order of
14089 magnitude: where previously a setq was slowed down by 100% by
14090 introducing the maybe_set_redisplay test, it is now only 5%
14091 slower.
14092 (syms_of_xdisp) <redisplay--variables>: Doc fix.
14093
14094 2015-11-07 Artur Malabarba <bruce.connor.am@gmail.com>
14095
14096 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a bug.
14097
14098 The defsubst was being created as:
14099 (cl-defsubst name (args) ("DOC") ...)
14100
14101 * test/automated/cl-lib-tests.el (cl-lib-struct-constructors):
14102 Add test.
14103
14104 2015-11-07 Mihai Olteanu <mihai_olteanu@fastmail.fm> (tiny change)
14105
14106 Update doc string of hexl-mode
14107
14108 * lisp/hexl.el (hexl-mode): Doc fix. (Bug#21800)
14109
14110 2015-11-07 Eli Zaretskii <eliz@gnu.org>
14111
14112 Fix error in copy-abbrev-table
14113
14114 * lisp/abbrev.el (define-abbrev): Don't erase the :abbrev-table-modiff
14115 property of the abbrev-table. (Bug#21828)
14116
14117 * test/automated/abbrev-tests.el: New file.
14118
14119 2015-11-07 Michael Albinus <michael.albinus@gmx.de>
14120
14121 Add test to auto-revert-tests.el for Bug#21841
14122
14123 * test/automated/auto-revert-tests.el
14124 (auto-revert-test01-auto-revert-several-files): New test.
14125 (auto-revert-test02-auto-revert-tail-mode)
14126 (auto-revert-test03-auto-revert-mode-dired): Rename them.
14127
14128 2015-11-07 Martin Rudalics <rudalics@gmx.at>
14129
14130 * doc/lispref/windows.texi (Coordinates and Windows): Fix typo.
14131
14132 2015-11-07 Martin Rudalics <rudalics@gmx.at>
14133
14134 In x_consider_frame_title don't set title of tooltip frames
14135
14136 * src/xdisp.c (x_consider_frame_title): Return immediately for
14137 tooltip frames to avoid displaying empty tooltips.
14138
14139 2015-11-06 Anders Lindgren <andlind@gmail.com>
14140
14141 Fixed NextStep fullscreen problem (bug#21770).
14142
14143 * src/nsterm.m (ns_constrain_all_frames): Don't constrain
14144 fullscreen frames.
14145
14146 2015-11-06 Eli Zaretskii <eliz@gnu.org>
14147
14148 Ensure redisplay after evaluation
14149
14150 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp):
14151 Revert last change.
14152 * lisp/frame.el (redisplay--variables): Populate the
14153 redisplay--variables list.
14154 * src/xdisp.c (maybe_set_redisplay): New function.
14155 (syms_of_xdisp) <redisplay--variables>: New variable.
14156 * src/window.h (maybe_set_redisplay): Declare prototype.
14157 * src/data.c (set_internal): Call maybe_set_redisplay. (Bug#21835)
14158
14159 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
14160
14161 * test/automated/subr-tests.el (subr-test-when): Fix again.
14162
14163 2015-11-06 Eli Zaretskii <eliz@gnu.org>
14164
14165 Don't invoke overlay modification hooks in wrong buffer
14166
14167 * src/buffer.c (report_overlay_modification): When called with
14168 AFTER non-zero, don't invoke overlay modification hooks if the
14169 buffer recorded in last_overlay_modification_hooks is different
14170 from the current buffer. (Bug#21824)
14171
14172 2015-11-06 Juanma Barranquero <lekktu@gmail.com>
14173
14174 * admin/notes/repo: Fix a few obsolete references to Bazaar.
14175
14176 2015-11-06 Artur Malabarba <bruce.connor.am@gmail.com>
14177
14178 * test/automated/subr-tests.el (subr-test-when): Fix test.
14179
14180 2015-11-06 Martin Rudalics <rudalics@gmx.at>
14181
14182 Avoid division by zero crash observed by Yuan MEI
14183
14184 See http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html.
14185
14186 * src/dispnew.c (required_matrix_height, required_matrix_width):
14187 Avoid division by zero.
14188 * src/xterm.c (x_term_init): Init dpyinfo->smallest_font_height and
14189 dpyinfo->smallest_char_width to 1.
14190
14191 2015-11-06 Eli Zaretskii <eliz@gnu.org>
14192
14193 Ensure redisplay after "C-x C-e"
14194
14195 * lisp/progmodes/elisp-mode.el (elisp--eval-last-sexp): Make sure
14196 redisplay happens to account for any side effects of the evaluated
14197 sexp. (Bug#21835)
14198
14199 2015-11-06 Michael Albinus <michael.albinus@gmx.de>
14200
14201 Skip some file notification tests for cygwin
14202
14203 * test/automated/file-notify-tests.el (file-notify--test-with-events):
14204 Remove argument TIMEOUT. Adapt all callees.
14205 (file-notify-test02-events, file-notify-test04-file-validity):
14206 Skip for cygwin. (Bug#21804)
14207
14208 2015-11-05 Stephen Leake <stephen_leake@stephe-leake.org>
14209
14210 * lisp/progmodes/xref.el: Require semantic/symref during compilation.
14211
14212 2015-11-05 Daiki Ueno <ueno@gnu.org>
14213
14214 Suppress redundant Pinentry startup messages
14215
14216 * lisp/net/pinentry.el (pinentry-start): Add optional QUIET argument.
14217 * lisp/epg.el: Declare `pinentry-start'.
14218 (epg--start): Call `pinentry-start' with QUIET argument set.
14219
14220 2015-11-05 Xue Fuqiao <xfq.free@gmail.com>
14221
14222 * doc/emacs/ack.texi (Acknowledgments): Updates.
14223
14224 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
14225
14226 * test/automated/elisp-mode-tests.el: Silence some run-time warnings.
14227 (xref-elisp-deftest): Bind `find-file-suppress-same-file-warnings' to t.
14228
14229 2015-11-05 Tassilo Horn <tsdh@gnu.org>
14230
14231 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
14232 Add prettification support for \times.
14233
14234 2015-11-05 Juanma Barranquero <lekktu@gmail.com>
14235
14236 * test/automated/process-tests.el: Skip tests when bash is unavailable.
14237 (process-test-sentinel-accept-process-output)
14238 (process-test-sentinel-sit-for): skip-unless bash executable found.
14239
14240 2015-11-05 Eli Zaretskii <eliz@gnu.org>
14241
14242 Add test for bug #21831
14243
14244 * test/automated/process-tests.el
14245 (start-process-should-not-modify-arguments): New test. (Bug#21831)
14246 Suggested by Nicolas Richard <youngfrog@members.fsf.org>
14247
14248 2015-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
14249
14250 * lisp/emacs-lisp/eieio-compat.el: Typo caught by tests.
14251
14252 (eieio--generic-static-object-generalizer): Fix typo.
14253 * test/automated/eieio-tests.el: Byte-compile it again. It looks
14254 like the underlying cause of bug#17852 was fixed in the mean time.
14255
14256 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
14257
14258 Revert "* lisp/subr.el (when): Use `macroexp-progn'"
14259
14260 This reverts commit 8e843831eaf271801836b7a3e4dd3b4fb0bb72b8.
14261 It breaks bootstrapping (duh).
14262
14263 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
14264
14265 * lisp/files.el (report-errors): Obsolete.
14266
14267 (normal-mode, hack-local-variables, dir-locals-find-file):
14268 Use `with-demoted-errors' instead.
14269
14270 2015-11-04 Artur Malabarba <bruce.connor.am@gmail.com>
14271
14272 * lisp/subr.el (when): Use `macroexp-progn'.
14273
14274 * test/automated/subr-tests.el (subr-test-when): New test.
14275
14276 2015-11-04 Juanma Barranquero <lekktu@gmail.com>
14277
14278 * lisp/progmodes/xref.el: Doc fixes.
14279 (xref-make-file-location, xref-make-buffer-location, xref-make)
14280 (xref-make-bogus-location, xref-make-match): Add cross-references.
14281 (xref--insert-xrefs): Fix typo in docstring.
14282
14283 2015-11-04 Anders Lindgren <andlind@gmail.com>
14284
14285 Render fringe bitmaps correctly on NextStep (bug#21301)
14286
14287 The fringe bitmaps were inverted, the background was not transparent,
14288 the image data was horizontally mirrored, and periodic fringe bitmaps
14289 were not supported.
14290
14291 * src/nsimage.m ([EmacsImage initFromXBM:width:height:fg:bg:]):
14292 When both background and foreground colors are 0, set the background
14293 alpha channel to 0 (making the background transparent). When
14294 copying the image data, do this from the most significant bit
14295 (leftmost) to the least (rightmost), to avoid mirroring.
14296 * src/nsterm.m (ns_draw_fringe_bitmap): Don't invert the image bits.
14297 Add support for periodic images (e.g. the empty line indicator).
14298
14299 2015-11-03 Michael Heerdegen <michael_heerdegen@web.de>
14300
14301 * lisp/emacs-lisp/pcase.el (pcase): Tweak docstring.
14302
14303 2015-11-03 Nicolas Petton <nicolas@petton.fr>
14304
14305 * admin/MAINTAINERS: Add seq-tests.el, map-tests.el, and thunk-tests.el.
14306
14307 * admin/MAINTAINERS: Add thunk.el.
14308
14309 2015-11-03 Jay Belanger <jay.p.belanger@gmail.com>
14310
14311 * lisp/calc/calc.el (calc-bug-address): Change maintainer address.
14312
14313 2015-11-03 Michael Albinus <michael.albinus@gmx.de>
14314
14315 Fix a stupid error in gfilenotify.c
14316
14317 * src/gfilenotify.c (dir_monitor_callback): Cancel monitor only,
14318 if we've got a `deleted' signal AND the file name is the watched one.
14319
14320 2015-11-03 Stephen Leake <stephen_leake@stephe-leake.org>
14321
14322 Fix Bug#21816; case insensitive file system in elisp-mode-tests.el
14323
14324 * test/automated/elisp-mode-tests.el (xref-elisp-test-run):
14325 Use case-insensitive string compare for file names.
14326 (emacs-test-dir): Add 'downcase' to cause case differences (at
14327 least on my system).
14328
14329 2015-11-02 Juanma Barranquero <lekktu@gmail.com>
14330
14331 flymake-tests.el (warning-predicate-rx-gcc): Fix check
14332
14333 * test/automated/flymake-tests.el (warning-predicate-rx-gcc):
14334 Also check that "make" is available, not just "gcc".
14335
14336 2015-11-02 Ken Brown <kbrown@cornell.edu>
14337
14338 Document behavior of collation on Cygwin
14339
14340 * test/automated/fns-tests.el (fns-tests-collate-sort): Mark as
14341 expected failure on Cygwin.
14342 * doc/lispref/strings.texi (Text Comparison): Document that
14343 punctuation and whitespace are not ignored for sorting on Cygwin.
14344
14345 2015-11-02 Dani Moncayo <dmoncayo@gmail.com>
14346
14347 * build-aux/msys-to-w32: Prevent double slashes in w32 path list.
14348
14349 2015-11-01 Glenn Morris <rgm@gnu.org>
14350
14351 * lisp/progmodes/f90.el (f90-no-block-limit): Add associate.
14352 (Bug#21794)
14353 * test/automated/f90.el (f90-test-bug21794): New test.
14354
14355 2015-11-01 Juanma Barranquero <lekktu@gmail.com>
14356
14357 Fix incompatibility with TCC in test for bug#18745
14358
14359 * test/automated/process-tests.el (process-test-quoted-batfile):
14360 Remove spaces unrelated to the bug being tested.
14361
14362 2015-11-01 Michael Albinus <michael.albinus@gmx.de>
14363
14364 Improve completion in tramp-gvfs.el
14365
14366 * lisp/net/tramp-gvfs.el (tramp-zeroconf-parse-device-names):
14367 Rename from `tramp-zeroconf-parse-service-device-names'.
14368 (tramp-zeroconf-parse-webdav-device-names): Remove. Code merged
14369 with `tramp-zeroconf-parse-device-names'.
14370 (tramp-gvfs-parse-device-names): New defun.
14371 (top): Use it when `tramp-zeroconf-parse-device-names' is not
14372 applicable.
14373
14374 * lisp/net/tramp.el (tramp-set-completion-function): The argument
14375 could also be a zeroconf service type.
14376
14377 2015-10-31 Thomas Fitzsimmons <fitzsim@fitzsim.org>
14378
14379 * lisp/net/ntlm.el: Change version to 2.0.0.
14380
14381 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
14382
14383 Fix bug#21762
14384 * lisp/progmodes/python.el (python-syntax-closing-paren-p): Check with
14385 `eql' instead of `=' to accommodate the case that (syntax-after (point))
14386 returns nil.
14387 * test/automated/python-tests.el (python-indent-inside-paren-7):
14388 New test.
14389
14390 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
14391
14392 * test/automated/python-tests.el: Avoid warnings.
14393 (python-tests-with-temp-buffer, python-tests-with-temp-file):
14394 Bind `python-indent-guess-indent-offset' to nil.
14395
14396 2015-10-31 Juanma Barranquero <lekktu@gmail.com>
14397
14398 * src/alloc.c: Silence compiler warnings.
14399 (pointers_fit_in_lispobj_p, mmap_lisp_allowed_p): #ifdef DOUG_LEA_MALLOC.
14400
14401 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
14402
14403 * etc/NEWS: Fix js-jsx-mode entry punctuation.
14404
14405 2015-10-31 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
14406
14407 Add JSX indentation via js-jsx-mode (Bug#21799)
14408
14409 * lisp/progmodes/js.el: Add JSX indentation support.
14410 (js--jsx-end-tag-re)
14411 (js--jsx-after-tag-re): New variables.
14412 (js--jsx-find-before-tag)
14413 (js--jsx-indented-element-p)
14414 (js--as-sgml)
14415 (js--expression-in-sgml-indent-line)
14416 (js-jsx-indent-line)
14417 (js-jsx-mode): New functions.
14418 * test/indent/js-jsx.js: New file.
14419 * etc/NEWS: Add information about js-jsx-mode.
14420
14421 2015-10-31 Michael Albinus <michael.albinus@gmx.de>
14422
14423 Minor fix in filenotify.el
14424
14425 * lisp/filenotify.el (file-notify--event-file-name)
14426 (file-notify--event-file1-name): Normalize result with
14427 `directory-file-name'.
14428
14429 2015-10-31 Eli Zaretskii <eliz@gnu.org>
14430
14431 Avoid errors in redisplay--pre-redisplay-functions
14432
14433 * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't
14434 use 'bobp', instead compare window-point with 1. (Bug#21730)
14435
14436 2015-10-30 Paul Eggert <eggert@cs.ucla.edu>
14437
14438 Merge from gnulib
14439
14440 This incorporates:
14441 2015-10-30 intprops: add WRAPV and const flavors for GCC 5
14442 2015-10-25 stdalign: port to Sun C 5.9
14443 * doc/misc/texinfo.tex, lib/intprops.h, lib/stdalign.in.h:
14444 Copy from gnulib.
14445
14446 2015-10-30 Eli Zaretskii <eliz@gnu.org>
14447
14448 * src/w32proc.c (_NLSCMPERROR): Fix a typo in the name of this macro.
14449 (w32_compare_strings): Adjust for the correction.
14450
14451 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
14452
14453 * test/automated/vc-tests.el (vc-test--state)
14454 (vc-test--working-revision, vc-test--checkout-model):
14455 Add result messages.
14456
14457 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14458
14459 * test/automated/faces-tests.el: Add another test
14460
14461 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14462
14463 * lisp/faces.el (faces--attribute-at-point): Fix bug
14464 introduced by previous commit.
14465
14466 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14467
14468 * test/automated/faces-tests.el: New file.
14469
14470 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14471
14472 * lisp/faces.el: Refactor common code and fix a bug.
14473 (faces--attribute-at-point): New function. Fix a bug when the
14474 face at point is a list of faces and the desired attribute is not
14475 on the first one.
14476 (foreground-color-at-point, background-color-at-point): Use it.
14477
14478 2015-10-30 Przemysław Wojnowski <esperanto@cumego.com>
14479
14480 * etc/tutorials/TUTORIAL.translators: Fix PL names.
14481
14482 2015-10-30 Juanma Barranquero <lekktu@gmail.com>
14483
14484 * lisp/character-fold.el: Provide `character-fold'.
14485
14486 2015-10-30 Tassilo Horn <tsdh@gnu.org>
14487
14488 * etc/themes/tsdh-dark-theme.el (tsdh-dark): Add more faces
14489 for Gnus and ivy.
14490
14491 2015-10-30 Michael Albinus <michael.albinus@gmx.de>
14492
14493 Some minor fixes for tramp-gvfs.el
14494
14495 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
14496 An attribute returned by gvfs-info might be empty. In case of
14497 undetermined uid or gid, return "UNKNOWN" or -1, respectively.
14498 (tramp-zeroconf-parse-service-device-names): New defun.
14499 Derived from `tramp-zeroconf-parse-workstation-device-names'.
14500 (top): Add completion functions for "afp" and "smb" methods.
14501
14502 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14503
14504 * test/automated/character-fold-tests.el: New file
14505
14506 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14507
14508 * test/automated/sort-tests.el: New file.
14509 Tests in this file are randomly generated and then tested with
14510 regular, reverse, and case-fold sorting.
14511
14512 2015-10-30 Eli Zaretskii <eliz@gnu.org>
14513
14514 Describe known problems with pinning Emacs to taskbar
14515
14516 * etc/PROBLEMS: Describe the problem with pinning Emacs to taskbar
14517 on Windows 10. For the details, see the discussion starting at
14518 http://lists.gnu.org/archive/html/help-emacs-windows/2015-09/msg00000.html.
14519
14520 2015-10-30 Artur Malabarba <bruce.connor.am@gmail.com>
14521
14522 * lisp/isearch.el: Avoid an error that blocks isearch.
14523 (isearch-update): Don't error if `isearch--current-buffer' has
14524 been killed.
14525
14526 * test/automated/isearch-tests.el (isearch--test-update):
14527 New file.
14528
14529 2015-10-30 Phil Sainty <psainty@orcon.net.nz>
14530
14531 Fix documentation of 'beginning/end-of-buffer'
14532
14533 * lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
14534 conditions under which the mark will be pushed at the previous
14535 position. (Bug#21748)
14536
14537 2015-10-30 Tassilo Horn <tsdh@gnu.org>
14538
14539 Add RefTeX feature idea: editing RefTeX TOC buffers
14540
14541 More face defs for ivy, swiper, ace-window, eshell
14542
14543 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14544
14545 * lisp/gnus/auth-source.el: Silence lexical-binding warnings.
14546 (auth-source-netrc-use-gpg-tokens): Simplify (symbol-value 'VAR) to
14547 just VAR.
14548 (auth-source-backend-parse): Use make-instance.
14549 (auth-source-search): Remove unused key args.
14550 Remove unused vars `accessor-key' and `backend'. Avoid `eval'.
14551 (auth-source-search-backends): Use slot names rather than their initarg.
14552 (auth-source-netrc-create):
14553 (auth-source-delete):
14554 (auth-source-secrets-create, auth-source-plstore-search)
14555 (auth-source-macos-keychain-create, auth-source-macos-keychain-search)
14556 (auth-source-plstore-create, auth-source-netrc-search)
14557 (auth-source-netrc-parse): Remove unused key args.
14558 (auth-source-forget+): Simplify the arglist.
14559 (auth-source-macos-keychain-search-items)
14560 (auth-source-token-passphrase-callback-function): Mark unused args.
14561 (auth-source-epa-extract-gpg-token): Remove unused var `plain'.
14562 (pp-escape-newlines): Declare.
14563 (auto-source--symbol-keyword): New function.
14564 (auth-source-plstore-create, auth-source-netrc-create)
14565 (auth-source-netrc-normalize): Use it.
14566 (auth-source-netrc-search): Don't pass :delete to
14567 auth-source-netrc-parse since it doesn't use it.
14568 (auth-source-plstore-create, auth-source-netrc-create): Use plist-get
14569 symbol-value to index in keyword args.
14570 (auth-source-macos-keychain-result-append): Avoid setq.
14571 (auth-source-netrc-create): Remove unused vars `file' and `add'.
14572 (auth-source-user-or-password): Remove unused var `cname'.
14573
14574 2015-10-29 Juri Linkov <juri@linkov.net>
14575
14576 * lisp/dired.el (dired-unmark-all-files-query): Declare.
14577 (dired-unmark-all-files): Let-bind it and use instead of ‘query’.
14578 (Bug#21746)
14579
14580 2015-10-29 Juri Linkov <juri@linkov.net>
14581
14582 * lisp/ielm.el (ielm-indent-line): Use non-nil arg of comint-bol
14583 to go to the beginning of text line instead of command line.
14584 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02360.html
14585
14586 2015-10-29 Eli Zaretskii <eliz@gnu.org>
14587
14588 Fix encoding of saving *Help* buffers
14589
14590 * lisp/help-fns.el (describe-function-1): If we use curved quotes,
14591 set help buffer's buffer-file-coding-system to UTF-8. (Bug#21780)
14592
14593 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14594
14595 * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context.
14596 (cl--generic-derived-specializers): New function.
14597 (cl--generic-derived-generalizer): New generalizer.
14598 (cl-generic-generalizers): New specializer (derived-mode MODE).
14599 (cl--generic-split-args): Apply the rewriter, if any.
14600 (cl-generic-define-context-rewriter): New macro.
14601 (major-mode): Use it to define a new context-rewriter, so we can write
14602 `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
14603
14604 * lisp/frame.el (window-system): New context-rewriter so we can write
14605 `(window-system VAL)' instead of (window-system (eql VAL)).
14606 (cl--generic-split-args): Apply the rewriter, if any.
14607 (frame-creation-function): Use the new syntax.
14608
14609 * lisp/term/x-win.el (window-system-initialization)
14610 (handle-args-function, frame-creation-function)
14611 (gui-backend-set-selection, gui-backend-selection-owner-p)
14612 (gui-backend-selection-exists-p, gui-backend-get-selection):
14613 * lisp/term/w32-win.el (window-system-initialization)
14614 (handle-args-function, frame-creation-function)
14615 (gui-backend-set-selection, gui-backend-get-selection)
14616 (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
14617 * lisp/term/pc-win.el (gui-backend-get-selection)
14618 (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
14619 (gui-backend-set-selection, window-system-initialization)
14620 (frame-creation-function, handle-args-function):
14621 * lisp/term/ns-win.el (window-system-initialization)
14622 (handle-args-function, frame-creation-function)
14623 (gui-backend-set-selection, gui-backend-selection-exists-p)
14624 (gui-backend-get-selection):
14625 * lisp/startup.el (handle-args-function):
14626 * lisp/term/xterm.el (gui-backend-get-selection)
14627 (gui-backend-set-selection): Use the new syntax.
14628
14629 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14630
14631 * test/indent/css-mode.css: Add tests for url(...) syntax.
14632
14633 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14634
14635 * lisp/emacs-lisp/smie.el: Use `declare' for `pure'.
14636 (smie-precs->prec2, smie-merge-prec2s, smie-bnf->prec2)
14637 (smie-prec2->grammar): Use `declare'.
14638
14639 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14640
14641 * lisp/emacs-lisp/cl-generic.el: Accommodate future changes.
14642 (cl--generic-generalizer): Add `name' field.
14643 (cl-generic-make-generalizer): Add corresponding `name' argument.
14644 (cl-generic-define-generalizer): New macro.
14645 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
14646 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer)
14647 (cl--generic-t-generalizer): Use it.
14648 (cl-generic-ensure-function): Add `noerror' argument.
14649 (cl-generic-define): Use it so we don't follow aliases.
14650 (cl-generic-define-method): Preserve pre-existing ordering of methods.
14651 (cl--generic-arg-specializer): New function.
14652 (cl--generic-cache-miss): Use it.
14653 (cl-generic-generalizers): Only fset a temporary definition
14654 during bootstrap.
14655 (cl--generic-struct-tag, cl--generic-struct-specializers):
14656 Allow extra arguments.
14657
14658 * lisp/emacs-lisp/eieio-compat.el
14659 (eieio--generic-static-symbol-generalizer)
14660 (eieio--generic-static-object-generalizer):
14661 Use cl-generic-define-generalizer.
14662 (eieio--generic-static-symbol-specializers): Allow extra arguments.
14663
14664 * lisp/emacs-lisp/eieio-core.el (eieio--generic-generalizer)
14665 (eieio--generic-subclass-generalizer):
14666 Use cl-generic-define-generalizer.
14667 (eieio--generic-subclass-specializers): Allow extra arguments.
14668
14669 2015-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
14670
14671 * lisp/emacs-lisp/bytecomp.el (compile-defun): Add defvars in scope.
14672
14673 2015-10-29 Michael Albinus <michael.albinus@gmx.de>
14674
14675 Add "afp" method to Tramp
14676
14677 * doc/misc/tramp.texi (GVFS based methods): Describe `afp' method.
14678
14679 * lisp/net/tramp-gvfs.el (tramp-gvfs-methods): Add "afp" method.
14680 (tramp-gvfs-handle-expand-file-name)
14681 (tramp-gvfs-handler-mounted-unmounted)
14682 (tramp-gvfs-connection-mounted-p, tramp-gvfs-mount-spec)
14683 (tramp-gvfs-maybe-open-connection): Support also "afp".
14684 (tramp-gvfs-handle-file-attributes): Handle the case of empty
14685 "owner::user" and "owner::group" entries.
14686
14687 2015-10-29 Andy Moreton <andrewjmoreton@gmail.com>
14688
14689 Handle negative coordinates in ‘x_calc_absolute_position’
14690
14691 * src/w32term.c (x_calc_absolute_position): Find display origin to
14692 allow for negative coordinates.
14693
14694 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14695
14696 (internal--syntax-propertize): Save match-data here (bug#21766)
14697
14698 * lisp/emacs-lisp/syntax.el (internal--syntax-propertize): Save match-data.
14699 * lisp/simple.el (delete-trailing-whitespace): Undo last change.
14700
14701 2015-10-28 Dmitry Gutov <dgutov@yandex.ru>
14702
14703 Don't require default-directory to end with a slash
14704
14705 * doc/lispref/files.texi (Magic File Names): Document the change
14706 in unhandled-file-name-directory.
14707
14708 * lisp/url/url-handlers.el
14709 (url-handler-unhandled-file-name-directory): Update accordingly.
14710
14711 * src/buffer.c (default-directory): Update the docsting.
14712
14713 * src/fileio.c (unhandled-file-name-directory): Default to calling
14714 `file-name-as-directory'
14715 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02294.html).
14716
14717 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14718
14719 * lisp/isearch.el: Delete some outdated comments.
14720
14721 2015-10-28 Vibhav Pant <vibhavp@gmail.com>
14722
14723 Fix eshell/clear not working if the output has a small line count
14724
14725 * lisp/eshell/esh-mode.el (eshell/clear): Use (window-size) as the
14726 number of newlines to be inserted. This fixes the issue where
14727 eshell/clear wouldn't work if the prompt was not at the bottom of the
14728 window, and the output wasn't too long.
14729
14730 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * lisp/files.el (write-file): Use vc-refresh-state.
14733
14734 * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
14735
14736 * lisp/vc/pcvs.el (cvs-revert-if-needed): Use vc-refresh-state.
14737
14738 2015-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14739
14740 * lisp/emacs-lisp/macroexp.el: Tweak macroexp-if optimizations.
14741 (macroexp-unprogn): Make sure we never return an empty list.
14742 (macroexp-if): Remove unused (and unsafe) optimization.
14743 Optimize (if A T (if B T E)) into (if (or A B) T E) instead, which does
14744 occur occasionally.
14745
14746 2015-10-28 Juanma Barranquero <lekktu@gmail.com>
14747
14748 Fix bug#21766 and add test
14749 * lisp/simple.el (delete-trailing-whitespace): Save match data when
14750 calling `skip-syntax-backward'.
14751 * test/automated/simple-test.el (simple-delete-trailing-whitespace):
14752 New test.
14753
14754 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14755
14756 * doc/lispref/sequences.texi (Sequence Functions): Fix typo.
14757
14758 2015-10-28 Paul Eggert <eggert@cs.ucla.edu>
14759
14760 * src/dispnew.c (init_display): Simplify overflow checking.
14761
14762 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14763
14764 * lisp/character-fold.el (character-fold-to-regexp): Fix case
14765 where string ends in space
14766
14767 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14768
14769 * lisp/emacs-lisp/seq.el (seq-mapn): New function.
14770
14771 * doc/lispref/sequences.texi (Sequence Functions): Document seq-mapn.
14772
14773 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14774
14775 * lisp/character-fold.el: Make compatible with lax-whitespace.
14776 (character-fold-to-regexp): Rework internals to play nice with
14777 lax-whitespacing.
14778
14779 When the user types a space, we want to match the table entry for
14780 ?\s, which is generally a regexp like "[ ...]". However, the
14781 `search-spaces-regexp' variable doesn't "see" spaces inside these
14782 regexp constructs, so we need to use "\\( \\|[ ...]\\)" instead (to
14783 manually expose a space).
14784
14785 Furthermore, the lax search engine acts on a bunch of spaces, not
14786 on individual spaces, so if the string contains sequential spaces
14787 like " ", we need to keep them grouped together like this:
14788 "\\( \\|[ ...][ ...]\\)".
14789
14790 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14791
14792 * lisp/isearch.el: Refactor momentary messages.
14793 (isearch--momentary-message): New function.
14794 (isearch-toggle-lax-whitespace, isearch-toggle-case-fold)
14795 (isearch-toggle-invisible): Use it.
14796
14797 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14798
14799 * lisp/isearch.el: Define all toggles with `isearch-define-mode-toggle'.
14800 (isearch-define-mode-toggle): New macro.
14801 (isearch-toggle-invisible): Rename to
14802 `isearch-define-mode-toggle'.
14803 (isearch-toggle-case-fold, isearch-toggle-invisible)
14804 (isearch-toggle-regexp, isearch-toggle-lax-whitespace): Define
14805 with `isearch-define-mode-toggle'.
14806
14807 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
14808
14809 Avoid using `add-to-list' on a let-local var in tramp-smb.el
14810
14811 * lisp/net/tramp-compat.el (tramp-compat-delete-dups): New defun.
14812 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files): Use it.
14813
14814 2015-10-28 Michael Albinus <michael.albinus@gmx.de>
14815
14816 * lisp/net/tramp-smb.el (tramp-smb-handle-directory-files):
14817 Revert 692bce5b9eccfae19ae2a5a23a9ccd8d6bf86076, `delete-dups'
14818 does not exist in XEmacs 21.4.
14819
14820 2015-10-28 Anders Lindgren <andlind@gmail.com>
14821
14822 Fixed OS X startup crash
14823
14824 Input events started to arrive before ns_term_init() was finished.
14825 Solved by blocking input. This also seems to correct the "You
14826 can't open the application "Emacs" because it may be damaged or
14827 incomplete" error issued when double-clicking on the Emacs
14828 application.
14829
14830 * src/nsterm.m (ns_constrain_all_frames, ns_init_term): Block input.
14831 * src/nsterm.m (ns_send_appdefined, EmacsApp): Trace output.
14832
14833 2015-10-28 Artur Malabarba <bruce.connor.am@gmail.com>
14834
14835 * src/process.c (Fget_buffer_process): Improve docstring.
14836 Document the fact that it doesn't return dead processes.
14837
14838 2015-10-28 Anders Lindgren <andlind@gmail.com>
14839
14840 Fix incorrect NextStep tool-bar-mode -- wrong number of rows in frame.
14841
14842 * src/nsterm.h (struct ns_output): New flag, in_animation.
14843 * src/nsfns.m (Fx_create_frame): Initialize in_animation flag.
14844 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Set
14845 in_animation flag around call to "setVisible". Set new tool bar
14846 height before call to setVisible.
14847 * src/nsterm.m (x_set_window_size): Don't call [view setRow:
14848 andColumns:] as this fools the subsequent call to updateFrameSize
14849 from performing the real resize.
14850 (windowDidResize): Don't update anything when in_animation is
14851 non-zero.
14852
14853 Trace output.
14854
14855 * src/nsmenu.m (free_frame_tool_bar, update_frame_tool_bar)
14856 (EmacsToolbar):
14857 * src/nsterm.m (x_set_window_size, updateFrameSize)
14858 ([EmacsView setRows: andColumns:])
14859
14860 2015-10-28 Nicolas Petton <nicolas@petton.fr>
14861
14862 * lisp/emacs-lisp/thunk.el (thunk-delay): Fix the macro.
14863
14864 2015-10-28 Tassilo Horn <tsdh@gnu.org>
14865
14866 Prettify TeX macros not ending in a word char
14867
14868 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
14869 Prettify macros which don't end in a word character.
14870
14871 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
14872
14873 Pipe Hg commit descriptions through 'tabindent'
14874
14875 * lisp/vc/vc-hg.el (vc-hg-log-format): Pipe commit description
14876 through 'tabindent'.
14877 (vc-hg-log-view-mode): Set tab-width to 2 locally.
14878 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02259.html)
14879
14880 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14881
14882 * lisp/net/tramp-smb.el: Avoid using `add-to-list' on a let-local var.
14883 (tramp-smb-handle-directory-files): Use `delete-dups'.
14884
14885 * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
14886
14887 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14888
14889 * lisp/international/ccl.el: Use lexical-binding.
14890 (ccl-compile-if): Remove unused var `false-ic'.
14891 (ccl-compile-write-repeat): Remove unused var `i'.
14892 (ccl-compile-map-single): Remove unused var `id'.
14893 (ccl-dump, ccl-dump-binary): Use explicit let-binding to bind the
14894 dynamic var `ccl-code'.
14895
14896 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * lisp/json.el (json-new-object): Optimize trivial `list' call.
14899
14900 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14901
14902 * lisp/help.el: Fix bug with incorrect arglist string.
14903 (help-add-fundoc-usage): Don't mistake a mis-formatted string
14904 for a list.
14905
14906 2015-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
14907
14908 * lisp/gnus/gnus-topic.el: Silence some warnings.
14909 (gnus-topic-prepare-topic): Remove unused var `topic'.
14910 (gnus-topic-remove-topic): Mark unused arg `hide'.
14911 (gnus-tmp-header): Declare.
14912 (gnus-topic-goto-missing-group): Remove unused var `entry'.
14913 (gnus-topic-unmark-topic): Mark unused arg `dummy'.
14914 (gnus-topic-copy-matching): Mark unused arg `copyp'.
14915 Move initialization of `topic' into its declaration.
14916
14917 2015-10-27 Stephen Leake <stephen_leake@stephe-leake.org>
14918
14919 Minor CEDET fixes
14920
14921 * lisp/cedet/cedet-global.el (cedet-gnu-global-gtags-call):
14922 Handle warnings from gtags about invalid options.
14923 (cedet-gnu-global-create/update-database): Do incremental update
14924 properly.
14925
14926 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
14927 Get monotone root right.
14928
14929 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
14930
14931 Fall back to polling in autorevert when needed
14932
14933 * lisp/autorevert.el (auto-revert-notify-handler): When a
14934 `stopped' event arrives from file notification, fall back to polling.
14935
14936 * test/automated/file-notify-tests.el
14937 (file-notify-test03-autorevert): Extend test for polling when file
14938 notification ceases to work.
14939
14940 2015-10-27 Dmitry Gutov <dgutov@yandex.ru>
14941
14942 Show full commit messages in 'hg log' when appropriate
14943
14944 * lisp/vc/vc-hg.el (vc-hg-log-format): New variable.
14945 (vc-hg-print-log, vc-hg-expanded-log-entry): Use it.
14946 (http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02191.html)
14947
14948 2015-10-27 Nicolas Petton <nicolas@petton.fr>
14949
14950 Use a plain SVG file for the icon
14951
14952 * etc/images/icons/hicolor/scalable/apps/emacs.svg: Use a plain SVG
14953 format instead of the Inkscape SVG format.
14954
14955 2015-10-27 Michael Albinus <michael.albinus@gmx.de>
14956
14957 Fix subtle bug in auto-revert-tests.el
14958
14959 * test/automated/auto-revert-tests.el
14960 (auto-revert-test02-auto-revert-mode-dired): Narrow *Messages*
14961 buffer where it belongs to. (Bug#21668)
14962
14963 2015-10-26 Nicolas Petton <nicolas@petton.fr>
14964
14965 * lisp/emacs-lisp/map.el: Better docstrings.
14966
14967 * lisp/emacs-lisp/seq.el: Better docstrings.
14968
14969 * lisp/emacs-lisp/seq.el: Rename all seq arguments to sequence.
14970
14971 2015-10-26 Phillip Lord <phillip.lord@russet.org.uk>
14972
14973 * lisp/emacs-lisp/ert.el: Print results without newline escaping.
14974
14975 2015-10-26 Stephen Leake <stephen_leake@stephe-leake.org>
14976
14977 Clarify that load-path contents should be directory file names
14978
14979 * doc/lispref/files.texi (Directory Names): Define and use "directory
14980 file name". Recommend `expand-file-name'.
14981
14982 * src/lread.c (load-path): Fix doc string; elements are directory file
14983 names.
14984
14985 2015-10-26 Eli Zaretskii <eliz@gnu.org>
14986
14987 Fix simple-test.el test
14988
14989 * test/automated/simple-test.el (simple-test--dummy-buffer):
14990 Make sure indentation doesn't use TABs, otherwise the 6th test
14991 might fail.
14992
14993 2015-10-26 Mark Oteiza <mvoteiza@udel.edu>
14994
14995 * lisp/net/eww.el (eww-bookmark-prepare): Use truncate-string-to-width.
14996 `substring' does not account for full width characters.
14997
14998 2015-10-26 Michael Albinus <michael.albinus@gmx.de>
14999
15000 Further work on `stopped' events in filenotify.el
15001
15002 * doc/lispref/os.texi (File Notifications): Rework examples.
15003
15004 * lisp/filenotify.el (file-notify--rm-descriptor): Optional parameter.
15005 (file-notify--rm-descriptor, file-notify-callback): Improve check
15006 for sending `stopped' event.
15007 (file-notify-add-watch): Check for more events for `inotify'.
15008
15009 * test/automated/file-notify-tests.el
15010 (file-notify--test-expected-events): New defvar.
15011 (file-notify--test-with-events): Use it.
15012 (file-notify--test-cleanup): Make it more robust when deleting
15013 directories.
15014 (file-notify--test-event-test): Check also for watched directories.
15015 (file-notify--test-event-handler): Suppress temporary .#files.
15016 (file-notify-test02-events, file-notify-test04-file-validity):
15017 Rework `stopped' events.
15018 (file-notify-test05-dir-validity): Wait for events when appropriate.
15019
15020 2015-10-26 Artur Malabarba <bruce.connor.am@gmail.com>
15021
15022 * src/keyboard.c (post-command-hook): Shorten docstring.
15023
15024 2015-10-26 Tassilo Horn <tsdh@gnu.org>
15025
15026 Fix infinite loop in sh-script's SMIE code
15027
15028 * lisp/progmodes/sh-script.el (sh-smie-sh-forward-token): Fix infinite
15029 loop (bug#21747).
15030
15031 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
15032
15033 * lisp/isearch.el (search-default-regexp-mode): Revert to nil.
15034 Character-fold search _still_ doesn't play well with
15035 lax-whitespace. So disable it by default (again) for now.
15036
15037 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
15038
15039 * lisp/isearch.el: No visual feedback for default search mode.
15040 During an isearch where character-folding is the default, we don't
15041 want to take up minibuffer space just to tell the user that
15042 "Char-fold " is on. The same goes for other modes, if the user
15043 changes the default. In contrast, if the user toggles OFF the
15044 default mode, they should see "Literal", to distinguish it from
15045 the default mode.
15046 (isearch--describe-regexp-mode): Return "" if describing the
15047 default mode, and return "literal " if describing a plain search
15048 and it is not default.
15049
15050 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
15051
15052 * test/automated/simple-test.el: New file.
15053 Define tests for `newline' and `open-line'.
15054
15055 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
15056
15057 * lisp/simple.el (open-line): Integrate with electric-indent-mode.
15058 Also run `post-self-insert-hook' when called interactively.
15059
15060 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
15061
15062 * lisp/simple.el (open-line): Fix docstring.
15063 Also explain apparently redundant line.
15064
15065 2015-10-25 Thomas Fitzsimmons <fitzsim@fitzsim.org>
15066 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
15067
15068 Sync with soap-client repository, version 3.0.1
15069
15070 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
15071 Bump version to 3.0.1.
15072
15073 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Update home page.
15074
15075 2015-10-25 Eli Zaretskii <eliz@gnu.org>
15076
15077 * lisp/progmodes/grep.el (grep): Doc fix. (Bug#21754)
15078
15079 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
15080
15081 * src/keyboard.c (post-command-hook): Extend the docstring.
15082 Mainly, explain how to use it without hanging Emacs, or giving the
15083 impression that it is hanging. Also mention `pre-command-hook'.
15084 (pre-command-hook): Mention `post-command-hook'.
15085
15086 2015-10-25 Artur Malabarba <bruce.connor.am@gmail.com>
15087
15088 * lisp/custom.el (custom-declare-variable): Shorten code again.
15089 Without using pcase this time. We can't use pcase because it is
15090 loaded after custom in loadup.el. Also add a comment explaining
15091 this to future dummies like me.
15092
15093 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
15094
15095 * doc/lispref/os.texi (File Notifications): Document `stopped event'.
15096
15097 2015-10-25 Michael Albinus <michael.albinus@gmx.de>
15098
15099 Introduce `stopped' event in file notification
15100
15101 * lisp/filenotify.el (file-notify--rm-descriptor): New defun.
15102 (file-notify-rm-watch): Use it.
15103 (file-notify-callback): Implement `stopped' event.
15104 (file-notify-add-watch): Mention `stopped' in the docstring.
15105 Check, that upper directory exists.
15106
15107 * test/automated/file-notify-tests.el (file-notify-test01-add-watch):
15108 Add two test cases.
15109 (file-notify-test02-events): Handle also `stopped' event.
15110 (file-notify-test04-file-validity): Add another test case.
15111
15112 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
15113
15114 Revert commit that broke 'make bootstrap'
15115
15116 * lisp/custom.el (custom-declare-variable): Revert commit
15117 79fac080d277fed07b3c192890ad59d36d9f83b6. custom.el needs to work
15118 even when pcase has not been defined yet, when doing bootstrapping.
15119
15120 2015-10-25 Paul Eggert <eggert@cs.ucla.edu>
15121
15122 Port recent inline functions fix to Standard C
15123
15124 * src/lisp.h (LISP_MACRO_DEFUN, LISP_MACRO_DEFUN_VOID): Remove.
15125 All uses rewritten to define the function directly rather than to
15126 use a macro to define the function. This conforms to Standard C,
15127 which does not allow stray semicolons at the top level. I hope it
15128 also avoids the problems with TAGS. Those macros, though clever,
15129 were pretty confusing anyway, and it wasn’t clear they were worth
15130 the aggravation even without the TAGS problem.
15131
15132 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
15133
15134 * lisp/isearch.el: Make character-fold search the default again.
15135
15136 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
15137
15138 * lisp/character-fold.el: Many improvements.
15139 (character-fold-search-forward, character-fold-search-backward):
15140 New command.
15141 (character-fold-to-regexp): Remove lax-whitespace hack.
15142 (character-fold-search): Remove variable. Only isearch and
15143 query-replace use char-folding, and they both have their own
15144 variables to configure that.
15145
15146 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
15147
15148 * lisp/isearch.el: Generalize definition of regexp-function toggles.
15149 (isearch-specify-regexp-function): New macro for specifying
15150 possible values of `isearch-regexp-function'.
15151 (isearch-toggle-character-fold, isearch-toggle-symbol)
15152 (isearch-toggle-word): Define with `isearch-specify-regexp-function'.
15153
15154 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
15155
15156 * lisp/isearch.el (search-default-regexp-mode): New variable.
15157 (isearch-mode): Use it.
15158
15159 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
15160
15161 * lisp/isearch.el (search-exit-option, search-slow-window-lines)
15162 (search-slow-speed, search-upper-case)
15163 (search-nonincremental-instead, search-whitespace-regexp)
15164 (search-invisible, isearch-hide-immediately)
15165 (isearch-resume-in-command-history, search-ring-max)
15166 (regexp-search-ring-max, search-ring-update, search-highlight)
15167 (isearch-fail): Delete :group entries.
15168
15169 2015-10-24 Artur Malabarba <bruce.connor.am@gmail.com>
15170
15171 * lisp/custom.el (custom-declare-variable): Shorten code a bit.
15172
15173 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
15174
15175 addpm.c: Silence some warnings.
15176
15177 * nt/addpm.c (DdeCommand): Cast pData argument of DdeClientTransaction
15178 to LPBYTE.
15179 (add_registry): Pass NULL to optional lpClass argument of
15180 RegCreateKeyEx, not an empty string.
15181
15182 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
15183
15184 addpm.c: Do not add obsolete GTK libraries to the path.
15185
15186 * nt/addpm.c (REG_GTK, REG_RUNEMACS_PATH): Delete.
15187 (add_registry): Remove variables `size' and `gtk_key'.
15188 Do not add the GTK DLL directory to the library search path; it is
15189 confusing behavior (in particular, the same Emacs version with and
15190 without invoking addpm will use a different path), and the GTK image
15191 libraries are obsolete anyway.
15192
15193 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
15194
15195 addpm.c: Replace existing registry entries, but do not create new ones
15196
15197 * nt/addpm.c (add_registry): If the Emacs registry key exists, replace
15198 existing values from previous versions, but do not add new ones; the
15199 key could exist for other reasons unrelated to old Emacsen, like X-style
15200 resources, or to set some environment variables like HOME or LANG, and
15201 in that case we don't want to populate it with obsolete values.
15202
15203 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
15204
15205 * nt/addpm.c (add_registry): Do not compute unused return value.
15206
15207 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
15208
15209 addpm.c: Don't pass REG_OPTION_NON_VOLATILE to RegOpenKeyEx
15210
15211 * nt/addpm.c (add_registry): Pass 0 to ulOptions argument of
15212 RegOpenKeyEx, not REG_OPTION_NON_VOLATILE. This doesn't change
15213 current behavior because REG_OPTION_NON_VOLATILE is defined to
15214 be 0L anyway, but that option is actually documented only for
15215 RegCreateKeyEx.
15216
15217 2015-10-24 Juanma Barranquero <lekktu@gmail.com>
15218
15219 * src/w32notify.c (Fw32notify_add_watch): Fix version check.
15220
15221 2015-10-24 Eli Zaretskii <eliz@gnu.org>
15222
15223 Update frame title when redisplay scrolls selected window
15224
15225 * src/xdisp.c (redisplay_window): Reconsider the frame's title
15226 when the mode-line of the frame's selected window needs to be
15227 updated.
15228
15229 2015-10-24 Eli Zaretskii <eliz@gnu.org>
15230
15231 Update frame title when scrolling the selected window
15232
15233 * src/window.c (wset_update_mode_line): New function, sets either
15234 the window's update_mode_line flag or the global update_mode_lines
15235 variable.
15236 (Fset_window_start, set_window_buffer, window_scroll_pixel_based)
15237 (window_scroll_line_based): Call it instead of only setting the
15238 window's update_mode_line flag.
15239
15240 2015-10-24 Eli Zaretskii <eliz@gnu.org>
15241
15242 An even better fix for bug#21739
15243
15244 * src/window.c (set_window_buffer): If the window is the frame's
15245 selected window, set update_mode_lines, not the window's
15246 update_mode_line flag.
15247 * src/buffer.c (Fkill_buffer): Undo last change.
15248 (set_update_modelines_for_buf): Function deleted.
15249
15250 2015-10-24 Thomas Fitzsimmons <fitzsim@fitzsim.org>
15251 Alexandru Harsanyi <AlexHarsanyi@gmail.com>
15252
15253 Sync with soap-client repository, version 3.0.0
15254
15255 * lisp/net/soap-client.el, lisp/net/soap-inspect.el:
15256 Bump version to 3.0.0.
15257
15258 * lisp/net/soap-inspect.el: Merge in changes from Emacs master branch.
15259
15260 * lisp/net/soap-client.el: Merge in changes from Emacs master branch.
15261
15262 * lisp/net/soap-inspect.el: Shorten first line description.
15263
15264 * lisp/net/soap-client.el: Make a small whitespace fix.
15265
15266 * lisp/net/soap-inspect.el: Update copyright years.
15267
15268 * lisp/net/soap-client.el (soap-encoded-namespaces): Move above
15269 first use in soap-encode-xs-element.
15270
15271 * lisp/net/soap-client.el (soap-type-is-array?): new defun
15272 (soap-encode-xs-element): handle array elements in this function
15273 (soap-encode-xs-complex-type): flag error if asked to encode an
15274 array type, this is handled in `soap-encode-xs-element'
15275
15276 * lisp/net/soap-inspect.el (soap-inspect-xs-attribute-group):
15277 Do not print type for attribute group.
15278
15279 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute-group)
15280 New function.
15281 (soap-inspect-xs-attribute-group): Likewise.
15282
15283 * lisp/net/soap-inspect.el
15284 (soap-resolve-references-for-xs-attribute-group): Resolve
15285 references of attributes in an attribute group.
15286
15287 * lisp/net/soap-client.el (soap-decode-xs-attributes): Process attribute
15288 type directly, not through soap-wsdl-get.
15289
15290 * lisp/net/soap-client.el (soap-xs-parse-attribute): Leave reference
15291 nil if reference attribute is nil.
15292
15293 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
15294 Convert XML schema attributes to xsd:string.
15295
15296 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-attribute):
15297 New function.
15298 (soap-sample-value-for-xs-simple-type): Prepend attributes to result.
15299 (soap-sample-value-for-xs-complex-type): Likewise.
15300 (soap-inspect-xs-attribute): New function.
15301 (soap-inspect-xs-simple-type): Print attributes.
15302 (soap-inspect-xs-complex-type): Likewise.
15303
15304 * lisp/net/soap-inspect.el (soap-resolve-references-for-xs-simple-type):
15305 Resolve references for attributes.
15306 (soap-resolve-references-for-xs-complex-type): Likewise.
15307
15308 * lisp/net/soap-client.el (soap-xml-node-find-matching-child):
15309 Rename from soap-xml-node-first-child.
15310 (soap-xs-parse-attribute): Call soap-xml-node-find-matching-child.
15311 (soap-xs-parse-simple-type): Likewise.
15312
15313 * lisp/net/soap-client.el (soap-invoke-async): Add error checking.
15314
15315 * lisp/net/soap-client.el (soap-invoke-internal): New function.
15316 (soap-invoke-async): Call soap-invoke-internal.
15317 (soap-invoke): Likewise.
15318
15319 * lisp/net/soap-client.el (soap-invoke-async): Ensure buffer passed to
15320 url-retrieve callback is killed.
15321
15322 * lisp/net/soap-client.el (soap-parse-wsdl-phase-validate-node):
15323 Rename function.
15324 (soap-parse-wsdl-phase-fetch-imports): Likewise.
15325 (soap-parse-wsdl-phase-parse-schema): Likewise.
15326 (soap-parse-wsdl-phase-fetch-schema): Likewise.
15327 (soap-parse-wsdl-phase-finish-parsing): Likewise.
15328 (soap-parse-wsdl): Update calls.
15329
15330 * lisp/net/soap-client.el (soap-invoke-async): Fix callback invocation.
15331
15332 * lisp/net/soap-client.el (soap-invoke-async): New function.
15333 (soap-invoke): Reimplement using soap-invoke-async.
15334
15335 * lisp/net/soap-client.el (soap-parse-server-response):
15336 Improve docstring.
15337 (soap-invoke): Inline call to soap-parse-server-response.
15338
15339 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
15340 Prevent incorrect warning.
15341
15342 * lisp/net/soap-client.el (soap-parse-server-response):
15343 Rename soap-process-url-response. Destroy the mime part.
15344 (soap-invoke): Call soap-parse-server-response.
15345
15346 * lisp/net/soap-client.el: Update copyright date.
15347
15348 * lisp/net/soap-client.el: Fix checkdoc issues.
15349
15350 * lisp/net/soap-client.el: Fix indentation and long lines.
15351
15352 * lisp/net/soap-client.el (soap-time-format): Remove variable.
15353 (soap-encode-xs-basic-type): Simplify date-time format detection.
15354 (soap-decode-xs-basic-type): Remove soap-time-format support.
15355
15356 * lisp/net/soap-client.el (soap-process-url-response): New function.
15357 (soap-fetch-xml-from-url): Call soap-process-url-response.
15358 (soap-parse-wsdl-phase-1): New function.
15359 (soap-parse-wsdl-phase-2): Likewise.
15360 (soap-parse-wsdl-phase-3): Likewise.
15361 (soap-parse-wsdl-phase-4): Likewise.
15362 (soap-parse-wsdl-phase-5): Likewise.
15363 (soap-parse-wsdl): Call phase functions.
15364
15365 * lisp/net/soap-client.el (soap-decode-xs-basic-type):
15366 Remove one-argument and call.
15367
15368 * lisp/net/soap-client.el (soap-decode-date-time): Improve docstring.
15369
15370 * lisp/net/soap-client.el (soap-xmlschema-imports): Remove variable.
15371 (soap-parse-schema): Add wsdl argument. Look up XML schema
15372 imports from wsdl.
15373 (soap-load-wsdl): Do not set soap-xmlschema-imports.
15374 (soap-parse-wsdl): Get XML schema imports from wsdl.
15375
15376 * lisp/net/soap-client.el (soap-current-file): Remove variable.
15377 (soap-wsdl): Add current-file slot.
15378 (soap-fetch-xml-from-url): Add wsdl argument. Look up current
15379 file from wsdl.
15380 (soap-fetch-xml-from-file): Likewise.
15381 (soap-fetch-xml): Likewise.
15382 (soap-load-wsdl): Always create wsdl object first.
15383 (soap-parse-wsdl): Pass wsdl to soap-fetch-xml.
15384
15385 * lisp/net/soap-client.el (soap-xs-element): Add is-group slot.
15386 (soap-xs-parse-element): Set is-group slot.
15387 (soap-resolve-references-for-xs-element): Skip is-group elements.
15388 (soap-xs-complex-type): Add is-group slot.
15389 (soap-xs-parse-complex-type): Set is-group slot.
15390 (soap-xs-parse-sequence): Parse xsd:group elements.
15391 (soap-resolve-references-for-xs-complex-type): Inline elements
15392 from referenced xsd:group nodes.
15393 (soap-parse-schema): Parse xsd:group nodes.
15394
15395 * lisp/net/soap-client.el (soap-invoke):
15396 Don't set url-http-version to 1.0.
15397
15398 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
15399 Allow choice nodes to accept multiple values.
15400
15401 * lisp/net/soap-client.el (soap-encode-body): Check parameters argument
15402 for extra header values.
15403
15404 * lisp/net/soap-client.el (soap-well-known-xmlns):
15405 Add wsa and wsaw tags.
15406 (soap-operation): Add input-action and output-action slots.
15407 (soap-parse-operation): Parse wsaw:Action nodes.
15408 (soap-encode-body): Encode service-url for WS-Addressing.
15409 (soap-create-envelope): Likewise.
15410 (soap-invoke): Update soap-create-envelope call to provide
15411 service-url argument.
15412
15413 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
15414 Support xsi:type override attribute.
15415 (soap-decode-array): Likewise.
15416
15417 * lisp/net/soap-client.el (soap-parse-schema):
15418 Handle location attribute.
15419
15420 * lisp/net/soap-client.el (soap-decode-type): Check that multiRef
15421 matched validation regexp.
15422
15423 * lisp/net/soap-client.el (soap-encode-xs-simple-type):
15424 Encode xsd:list nodes.
15425 (soap-decode-xs-simple-type): Decode xsd:list nodes.
15426
15427 * lisp/net/soap-client.el (soap-get-candidate-elements):
15428 Fix reference handling.
15429
15430 * lisp/net/soap-client.el (soap-xs-simple-type): Add is-list slot.
15431 (soap-xs-parse-simple-type): Call soap-xs-add-list for xsd:list nodes.
15432 (soap-xs-add-list): New function.
15433
15434 * lisp/net/soap-client.el (soap-encode-xs-element): When a boolean is
15435 expected, interpret nil as "false".
15436
15437 * lisp/net/soap-client.el (soap-make-xs-basic-types): Add gYearMonth,
15438 gYear, gMonthDay, gDay and gMonth.
15439
15440 * lisp/net/soap-client.el (soap-time-format): New variable.
15441 (soap-encode-xs-basic-type): Handle dateTime, time, date,
15442 gYearMonth, gYear, gMonthDay, gDay and gMonth.
15443 (soap-decode-date-time): New function.
15444 (soap-decode-xs-basic-type): Use soap-decode-date-time.
15445
15446 * lisp/net/soap-client.el (soap-encode-xs-basic-type): Validate value
15447 after encoding.
15448 (soap-decode-xs-basic-type): Validate value before decoding.
15449
15450 * lisp/net/soap-client.el (soap-validate-xs-basic-type): New function.
15451 (soap-validate-xs-simple-type): Call soap-validate-xs-basic-type.
15452
15453 * lisp/net/soap-client.el (soap-xs-add-union): Append result to base
15454 instead of overwriting it.
15455 (soap-validate-xs-simple-type): Add union support.
15456
15457 * lisp/net/soap-client.el (soap-xs-add-restriction): Translate pattern
15458 to Emacs regexp using xsdre-translate.
15459 (soap-validate-xs-simple-type): Validate value against pattern.
15460
15461 * lisp/net/soap-client.el (soap-xs-add-union): Preserve WSDL order of
15462 inline simpleType nodes.
15463 (soap-decode-type): Handle union types.
15464
15465 * lisp/net/soap-client.el (soap-decode-xs-attributes): Decode basic-type
15466 attributes.
15467
15468 * lisp/net/soap-client.el (soap-get-xs-attributes-from-groups): Rename
15469 from soap-xs-attribute-group-consolidate, all callers updated
15470 (soap-get-xs-attributes): Rename from
15471 soap-xs-attributes-consolidate, all callers updated
15472
15473 * lisp/net/soap-client.el (soap-xs-type): Add attribute-group slot.
15474 (soap-xs-attribute-group): New type.
15475 (soap-xs-parse-attribute-group): New function.
15476 (soap-resolve-references-for-xs-attribute-group): Likewise.
15477 (soap-xs-add-extension): Handle attribute groups.
15478 (soap-resolve-references-for-xs-simple-type): Likewise.
15479 (soap-xs-parse-complex-type): Likewise.
15480 (soap-xs-parse-extension-or-restriction): Likewise.
15481 (soap-resolve-references-for-xs-complex-type): Likewise.
15482 (soap-xs-attribute-group-consolidate): New function.
15483 (soap-xs-attributes-consolidate): Handle attribute groups.
15484 (soap-parse-schema): Likewise.
15485
15486 * lisp/net/soap-client.el (soap-encode-xs-basic-type):
15487 Fix boolean encoding.
15488
15489 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Print ref
15490 element names in warnings.
15491
15492 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Fix splicing.
15493
15494 * lisp/net/soap-client.el (soap-decode-xs-complex-type):
15495 Eliminate invalid warnings for choice types.
15496
15497 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
15498 Also encode base type attributes.
15499
15500 * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix compilation
15501 warning. Print e-name in warnings, or element if e-name is nil.
15502
15503 * lisp/net/soap-client.el (soap-xs-element): Add alternatives slot.
15504 (soap-xs-parse-element): Set substitution-group.
15505 (soap-resolve-references-for-xs-element): Populate alternatives slot.
15506 (soap-get-candidate-elements): New function.
15507 (soap-encode-xs-complex-type): Iterate through all candidate elements.
15508 Handle types with nil type indicator. Fix warning logic.
15509
15510 * lisp/net/soap-client.el (soap-current-wsdl): Move declaration
15511 earlier in the file to prevent compiler warning.
15512
15513 * lisp/net/soap-client.el (soap-node-optional): New function.
15514 (soap-node-multiple): Likewise.
15515 (soap-xs-parse-element): Call soap-node-optional and
15516 soap-node-multiple.
15517 (soap-xs-complex-type): Add optional? and multiple? slots.
15518 (soap-xml-get-children-fq): New function.
15519 (soap-xs-element-get-fq-name): Likewise.
15520 (soap-xs-complex-type-optional-p): Likewise.
15521 (soap-xs-complex-type-multiple-p): Likewise.
15522 (soap-xs-attributes-consolidate): Likewise.
15523 (soap-decode-xs-attributes): Likewise.
15524 (soap-decode-xs-complex-type): Decode types with nil type indicator.
15525 Support children that use local namespaces. Decode attributes.
15526 Add type considerations to optional? and multiple? warnings.
15527
15528 * lisp/net/soap-client.el (soap-xs-parse-extension-or-restriction):
15529 Store parsed attributes.
15530 (soap-encode-xs-complex-type-attributes): Encode custom attributes.
15531
15532 * lisp/net/soap-client.el (soap-encode-xs-complex-type-attributes):
15533 Don't add the xsi:type attribute (Exchange refuses requests which have
15534 this attribute).
15535
15536 * lisp/net/soap-client.el, lisp/net/soap-inspect.el: Convert to lexical binding,
15537 correct compiler warnings about unused function arguments and
15538 local variables.
15539
15540 * lisp/net/soap-client.el (soap-decode-xs-complex-type): Handle nil
15541 type indicator.
15542 (soap-parse-envelope): Handle response headers.
15543 (soap-parse-response): Likewise. Only return non-nil decoded values.
15544
15545 * lisp/net/soap-client.el (soap-validate-xs-simple-type):
15546 Return validated value.
15547
15548 * lisp/net/soap-client.el (soap-xs-parse-element)
15549 (soap-xs-parse-simple-type)
15550 (soap-xs-parse-complex-type)
15551 (soap-parse-message)
15552 (soap-parse-operation): Add the current namespace to the element
15553 being created.
15554 (soap-resolve-references-for-xs-element)
15555 (soap-resolve-references-for-xs-simple-type)
15556 (soap-resolve-references-for-xs-complex-type)
15557 (soap-resolve-references-for-operation): Resolve the namespace to
15558 the namespace tag.
15559 (soap-make-wsdl): specify a namespace tag when creating the xsd
15560 and soapenc namespaces
15561 (soap-wsdl-resolve-references): don't update namespace tags in
15562 elements here
15563 (soap-parse-port-type): bind the urn: to soap-target-xmlns
15564 (soap-encode-body): don't add nil namespace tags to
15565 soap-encoded-namespaces
15566
15567 * lisp/net/soap-inspect.el: Use `soap-make-wsdl` to construct the object
15568 for registering the soap-inspect method. Make debbugs tests pass.
15569 * lisp/net/soap-client.el (soap-decode-any-type): Use soap-l2fq on the
15570 type name, also skip string only nodes when decoding a structure.
15571 (soap-xs-parse-complex-type): (BUG) Dispatch parsing for choice
15572 types too.
15573 (soap-encode-body): Grab the header value from the param table.
15574
15575 * lisp/net/soap-client.el (soap-should-encode-value-for-xs-element):
15576 New function.
15577 (soap-encode-xs-element): Don't encode nil value unless needed.
15578
15579 * lisp/net/soap-client.el (soap-bound-operation): New slot `soap-body`.
15580 (soap-parse-binding): Parse the message parts required in the body.
15581 (soap-encode-body): Encode only the parts that are declared to be
15582 part of the body.
15583
15584 * lisp/net/soap-client.el (soap-encode-xs-element): use the fq name
15585 when writing out the tag.
15586 (soap-encode-body): Remove hack that inserts the xmlns in the
15587 element attributes list.
15588
15589 * lisp/net/soap-client.el (soap-xs-attribute): Add "default" slot.
15590 (soap-xs-parse-attribute): Default slot is set from the XML
15591 "fixed" attribute.
15592 (soap-encode-xs-complex-type-attributes): Encode any attributes
15593 that have a default value. Also, don't put the xsi:nil attribute
15594 when the complex type has no content anyway.
15595
15596 * lisp/net/soap-client.el (soap-well-known-xmlns):
15597 Add the xml namespace.
15598 (soap-local-xmlns): Start with the xml namespace.
15599 (soap-xml-node-first-child): Skip xsd:annotation nodes too.
15600 (soap-make-xs-basic-types): More xsd types added.
15601 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
15602 Handle "language", "time", "date", "nonNegativeInteger".
15603 (soap-resolve-references-for-xs-element): Don't signal an error if
15604 the element does not have a type.
15605 (soap-xs-parse-simple-type): Subtypes are handled with ecase,
15606 added stum for xsd:list.
15607 (soap-xs-add-union): Call soap-l2fq on all union members.
15608 (soap-xs-add-extension): Call soap-l2fq on the base member.
15609 (soap-resolve-references-for-xs-simple-type): Don't signal an
15610 error if the simple type has no base.
15611 (soap-resolve-references-for-xs-simple-type): Bugfix, call
15612 soap-wsdl-get on each type of the base.
15613
15614 * lisp/net/soap-client.el (soap-resolve-references-for-xs-attribute):
15615 Referenced type can be eiher a simple type or a basic type.
15616 (soap-xs-add-restriction)
15617 (soap-xs-parse-extension-or-restriction): Use `soap-l2fq' on base.
15618 (soap-make-xs-basic-types)
15619 (soap-encode-xs-basic-type, soap-decode-xs-basic-type):
15620 Add support for more XMLSchema basic types.
15621 (soap-current-file, soap-xmlschema-imports): New defvars.
15622 (soap-parse-schema): Add locations from xsd:import tags to
15623 `soap-xmlschema-imports'.
15624 (soap-wsdl): Make destructor private.
15625 (soap-make-wsdl): New defun, SOAP-WSDL object constructor.
15626 (soap-wsdl-add-alias): Check if we try to replace aliases.
15627 (soap-fetch-xml-from-url, soap-fetch-xml-from-file)
15628 (soap-fetch-xml): New defuns.
15629 (soap-load-wsdl): Update to load the WSDL from either a file or
15630 an url.
15631 (soap-load-wsdl-from-url): Now an alias to `soap-load-wsdl'.
15632 (soap-parse-wsdl): Process wsdl:import tags and imports from
15633 `soap-xmlschema-imports'.
15634 * lisp/net/soap-client.el (soap-l2wk): Bugfix: call symbolp instead of
15635 symbol-name.
15636 (soap-l2fq): Make the name part always a string.
15637 (soap-name-p): New defun, used for name tests.
15638
15639 * lisp/net/soap-inspect.el (soap-sample-value-for-xs-complex-type):
15640 Supply sample values for choice types with a special tag.
15641 * lisp/net/soap-client.el (soap-encode-xs-complex-type):
15642 Handle anonymous elements correctly.
15643 (soap-encode-value): Accept nodes that have no namespace tag.
15644
15645 * lisp/net/soap-client.el (soap-invoke): Encode the string for
15646 `url-request-data' as UTF-8. Fixes issue 16.
15647
15648 2015-10-24 Nicolas Petton <nicolas@petton.fr>
15649
15650 Update the new icon
15651
15652 Move the E slightly to the right in the circle.
15653
15654 * etc/images/icons/hicolor/128x128/apps/emacs.png:
15655 * etc/images/icons/hicolor/16x16/apps/emacs.png:
15656 * etc/images/icons/hicolor/24x24/apps/emacs.png:
15657 * etc/images/icons/hicolor/32x32/apps/emacs.png:
15658 * etc/images/icons/hicolor/48x48/apps/emacs.png:
15659 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
15660 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
15661 * nt/icons/emacs.ico: New icom update.
15662
15663 2015-10-24 Eli Zaretskii <eliz@gnu.org>
15664
15665 Avoid missing inline functions from lisp.h in TAGS
15666
15667 * src/lisp.h (LISP_MACRO_DEFUN): Mention in the commentary the
15668 need to end each invocation with a semi-colon.
15669 Add a semi-colon at the end of each invocation of LISP_MACRO_DEFUN
15670 and LISP_MACRO_DEFUN_VOID. This is to avoid missing in TAGS
15671 inline functions defined immediately after each invocation, and
15672 also avoid tagging every invocation of these macros.
15673
15674 2015-10-24 Eli Zaretskii <eliz@gnu.org>
15675
15676 A better fix for bug#21739
15677
15678 * src/buffer.c (set_update_modelines_for_buf): New function.
15679 (Fkill_buffer): Use it to set the global variable
15680 update_mode_lines if the killed buffer was displayed in some
15681 window. Don't set windows_or_buffers_changed. This is a better
15682 fix for bug#21739 than the previous fix, since it will cause only
15683 redisplay of mode lines, not of entire windows, but will still
15684 catch attention of x_consider_frame_title in xdisp.c, which
15685 redraws the frame title.
15686
15687 2015-10-24 Tassilo Horn <tsdh@gnu.org>
15688
15689 * lisp/dired-aux.el (dired-compress-files-alist): Add support for
15690 tar.bz2 and tar.xz archives.
15691
15692 2015-10-23 Eli Zaretskii <eliz@gnu.org>
15693
15694 Fix infloop in redisplay introduced by a recent change
15695
15696 * src/xdisp.c (redisplay_internal): Avoid inflooping when
15697 redisplaying the selected window sets the selected frame's
15698 redisplay flag. (Bug#21745)
15699
15700 2015-10-23 Nicolas Petton <nicolas@petton.fr>
15701
15702 * lisp/emacs-lisp/thunk.el: Better documentation.
15703
15704 2015-10-23 Nicolas Petton <nicolas@petton.fr>
15705
15706 Replace the old icon for Windows and Mac OSX
15707
15708 * nt/icons/emacs.ico:
15709 * nextstep/Cocoa/Emacs.base/Contents/Resources/Emacs.icns:
15710 Use the new icons.
15711
15712 2015-10-23 Stephen Leake <stephen_leake@stephe-leake.org>
15713
15714 * lisp/emacs-lisp/package.el (package-autoload-ensure-default-file):
15715 `load-path' should contain only directory names.
15716
15717 2015-10-23 Nicolas Petton <nicolas@petton.fr>
15718
15719 New library thunk.el
15720
15721 thunk.el is extracted from stream.el in ELPA, with additional tests.
15722
15723 * lisp/emacs-lisp/thunk.el: New file.
15724 * test/automated/thunk-tests.el: New file.
15725 * etc/NEWS: Add information about thunk.el
15726
15727 2015-10-23 Michael Albinus <michael.albinus@gmx.de>
15728
15729 Fix bug#21669
15730
15731 * lisp/filenotify.el (file-notify-rm-watch): Improve check for
15732 calling low-level functions.
15733
15734 * test/automated/file-notify-tests.el (file-notify--test-timeout):
15735 Decrase to 6 seconds for remote directories.
15736 (file-notify-test02-events): Expect different number of
15737 `attribute-changed' events for the local and remote cases. Apply
15738 short delays between the operations, in order to receive all
15739 events in the remote case. Combine `attribute-change' tests.
15740 (Bug#21669)
15741
15742 2015-10-23 Eli Zaretskii <eliz@gnu.org>
15743
15744 Decode the HTML source when displaying it in EWW
15745
15746 * lisp/net/eww.el (eww-view-source): Decode the HTML source
15747 according to its headers.
15748
15749 2015-10-23 Nicolas Petton <nicolas@petton.fr>
15750
15751 New default icon
15752
15753 * etc/images/icons/hicolor/128x128/apps/emacs23.png:
15754 * etc/images/icons/hicolor/16x16/apps/emacs23.png:
15755 * etc/images/icons/hicolor/24x24/apps/emacs23.png:
15756 * etc/images/icons/hicolor/32x32/apps/emacs23.png:
15757 * etc/images/icons/hicolor/48x48/apps/emacs23.png:
15758 * etc/images/icons/hicolor/scalable/apps/emacs23.svg:
15759 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document23.svg:
15760 Move the old logo files to emacs23.*.
15761 * etc/images/icons/hicolor/128x128/apps/emacs.png:
15762 * etc/images/icons/hicolor/16x16/apps/emacs.png:
15763 * etc/images/icons/hicolor/24x24/apps/emacs.png:
15764 * etc/images/icons/hicolor/32x32/apps/emacs.png:
15765 * etc/images/icons/hicolor/48x48/apps/emacs.png:
15766 * etc/images/icons/hicolor/scalable/apps/emacs.svg:
15767 * etc/images/icons/hicolor/scalable/mimetypes/emacs-document.svg:
15768 New files.
15769 * etc/images/icons/README: Update the copyright information.
15770
15771 2015-10-23 Eli Zaretskii <eliz@gnu.org>
15772
15773 Fix redisplay of frame title when current buffer is killed
15774
15775 * src/buffer.c (Fkill_buffer): Set windows_or_buffers_changed to a
15776 non-zero value, to redisplay more than just the affected windows.
15777 (Bug#21739)
15778
15779 2015-10-23 Anders Lindgren <andlind@gmail.com>
15780
15781 NextStep maximization and NSTRACE rewrite
15782
15783 Full-height, full-width, and maximized windows now cover the
15784 entire screen (except the menu bar), including the part where the
15785 system dock is placed. The system zoom animation is no longer
15786 used.
15787
15788 Made NonMaximized->FullWidth->FullHeight->NonMaximized restore the
15789 original size.
15790
15791 * src/nsterm.m (ns_menu_bar_height): New function, return height of
15792 the menu bar, or 0 when it's hidden.
15793 (constrain_frame_rect): New function for constraining a frame.
15794 (ns_constrain_all_frames): Set frame size explicitly rather than
15795 relying on the system doing it for us by writing back the current
15796 frame size.
15797 (windowWillUseStandardFrame): Register non-maximized width or
15798 height as new user size. When entering full width or height,
15799 the other size component is taken from the user size.
15800 (fullscreenState): New method for accessing the fullscreen state.
15801 (constrainFrameRect): Restrict frame to be placed under the menu bar,
15802 if present. The old version, sometimes, restricted the height of a
15803 frame to the screen, this version never does this.
15804 (zoom): Perform zoom by setting the frame to the full size of the
15805 screen (minus the menu bar). The default system function, with the
15806 zoom animation, is no longer used, as the final frame size doesn't
15807 cover the entire screen.
15808
15809 Rework how to constrain resizing to the character grid. The old
15810 system used "resizeIncrements" in NSWindows. However, once a frame
15811 was resized so that it was not aligned to the text grid, it
15812 remained unaligned even after a resize. In addition, it conflicted
15813 when resizing a fullheight window.
15814
15815 * src/nsterm.m (windowWillResize): Restrict frame size to text grid,
15816 unless when pixelwise frame resizing is enabled.
15817 (updateFrameSize, initFrameFromEmacs)
15818 (toggleFullScreen, handleFS): Don't set resizeIncrements.
15819
15820 Redesign the NS trace system. The call structure is represented
15821 using indentations and vertical lines. The NSTRACE macro accepts
15822 printf-style arguments. New macros for printing various
15823 information.
15824
15825 * src/nsterm.h (NSTRACE_ENABLED): Macro to enable trace system.
15826 (NSTRACE, NSTRACE_WHEN, NSTRACE_UNLESS): Macros to start a new
15827 block (typically a function), accept printf-style arguments.
15828 (NSTRACE_MSG): Macro for extra information, accepts
15829 printf-style arguments.
15830 (NSTRACE_what): Macros for printing various types.
15831 (NSTRACE_FMT_what): Macro with printf format string snippets.
15832 (NSTRACE_ARG_what): Macros for passing printf-style arguments,
15833 corresponds to NSTRACE_FMT_what.
15834 (NSTRACE_RETURN): Macro to print return value, accept
15835 printf-style arguments.
15836 (NSTRACE_RETURN_what): Macros to print return value for
15837 various types.
15838
15839 * src/nsterm.m: Remove old NSTRACE macro
15840 * src/nsterm.m (nstrace_num): Trace counter.
15841 (nstrace_depth): Current call depth.
15842 (nstrace_leave): NSTRACE support function, called when the
15843 local variable "nstrace_enabled" goes out of scope using the
15844 "cleanup" extension.
15845 (ns_print_fullscreen_type_name): NSTRACE_FSTYPE support function.
15846 (constrain_frame_rect, ns_constrain_all_frames)
15847 (ns_update_auto_hide_menu_bar, ns_update_begin)
15848 (ns_update_window_begin, update_window_end, ns_update_end)
15849 (ns_focus, ns_unfocus, ns_ring_bell, ns_frame_raise_lower)
15850 (ns_frame_rehighlight, x_make_frame_visible)
15851 (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources)
15852 (x_destroy_window, x_set_offset, x_set_window_size)
15853 (ns_fullscreen_hook, ns_lisp_to_color, ns_color_to_lisp)
15854 (ns_defined_color, frame_set_mouse_pixel_position)
15855 (note_mouse_movement, ns_mouse_position, ns_frame_up_to_date)
15856 (ns_define_frame_cursor, x_get_keysym_name, ns_redraw_scroll_bars)
15857 (ns_clear_frame, ns_clear_frame_area, ns_scroll_run)
15858 (ns_after_update_window_line, ns_shift_glyphs_for_insert)
15859 (dumpcursor, ns_draw_vertical_window_border)
15860 (ns_draw_window_divider, ns_draw_relief)
15861 (ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
15862 (ns_dumpglyphs_image, ns_draw_glyph_string, ns_send_appdefined)
15863 (ns_read_socket, ns_select, ns_set_vertical_scroll_bar)
15864 (ns_set_horizontal_scroll_bar, ns_condemn_scroll_bars)
15865 (ns_redeem_scroll_bar, ns_judge_scroll_bars, ns_delete_terminal)
15866 (ns_create_terminal, ns_term_init, sendEvent)
15867 (applicationDidFinishLaunching, applicationDidBecomeActive)
15868 (timeout_handler, fd_handler, EmacsView_dealloc, changeFont)
15869 (acceptsFirstResponder, resetCursorRects, keyDown, mouseDown)
15870 (deltaIsZero, rightMouseDown, otherMouseDown, mouseUp)
15871 (rightMouseUp, otherMouseUp, scrollWheel, mouseMoved)
15872 (mouse_autoselect_window, in_window, mouseDragged)
15873 (rightMouseDragged, otherMouseDragged, windowShouldClose)
15874 (updateFrameSize, windowWillResize, windowDidResize)
15875 (windowDidBecomeKey, windowDidResignKey, windowWillMiniaturize)
15876 (initFrameFromEmacs, windowDidMove, windowDidDeminiaturize)
15877 (windowDidExpose, windowDidMiniaturize, windowWillEnterFullScreen)
15878 (windowDidEnterFullScreen, windowWillExitFullScreen)
15879 (windowDidExitFullScreen, toggleFullScreen, handleFS, setFSValue)
15880 (mouseEntered, mouseExited, menuDown, toolbarClicked, drawRect)
15881 (draggingEntered, performDragOperation, validRequestorForSendType)
15882 (setMiniwindowImage, constrainFrameRect, performZoom, zoom)
15883 (EmacsScroller_initFrame, EmacsScroller_setFrame)
15884 (EmacsScroller_dealloc, condemn, reprieve, judge)
15885 (resetCursorRects, setPosition, EmacsScroller_mouseDown)
15886 (EmacsScroller_mouseDragged, syms_of_nsterm): Use new trace system.
15887
15888 * src/nsfns.m: Remove old NSTRACE macro
15889 * src/nsfns.m (x_set_icon_name, ns_set_name, x_explicitly_set_name)
15890 (x_implicitly_set_name, x_set_title, ns_set_name_as_filename)
15891 (ns_implicitly_set_icon_type, x_set_icon_type): Use new trace system.
15892
15893 * src/nsimage.m: Remove old NSTRACE macro
15894 * src/nsimage.m (ns_image_from_XBM, ns_image_for_XPM)
15895 (ns_image_from_bitmap_file, ns_load_image): Use new trace system.
15896
15897 * src/nsmenu.m: Remove old NSTRACE macro
15898 * src/nsmenu.m (ns_update_menubar, ns_menu_show, ns_popup_dialog):
15899 Use new trace system.
15900
15901 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
15902
15903 No need to use eval-and-compile
15904
15905 * lisp/gnus/auth-source.el: Do require epg (when compiling) before
15906 autoload epg functions.
15907
15908 2015-10-22 Katsumi Yamaoka <yamaoka@jpl.org>
15909
15910 Fix auth-source-epa-make-gpg-token compilation (bug#21724)
15911
15912 * lisp/gnus/auth-source.el: Add eval-and-compile to autoloads for
15913 epg-context-set-passphrase-callback, epg-decrypt-string, and
15914 epg-encrypt-string; require epg when compiling for the setf-method
15915 for epg-context-armor. (bug#21724)
15916
15917 2015-10-22 Eli Zaretskii <eliz@gnu.org>
15918
15919 Include file cleanup for w32 files in src directory
15920
15921 * src/w32xfns.c: Don't include keyboard.h, window.h, charset.h,
15922 fontset.h, blockinput.h.
15923 * src/w32uniscribe.c: Don't include dispextern.h, character.h,
15924 charset.h, fontset.h.
15925 * src/w32term.c: Don't include systty.h, systime.h, charset.h,
15926 character.h, ccl.h, dispextern.h, disptab.h, intervals.h,
15927 process.h, atimer.h, keymap.h, w32heap.h. Include bitmap/gray.xbm
15928 in an ifdef-ed away block.
15929 Include fcntl.h for CYGWIN.
15930 (set_frame_param): Remove unused function.
15931 * src/w32select.c: Don't include charset.h and composite.h.
15932 (setup_config, Fw32_get_clipboard_data): Avoid compiler warnings
15933 due to pointer signedness mismatches.
15934 * src/w32reg.c (w32_get_string_resource): Avoid compiler warnings
15935 due to pointer signedness mismatches.
15936 * src/w32proc.c: Include unistd.h. Don't include systime.h,
15937 process.h, dispextern.h.
15938 (sys_spawnve, Fw32_short_file_name, Fw32_long_file_name)
15939 (Fw32_application_type): Avoid compiler warnings due to pointer
15940 signedness mismatches.
15941 * src/w32menu.c: Don't include keymap.h, termhooks.h, window.h,
15942 character.h, charset.h, dispextern.h.
15943 (simple_dialog_show, add_menu_item): Avoid compiler warnings due
15944 to pointer signedness mismatches.
15945 * src/w32inevt.c: Don't include dispextern.h, window.h,
15946 termhooks.h, w32heap.h.
15947 * src/w32font.c: Don't include dispextern.h, character.h,
15948 charset.h, fontset.h, font.h.
15949 (intern_font_name, add_font_entity_to_list)
15950 (registry_to_w32_charset, w32_to_x_charset, fill_in_logfont)
15951 (list_all_matching_fonts): Avoid compiler warnings due to pointer
15952 signedness mismatches.
15953 * src/w32fns.c: Don't include character.h, intervals.h,
15954 dispextern.h, epaths.h, charset.h, ccl.h, fontset.h, systime.h,
15955 termhooks.h, w32heap.h, bitmap/gray.xbm, font.h, w32font.h.
15956 (w32_color_map_lookup, add_system_logical_colors_to_map)
15957 (x_decode_color, x_set_name, FPRINTF_WM_CHARS, Fxw_color_defined_p)
15958 (Fxw_color_values, x_display_info_for_name, Fset_message_beep)
15959 (x_create_tip_frame, Fx_file_dialog, Fsystem_move_file_to_trash)
15960 (w32_parse_hot_key, Ffile_system_info, w32_kbd_patch_key): Avoid
15961 compiler warnings, mainly due to pointer signedness mismatches.
15962 (unwind_create_frame_1): Remove unused function.
15963 * src/w32console.c: Don't include character.h, disptab.h, frame.h,
15964 window.h, termhooks.h, dispextern.h.
15965 (w32con_write_glyphs, w32con_write_glyphs_with_face): Fix pointer
15966 signedness mismatch.
15967 * src/w32.c: Include c-strcase.h and systty.h. Don't include
15968 w32heap.h.
15969
15970 2015-10-22 Tassilo Horn <tsdh@gnu.org>
15971
15972 Improve doc-view wrt. auto-revert-mode
15973
15974 * lisp/doc-view.el (doc-view-revert-buffer): Don't revert when file
15975 is corrupted (bug#21729).
15976 (doc-view-mode): Set doc-view-revert-buffer as revert-buffer-function.
15977
15978 2015-10-22 Oleh Krehel <ohwoeowho@gmail.com>
15979
15980 Describe dired-do-compress-to in the manual
15981
15982 * etc/NEWS: Update.
15983
15984 * lisp/dired-aux.el: Fix typo.
15985
15986 * doc/emacs/dired.texi: Add entry.
15987
15988 2015-10-22 Jürgen Hötzel <juergen@archlinux.org>
15989
15990 Further fix for proper locale handling in tramp-gvfs.el
15991
15992 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
15993 Just suppress LC_MESSAGES locale category settings.
15994
15995 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
15996
15997 New lispref section “Security Considerations”
15998
15999 This attempts to document some of the issues recently discussed
16000 on emacs-devel, and to indicate other such issues. The section
16001 could be a lot longer.
16002 * doc/lispref/os.texi (Security Considerations):
16003 New node.
16004 * doc/lispref/elisp.texi (Top):
16005 * doc/lispref/processes.texi (Shell Arguments):
16006 * lisp/subr.el (shell-quote-argument):
16007 * src/callproc.c (syms_of_callproc):
16008 Reference it.
16009
16010 2015-10-21 Paul Eggert <eggert@cs.ucla.edu>
16011
16012 Merge from gnulib
16013
16014 This incorporates:
16015 2015-10-18 stdalign: work around pre-4.9 GCC x86 bug
16016 2015-10-18 time_rz: avoid warning from bleeding-edge gcc's -Wnonnull
16017 * doc/misc/texinfo.tex, lib/stdalign.in.h, lib/time_rz.c:
16018 Copy from gnulib.
16019
16020 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
16021
16022 * lisp/gnus/mailcap.el (mailcap-mime-data): Remove fboundp checks.
16023 (mailcap-viewer-passes-test): Do it instead. Thanks to Stefan Monnier.
16024
16025 2015-10-21 Ken Brown <kbrown@cornell.edu>
16026
16027 Further include-file cleanup
16028
16029 * src/sheap.c: Include stdlib.h.
16030 * src/unexcw.c: Include string.h.
16031
16032 2015-10-21 Eli Zaretskii <eliz@gnu.org>
16033
16034 Fix logic in 'server-kill-emacs-query-function'
16035
16036 * lisp/server.el (server-kill-emacs-query-function): Correct the
16037 logic that controls whether the user is asked for confirmation.
16038 (Bug#21723)
16039
16040 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
16041
16042 * lisp/isearch.el (isearch-search-fun-default): Simplify logic.
16043 (isearch--lax-regexp-function-p): New function.
16044
16045 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
16046
16047 * lisp/isearch.el: Support lax-whitespace in regexp-function searches.
16048 (isearch-search-fun-default): Let-bind `search-spaces-regexp'
16049 around `isearch-regexp-function'.
16050
16051 2015-10-21 Artur Malabarba <bruce.connor.am@gmail.com>
16052
16053 * lisp/isearch.el: Rename word search to regexp-function search.
16054 `isearch-word' went well beyond its original purpose, and the name
16055 no longer makes sense. It is now called
16056 `isearch-regexp-function', and its value should always be a function
16057 that converts a string to a regexp (though setting it to t is still
16058 supported for now).
16059 (isearch-word): Make obsolete.
16060 (isearch-regexp-function): New variable.
16061 (isearch-mode, isearch-done, isearch--state, isearch--set-state)
16062 (with-isearch-suspended, isearch-toggle-regexp)
16063 (isearch-toggle-word, isearch-toggle-symbol)
16064 (isearch-toggle-character-fold, isearch-query-replace)
16065 (isearch-occur, isearch-highlight-regexp)
16066 (isearch-search-and-update, isearch-message-prefix)
16067 (isearch-search-fun-default, isearch-search)
16068 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16069 Use it.
16070 (isearch-lazy-highlight-regexp-function): New var.
16071 (isearch-lazy-highlight-word): Make obsolete.
16072 (isearch--describe-regexp-mode): New function.
16073 (isearch--describe-word-mode): Make obsolete.
16074
16075 * lisp/info.el (Info-isearch-search):
16076 * lisp/replace.el (replace-search, replace-highlight):
16077 * lisp/obsolete/longlines.el (longlines-search-function):
16078 * lisp/hexl.el (hexl-isearch-search-function):
16079 * lisp/cedet/semantic/senator.el (senator-isearch-search-fun):
16080 Use the new var.
16081
16082 2015-10-21 Oleh Krehel <ohwoeowho@gmail.com>
16083
16084 Add dired-do-compress-to command bound to "c"
16085
16086 * lisp/dired-aux.el (dired-shell-command): Use the caller's
16087 `default-directory', return the result of `process-file'.
16088 (dired-compress-file-suffixes): Add comment on why "tar -zxf" isn't
16089 used by default.
16090 (dired-compress-files-alist): New defvar.
16091 (dired-do-compress-to): New command.
16092
16093 * lisp/dired.el (dired-mode-map): Bind `dired-do-compress-to' to "c".
16094 (dired-do-compress-to): Add an autoload entry.
16095
16096 * etc/NEWS: Add two entries.
16097
16098 2015-10-21 Tassilo Horn <tsdh@gnu.org>
16099
16100 Make RefTeX work with LaTeX subfiles package
16101
16102 * lisp/textmodes/reftex.el (reftex-TeX-master-file): Recognize subfiles
16103 document class argument as master file for referencing purposes.
16104
16105 2015-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
16106
16107 * lisp/gnus/mailcap.el (mailcap-mailcap-entry-passes-test): Doc fix.
16108
16109 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
16110
16111 Include-file cleanup for src directory
16112
16113 Omit ‘#include "foo.h"’ unless the file needs foo.h (Bug#21707).
16114 In a few cases, add ‘#include "foo.h"’ if the file needs foo.h
16115 but does not include it directly. As a general rule, a source
16116 file should include foo.h if it needs the interfaces that foo.h
16117 defines.
16118 * src/alloc.c: Don’t include process.h. Include dispextern.h,
16119 systime.h.
16120 * src/atimer.c: Don’t include blockinput.h.
16121 * src/buffer.c: Include coding.h, systime.h. Don’t include
16122 keyboard.h, coding.h.
16123 * src/callint.c: Don’t include commands.h, keymap.h.
16124 * src/callproc.c: Don’t include character.h, ccl.h, composite.h,
16125 systty.h, termhooks.h.
16126 * src/casetab.c: Don’t include character.h.
16127 * src/category.c: Don’t include charset.h, keymap.h.
16128 * src/ccl.h: Don’t include character.h.
16129 * src/character.c: Don’t include charset.h.
16130 * src/charset.c: Don’t include disptab.h.
16131 * src/chartab.c: Don’t include ccl.h.
16132 * src/cm.c: Don’t include frame.h, termhooks.h.
16133 * src/cmds.c: Don’t include window.h, dispextern.h.
16134 * src/coding.c: Don’t include window.h, frame.h.
16135 * src/composite.c: Include composite.h. Don’t include window.h,
16136 font.h.
16137 * src/data.c: Don’t include syssignal.h, termhooks.h, font.h.
16138 * src/dbusbind.c: Don’t include frame.h.
16139 * src/decompress.c: Don’t include character.h.
16140 * src/dired.c: Don’t include character.h, commands.h, charset.h.
16141 * src/dispnew.c: Don’t include character.h, indent.h, intervals.h,
16142 process.h, timespec.h. Include systime.h.
16143 * src/doc.c: Include coding.h. Don’t include keyboard.h.
16144 * src/editfns.c: Include composite.h. Don’t include frame.h.
16145 * src/emacs.c: Include fcntl.h, coding.h. Don’t include
16146 commands.h, systty.h..
16147 * src/fileio.c: Don’t include intervals.h, dispextern.h.
16148 Include composite.h.
16149 * src/filelock.c: Don’t include character.h, systime.h.
16150 * src/fns.c: Don’t include time.h, commands.h, keyboard.h,
16151 keymap.h, frame.h, blockinput.h, xterm.h. Include composite.h.
16152 * src/font.c: Include termhooks.h.
16153 * src/font.h: Don’t include ccl.h, frame.h. Add forward decls of
16154 struct composition_it, struct face, struct glyph_string.
16155 * src/fontset.c: Don’t include buffer.h, ccl.h, keyboard.h,
16156 intervals.h, window.h, termhooks.h.
16157 * src/frame.c: Don’t include character.h, commands.h, font.h.
16158 * src/frame.h: Don’t include dispextern.h.
16159 * src/fringe.c: Don’t include character.h.
16160 * src/ftcrfont.c: Don’t include dispextern.h, frame.h,
16161 character.h, charset.h, fontset.h.
16162 * src/ftfont.c: Don’t include frame.h, blockinput.h, coding.h,
16163 fontset.h.
16164 * src/ftxfont.c: Don’t include dispextern.h, character.h,
16165 charset.h, fontset.h.
16166 * src/gfilenotify.c: Don’t include frame.h, process.h.
16167 * src/gtkutil.c: Include dispextern.h, frame.h, systime.h.
16168 Don’t include syssignal.h, buffer.h, charset.h, font.h.
16169 * src/gtkutil.h: Don’t include frame.h.
16170 * src/image.c: Include fcntl.h and stdio.h instead of sysstdio.h.
16171 Don’t include character.h.
16172 * src/indent.c: Don’t include keyboard.h, termchar.h.
16173 * src/inotify.c: Don’t include character.h, frame.h.
16174 * src/insdel.c: Include composite.h. Don’t include blockinput.h.
16175 * src/intervals.c: Don’t include character.h, keyboard.h.
16176 * src/intervals.h: Don’t include dispextern.h, composite.h.
16177 * src/keyboard.c: Don’t include sysstdio.h, disptab.h, puresize.h.
16178 Include coding.h.
16179 * src/keyboard.h: Don’t incldue systime.h.
16180 * src/keymap.c: Don’t include charset.h, frame.h.
16181 * src/lread.c: Include dispextern.h and systime.h.
16182 Don’t include frame.h. Include systime.h.
16183 * src/macros.c: Don’t include commands.h, character.h, buffer.h.
16184 * src/menu.c: Include character.h, coding.h. Don’t include
16185 dispextern.h.
16186 * src/menu.h: Don’t include systime.h.
16187 * src/minibuf.c: Don’t include commands.h, dispextern.h, syntax.h,
16188 intervals.h, termhooks.h.
16189 * src/print.c: Include coding.h. Don’t include keyboard.h,
16190 window.h, dispextern.h, termchar.h, termhooks.h, font.h.
16191 Add forward decl of struct terminal.
16192 * src/process.c: Don’t include termhooks.h, commands.h,
16193 dispextern.h, composite.h.
16194 * src/region-cache.c: Don’t include character.h.
16195 * src/scroll.c: Don’t include keyboard.h, window.h.
16196 * src/search.c: Don’t include category.h, commands.h.
16197 * src/sound.c: Don’t include dispextern.h.
16198 * src/syntax.c: Don’t include command.h, keymap.h.
16199 * src/sysdep.c: Don’t include window.h, dispextern.h.
16200 * src/systime.h: Use ‘#ifdef emacs’, not ‘#ifdef EMACS_LISP_H’,
16201 * src/term.c: Don’t include systty.h, intervals.h, xterm.h.
16202 * src/terminal.c: Include character.h.
16203 Don’t include charset.h, coding.h.
16204 * src/textprop.c: Don’t include character.h.
16205 * src/undo.c: Don’t include character.h, commands.h, window.h.
16206 * src/unexsol.c: Don’t include character.h, charset.h.
16207 * src/widget.c: Include widget.h. Don’t include keyboard.h,
16208 window.h, dispextern.h, blockinput.h, character.h, font.h.
16209 * src/widgetprv.h: Don’t include widget.h.
16210 * src/window.c: Don’t include character.h, menu.h, intervals.h.
16211 * src/xdisp.c: Include composite.h, systime.h. Don’t include
16212 macros.h, process.h.
16213 * src/xfaces.c: Don’t include charset.h, keyboard.h, termhooks.h,
16214 intervals.h.
16215 * src/xfns.c: Don’t include menu.h, character.h, intervals.h,
16216 epaths.h, fontset.h, systime.h, atimer.h, termchar.h.
16217 * src/xfont.c: Don’t include dispextern.h, fontset.h, ccl.h.
16218 * src/xftfont.c: Don’t include dispextern.h, character.h, fontset.h.
16219 * src/xgselect.c: Don’t include timespec.h, frame.h.
16220 Include systime.h.
16221 * src/xgselect.h: Don’t include time.h.
16222 Use a forward decl to struct timespec instead.
16223 * src/xmenu.c: Don’t include keymap.h, character.h, charset.h,
16224 dispextern.h. Include systime.h.
16225 * src/xml.c: Don’t include character.h.
16226 * src/xrdb.c [USE_MOTIF]: Don’t include keyboard.h.
16227 * src/xselect.c: Don’t include dispextern.h, character.h,
16228 buffer.h, process.h.
16229 * src/xsmfns.c: Don’t include systime.h, sysselect.h.
16230 * src/xterm.c: Don’t include syssignal.h, charset.h, disptab.h,
16231 intervals.h process.h, keymap.h, xgselect.h. Include composite.h.
16232
16233 2015-10-20 Paul Eggert <eggert@cs.ucla.edu>
16234
16235 (/ N) now returns the reciprocal of N
16236
16237 This is more compatible with Common Lisp and XEmacs (Bug#21690). See:
16238 http://lists.gnu.org/archive/html/emacs-devel/2015-10/msg01053.html
16239 * lisp/color.el (color-hue-to-rgb, color-hsl-to-rgb)
16240 (color-xyz-to-srgb, color-xyz-to-lab):
16241 * lisp/emacs-lisp/cl-extra.el (cl-float-limits):
16242 * lisp/net/shr-color.el (shr-color-hue-to-rgb)
16243 (shr-color-hsl-to-rgb-fractions):
16244 Exploit the change to simplify the code a bit.
16245 * lisp/emacs-lisp/bytecomp.el (byte-compile-quo):
16246 Don’t complain about single-argument calls to ‘/’.
16247 * src/data.c (arith_driver, float_arith_driver):
16248 Implement the change.
16249
16250 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
16251
16252 Call vc-dir-refresh after stash operations
16253
16254 * lisp/vc/vc-git.el (vc-git-stash-apply-at-point)
16255 (vc-git-stash-pop-at-point): Call vc-dir-refresh (bug#13960).
16256
16257 * lisp/vc/vc-dir.el (vc-dir-resynch-file): Expand FNAME as well,
16258 since it can be abbreviated (as returned by vc-find-root).
16259
16260 2015-10-20 Dmitry Gutov <dgutov@yandex.ru>
16261
16262 * lisp/vc/vc-svn.el:
16263 * lisp/vc/vc-mtn.el:
16264 * lisp/vc/vc-hg.el:
16265 * lisp/vc/vc-cvs.el:
16266 * lisp/vc/vc-git.el:
16267 * lisp/vc/vc-bzr.el: Don't declare vc-exec-after anymore.
16268 Its usages have been replaced with vc-run-delayed.
16269
16270 2015-10-20 Dima Kogan <dima@secretsauce.net>
16271
16272 Fix memory leak in fontset handling
16273
16274 * src/font.c (copy_font_spec): Make a deep copy of the input
16275 argument FONT. (Bug#21651)
16276
16277 2015-10-20 Michael Sperber <mike@xemacs.org>
16278
16279 * lisp/gnus/mailcap.el (mailcap-mime-data):
16280 Conditonalize `doc-view-mode', which does not exist on XEmacs.
16281
16282 2015-10-20 Oleh Krehel <ohwoeowho@gmail.com>
16283
16284 Update the way directories are compressed
16285
16286 * lisp/dired-aux.el (dired-compress-file-suffixes): Update the recipe
16287 for *.tar.gz decompression to use a pipe.
16288 Add an entry for the default directory compression (to *.tar.g).
16289 (dired-compress-file): Update.
16290
16291 See https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg00949.html.
16292
16293 2015-10-20 Michael Sperber <mike@xemacs.org>
16294
16295 Unbreak `group' option for `mail-sources'
16296
16297 * lisp/gnus/nnml.el (nnml-retrieve-groups, nnml-request-scan):
16298 * lisp/gnus/nnmail.el (nnmail-get-new-mail-per-group)
16299 (nnmail-get-new-mail-1): Unbreak `group' option for `mail-sources'.
16300
16301 2015-10-19 Nicolas Petton <nicolas@petton.fr>
16302
16303 New function seq-position
16304
16305 * lisp/emacs-lisp/seq.el (seq-position): New function.
16306 * test/automated/seq-tests.el: New tests for seq-position.
16307 * doc/lispref/sequences.texi: Add documentation for `seq-position'.
16308
16309 2015-10-19 Ken Brown <kbrown@cornell.edu>
16310
16311 Enable --with-wide-int build on 32-bit Cygwin
16312
16313 * src/sheap.c (STATIC_HEAP_SIZE): Remove distinction between x86
16314 and x86_64 to enable --with-wide-int build on 32-bit Cygwin.
16315
16316 2015-10-19 Glenn Morris <rgm@gnu.org>
16317
16318 * doc/emacs/ack.texi (Acknowledgments): Small, sad, update.
16319
16320 2015-10-19 Eli Zaretskii <eliz@gnu.org>
16321
16322 Resurrect image loading under auto-image-file-mode
16323
16324 * src/image.c (x_find_image_fd): Handle the case of -2 returned by
16325 'openp' specially. This special case was lost in the changes on
16326 2015-08-18. (Bug#21685)
16327
16328 2015-10-19 Eli Zaretskii <eliz@gnu.org>
16329
16330 Fix return value of 'set-file-extended-attributes'
16331
16332 * lisp/files.el (set-file-extended-attributes): Return non-nil
16333 when setting either ACLs or SELinux context succeeds. Document
16334 the return value. (Bug#21699)
16335
16336 * doc/lispref/files.texi (Changing Files): Document the return
16337 value of set-file-extended-attributes.
16338
16339 2015-10-19 Eli Zaretskii <eliz@gnu.org>
16340
16341 Improve documentation of functions that change files
16342
16343 * doc/lispref/files.texi (Changing Files): Document that these
16344 functions signal an error on failure.
16345
16346 2015-10-18 Eli Zaretskii <eliz@gnu.org>
16347
16348 Fix doc string of 'shell-quote-argument'
16349
16350 * lisp/subr.el (shell-quote-argument): Doc fix. (Bug#21702)
16351
16352 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
16353
16354 Some minor Tramp changes
16355
16356 * doc/misc/tramp.texi (Obtaining Tramp): Add http git cloning.
16357
16358 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
16359 Expand `tramp-auto-save-directory'.
16360
16361 2015-10-18 Michael Albinus <michael.albinus@gmx.de>
16362
16363 Minor edits in Tramp
16364
16365 * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
16366 Declare it.
16367
16368 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
16369 Remove declaration.
16370
16371 2015-10-17 Mark Oteiza <mvoteiza@udel.edu>
16372
16373 * lisp/emacs-lisp/eldoc.el: Add back-to-indentation to the command list.
16374
16375 2015-10-17 Eli Zaretskii <eliz@gnu.org>
16376
16377 Avoid crashes when redisplayng a window changes faces or fonts
16378
16379 * src/xdisp.c (redisplay_internal): If redisplaying the selected
16380 window or one of the frames turns on the frame's 'redisplay' flag,
16381 redisplay again. (Bug#21428)
16382
16383 * src/frame.c (x_set_font): Set the frame's 'fonts_changed' flag.
16384
16385 2015-10-17 Michael Albinus <michael.albinus@gmx.de>
16386
16387 Solve timimg issues in file-notify-tests.el
16388
16389 * test/automated/file-notify-tests.el (file-notify-test02-events):
16390 Rectify `attribute-change' tests. There are timing issues with
16391 gfilenotify. (Bug#21669)
16392
16393 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
16394
16395 Fix quoting of data within htmlfontify doc
16396
16397 * doc/misc/htmlfontify.texi (Data Structures, Customization):
16398 Fix quoting of data structures. A Lisp quote is needed only
16399 when data appears within Lisp code.
16400
16401 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
16402
16403 * lisp/emacs-lisp/package.el: Reload archive-contents if
16404 priorities change.
16405 (package--old-archive-priorities): New variable.
16406 (package-read-all-archive-contents, package-menu--refresh): Use it
16407 to decide when the `package-archive-contents' needs to be read
16408 again.
16409
16410 2015-10-16 Paul Eggert <eggert@cs.ucla.edu>
16411
16412 Make src headers idempotent and standalone
16413
16414 Redo src/*.h so that each include file is idempotent (that is, can
16415 be included multiple times with the latter inclusions having no
16416 effect) and standalone (that is, can be included by itself,
16417 with no include file other than config.h needed as a prerequisite).
16418 This is standard practice in GNU programs nowadays.
16419 * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
16420 * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
16421 * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
16422 * src/regex.h [emacs]:
16423 * src/syntax.h, src/systty.h, src/termhooks.h:
16424 Include lisp.h, for Lisp_Object.
16425 * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
16426 * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
16427 * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
16428 * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
16429 * src/termopts.h, src/tparam.h, src/unexec.h:
16430 Protect against multiple inclusion.
16431 * src/buffer.h: Include character.h, for STRING_CHAR.
16432 * src/emacsgtkfixed.h (struct frame):
16433 * src/fontset.h (struct face):
16434 * src/region-cache.h (struct buffer):
16435 * src/termhooks.h (struct glyph):
16436 * src/xsettings.h (struct x_display_info):
16437 Add possibly-forward decl.
16438 * src/syntax.h: Include buffer.h, for BVAR.
16439 * src/sysselect.h: Include lisp.h, for eassume.
16440 * src/termchar.h: Include <stdio.h>, for FILE.
16441 * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
16442 * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
16443
16444 2015-10-16 Jürgen Hötzel <juergen@archlinux.org>
16445
16446 Handle symlink targets containing spaces in tramp-gvfs.el
16447
16448 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
16449 Handle symlink targets containing spaces.
16450
16451 2015-10-16 Artur Malabarba <bruce.connor.am@gmail.com>
16452
16453 * lisp/custom.el (custom-theme-load-path): Demote to defvar.
16454
16455 `custom-theme-load-path' was a defcustom, but it shouldn't be for the
16456 same reason that `load-path' shouldn't. Setting it via the customize
16457 interface is a trap for the user.
16458
16459 Installed themes commonly add themselves to this variable, which means
16460 its value is not fit for being saved (it will permanently remember dirs
16461 that don't exist anymore).
16462
16463 This is aggravated by the fact that Emacs always applies the `user'
16464 theme on top of any theme that's loaded, since this will apply the old
16465 variable value and remove any new directories that had been recently
16466 added by themes themselves.
16467
16468 Not to mention, we already have `custom-theme-directory', which is safe
16469 to customize.
16470
16471 2015-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
16472
16473 * lisp/mpc.el: Rename the new toggling commands.
16474 (mpc-toggle-consume, mpc-toggle-repeat, mpc-toggle-single)
16475 (mpc-toggle-shuffle): Add "-toggle" in the name.
16476
16477 2015-10-16 Eli Zaretskii <eliz@gnu.org>
16478
16479 Improve the doc string of 'completion-boundaries'
16480
16481 * lisp/minibuffer.el (completion-boundaries): Rename the argument
16482 TABLE to COLLECTION, for consistency with other high-level
16483 completion functions. Document how COLLECTION is called if it
16484 is a function. (Bug#21644)
16485
16486 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
16487
16488 * lisp/dired-aux.el (dired-shell-command): Fix compile warning.
16489
16490 2015-10-16 Oleh Krehel <ohwoeowho@gmail.com>
16491
16492 Make dired-do-compress work for *.zip files
16493
16494 * lisp/dired-aux.el (dired-check-process): Transform the top-level
16495 comment into a docstring.
16496 (dired-shell-command): New command. This mirrors
16497 `dired-check-process', but is more user-friendly for passing
16498 arguments.
16499 (dired-compress-file-suffixes): Allow to specify the command switches
16500 along with input (%i) and output (%o) inside the PROGRAM part.
16501 Add an entry for *.zip files, and update the entry for *.tar.gz files
16502 to the new style. Update the docstring.
16503 (dired-compress-file): When PROGRAM matches %i or %o, use the new
16504 logic.
16505 (dired-update-file-line): Avoid an error when at end of buffer.
16506
16507 Fixes bug#21637.
16508
16509 2015-10-16 Eli Zaretskii <eliz@gnu.org>
16510
16511 Minor improvement in documentation of internals
16512
16513 * doc/lispref/internals.texi (Writing Emacs Primitives): Document QUIT.
16514
16515 2015-10-16 Eli Zaretskii <eliz@gnu.org>
16516
16517 Improve documentation of COLLECTION in completion functions
16518
16519 * doc/lispref/minibuf.texi (Minibuffer Completion): Add a
16520 cross-reference to "Programmed Completion".
16521
16522 * src/minibuf.c (Fcompleting_read): Improve the doc string.
16523 (Bug#21644)
16524
16525 2015-10-16 Eli Zaretskii <eliz@gnu.org>
16526
16527 Add more release info to etc/HISTORY
16528
16529 * etc/HISTORY: Add more release information about 19.x and 20.x
16530 versions.
16531
16532 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
16533
16534 New file etc/HISTORY
16535
16536 * admin/FOR-RELEASE: Procedure for etc/HISTORY.
16537 * etc/HISTORY: New file.
16538 * etc/NEWS: Mention it.
16539
16540 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
16541
16542 js-mode: Don't misindent generator methods
16543
16544 * lisp/progmodes/js.el (js--looking-at-operator-p): Distinguish
16545 generator methods from multiplication operator
16546 (https://github.com/mooz/js2-mode/issues/275).
16547
16548 2015-10-15 Paul Eggert <eggert@cs.ucla.edu>
16549
16550 Fix animation timeout delay calculation
16551
16552 * lisp/image.el (image-animate-timeout):
16553 Don’t assume speed is floating-point.
16554
16555 2015-10-15 Mark Oteiza <mvoteiza@udel.edu>
16556
16557 Add commands for controlling MPD modes
16558
16559 * lisp/mpc.el (mpc-cmd-consume, mpc-cmd-random, mpc-cmd-repeat)
16560 (mpc-cmd-single): New functions.
16561 (mpc-consume, mpc-repeat, mpc-single, mpc-shuffle): New commands.
16562 (mpc-mode-menu): Add new commands as menu items.
16563
16564 2015-10-15 Dmitry Gutov <dgutov@yandex.ru>
16565
16566 Refer to `(elisp)Basic Completion' in completing-read docstring
16567
16568 * src/minibuf.c (Fcompleting_read): Refer to `(elisp)Basic
16569 Completion' in the docstring (bug#21644).
16570
16571 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
16572
16573 * lisp/mpc.el (mpc-format): Always push form to pred
16574
16575 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
16576
16577 Spelling fixes
16578
16579 * configure.ac (bitmapdir): Fix misspelling of bmd_acc.
16580 * test/automated/coding-tests.el (ert-test-coding-bogus-coding-systems):
16581 Fix misspelling of nonexistent file name.
16582
16583 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
16584
16585 * lisp/mpc.el (mpc-mode-menu, mpc-toggle-play): Fix docstrings
16586
16587 2015-10-14 Michael Albinus <michael.albinus@gmx.de>
16588
16589 Some editing fixes in Tramp
16590
16591 * lisp/net/tramp-gvfs.el:
16592 * doc/misc/tramp.texi: "customer option" -> "custom option".
16593
16594 * lisp/net/tramp.el (tramp-completion-function-alist): Fix docstring.
16595
16596 2015-10-14 Jürgen Hötzel <juergen@archlinux.org>
16597
16598 Use proper localization in tramp-gvfs.el
16599
16600 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
16601 Suppress localized settings in order to proper parse gfvs output.
16602
16603 2015-10-14 Warren Lynn <wrn.lynn@gmail.com> (tiny change)
16604
16605 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16606 Quote argument in proper order. (Bug#21562)
16607
16608 2015-10-14 Nicolas Petton <nicolas@petton.fr>
16609
16610 Fix typos in docstrings
16611
16612 * lisp/emacs-lisp/map.el:
16613 * lisp/emacs-lisp/seq.el: Fix typos in the docstrings of the pcase
16614 macros.
16615
16616 2015-10-14 Mark Oteiza <mvoteiza@udel.edu>
16617
16618 * lisp/mpc.el (mpc-volume-refresh): Check if buffer is live.
16619
16620 2015-10-14 Oleh Krehel <ohwoeowho@gmail.com>
16621
16622 Make dired-jump work with tar-subfile-mode
16623
16624 * lisp/dired-x.el (dired-jump): When in `tar-subfile-mode', instead of
16625 emitting an error, switch to `tar-superior-buffer'.
16626
16627 2015-10-14 Juanma Barranquero <lekktu@gmail.com>
16628
16629 * .gitignore: Add build-aux/ar-lib.
16630
16631 2015-10-14 Nicolas Petton <nicolas@petton.fr>
16632
16633 Better docstrings in seq.el and map.el
16634
16635 * lisp/emacs-lisp/map.el:
16636 * lisp/emacs-lisp/seq.el: Improve the docstring for the pcase patterns.
16637
16638 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
16639
16640 Merge from gnulib
16641
16642 This incorporates:
16643 2015-10-13 binary-io, u64, unistd: port to strict C
16644 2015-09-26 c-ctype: do not worry about EBCDIC + char signed
16645 2015-09-25 c-ctype: port better to z/OS EBCDIC
16646 2015-09-25 gnulib-common.m4: fix gl_PROG_AR_RANLIB/AM_PROG_AR clash
16647 * doc/misc/texinfo.tex, lib/binary-io.c, lib/c-ctype.h, lib/u64.c:
16648 * lib/unistd.c, m4/gnulib-common.m4, m4/gnulib-comp.m4:
16649 Copy from gnulib.
16650
16651 2015-10-14 Paul Eggert <eggert@cs.ucla.edu>
16652
16653 Take XPNTR private
16654
16655 * src/alloc.c (PURE_POINTER_P): Remove.
16656 All uses replaced with PURE_P.
16657 (XPNTR_OR_SYMBOL_OFFSET): New function.
16658 (XPNTR): Move here from lisp.h.
16659 Reimplement in terms of XPNTR_OR_SYMBOL_OFFSET.
16660 (mark_maybe_object, valid_lisp_object_p, survives_gc_p):
16661 Remove unnecessary cast.
16662 (purecopy): Use XPNTR_OR_SYMBOL_OFFSET instead of XPNTR,
16663 to avoid an unnecessary runtime test for symbols.
16664 * src/lisp.h (lisp_h_XPNTR, XPNTR): Remove, moving XPNTR to alloc.c.
16665 Only alloc.c needs XPNTR now.
16666
16667 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16668
16669 Add MPC play/pause command
16670
16671 * lisp/mpc.el (mpc-toggle-play): New command.
16672 (mpc-mode-map): Bind it to "s".
16673 (mpc-mode-menu): Add corresponding menu item.
16674
16675 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16676
16677 Add bindings and menu items for prev and next tracks
16678
16679 * lisp/mpc.el (mpc-mode-map): Bind ">" to mpc-next,
16680 "<" to mpc-prev.
16681 (mpc-mode-menu): Add corresponding menu items
16682
16683 2015-10-13 Ken Raeburn <raeburn@raeburn.org>
16684
16685 Reduce face-related consing during frame creation.
16686
16687 * lisp/faces.el (face--attributes-unspecified): Compute the "unspecified"
16688 attribute list once.
16689 (face-spec-reset-face): Use it instead of building the list.
16690
16691 2015-10-13 Ken Raeburn <raeburn@permabit.com>
16692
16693 Do process ConfigureNotify events indicating size changes.
16694
16695 * src/xterm.c (handle_one_xevent): If consecutive ConfigureNotify
16696 events don't have the same size, process each one.
16697
16698 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16699
16700 Derive mpc-mode from special-mode
16701
16702 lisp/mpc.el (mpc-mode-map): Make from sparse keymap. Unbind g.
16703 (mpc-mode): Derive from special mode.
16704 (mpc-songs-mode-map): Don't set parent keymap.
16705
16706 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16707
16708 Fix error messages for when covers are not found.
16709
16710 The last change to mpc-format let the binding to file call
16711 mpc-file-local-copy with nil argument. Instead, employ if-let here
16712 so nil bindings don't result in needless computation and errors.
16713 * lisp/mpc.el: Require 'subr-x at compile time.
16714 * lisp/mpc.el (mpc-format): Use if-let.
16715
16716 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16717
16718 Make dired-do-compress work for *.tar.gz files
16719
16720 * lisp/dired-aux.el (dired-compress-file-suffixes): Associate
16721 "tar -zxvf" to *.tar.gz; update docstring.
16722
16723 (dired-compress-file): Allow to specify switches after the command in
16724 `dired-compress-file-suffixes'.
16725
16726 2015-10-13 Oleh Krehel <ohwoeowho@gmail.com>
16727
16728 Make dired-do-compress work for directories
16729
16730 * lisp/dired-aux.el (dired-compress-file): When FILE is a directory,
16731 instead of emitting an error, call "tar -czf FILE.tar.gz FILE".
16732 Also convert the top comment into a docstring.
16733
16734 2015-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16735
16736 * lisp/mpc.el (mpc-songs-refresh): Don't side-effect `active'
16737
16738 ... since it might come straight from the memoizing table.
16739
16740 2015-10-13 Juanma Barranquero <lekktu@gmail.com>
16741
16742 * src/w32fns.c (x_change_tool_bar_height): Remove unused variable frame.
16743
16744 2015-10-13 Mark Oteiza <mvoteiza@udel.edu>
16745
16746 Use special-mode in eww list modes
16747
16748 * lisp/net/eww.el (eww-bookmark-mode, eww-history-mode)
16749 (eww-buffers-mode): Derive from special-mode and remove redundant
16750 setting of buffer-read-only.
16751 (eww-mode-map): Remove redundant keymap parent setting.
16752 (eww-bookmark-mode-map, eww-history-mode-map, eww-buffers-mode-map):
16753 Remove redundant keymap suppressions and mappings.
16754
16755 2015-10-13 Martin Rudalics <rudalics@gmx.at>
16756
16757 Allow setting frame pixel sizes from frame parameters (Bug#21415)
16758
16759 Also fix some misfeatures in frame (re-)sizing code, add more
16760 debugging information and remove some dead code.
16761
16762 * lisp/frame.el (frame-notice-user-settings, make-frame): Change
16763 parameter names when setting `frame-size-history'.
16764 (frame--size-history): New function.
16765
16766 * src/frame.c (frame_inhibit_resize): If frame has not been made
16767 yet, return t if inhibit_horizontal_resize or
16768 inhibit_vertical_resize bit have been set.
16769 (adjust_frame_size): Simplify.
16770 (make_frame): Initialize inhibit_horizontal_resize,
16771 inhibit_vertical_resize, tool_bar_redisplayed, tool_bar_resized.
16772 (Fframe_after_make_frame): Reset inhibit_horizontal_resize and
16773 inhibit_vertical_resize slots.
16774 (x_set_frame_parameters): Handle `text-pixels' specification for
16775 width and height parameters. Don't consider new_height or
16776 new_width changes. Call adjust_frame_size instead of
16777 Fset_frame_size.
16778 (x_figure_window_size): Two new arguments x_width and y_width
16779 returning frame's figures width and height. Calculate tool bar
16780 height before frame sizes so SET_FRAME_HEIGHT can pick it up.
16781 Handle `text-pixels' specification for width and height
16782 parameters.
16783 (Qtext_pixels, Qx_set_frame_parameters, Qset_frame_size)
16784 (Qx_set_window_size_1, Qx_set_window_size_2)
16785 (Qx_set_window_size_3, Qx_set_menu_bar_lines)
16786 (Qupdate_frame_menubar, Qfree_frame_menubar_1)
16787 (Qfree_frame_menubar_2): New symbols.
16788 * src/frame.h (structure frame): New booleans
16789 tool_bar_redisplayed, tool_bar_resized,
16790 inhibit_horizontal_resize, inhibit_vertical_resize.
16791 (x_figure_window_size): Update external declaration.
16792 * src/gtkutil.c (xg_frame_set_char_size): Set size hints before
16793 calling gtk_window_resize.
16794 (update_frame_tool_bar): Make inhibiting of frame resizing more
16795 discriminative. Set tool_bar_resized bit.
16796 * src/nsfns.m (x_set_tool_bar_lines): Make inhibiting of frame
16797 resizing more discriminative. Call adjust_frame_size instead of
16798 x_set_window_size.
16799 (Fx_create_frame): Handle x_width and x_height if
16800 set by x_figure_window_size.
16801 * src/nsterm.m (x_set_window_size): For GNUSTEP build don't
16802 subtract 3 from tool bar height.
16803 (x_set_window_size): Add frame_size_history_add call.
16804 (x_new_font): Call adjust_frame_size instead of
16805 x_set_window_size.
16806 * src/w32fns.c (x_change_tool_bar_height): Reset
16807 tool_bar_redisplayed and tool_bar_resized bits when adding tool
16808 bar. Make inhibiting of frame resizing more discriminative.
16809 (w32_wnd_proc): Remove dead code in WM_WINDOWPOSCHANGING case.
16810 (Fx_create_frame): Handle x_width and x_height if set by
16811 x_figure_window_size. Set size hints before adjusting frame size.
16812 (x_create_tip_frame): Adjust x_figure_window_size call.
16813 * src/w32term.c (x_set_window_size): Add frame_size_history_add
16814 call.
16815 * src/widget.c (set_frame_size): Remove dead code. Add
16816 frame_size_history_add call. When frame_resize_pixelwise is t
16817 use FRAME_PIXEL_WIDTH and FRAME_PIXEL_HEIGHT instead of
16818 pixel_width and pixel_height.
16819 (update_various_frame_slots): Remove dead code.
16820 (EmacsFrameResize): Add more information in
16821 frame_size_history_add call.
16822 (EmacsFrameQueryGeometry): Round only when frame_resize_pixelwise
16823 is not set.
16824 * src/xdisp.c (redisplay_tool_bar): Set tool_bar_redisplayed bits.
16825 * src/xfns.c (x_set_menu_bar_lines): Change argument name.
16826 (x_change_tool_bar_height): Reset tool_bar_redisplayed and
16827 tool_bar_resized bits when adding tool bar. Make inhibiting of
16828 frame resizing more discriminative.
16829 (Fx_create_frame): Handle x_width and x_height if set by
16830 x_figure_window_size. Set size hints before adjusting frame size.
16831 (x_create_tip_frame): Adjust x_figure_window_size call.
16832 * src/xmenu.c (update_frame_menubar): Don't handle Lucid specially.
16833 (set_frame_menubar): On Lucid never add core-border-width to
16834 avoid that adding XtNinternalBorderWidth adds it again.
16835 (free_frame_menubar): Handle frame_inhibit_resize true for Motif.
16836 * src/xterm.c (x_new_font): In non-toolkit case handle size
16837 change of menu bar.
16838 (x_set_window_size_1): Fix calls to frame_size_history_add.
16839 (x_wm_set_size_hint): Remove dead code. Set
16840 size_hints.min_width and size_hints.min_height to base_width and
16841 base_height.
16842
16843 2015-10-13 Michael Albinus <michael.albinus@gmx.de>
16844
16845 * test/automated/file-notify-tests.el (file-notify--test-timeout):
16846 Add docstring. Increase to 10 seconds for remote
16847 directories. (Bug#21669)
16848
16849 2015-10-12 Paul Eggert <eggert@cs.ucla.edu>
16850
16851 Unmacroize ebrowse.c and etags.c a bit
16852
16853 * lib-src/ebrowse.c (READ_CHUNK_SIZE): Now an enum constant.
16854 (streq, filename_eq, set_flag, has_flag): Now inline functions.
16855 (set_flag): First arg is now an address, not an lvalue.
16856 All callers changed.
16857 (filename_eq, set_flag, has_flag):
16858 Rename from FILENAME_EQ, SET_FLAG, HAS_FLAG.
16859 All callers changed.
16860 * lib-src/etags.c (streq, strcaseeq, strneq, strncaseeq):
16861 Now inline functions. Remove asserts that are unnecessary these
16862 days (and in some cases were too-generous anyway).
16863
16864 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
16865
16866 Use highlight for current items
16867
16868 * lisp/mpc.el (mpc-select-make-overlay, mpc-tagbrowser-all-select):
16869 Apply highlight face instead of region face.
16870
16871 2015-10-12 Mark Oteiza <mvoteiza@udel.edu>
16872
16873 Search for more cover image names in MPC
16874
16875 * lisp/mpc.el (mpc-format): Also look for .folder.jpg or folder.jpg
16876 case insensitively
16877
16878 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
16879
16880 Remove or comment out unused variables
16881
16882 * src/w32fns.c (x_set_mouse_color): Comment out variables cursor,
16883 nontext_cursor, mode_cursor, hand_cursor and count.
16884 (x_change_tool_bar_height): Remove variable old_text_height.
16885 (deliver_wm_chars): Remove variable strip_Alt.
16886 (Fw32_shell_execute): Remove variable document_a.
16887 (Fw32_frame_geometry): Remove variable fullboth.
16888 * src/w32term.c (w32_setup_relief_color): Comment out variable
16889 w32_display_info.
16890 (w32_horizontal_scroll_bar_handle_click): Remove variables start, end.
16891 (w32_read_socket): Comment out variables rows, columns.
16892 * src/w32uniscribe.c (uniscribe_check_otf_1): Remove variable rest.
16893
16894 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
16895
16896 * src/w32proc.c (sys_select): Fix bitwise test.
16897
16898 2015-10-12 Eli Zaretskii <eliz@gnu.org>
16899
16900 Minor typo corrections in doc strings
16901
16902 * lisp/menu-bar.el (popup-menu, popup-menu-normalize-position):
16903 Doc fixes.
16904
16905 2015-10-12 Eli Zaretskii <eliz@gnu.org>
16906
16907 * nt/INSTALL: Recommend MSYS Automake/Autoconf from ezwinports.
16908
16909 2015-10-12 Eli Zaretskii <eliz@gnu.org>
16910
16911 Attempt to avoid crashes in plist-member
16912
16913 * src/fns.c (Fplist_member): Don't call QUIT between a CONSP test
16914 and a call to XCDR. (Bug#21655)
16915
16916 2015-10-12 Mike FABIAN <mfabian@redhat.com>
16917
16918 * lisp/select.el (gui-get-primary-selection): In
16919 gui-get-primary-selection use gui--selection-value-internal (Bug#20906)
16920
16921 2015-10-12 Tassilo Horn <tsdh@gnu.org>
16922
16923 Support RTF in doc-view
16924
16925 * lisp/doc-view.el (doc-view-set-doc-type): Add entry for RTF extension.
16926
16927 2015-10-12 Juanma Barranquero <lekktu@gmail.com>
16928
16929 * src/w32fns.c (get_wm_chars): Increment counter, not pointer.
16930
16931 2015-10-11 Nicolas Petton <nicolas@petton.fr>
16932
16933 Replace the usage of an obsolete function in auth-source.el
16934
16935 * lisp/gnus/auth-source.el (auth-source-epa-make-gpg-token):
16936 Replace an usage of `epg-context-set-armor' with `setf'.
16937
16938 2015-10-11 Nicolas Petton <nicolas@petton.fr>
16939
16940 * lisp/gnus/auth-source.el: Use sharp-quoting with functions.
16941
16942 2015-10-11 Jay Belanger <jay.p.belanger@gmail.com>
16943
16944 Have calc-yank recognize numbers in different bases.
16945
16946 * lisp/calc/calc-yank.el (math-number-regexp): New function.
16947 (calc-yank): Use `math-number-regexp' to recognize numbers.
16948
16949 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16950
16951 Handle an opaque-move X11 window manager operation more efficiently
16952
16953 * src/xterm.c (handle_one_xevent): If a ConfigureNotify event is
16954 followed by more ConfigureNotify events for the same window, process
16955 only the last one.
16956
16957 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16958
16959 Fix cursor setting for tip frame; re-enable cursor generation
16960
16961 * src/xfns.c (x_create_tip_frame): Include the cursor in the window
16962 attributes sent when creating the new X window. Don't skip setting
16963 the pointerColor parameter.
16964
16965 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16966
16967 Rewrite x_set_mouse_color to sync less
16968
16969 We can track serial numbers of X requests and correlate error events
16970 with the associated requests. This way we can identify errors for
16971 specific calls without having to use XSync after every one.
16972
16973 * src/xfns.c (enum mouse_cursor): New type.
16974 (struct mouse_cursor_types, struct mouse_cursor_data): New types.
16975 (mouse_cursor_types): New array listing the Lisp variables and default
16976 cursor appearances for each cursor type.
16977 (x_set_mouse_color_handler): New function; checks error event serial
16978 number against submitted requests.
16979 (x_set_mouse_color): Updated to use the new error handler callback,
16980 and to be more table-driven, to simplify repetitious code.
16981
16982 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16983
16984 Add x_catch_errors_with_handler
16985
16986 * src/xterm.c (struct x_error_message_stack): Add new fields for a
16987 callback function and associated data pointer.
16988 (x_error_catcher): If the callback function is set, call it after
16989 saving the error message string.
16990 (x_catch_errors_with_handler): Renamed from x_catch_errors but now
16991 accepts a callback function and data pointer.
16992 (x_catch_errors): Now a wrapper function.
16993 * src/xterm.h (x_special_error_handler): New typedef.
16994 (x_catch_errors_with_handler): Declare.
16995
16996 2015-10-11 Ken Raeburn <raeburn@raeburn.org>
16997
16998 Introduce x_uncatch_errors_after_check to reduce XSync calls
16999
17000 Both x_had_errors_p and x_check_errors call XSync, so if they're
17001 immediately followed by x_uncatch_errors, its XSync call will be
17002 redundant, resulting in a wasted round trip to the X server.
17003
17004 * src/xterm.c (x_uncatch_errors_after_check): New routine; a copy of
17005 x_uncatch_errors without the XSync call.
17006 (XTmouse_position, x_wm_supports):
17007 * src/xfns.c (x_set_mouse_color):
17008 * src/xmenu.c (Fx_menu_bar_open_internal):
17009 * src/xselect.c (x_own_selection, x_get_foreign_selection):
17010 (Fx_get_atom_name): Call it instead of x_uncatch_errors.
17011 * src/xterm.h (x_uncatch_errors_after_check): Declare.
17012
17013 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
17014
17015 Document the optional prefix to `calc-yank'
17016
17017 * doc/misc/calc.texi (Yanking into the Stack): Document the optional
17018 prefix to `calc-yank'.
17019 * lisp/calc/calc-yank.el (calc-yank): Ensure that things killed from
17020 the Calc buffer are yanked back unchanged.
17021
17022 2015-10-10 Mark Oteiza <mvoteiza@udel.edu>
17023
17024 * lisp/calendar/calendar.el: Display buffer before executing body.
17025
17026 In each use of this macro, the modeline is derived from a window width
17027 calculation, which will be wrong if (display-buffer) splits the window
17028 horizontally.
17029
17030 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
17031
17032 Use ‘echo’ safely with ‘\’ or leading ‘-’
17033
17034 POSIX says that ‘echo FOO’ produces implementation-defined output
17035 if FOO contains leading ‘-’, or ‘\’ anywhere, so don’t assume GNU
17036 behavior in that case.
17037 * Makefile.in (removenullpaths): Remove.
17038 (epaths-force): Rewrite to avoid the need for ‘echo’.
17039 (install-etc): Be clearer about escaping the shell metacharacters
17040 ‘\’ and ‘$’.
17041 * Makefile.in (install-arch-indep, install-etcdoc):
17042 * admin/charsets/mapconv, admin/merge-gnulib, admin/merge-pkg-config:
17043 * admin/quick-install-emacs, build-aux/gitlog-to-emacslog:
17044 * configure.ac, lib-src/rcs2log, make-dist:
17045 * src/Makefile.in (lisp.mk):
17046 Don’t assume ‘echo’ outputs ‘\’ and leading ‘-’ unscathed.
17047 For example, use ‘printf '%s\n' "$foo"’ rather than ‘echo "$foo"’
17048 if $foo can contain arbitrary characters.
17049 * lisp/Makefile.in (TAGS): Use ‘ls’, not ‘echo’, to avoid ‘\’ issues.
17050 * doc/lispref/two-volume.make (vol1.pdf):
17051 * test/etags/make-src/Makefile (web ftp publish):
17052 Use ‘printf’ rather than ‘echo -e’.
17053
17054 2015-10-10 Kaushal Modi <kaushal.modi@gmail.com>
17055
17056 Allow numbers with different radixes to be yanked.
17057
17058 * lisp/calc/calc-yank.el (calc-yank): Allow radixes besides the
17059 default base 10.
17060
17061 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
17062
17063 Improve CHECK_IMPURE and PURE_P speedup
17064
17065 * src/data.c (Faset): Use XVECTOR and XSTRING rather than XPNTR.
17066
17067 2015-10-10 Jay Belanger <jay.p.belanger@gmail.com>
17068
17069 Use events instead of chars to keep track of steps.
17070
17071 * lisp/calc/calc-prog.el (calc-kbd-loop): Use events instead of chars
17072 to keep track of steps.
17073
17074 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
17075
17076 Fix --enable-gcc-warnings problem with older GCC
17077
17078 * src/puresize.h: Add INLINE_HEADER_BEGIN, INLINE_HEADER_END.
17079 This is for building with --enable-gcc-warnings with
17080 GCC 4.6 through 5.0.
17081
17082 2015-10-10 Eli Zaretskii <eliz@gnu.org>
17083
17084 Fix vertical-motion in truncated lines that end in a stretch
17085
17086 * src/indent.c (Fvertical_motion): Expect overshoot when point is
17087 beyond window margin and lines are truncated, even if we have a
17088 stretch at point. (Bug#21468)
17089
17090 2015-10-10 Eli Zaretskii <eliz@gnu.org>
17091
17092 Avoid link-time errors due to inline functions
17093
17094 * src/emacs.c: Include puresize.h, to avoid link-time errors in
17095 unoptimized builds due to PURE_P and CHECK_IMPURE, which are now
17096 inline functions.
17097
17098 2015-10-10 Andreas Schwab <schwab@linux-m68k.org>
17099
17100 * src/data.c (Faset): Fix last change.
17101
17102 2015-10-10 Paul Eggert <eggert@cs.ucla.edu>
17103
17104 CHECK_IMPURE and PURE_P speedup
17105
17106 * src/intervals.c (create_root_interval):
17107 Do CHECK_IMPURE only for strings; not needed for buffers.
17108 Prefer ! STRINGP to BUFFERP, for a tad more speed.
17109 * src/puresize.h (CHECK_IMPURE, PURE_P):
17110 Now inline functions instead of macros.
17111 (PURE_P): Don’t use XPNTR; that is now the caller’s responsibility.
17112 All callers changed.
17113 (CHECK_IMPURE): New argument PTR, to save us the work of running XPNTR.
17114 All callers changed.
17115
17116 2015-10-09 Noah Friedman <friedman@splode.com>
17117
17118 (tramp-open-connection-setup-interactive-shell): Send -onlcr as well.
17119
17120 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17121
17122 * lisp/progmodes/cc-mode.el (c-after-font-lock-init): Only *move*
17123
17124 our after-change-function, rather than re-adding it if it was removed.
17125
17126 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17127
17128 * lisp/cedet/ede: Silence some compiler warnings
17129
17130 * lisp/cedet/ede.el: Require cl-lib. Silence some compiler warnings.
17131 (ede-menu-obj-of-class-p): Use cl-some rather than `eval'.
17132 (ede-apply-object-keymap, ede-reset-all-buffers)
17133 (ede-auto-add-to-target): Use dolist.
17134 (ede-new, ede-flush-deleted-projects, ede-global-list-sanity-check):
17135 Use field names rather than initarg names in `oref'.
17136 (ede-load-project-file): Remove unused var `file'.
17137 (ede-map-any-target-p): Use cl-some rather than ede-map-targets.
17138 (ede-set): Remove unused var `a'.
17139
17140 * lisp/cedet/ede/emacs.el: Silence some compiler warnings.
17141 (ede-project-autoload): Avoid the old-style "name" argument.
17142 (ede-emacs-find-matching-target): Use field names rather than initarg
17143 names in `oref'.
17144
17145 * lisp/cedet/ede/linux.el: Silence some compiler warnings.
17146 (ede-linux-load, ede-project-autoload): Avoid the old-style
17147 "name" argument.
17148 (ede-linux-find-matching-target): Use field names rather than initarg
17149 names in `oref'.
17150
17151 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17152
17153 * lisp/textmodes/reftex.el: Silence byte-compiler warnings.
17154
17155 2015-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17156
17157 * lisp/progmodes/prolog.el (prolog-smie-rules): Try and avoid
17158 indenting too far after ":-".
17159
17160 2015-10-09 Eli Zaretskii <eliz@gnu.org>
17161
17162 Update case-table and categories of recently added characters
17163
17164 * lisp/international/characters.el: Update information about Latin
17165 Extended-C, Latin Extended-D, Latin Extended-E, Cyrillic Extended,
17166 Georgian, Glagolitic, Deseret, Old Hungarian, and Warang Citi
17167 blocks. (Byug#21654)
17168
17169 2015-10-09 Martin Rudalics <rudalics@gmx.at>
17170
17171 * src/frame.c (adjust_frame_size): In minibuffer-only windows
17172 don't count minibuffer height twice. (Bug#21643)
17173
17174 2015-10-09 Eli Zaretskii <eliz@gnu.org>
17175
17176 Avoid inflooping in font-lock
17177
17178 * lisp/font-lock.el (font-lock-extend-region-wholelines): Bind
17179 inhibit-field-text-motion around the call to
17180 line-beginning-position, to avoid inflooping. (Bug#21615)
17181
17182 2015-10-09 Tassilo Horn <tsdh@gnu.org>
17183
17184 Refactor duplicated code; ensure default is in completions
17185
17186 * lisp/textmodes/reftex-cite.el (reftex--query-search-regexps):
17187 New function.
17188 (reftex-extract-bib-entries): Use it.
17189 (reftex-extract-bib-entries-from-thebibliography): Use it.
17190
17191 2015-10-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
17192
17193 * doc/misc/autotype.texi (Skeletons as Abbrevs): "if" -> "ifst"
17194 in the example.
17195
17196 2015-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17197
17198 * lisp/calc/calc.el: Silence byte-compiler warnings.
17199 (calc-scan-for-dels): Use ignore-errors.
17200 (calc-dispatch, calc-do-dispatch): Make unused arg optional.
17201 (calc-read-key-sequence): Remove unused var `prompt2'.
17202 (calc-kill-stack-buffer): Remove unused var `buflist'.
17203 (calc): Remove unused var `oldbuf'.
17204 (calc-refresh): Use inhibit-read-only.
17205 (calc-can-abbrev-vectors): Declare.
17206 (calc-record): Remove unused var `mainbuf'.
17207 (math-sub-bignum): Remove unused var `sum'.
17208 (math-svo-c, math-svo-wid, math-svo-off): Declare.
17209
17210 2015-10-08 Daiki Ueno <ueno@gnu.org>
17211
17212 Use g_clear_error instead of g_error_free
17213
17214 * src/image.c: Define g_clear_error instead of g_error_free.
17215 (init_svg_functions): Resolve symbol g_clear_error instead of
17216 g_error_free.
17217 (svg_load_image): Use g_clear_error instead of g_error_free, to
17218 suppress GLib warnings when ERR is not set. See bug#21641.
17219
17220 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
17221
17222 * src/image.c (image_size_error): Simplify.
17223
17224 2015-10-08 Paul Eggert <eggert@cs.ucla.edu>
17225
17226 Fix problems caught with --enable-gcc-warnings
17227
17228 * src/image.c (lookup_rgb_color):
17229 * src/xfns.c (x_defined_color):
17230 * src/xterm.c (x_parse_color):
17231 Remove unused locals.
17232
17233 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
17234
17235 * lisp/calc/calc.el (calc-digit-start-entry): Fix typo.
17236
17237 2015-10-08 Jay Belanger <jay.p.belanger@gmail.com>
17238
17239 Format initial input uniformly
17240
17241 * lisp/calc/calc.el (calc-digit-start-entry): New function.
17242 * lisp/calc/calc.el (calcDigit-start):
17243 * lisp/calc/calc-aent.el (calc-alg-digit-entry):
17244 Use `calc-digit-start-entry' to format input.
17245
17246 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
17247
17248 Disable non-working pointerColor setting for X tooltip frame
17249
17250 It generates a bunch of server traffic, but there's some bug wherein
17251 the new mouse cursor settings don't seem to get used. In most
17252 situations the cursor isn't likely to be seen anyway, so it's not
17253 urgent to fix.
17254
17255 * src/xfns.c (x_create_tip_frame): Don't set pointerColor.
17256
17257 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
17258
17259 Reduce some unnecessary X calls
17260
17261 * src/xfns.c (x_real_pos_and_offsets): Remove a redundant XGetGeometry
17262 call. If border width is wanted, get it from the XGetGeometry call
17263 instead of calling XGetWindowAttributes on the same window. Skip some
17264 X calls if we've already detected an error from the X server.
17265 * src/xterm.c (x_wm_supports): Delete x_sync before x_had_errors_p.
17266 (handle_one_xevent): Delete XSync call before x_uncatch_errors.
17267
17268 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
17269
17270 Reduce color allocation/query traffic in the TrueColor case
17271
17272 When working with an X visual with TrueColor class, pixel values can
17273 be generated from the RGB values according to mask value provided by
17274 the server on connection. Some of the image-handling code was already
17275 doing this.
17276
17277 * src/xterm.h (x_make_truecolor_pixel): New function; code taken from
17278 lookup_rgb_color.
17279 (x_mutable_colormap): New function.
17280 * src/image.c (lookup_rgb_color): Move pixel composition code to
17281 x_make_truecolor_pixel.
17282 (x_kill_gs_process): Call x_mutable_colormap.
17283 * src/xfaces.c (x_free_colors, x_free_dpy_colors): Call
17284 x_mutable_colormap.
17285 * src/xftfont.c (xftfont_get_colors): Call x_query_colors.
17286 * src/xterm.c (x_query_colors): For a TrueColor display, decompose the
17287 pixel value into RGB values directly, and don't send a request to the
17288 server.
17289 (x_alloc_nearest_color): For a TrueColor display, construct the pixel
17290 value with x_make_truecolor_pixel.
17291 (x_copy_color): For an immutable color map, just return the provided
17292 pixel value.
17293
17294 2015-10-08 Ken Raeburn <raeburn@raeburn.org>
17295
17296 Cache XParseColor results in the X display info structure
17297
17298 With repeated lookups of foreground and background colors for multiple
17299 faces per frame, we issue a lot of redundant color name lookups to the
17300 X server, waiting every time for the response. On a remote network
17301 with, say, 30ms round-trip time, this can add nearly a full second to
17302 creation of a new frame.
17303
17304 * src/gtkutil.c (xg_check_special_colors): Call x_parse_color.
17305 * src/image.c (get_spec_bg_or_alpha_as_argb):
17306 (xpm_init_color_cache, xpm_lookup_color):
17307 * src/xfns.c (x_defined_color):
17308 * src/xterm.c (x_parse_color): New function; caches color names not
17309 starting with "#" in the display-info structure.
17310 (x_delete_display): Delete the cache content.
17311 * src/xterm.h (struct color_name_cache_entry): New type.
17312 (x_parse_color): Declare.
17313 (struct x_display_info): Add a new field for the cache.
17314
17315 2015-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17316
17317 * src/syntax.c (syms_of_syntax): Make syntax-propertize--done local.
17318
17319 2015-10-07 Eli Zaretskii <eliz@gnu.org>
17320
17321 Fix segfault in image_size_error
17322
17323 * src/image.c (image_size_error): Pass a Lisp string to
17324 image_error, not a C string. (Bug#21641)
17325
17326 2015-10-07 Simen Heggestøyl <simenheg@gmail.com>
17327
17328 Highlight CSS variable definitions
17329
17330 * lisp/textmodes/css-mode.el (css-nmstart-re): Tweak regexp to accept
17331 CSS variables. (Bug#21638)
17332
17333 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
17334
17335 * test/automated/tabulated-list-test.el: New file.
17336 Test bug#21639 and some basic functionality.
17337
17338 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
17339
17340 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-sort):
17341 Check if column can be sorted before trying. (Bug#21639)
17342
17343 2015-10-07 Nicolas Richard <youngfrog@members.fsf.org>
17344
17345 Add test for `self-insert-command' (bug#21633)
17346
17347 * test/automated/cmds-tests.el: New file.
17348
17349 2015-10-07 Martin Rudalics <rudalics@gmx.at>
17350
17351 * src/window.c (resize_frame_windows): Don't set root window's
17352 top position when resizing horizontally.
17353
17354 2015-10-07 Artur Malabarba <bruce.connor.am@gmail.com>
17355
17356 * lisp/progmodes/prog-mode.el (prettify-symbols-alist):
17357 Document more possible values.
17358
17359 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
17360
17361 * lisp/textmodes/tex-mode.el: Use lexical-binding.
17362
17363 2015-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
17364
17365 * lisp/indent.el (indent--default-inside-comment): New function.
17366 (indent-for-tab-command): Use it for `noindent' indentation.
17367
17368 2015-10-06 Paul Eggert <eggert@cs.ucla.edu>
17369
17370 Fix bug in GC_CHECK_MARKED_OBJECTS check
17371
17372 * src/alloc.c (mark_object): Fix bug in checking code.
17373 When GC_CHECK_MARKED_OBJECTS is defined, the bug caused
17374 CHECK_ALLOCATED_AND_LIVE_SYMBOL to repeatedly do the
17375 CHECK_ALLOCATED and CHECK_LIVE tests for the first symbol in each
17376 bucket. The bug did not affect behavior either in the normal case
17377 where GC_CHECK_MARKED_OBJECTS is not defined, or where Emacs does
17378 not have an internal error that a properly-written
17379 CHECK_ALLOCATED_AND_LIVE_SYMBOL would detect.
17380
17381 2015-10-06 Tassilo Horn <tsdh@gnu.org>
17382
17383 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
17384 Add prettified version for \\Bbb{Q}.
17385
17386 2015-10-06 Artur Malabarba <bruce.connor.am@gmail.com>
17387
17388 * test/automated/package-test.el (package-test-install-single):
17389 Add a test for bug#21625.
17390
17391 2015-10-06 Aaron Ecay <aaronecay@gmail.com>
17392
17393 * lisp/emacs-lisp/package.el (package-install): Fix error when pkg is
17394 not a package-desc object. Also clarify documentation. (Bug#21625)
17395
17396 2015-10-06 Eli Zaretskii <eliz@gnu.org>
17397
17398 Fix display of characters adjacent to ZWJ and ZWNJ
17399
17400 * src/bidi.c (bidi_resolve_neutral): Treat all Bn (a.k.a. "control")
17401 characters the same as directional formatting controls.
17402 (bidi_level_of_next_char): Include all Bn characters in rule L1,
17403 as mandated by the UBA.
17404
17405 2015-10-06 Andreas Schwab <schwab@suse.de>
17406
17407 * src/cmds.c (Fself_insert_command): Don't use XFASTINT on a negative
17408 number. (Bug#21633)
17409
17410 2015-10-05 Xue Fuqiao <xfq.free@gmail.com>
17411
17412 * doc/lispref/objects.texi (Window Type): Add a cross reference.
17413
17414 * src/buffer.c (syms_of_buffer): Typo fix. (Bug#21622)
17415
17416 2015-10-05 Eli Zaretskii <eliz@gnu.org>
17417
17418 * lisp/language/misc-lang.el (composition-function-table):
17419 Fix entries for Arabic and Syriac.
17420
17421 2015-10-05 Damien Cassou <damien@cassou.me>
17422
17423 Add first unit tests for auth-source.el
17424
17425 * test/automated/auth-source-tests.el: New file.
17426
17427 2015-10-05 Eli Zaretskii <eliz@gnu.org>
17428
17429 Remove redundant redisplay code
17430
17431 * src/xdisp.c (redisplay_internal, try_cursor_movement)
17432 (try_window_reusing_current_matrix, try_window_id): Remove
17433 redundant restrictions on redisplay optimizations based on the
17434 frame's 'redisplay' flag. See
17435 http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
17436 discussions.
17437
17438 2015-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17439
17440 * src/xdisp.c (windows_or_buffers_changed): Improve docstring.
17441
17442 2015-10-04 Xue Fuqiao <xfq.free@gmail.com>
17443
17444 Update tutorials/TUTORIAL.cn
17445
17446 * etc/tutorials/TUTORIAL.cn: Improve translation.
17447
17448 2015-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17449
17450 * src/macfont.m (macfont_encode_char, syms_of_macfont):
17451 Remove unused vars.
17452
17453 2015-10-04 Stefan Merten <stefan@merten-home.de>
17454
17455 Pull in version numbers from rst.el upstream release.
17456
17457 * lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
17458 (rst-svn-timestamp, rst-official-version)
17459 (rst-official-cvs-rev, rst-package-emacs-version-alist):
17460 Update version numbers.
17461
17462 2015-10-04 Eli Zaretskii <eliz@gnu.org>
17463
17464 * test/automated/coding-tests.el: New file.
17465
17466 2015-10-04 Michael Albinus <michael.albinus@gmx.de>
17467
17468 Improve XEmacs compatibility of Tramp
17469
17470 * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
17471 Declare if it doesn't exist.
17472 (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
17473 (redisplay): Make it an alias if it doesn't exist.
17474
17475 * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
17476 `file-remote-p' (due to XEmacs compatibility).
17477
17478 * lisp/net/trampver.el (locate-dominating-file)
17479 (tramp-compat-replace-regexp-in-string): Autoload.
17480 (tramp-repository-get-version): Do not dupe byte-compiler.
17481
17482 2015-09-02 K. Handa <handa@gnu.org>
17483
17484 fix for the case that M17N_FLT_USE_NEW_FEATURE is not defined
17485
17486 * src/ftfont.c (ftfont_drive_otf) [not M17N_FLT_USE_NEW_FEATURE]:
17487 Adjusted for the change of type of elements in the array
17488 MFLTGlyphString.glyphs.
17489
17490 2015-10-04 Eli Zaretskii <eliz@gnu.org>
17491 Michael Heerdegen <michael_heerdegen@web.de>
17492
17493 shr: fix too long lines in rendered buffers (Bug#21012)
17494
17495 * lisp/net/shr.el (shr-insert-document, shr-fill-text):
17496 Correct calculation of available width.
17497 (shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
17498 is nil.
17499
17500 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
17501
17502 Restore blank line before next section, erroneously erased
17503 in my previous commit
17504
17505 * etc/compilation.txt (symbol ant): Add an additional trailing blank
17506 line to this section, so that there are two of them immediately before
17507 the next section.
17508
17509 2015-10-04 Vincent Belaïche <vincentb1@users.sourceforge.net>
17510
17511 Support MSW filename style for ant compilation error regexp
17512
17513 * etc/compilation.txt (symbol ant):
17514 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
17515 Support MSW filename style.
17516
17517 2015-10-03 Paul Eggert <eggert@cs.ucla.edu>
17518
17519 * nt/INSTALL: Minor spelling and quote fixes.
17520
17521 * lisp/ibuffer.el: Fix docstring length (Bug#21541).
17522
17523 2015-10-03 Simen Heggestøyl <simenheg@gmail.com>
17524
17525 Maintain ordering of JSON object keys by default
17526
17527 * lisp/json.el (json-object-type): Mention order handling in doc-string.
17528 (json--plist-reverse): New utility function.
17529 (json-read-object): Maintain ordering for alists and plists.
17530 (json-pretty-print): Ensure that ordering is maintained.
17531
17532 * test/automated/json-tests.el (test-json-plist-reverse): New test for
17533 `json--plist-reverse'.
17534 (json-read-simple-alist): Update test to accommodate for changes in
17535 `json-read-object'.
17536
17537 * etc/NEWS: Document the new behavior of the pretty printing functions.
17538
17539 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
17540
17541 * src/coding.c (complement_process_encoding_system): Revert last change.
17542
17543 2015-10-03 Ulf Jasper <ulf.jasper@web.de>
17544
17545 * admin/MAINTAINERS: Add entry for Ulf Jasper.
17546
17547 2015-10-03 Xue Fuqiao <xfq.free@gmail.com>
17548
17549 Doc fix for `defmacro'
17550
17551 * doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.
17552
17553 2015-10-03 Andreas Schwab <schwab@linux-m68k.org>
17554
17555 More validatation of coding systems
17556
17557 * src/fileio.c (Finsert_file_contents): Remove redundant
17558 coding-system check.
17559 (choose_write_coding_system): Likewise.
17560 * src/coding.c (complement_process_encoding_system): Check argument
17561 for valid coding system.
17562
17563 2015-10-03 Eli Zaretskii <eliz@gnu.org>
17564
17565 Avoid crashes in coding_inherit_eol_type
17566
17567 * src/coding.c (coding_inherit_eol_type): Check the validity of
17568 the arguments. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
17569 (Bug#21602)
17570
17571 2015-10-03 Eli Zaretskii <eliz@gnu.org>
17572
17573 More validatation of coding system in 'write-region'
17574
17575 * src/coding.c (choose_write_coding_system): More validation of
17576 coding-system from various sources. Suggested by Andreas Schwab
17577 <schwab@linux-m68k.org>. (Bug#21602)
17578
17579 2015-10-03 Eli Zaretskii <eliz@gnu.org>
17580
17581 Avoid crashes due to invalid coding-system
17582
17583 * src/fileio.c (choose_write_coding_system)
17584 (Finsert_file_contents): Check validity of coding-system-for-write
17585 and coding-system-for-read bound by the caller. (Bug#21602)
17586
17587 2015-10-03 Tassilo Horn <tsdh@gnu.org>
17588
17589 Adapt to new prettify-symbols-unprettify-at-point default
17590
17591 * etc/NEWS: Mention that unprettication of symbol at point is off
17592 by default.
17593
17594 2015-10-03 Tassilo Horn <tsdh@gnu.org>
17595
17596 Revert my two recent process.c changes
17597
17598 Revert "Improve last commit to process.c" and "Remove callback-handled
17599 channels from Available set" because they did not fix bug#21313.
17600
17601 This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
17602 27f871907cc24f33a7d12ac3a4ab71a88f0bc554.
17603
17604 2015-10-02 Markus Triska <triska@metalevel.at>
17605
17606 * lisp/progmodes/prolog.el: Update and extend operator table.
17607 (prolog-smie-grammar): Add multifile, public etc.
17608
17609 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
17610
17611 Allow autogen even when Git is not installed
17612
17613 * autogen.sh: Test ‘git status’ before trying to use Git.
17614
17615 2015-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17616
17617 * lisp/vc/vc-git.el (vc-git-region-history): Handle local changes.
17618 Adjust lto/lfrom when we have uncommitted changes.
17619
17620 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
17621
17622 Fix problems found by clang 3.5.0
17623
17624 * src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
17625 * src/font.c (font_parse_family_registry):
17626 Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.
17627
17628 2015-10-02 Eli Zaretskii <eliz@gnu.org>
17629
17630 * nt/INSTALL: Update instructions for running autogen.sh.
17631
17632 * nt/INSTALL: Point to ezwinports for libXpm binaries.
17633
17634 2015-10-02 Daniel Colascione <dancol@dancol.org>
17635
17636 Fix winner in cl-lib not loaded case
17637
17638 * lisp/winner.el (winner-change-fun): Don't use cl-lib functions
17639 without requiring CL
17640
17641 2015-10-02 Paul Eggert <eggert@cs.ucla.edu>
17642
17643 Fix a few problems with directed quotes
17644
17645 This is in response to a problem report by Kaushal Modi in:
17646 http://bugs.gnu.org/21588#25
17647 * lisp/cedet/mode-local.el (describe-mode-local-overload):
17648 * lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
17649 * lisp/info-xref.el (info-xref-check-all-custom):
17650 * lisp/mail/emacsbug.el (report-emacs-bug-hook):
17651 Prefer directed to undirected single quotes in diagnostics.
17652
17653 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17654
17655 Revert "Attempt to fix slow redisplay caused by last changes"
17656
17657 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
17658 (try_cursor_movement): Don't relax requirements for redisplay
17659 optimizations for the selected frame. (Bug#21597)
17660
17661 This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
17662
17663 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17664
17665 Fix slow redisplay when daemon frame exists
17666
17667 * src/xdisp.c (redisplay_internal): Don't consider daemon frames
17668 when looking for frames that need to be redisplayed. (Bug#21597)
17669
17670 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17671
17672 Attempt to fix slow redisplay caused by last changes
17673
17674 * src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
17675 (try_cursor_movement): Relax requirements for redisplay
17676 optimizations for the selected frame. (Bug#21597)
17677
17678 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
17679
17680 * src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
17681 Improve doc string.
17682
17683 2015-10-01 Stephen Leake <stephen_leake@stephe-leake.org>
17684
17685 * lisp/minibuffer.el (minibuffer-completion-help):
17686 Set default base-size, in case completion table does not set it.
17687
17688 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17689
17690 Fix GUD display of GDB output with non-ASCII text
17691
17692 * lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
17693 (gdb-mi-decode): New function.
17694 (gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
17695 decode octal escapes in GDB output. (Bug#21572)
17696
17697 2015-10-01 Eli Zaretskii <eliz@gnu.org>
17698
17699 * nt/INSTALL: Document where to find XPM support files.
17700
17701 2015-10-01 Tassilo Horn <tsdh@gnu.org>
17702
17703 Un- and re-prettification are not exclusive
17704
17705 * lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
17706 Re-apply prettification to previous symbol also when unprettifying
17707 next one.
17708
17709 2015-10-01 Tassilo Horn <tsdh@gnu.org>
17710
17711 Don't unprettify symbol at point by default
17712
17713 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
17714 Default to disabled (nil).
17715
17716 2015-09-30 Artur Malabarba <bruce.connor.am@gmail.com>
17717
17718 * lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
17719 Support unprettifying when point is after a symbol.
17720
17721 * etc/NEWS: Document `prettify-symbols-unprettify-at-point'.
17722
17723 2015-09-30 Eli Zaretskii <eliz@gnu.org>
17724
17725 Avoid assertion violations in push_prefix_prop
17726
17727 * src/xdisp.c (push_prefix_prop): Avoid assertion violations when
17728 a line that has a line-prefix defined starts with an image. (Bug#21428)
17729
17730 2015-09-30 Eli Zaretskii <eliz@gnu.org>
17731
17732 Disable some display optimizations when frames need redisplay
17733
17734 These optimizations were previously disabled by the
17735 windows_or_buffers_changed flag, which now is not set
17736 when only some frames need to be redrawn.
17737 * src/xdisp.c (redisplay_internal): Redisplay any frame whose
17738 'redisplay' flag is set.
17739 (try_window_reusing_current_matrix, try_window_id)
17740 (try_cursor_movement): Disable these optimizations when the
17741 frame's 'redisplay' flag is set.
17742
17743 2015-09-30 Tassilo Horn <tsdh@gnu.org>
17744
17745 Don't modify buffer by unprettification
17746
17747 * lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
17748 (prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
17749 modify buffer when setting/removing custom prettify-symbols-start/end
17750 text properties. Add them to font-lock-extra-managed-props, too.
17751
17752 2015-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
17753
17754 Try to avoid redisplaying all frames when creating a new one
17755
17756 * src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
17757 * src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
17758 (Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
17759 * src/frame.c (x_set_screen_gamma): Set the specific frame's
17760 `redisplay' bit rather than windows_or_buffers_changed.
17761
17762 * src/window.c (apply_window_adjustment): Remove redundant setting of
17763 windows_or_buffers_changed.
17764
17765 * src/xdisp.c (redisplay_internal): Set the specific frame's
17766 `redisplay' bit rather than update_mode_lines in response to
17767 cursor_type_changed.
17768 (syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
17769 (AINC): Adjust accordingly.
17770
17771 2015-09-30 Tassilo Horn <tsdh@gnu.org>
17772
17773 Implement unprettification of symbol at point
17774
17775 * lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
17776 symbol at point.
17777 (prettify-symbols--current-symbol-bounds): New variable.
17778 (prettify-symbols--post-command-hook): New function.
17779 (prettify-symbols-unprettify-at-point): New defcustom.
17780 (prettify-symbols-mode): Use it.
17781 (prettify-symbols--compose-symbol): Use them.
17782
17783 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17784
17785 * src/macfont.m (mac_font_descriptor_supports_languages):
17786 Regard "zh" as synonym of "zh-Hans".
17787
17788 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17789
17790 Work around crash when displaying etc/HELLO on OS X 10.11
17791
17792 * src/macfont.m (mac_font_get_weight)
17793 (mac_font_descriptor_get_adjusted_weight): New functions.
17794 (macfont_store_descriptor_attributes): Adjust weight.
17795
17796 2015-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
17797
17798 * src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
17799
17800 2015-09-30 Nicolas Petton <nicolas@petton.fr>
17801
17802 * lisp/arc-mode.el (archive-rar-summarize): Better alignment
17803 of the columns.
17804
17805 2015-09-30 Nicolas Petton <nicolas@petton.fr>
17806
17807 Use unar and lsar to handle RAR archives in arc-mode
17808
17809 * lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
17810 on unar and lsar instead of unrar-free for RAR archives (bug#17663).
17811
17812 2015-09-30 Wieland Hoffmann <themineo@gmail.com> (tiny change)
17813
17814 Clarify :create in auth-source's docs
17815
17816 * lisp/gnus/auth-source.el (auth-source-search):
17817 Clarify :create's meaning.
17818
17819 2015-09-30 Phil Sainty <psainty@orcon.net.nz>
17820
17821 Avoid empty -path arguments in rgrep
17822
17823 * lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
17824 the list produced according to grep-find-ignored-directories,
17825 before passing it to Find/Grep invocation. (Bug#21548)
17826
17827 2015-09-30 Eli Zaretskii <eliz@gnu.org>
17828
17829 Clarify documentation of pos-visible-in-window-p
17830
17831 * src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
17832 t for POS. See
17833 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
17834 for the original report.
17835
17836 * doc/lispref/windows.texi (Window Start and End): Clarify the
17837 meaning of t for the POSITION argument of pos-visible-in-window-p.
17838
17839 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17840
17841 * lisp/progmodes/prolog.el: Fix various indentation cases.
17842 (prolog-operator-chars): New const (add \\).
17843 (prolog-smie-forward-token, prolog-smie-backward-token): Use it.
17844 (prolog-smie-rules): Add rules according to bug#21526.
17845
17846 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17847
17848 * lisp/progmodes/sh-script.el: Old "dumb" continued line indent.
17849 (sh-indent-after-continuation): Add new value `always' (bug#17620)
17850 (sh-smie-sh-rules): Remove old handling of continued lines.
17851 (sh-smie--indent-continuation): New function.
17852 (sh-set-shell): Use it.
17853
17854 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17855
17856 * lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun.
17857 Remove redundant :group keyword args.
17858 (octave-begin-keywords, octave-else-keywords, octave-end-keywords):
17859 Remove variables.
17860 (octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
17861 turn them into compile-time variables.
17862 Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
17863 Add rules for break, continue, return, global, and persistent.
17864 Refine the rule for "until".
17865 (octave-smie--funcall-p, octave-smie--end-index-p)
17866 (octave-smie--in-parens-p): New functions.
17867 (octave-smie-backward-token, octave-smie-forward-token): Use them to
17868 distinguish the "enumeration" function and the "end" index from
17869 their corresponding keywords.
17870 (octave--block-offset-keywords): New constant.
17871 (octave-smie-rules): Use it. Adjust rules for new global/persistent
17872 parsing.
17873 (octave-reserved-words): Redefine using octave-smie-grammar.
17874 (octave-font-lock-keywords): Use octave-smie--funcall-p and
17875 octave-smie--end-index-p.
17876
17877 2015-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
17878
17879 * lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*.
17880
17881 2015-09-29 Eli Zaretskii <eliz@gnu.org>
17882
17883 * nt/INSTALL: Remove references to GTK site.
17884 That site no longer offers Windows downloads.
17885
17886 2015-09-29 Eli Zaretskii <eliz@gnu.org>
17887
17888 * nt/INSTALL: Add instructions for installing Git.
17889
17890 2015-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
17891
17892 * lisp/net/shr.el (shr-colorize-region): Allow 88-color tty to
17893 use colors. Suggested by Eli Zaretskii.
17894
17895 2015-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
17896
17897 * lisp/net/shr.el (shr-colorize-region): Don't do it on a system
17898 not supporting 256 above colors (bug#21557).
17899
17900 2015-09-28 Dmitry Gutov <dgutov@yandex.ru>
17901
17902 Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
17903
17904 This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.
17905
17906 2015-09-28 Nicolas Petton <nicolas@petton.fr>
17907
17908 Add documentation for seq.el
17909
17910 * doc/lispref/sequences.texi: Add documentation regarding extending
17911 seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
17912 seq-do and seq-map.
17913
17914 2015-09-28 Nicolas Petton <nicolas@petton.fr>
17915
17916 Better documentation for seq-some
17917
17918 * doc/lispref/sequences.texi:
17919 * lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
17920 guarantee that the returned value is the first non-nil value that
17921 resulted from applying the predicate.
17922
17923 2015-09-28 Nicolas Petton <nicolas@petton.fr>
17924
17925 * lisp/arc-mode.el: Sharp-quote function arguments.
17926
17927 2015-09-28 Eli Zaretskii <eliz@gnu.org>
17928
17929 Avoid redisplay error in ediff-regions-wordwise
17930
17931 * lisp/vc/ediff-util.el
17932 (ediff-clone-buffer-for-region-comparison): Make sure the mark is
17933 set before activating it. (Bug#21567)
17934
17935 2015-09-28 Eli Zaretskii <eliz@gnu.org>
17936
17937 Another attempt to fix crashes due to prematurely freed faces
17938
17939 * src/xdisp.c (redisplay_internal): Inhibit freeing of realized
17940 faces for as long as we might have desired matrices that reference
17941 those faces. (Bug#21428)
17942
17943 2015-09-28 Tassilo Horn <tsdh@gnu.org>
17944
17945 Add auctex development list email address
17946
17947 2015-09-28 Tassilo Horn <tsdh@gnu.org>
17948
17949 * admin/MAINTAINERS: Add entries for AUCTeX team and myself.
17950
17951 2015-09-28 Arash Esbati <esbati@gmx.de> (tiny change)
17952
17953 Improve wrapfig package support and caption parsing
17954
17955 * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin):
17956 Correct description string and add wraptable environment.
17957 (reftex-default-context-regexps): Improve caption regexp.
17958
17959 2015-09-28 Anders Lindgren <andlind@gmail.com>
17960
17961 Respect value of frame_resize_pixelwise when handling fullscreen state
17962
17963 * src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
17964 setting size increments.
17965
17966 2015-09-27 Michael Albinus <michael.albinus@gmx.de>
17967
17968 * src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
17969
17970 2015-09-27 Simen Heggestøyl <simenheg@gmail.com>
17971
17972 Add prettify-symbols-alist for js-mode
17973
17974 * lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
17975 (js-mode): Use it.
17976
17977 2015-09-27 Eli Zaretskii <eliz@gnu.org>
17978
17979 * nt/subdirs.el: File deleted (no longer used).
17980
17981 2015-09-26 Alan Mackenzie <acm@muc.de>
17982
17983 Fix follow-scroll-up/down, making them replacements for scroll-up/down
17984
17985 1. Allow point to move between follow windows in scroll operations.
17986 2. Fix bug where `right-char' just before EOB caused spurious scrolling,
17987 when EOB was isolated in the last follow window.
17988
17989 * lisp/follow.el (follow-fixed-window): New variable.
17990 (follow-get-scrolled-point): New function.
17991 (follow-scrol-up, follow-scroll-down): Add autoload cookies.
17992 Reformulate the code. Put `scroll-command' properties on the functions.
17993 Correct minor errors in ...-down's doc string and code.
17994 (follow-calc-win-end): Amend incomplete doc string. Use
17995 `pos-visible-in-window-p' to check whether EOB is in the window.
17996 (follow-estimate-first-window-start): Correct an off-by-1 error.
17997 (follow-adjust-window): Add handling for explicit scrolling operations.
17998
17999 2015-09-26 Paul Eggert <eggert@cs.ucla.edu>
18000
18001 * admin/MAINTAINERS: Add self, plus list some more files
18002 sans maintaners.
18003
18004 2015-09-26 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
18005
18006 New DWIM commands for changing letter-case
18007
18008 * lisp/simple.el (upcase-dwim, downcase-dwim, capitalize-dwim):
18009 New functions. (Bug#21501)
18010
18011 2015-09-26 Eli Zaretskii <eliz@gnu.org>
18012
18013 * etc/PROBLEMS: Document problems with pasting on MS-Windows.
18014
18015 2015-09-26 Eli Zaretskii <eliz@gnu.org>
18016
18017 Make face realization be more frame-specific
18018
18019 * src/frame.h (struct f): New flag face_change.
18020 * src/xfaces.c (Finternal_make_lisp_face)
18021 (Finternal_copy_lisp_face, Finternal_set_lisp_face_attribute)
18022 (update_face_from_frame_parameter): Set the face_change flag only
18023 for the frame whose faces are affected.
18024 * src/xdisp.c (init_iterator): If a frame's face_change flag is
18025 set, free faces only on that frame.
18026 (redisplay_internal): Disable "display optimization 1" if the
18027 frame's face_change flag is set.
18028 (redisplay_window): Don't allow skipping a window's redisplay if
18029 its frame's face_change flag is set.
18030 * src/frame.c (x_set_screen_gamma): Instead of calling
18031 Fclear_face_cache, call clear_face_cache and set
18032 windows_or_buffers_changed to a non-zero value. This avoids
18033 setting the global face_change flag that triggers face realization
18034 on all frames and thorough redisplay of all of them.
18035
18036 * lisp/term/tty-colors.el (tty-register-default-colors): Don't
18037 clear face cache if the selected frame is a GUI frame.
18038
18039 2015-09-26 Tassilo Horn <tsdh@gnu.org>
18040
18041 Remove font-latex specific check
18042
18043 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
18044 Use syntax-ppss data to identify verbatim contents.
18045
18046 2015-09-25 Tassilo Horn <tsdh@gnu.org>
18047
18048 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
18049 Fix some false negatives.
18050
18051 2015-09-25 Eli Zaretskii <eliz@gnu.org>
18052
18053 Reorder Windows version in Emacs manifests
18054
18055 * nt/emacs-x64.manifest:
18056 * nt/emacs-x86.manifest: Reorder Windows version from lowest to
18057 highest.
18058
18059 2015-09-25 Eli Zaretskii <eliz@gnu.org>
18060
18061 Update Emacs manifest files for Windows 10
18062
18063 * nt/emacs-x86.manifest:
18064 * nt/emacs-x64.manifest: Declare compatibility with Windows 10.
18065
18066 2015-09-25 Eli Zaretskii <eliz@gnu.org>
18067
18068 Avoid non-ASCII decoding errors in C src files
18069
18070 * src/nsterm.m:
18071 * src/lisp.h:
18072 * src/editfns.c:
18073 * src/doprnt.c: Add 'coding' cookies -- these files include
18074 Unicode characters and should be decoded as UTF-8.
18075
18076 2015-09-25 Alan Mackenzie <acm@muc.de>
18077
18078 Resurrect edebug-set-initial-mode, repurposing it to set the global mode
18079
18080 * lisp/emacs-lisp/edebug.el (edebug-initial-mode-alist): Uncomment, and
18081 amend to match current modes and functions.
18082 (edebug-set-initial-mode): Uncomment and change from setting a defun's
18083 `edebug-initial-mode''s property to setting the variable
18084 `edebug-initial-mode'.
18085 (top level): Create new binding C-x C-a C-m for
18086 `edebug-set-initial-mode'.
18087
18088 * doc/lispref/edebug.texi (Edebug Execution Modes): Document
18089 `edebug-set-initial-mode' and its new key binding.
18090 (Edebug Options): Mention the new command in the pertinent place.
18091
18092 * etc/NEWS: Write entry for this change.
18093
18094 2015-09-25 Eli Zaretskii <eliz@gnu.org>
18095
18096 Avoid non-ASCII decoding errors in Texinfo files
18097
18098 * doc/misc/tramp.texi:
18099 * doc/lispref/strings.texi:
18100 * doc/lispref/positions.texi:
18101 * doc/lispref/help.texi:
18102 * doc/lispref/functions.texi:
18103 * doc/lispintro/emacs-lisp-intro.texi:
18104 * doc/emacs/text.texi:
18105 * doc/emacs/modes.texi:
18106 * doc/emacs/mini.texi:
18107 * doc/emacs/display.texi:
18108 * doc/emacs/custom.texi:
18109 * doc/emacs/basic.texi: Add 'coding' cookies -- these files use
18110 Unicode characters and should be decoded as UTF-8.
18111 * doc/lispref/frames.texi (Size Parameters): Don't use a non-ASCII
18112 apostrophe unnecessarily.
18113
18114 2015-09-25 Paul Eggert <eggert@cs.ucla.edu>
18115
18116 Merge from gnulib
18117
18118 This incorporates:
18119 2015-09-25 c-ctype: rewrite to use inline functions
18120 2015-09-24 maint: add coding cookies to non-ASCII sources
18121 2015-09-24 gitlog-to-changelog: trim only trailing whitespaces
18122 * build-aux/gitlog-to-changelog, doc/misc/texinfo.tex:
18123 * lib/acl-internal.c, lib/acl-internal.h, lib/c-ctype.c:
18124 * lib/c-ctype.h, lib/get-permissions.c, lib/qcopy-acl.c:
18125 * lib/set-permissions.c:
18126 Copy from gnulib.
18127
18128 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
18129
18130 Update publicsuffix.txt from upstream
18131
18132 * etc/publicsuffix.txt: Update from
18133 https://publicsuffix.org/list/effective_tld_names.dat
18134 dated 2015-09-24 17:29:21 UTC.
18135
18136 2015-09-24 Eli Zaretskii <eliz@gnu.org>
18137
18138 Prevent timers from messing up TTY menus
18139
18140 * src/term.c (tty_menu_activate): Inhibit redisplay for as long as
18141 the TTY menu is open. (Bug#21530)
18142
18143 2015-09-24 Paul Eggert <eggert@cs.ucla.edu>
18144
18145 No need to mention K&R C in c-mode intro
18146
18147 2015-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
18148
18149 Fix recent bootstrap problems
18150
18151 * src/syntax.c (parse_sexp_propertize): Fix last fix.
18152 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): Fix paren typo.
18153 * lisp/emacs-lisp/lisp-mode.el: Require cl-lib for cl-progv.
18154
18155 2015-09-24 Michael Albinus <michael.albinus@gmx.de>
18156
18157 * src/gfilenotify.c (Fgfile_add_watch): Decrease polling rate.
18158
18159 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
18160
18161 Properly quote nested xml comments (Bug#6267) (Bug#20001)
18162
18163 * lisp/nxml/nxml-mode.el (nxml-comment-quote-nested): New function.
18164 (nxml-mode): Set comment-quote-nested-function.
18165
18166 2015-09-23 Ivan Andrus <darthandrus@gmail.com>
18167
18168 Allow major-modes full control over quoting nested comments
18169
18170 * lisp/newcomment.el (comment-quote-nested-function): New variable.
18171 (comment-quote-nested-default): New function.
18172 (comment-quote-nested): Use `comment-quote-nested-function'.
18173
18174 2015-09-23 Paul Eggert <eggert@cs.ucla.edu>
18175
18176 Prefer CALLN in a few more places
18177
18178 * src/macfont.m (macfont_set_family_cache):
18179 * src/nsterm.m (append2):
18180 * src/xterm.c (x_cr_export_frames):
18181 Prefer CALLN to allocating the arg arrays by hand.
18182
18183 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
18184
18185 Adapt file-notify-test02-events test case
18186
18187 * test/automated/file-notify-tests.el (file-notify-test02-events):
18188 Create a new watch for every test.
18189
18190 2015-09-23 Michael Albinus <michael.albinus@gmx.de>
18191
18192 Continue gfilenotify.c implementation of missing parts
18193
18194 * lisp/filenotify.el (file-notify-add-watch): Append `flags' to
18195 `gfile-add-watch' call.
18196 (file-notify-rm-watch): Modify `file-notify-descriptors' only
18197 after calling the low level functions.
18198
18199 * src/gfilenotify.c (dir_monitor_callback): Check, whether
18200 event_type is expected.
18201 (Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
18202 (Fgfile_rm_watch): Fix typo.
18203 (syms_of_gfilenotify): Declare Qchange and Qattribute_change.
18204
18205 2015-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18206
18207 * src/syntax.c (parse_sexp_propertize): Handle spurious
18208 e_property_truncated flag.
18209 (update_syntax_table_forward): Remove invalid assertion.
18210
18211 2015-09-23 Eli Zaretskii <eliz@gnu.org>
18212
18213 * src/xdisp.c (produce_stretch_glyph): Support ':relative-width'
18214 space display spec on text-mode terminals, by calling
18215 PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the
18216 HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the
18217 test for a GUI frame.
18218
18219 2015-09-23 Oleh Krehel <ohwoeowho@gmail.com>
18220
18221 Move let-when-compile to lisp-mode.el
18222
18223 This fixes the bootstrapping problem of `let-when-compile' using
18224 `cl-progv' while being in subr.el (i.e. before cl stuff was loaded).
18225
18226 2015-09-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
18227
18228 * lisp/url/url-http.el (url-http-parse-headers): Do not
18229 automatically include Authorization header in redirect.
18230 (Bug#21350)
18231
18232 2015-09-22 Eli Zaretskii <eliz@gnu.org>
18233
18234 Clarify documentation of ':relative-width'
18235
18236 * doc/lispref/display.texi (Specified Space): Document that
18237 ':relative-width' is only supported on GUI frames.
18238
18239 2015-09-22 Eli Zaretskii <eliz@gnu.org>
18240
18241 Fix 'current-column' in presence of :relative-width
18242
18243 * src/indent.c (check_display_width): Support ':relative-width'
18244 in a display spec that specifies a stretch glyph. (Bug#21533)
18245
18246 2015-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18247
18248 Reformat the pdbtrack remote-file fix ChangeLog.2 entry
18249
18250 ... to conform better to CONTRIBUTE guidelines.
18251
18252 2015-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
18253
18254 * lisp/progmodes/prolog.el: Fix indentation of empty line
18255
18256 * lisp/emacs-lisp/smie.el (smie-rules-function): Document new
18257 `empty-line-token' element.
18258 (smie-indent-empty-line): New function.
18259 (smie-indent-functions): Add it.
18260
18261 * lisp/progmodes/prolog.el (prolog-smie-rules): Fix :list-intro
18262 behavior and use the new `empty-line-token' element (bug#21526).
18263 (prolog-mode-variables): Fix comment-start-skip setting to match
18264 comment-start.
18265
18266 * test/indent/prolog.prolog: Add nested indentation tests.
18267
18268 * lisp/newcomment.el (comment-normalize-vars): Fix default value of
18269 comment-start-skip not to misuse submatch 1.
18270
18271 2015-09-22 Alan Mackenzie <acm@muc.de>
18272
18273 Make description of `edebug-initial-mode' user friendly
18274
18275 Fixes bug#21365.
18276
18277 * doc/lispref/edebug.texi (Edebug Execution Modes): Change the
18278 description of `edebug-initial-mode' from that of its implementation
18279 to that of its visual effect and use. Move the paragraph higher up.
18280
18281 2015-09-22 Eli Zaretskii <eliz@gnu.org>
18282
18283 lisp/progmodes/gud.el (gud-format-command): Fix last commit
18284
18285 * lisp/progmodes/gud.el (gud-format-command): Don't use Tramp internal
18286 functions 'tramp-file-name-localname' and 'tramp-dissect-file-name'.
18287
18288 2015-09-22 Tassilo Horn <tsdh@gnu.org>
18289
18290 Improve last commit to process.c
18291
18292 2015-09-22 Michael Albinus <michael.albinus@gmx.de>
18293
18294 Implement gfile-valid-p
18295
18296 * lisp/filenotify.el (file-notify-callback): Fix typo.
18297 (gfile-valid-p): Remove defalias.
18298
18299 * src/gfilenotify.c (dir_monitor_callback): Cancel the monitor if
18300 the file or directory to be watched is deleted.
18301 (Fgfile_add_watch): Make watch_object a triple.
18302 (Fgfile_rm_watch): Check, whether watch is cancelled already.
18303 (Fgfile_valid_p): New defun.
18304 (syms_of_gfilenotify): Declare Sgfile_valid_p.
18305
18306 2015-09-22 Tassilo Horn <tsdh@gnu.org>
18307
18308 Remove callback-handled channels from Available set
18309
18310 * src/process.c (wait_reading_process_output): Remove channel from
18311 Available set if it is handled by a callback, e.g., dbus or
18312 inotify (bug#21313).
18313
18314 2015-09-21 Mark Oteiza <mvoteiza@udel.edu>
18315
18316 Use lunate epsilon for TeX \epsilon
18317
18318 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
18319 Add \varepsilon using GREEK SMALL LETTER EPSILON, and change
18320 \epsilon to use GREEK LUNATE EPSILON SYMBOL
18321
18322 2015-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18323
18324 * lisp/progmodes/prolog.el: Fix nested electric if-then-else
18325
18326 * lisp/progmodes/prolog.el (prolog-find-unmatched-paren): Use innermost
18327 rather than outermost paren (bug#21526).
18328
18329 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
18330
18331 Improve git diff hunk headers for .el, .texi
18332
18333 Problem reported by Alan Mackenzie in:
18334 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00826.html
18335 * .gitattributes (*.el, *.texi): New patterns.
18336 * autogen.sh: Configure diff.elisp.xfuncname and
18337 diff.texinfo.xfuncname if using Git.
18338
18339 2015-09-21 Eli Zaretskii <eliz@gnu.org>
18340
18341 Don't rely on defaults in decoding UTF-8 encoded Lisp files
18342
18343 * lisp/replace.el:
18344 * lisp/textmodes/rst.el:
18345 * lisp/whitespace.el: Add an explicit UTF-8 encoding tag.
18346
18347 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
18348
18349 Clarify or replace a few \u escapes
18350
18351 * doc/lispref/nonascii.texi (Character Properties)
18352 More-detailed commentary for \u escapes.
18353 * lisp/progmodes/python.el (python--prettify-symbols-alist):
18354 * lisp/replace.el (query-replace-from-to-separator):
18355 * lisp/textmodes/rst.el (rst-bullets, rst-re-alist-def)
18356 (rst-mode-syntax-table):
18357 * lisp/whitespace.el (whitespace-display-mappings):
18358 Prefer actual character to \u escape when this makes the code
18359 easier to follow in the usual case where Unicode chars can be
18360 displayed.
18361
18362 2015-09-21 Paul Eggert <eggert@cs.ucla.edu>
18363
18364 Pacify GCC -Wmaybe-uninitialized in xdisp.c
18365
18366 * src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
18367 than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
18368 charpos. The loop should always execute at least once anyway.
18369
18370 2015-09-21 Tassilo Horn <tsdh@gnu.org>
18371
18372 Signal error on invalid regexp
18373
18374 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
18375 Signal an error when the user tries searching with a regexp
18376 matching the empty string.
18377
18378 2015-09-21 Eli Zaretskii <eliz@gnu.org>
18379
18380 Another fix of file-notify-tests for w32notify
18381
18382 * test/automated/file-notify-tests.el (file-notify-test02-events):
18383 Further adaptation for w32notify: reduce the number of expected
18384 'changed' events. (Bug#21435)
18385
18386 2015-09-21 Michael Albinus <michael.albinus@gmx.de>
18387
18388 Adapt tests and manual for w32notify
18389
18390 * doc/lispref/os.texi (File Notifications): w32notify does not
18391 send `attribute-changed' events.
18392
18393 * test/automated/file-notify-tests.el (file-notify--test-with-events):
18394 Simplify parameters. Adapt all callees.
18395 (file-notify-test02-events): w32notify does not send
18396 `attribute-changed' events.
18397 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
18398 Do not skip in case of w32notify. Simply ignore this part of the test.
18399
18400 2015-09-21 Dima Kogan <dima@secretsauce.net>
18401
18402 Fix setting breakpoints when remote-debugging
18403
18404 * lisp/progmodes/gud.el (gud-format-command): Send localized file
18405 names to the debugger running on the remote. (Bug#13304)
18406
18407 2015-09-21 Nicolas Petton <nicolas@petton.fr>
18408
18409 Better docstring and parameter name for seq-find
18410
18411 * lisp/emacs-lisp/seq.el (seq-find): Improve the docstring and rename
18412 the parameter `sentinel' to `default'.
18413
18414 * doc/lispref/sequences.texi (Sequence Functions): Update the
18415 documentation for `seq-find' accordingly.
18416
18417 2015-09-21 Eli Zaretskii <eliz@gnu.org>
18418
18419 Avoid infinite recursion while displaying box face
18420
18421 * src/xdisp.c (face_before_or_after_it_pos): Fix calculation of
18422 the previous string/buffer character position under bidi
18423 iteration. (Bug#21428)
18424
18425 2015-09-21 Anders Lindgren <andlind@gmail.com>
18426
18427 Keep upper edge unchanged when changing size of NS frame
18428
18429 * src/nsterm.m (x_set_window_size): Keep upper frame edge unchanged
18430 (Bug#21415).
18431
18432 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18433
18434 * lisp/progmodes/prolog.el: Improve handling of if/then/else.
18435 (prolog-smie-rules): Accommodate standard if/then/else special
18436 indentation.
18437 (prolog-mode): Add . to electric-indent-chars.
18438 (prolog-electric--if-then-else): Re-indent the line before adding space
18439 after the new char (bug#21526).
18440
18441 2015-09-20 Mark Oteiza <mvoteiza@udel.edu>
18442
18443 Add prettify symbols to python-mode
18444
18445 * lisp/progmodes/python.el (python-prettify-symbols-alist):
18446 New variable.
18447 (python-mode): Use it
18448
18449 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18450
18451 * lisp/emacs-lisp/syntax.el (syntax-begin-function): Make obsolete.
18452
18453 2015-09-20 Jostein Kjønigsen <jostein@secure.kjonigsen.net> (tiny change)
18454
18455 (compilation-error-regexp-alist-alist): Tone down guile-file
18456
18457 * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
18458 Make guile-file a bit less enthusiastic (bug#21496).
18459
18460 2015-09-20 Drew Csillag <drew@thecsillags.com>
18461
18462 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords):
18463 Fix m4_* highlighting.
18464
18465 * lisp/progmodes/m4-mode.el (m4-font-lock-keywords): Fix recognition
18466 of commands when they have a "m4_" prefix.
18467
18468 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
18469
18470 '.' -> `.' in doc string
18471
18472 * lisp/emacs-lisp/timer.el (run-at-time): In doc string, quote
18473 individual chars with grave quotes instead of straight quotes, as
18474 this works better when they are translated to curved quotes.
18475
18476 2015-09-20 Michael Albinus <michael.albinus@gmx.de>
18477
18478 Improve file notifications, especially for Tramp
18479
18480 * doc/lispref/files.texi (Magic File Names):
18481 Mention `file-notify-valid-p'.
18482
18483 * doc/lispref/os.texi (File Notifications):
18484 Describe `file-notify-valid-p'.
18485
18486 * etc/NEWS: Add `file-notify-valid-p'.
18487
18488 * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
18489 Improve implementation.
18490 (tramp-gvfs-monitor-file-process-filter): Rename from
18491 `tramp-gvfs-file-gvfs-monitor-file-process-filter'. Delete
18492 process if appropriate.
18493
18494 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
18495 Improve implementation.
18496 (tramp-sh-gvfs-monitor-dir-process-filter): Rename from
18497 `tramp-sh-file-gvfs-monitor-dir-process-filter'. Delete process
18498 if appropriate.
18499 (tramp-sh-inotifywait-process-filter): Rename from
18500 `tramp-sh-file-inotifywait-process-filter'. Delete process if
18501 appropriate.
18502
18503 * lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
18504 Use `delete-process'.
18505 (tramp-handle-file-notify-valid-p): Check also, that file or
18506 directory to be watched still exists.
18507
18508 * test/automated/file-notify-tests.el (file-notify--test-timeout):
18509 New defun. Use it at all places a timeout is needed.
18510 (file-notify--test-cleanup): Delete directories recursively.
18511 Cleanup also Tramp connections.
18512 (file-notify-test02-events): Add tests for `attribute-change'.
18513 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
18514 Add tests for `file-notify-rm-watch'.
18515
18516 2015-09-20 Paul Eggert <eggert@cs.ucla.edu>
18517
18518 Use %s to format strings instead of splicing them
18519
18520 If FOO might contain quotes that are part of a file or variable
18521 name, the quotes should not be translated when showing FOO’s name
18522 in a diagnostic. So, for example, (message (concat (FOO ": bar")))
18523 is not quite right, as it would translate FOO’s quotes.
18524 Change it to (message "%s: bar" FOO) instead.
18525 * lisp/allout.el (allout-process-exposed):
18526 * lisp/calc/calc-ext.el (calc-do-prefix-help):
18527 * lisp/calc/calc-store.el (calc-store-into):
18528 * lisp/calendar/todo-mode.el (todo-category-completions):
18529 * lisp/cedet/semantic/complete.el (semantic-completion-message):
18530 * lisp/org/ob-latex.el (convert-pdf):
18531 * lisp/org/org-crypt.el (org-crypt-check-auto-save):
18532 * lisp/org/ox-latex.el (org-latex-compile):
18533 * lisp/org/ox-man.el (org-man-compile):
18534 * lisp/org/ox-odt.el (org-odt--export-wrap):
18535 * lisp/org/ox-texinfo.el (org-texinfo-compile):
18536 * lisp/progmodes/ruby-mode.el (ruby-in-ppss-context-p):
18537 * lisp/progmodes/verilog-mode.el (verilog-batch-execute-func)
18538 (verilog-signals-combine-bus, verilog-read-defines)
18539 (verilog-getopt-file, verilog-expand-dirnames)
18540 (verilog-modi-lookup, verilog-modi-modport-lookup-one):
18541 * lisp/term/ns-win.el (ns-spi-service-call):
18542 Use %s to avoid translating quotes of file names etc. in diagnostics.
18543
18544 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18545
18546 * lisp/progmodes/js.el (js--syntax-begin-function): Remove.
18547 (js-mode): Don't set syntax-begin-function.
18548
18549 2015-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18550
18551 * lisp/font-lock.el (font-lock-compile-keywords): Don't assume
18552 syntax-begin-function is a symbol.
18553
18554 2015-09-20 Eli Zaretskii <eliz@gnu.org>
18555
18556 Improve documentation of 'run-at-time'
18557 * lisp/emacs-lisp/timer.el (run-at-time): Improve the doc string.
18558 In particular, don't refer to 'diary-entry-time', because it is
18559 unavailable until diary-lib is loaded. Also, refer to
18560 'timer-duration-words', not 'timer-duration', as the latter's doc
18561 string says nothing about the accepted strings.
18562
18563 2015-09-19 Jay Belanger <jay.p.belanger@gmail.com>
18564
18565 * lisp/calc/calc-ext.el (calc-do-prefix-help): Tidy up error message.
18566
18567 2015-09-19 Ken Manheimer <ken.manheimer@gmail.com>
18568
18569 Repair pdbtrack remote file tracking
18570 * lisp/progmodes/python.el (python-pdbtrack-set-tracked-buffer):
18571 Rectify pdbtrack so it follows transitions from one remote source
18572 file to the next.
18573
18574 2015-09-19 Artur Malabarba <bruce.connor.am@gmail.com>
18575
18576 * lisp/emacs-lisp/timer.el (run-at-time): Docstring formatting.
18577
18578 2015-09-19 Eli Zaretskii <eliz@gnu.org>
18579
18580 Adapt vc-src to the old-new vc-checkin API
18581 * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an
18582 additional optional parameter.
18583
18584 2015-09-19 Simen Heggestøyl <simenheg@gmail.com>
18585
18586 Add overflow module to CSS property list
18587 * lisp/textmodes/css-mode.el (css-property-ids): Add properties
18588 from CSS Overflow Module Level 3.
18589
18590 2015-09-19 Eli Zaretskii <eliz@gnu.org>
18591
18592 Fix documentation of "C-u C-x v v"
18593 * doc/emacs/maintaining.texi (Advanced C-x v v): Make the
18594 documentation of "C-u C-x v v" match what the code does.
18595
18596 Resurrect the ability to specify a revision in vc-next-action
18597 * lisp/vc/vc-bzr.el (vc-bzr-checkin):
18598 * lisp/vc/vc-dav.el (vc-dav-checkin):
18599 * lisp/vc/vc-git.el (vc-git-checkin):
18600 * lisp/vc/vc-hg.el (vc-hg-checkin):
18601 * lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
18602 an additional optional argument, the revision to checkin.
18603 * lisp/vc/vc-sccs.el (vc-sccs-checkin):
18604 * lisp/vc/vc-cvs.el (vc-cvs-checkin):
18605 * lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
18606 a revision to checkin.
18607 * lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
18608 revision when checking in files.
18609 See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
18610 for the details.
18611
18612 2015-09-18 Wilson Snyder <wsnyder@wsnyder.org>
18613
18614 * lisp/progmodes/verilog-mode.el (verilog-forward-sexp-function)
18615 (verilog-decls-princ, verilog-modport-princ)
18616 (verilog-modi-modport-lookup-one): Fix checkdoc warnings.
18617
18618 2015-09-17 Jay Belanger <jay.p.belanger@gmail.com>
18619
18620 Fix the routine for help on Calc's prefixes
18621 * lisp/calc/calc-ext.el (calc-prefix-help-retry): New variable.
18622 (calc-do-prefix-help): Use `read-char' to determine the next Calc
18623 command.
18624
18625 2015-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18626
18627 * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove.
18628 (font-lock-fontify-block): Don't let-bind it.
18629 (font-lock-compile-keywords): Don't use it.
18630 (font-lock-set-defaults): Don't set it. Allow the variable alist to
18631 start one slot earlier, instead.
18632 * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
18633 Don't declare.
18634 (syntax-ppss): Don't use it either.
18635 * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
18636 from docstring.
18637 * doc/emacs/display.texi (Font Lock): Don't mention
18638 font-lock-beginning-of-syntax-function.
18639 * doc/lispref/modes.texi (Font Lock Basics): Update description of
18640 font-lock-defaults.
18641 (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
18642 * lisp/loadhist.el (unload-feature-special-hooks):
18643 Remove font-lock-beginning-of-syntax-function.
18644 * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
18645 * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
18646 font-lock-beginning-of-syntax-function.
18647
18648 2015-09-17 Paul Eggert <eggert@cs.ucla.edu>
18649
18650 Backslash cleanup in Elisp source files
18651 This patch should not change behavior. It typically omits backslashes
18652 where they are redundant (e.g., in the string literal "^\$").
18653 In a few places, insert backslashes where they make regular
18654 expressions clearer: e.g., replace "^\*" (equivalent to "^*") with
18655 "^\\*", which has the same effect as a regular expression.
18656 Also, use ‘\ %’ instead of ‘\%’ when avoiding confusion with SCCS IDs,
18657 and similarly use ‘\ $’ instead of ‘\$’ when avoiding confusion with
18658 RCS IDs, as that makes it clearer that the backslash is intended.
18659
18660 Some more minor backslash fixes
18661 * test/automated/compile-tests.el (compile-tests--test-regexps-data):
18662 * test/automated/info-xref.el (info-xref-test-write-file):
18663 Double backslashes in strings.
18664
18665 Fix several backslash typos in Elisp strings
18666 * lisp/calendar/todo-mode.el (todo-files, todo-rename-file)
18667 (todo-find-filtered-items-file, todo-reset-nondiary-marker)
18668 (todo-reset-done-string, todo-reset-comment-string)
18669 (todo-reset-highlight-item):
18670 * lisp/erc/erc-networks.el (erc-networks-alist):
18671 * lisp/gnus/gnus-art.el (gnus-button-handle-library):
18672 * lisp/gnus/gnus-group.el (gnus-read-ephemeral-gmane-group-url):
18673 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
18674 (nntp-telnet-shell-prompt):
18675 * lisp/gnus/spam-report.el (spam-report-gmane-regex):
18676 * lisp/image-dired.el (image-dired-rotate-original):
18677 (image-dired-get-exif-file-name):
18678 * lisp/international/latin1-disp.el (latin1-display-ucs-per-lynx):
18679 * lisp/mail/undigest.el (rmail-digest-parse-rfc1153strict):
18680 * lisp/mh-e/mh-letter.el (mh-file-is-vcard-p):
18681 * lisp/mh-e/mh-mime.el (mh-file-mime-type-substitutions):
18682 * lisp/net/shr-color.el (shr-color->hexadecimal):
18683 * lisp/org/org-bibtex.el (org-bibtex-fields):
18684 * lisp/org/org-docview.el (org-docview-export):
18685 * lisp/org/org-entities.el (org-entities):
18686 * lisp/org/ox-icalendar.el (org-icalendar-cleanup-string):
18687 * lisp/progmodes/cperl-mode.el (cperl-indent-exp):
18688 * lisp/progmodes/ebnf2ps.el (ebnf-file-suffix-regexp)
18689 (ebnf-style-database):
18690 * lisp/progmodes/idlw-help.el (idlwave-do-context-help1):
18691 * lisp/progmodes/ruby-mode.el (ruby-imenu-create-index-in-block):
18692 * lisp/progmodes/sql.el (sql-product-alist):
18693 * lisp/progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist)
18694 (verilog-error-font-lock-keywords)
18695 (verilog-assignment-operator-re):
18696 * lisp/progmodes/vhdl-mode.el (vhdl-compiler-alist):
18697 * lisp/textmodes/reftex-parse.el (reftex-parse-from-file):
18698 * lisp/vc/add-log.el (change-log-version-number-regexp-list):
18699 Fix typo by replacing ‘\’ with ‘\\’ in a string literal.
18700 For example, to get the regular expression ‘\.’ use the string
18701 literal "\\.", not "\." (which is equivalent to ".").
18702 * lisp/emulation/viper-util.el (viper-glob-unix-files):
18703 Remove stray ‘\j’ from string.
18704 * lisp/gnus/nntp.el (nntp-via-shell-prompt)
18705 (nntp-telnet-shell-prompt):
18706 Treat > like $ when matching a shell prompt.
18707 * lisp/progmodes/make-mode.el (makefile-browse):
18708 Properly quote a diagnostic.
18709
18710 Fix minor quoting problems in diagnostics
18711 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
18712 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
18713 Follow text-quoting-style in diagnostic, and quote a file name.
18714
18715 2015-09-17 Eli Zaretskii <eliz@gnu.org>
18716
18717 * doc/lispref/frames.texi (Cursor Parameters):
18718 Document 'x-stretch-cursor'.
18719
18720 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
18721
18722 Omit unnecessary \ before paren in C docstrings
18723 Although \( is needed in docstrings in Elisp code, it is not needed in
18724 docstrings in C code, since C function definitiions do not start with
18725 a parenthesis. The backslashes made the docstrings a bit harder to
18726 read and to format in columns. Also, some C docstrings had ( in
18727 column 1 and this did not appear to be causing any problems. So,
18728 simplify C docstrings by replacing \( with ( and \) with ).
18729
18730 A few more minor quoting fixes in a script and a text file
18731
18732 Minor quoting fixes in scripts and doc
18733 Prefer straight quotes in random script files, as they are not
18734 converted. Prefer grave quotes in a couple of places in the manual
18735 that were missed earlier, as these quotes are converted.
18736
18737 Minor backslash fixes in manuals and scripts
18738 * Makefile.in (install-arch-indep):
18739 * admin/charsets/compact.awk:
18740 * admin/charsets/gb180302.awk (gb_to_index):
18741 * admin/charsets/gb180304.awk (gb_to_index):
18742 Avoid undefined behavior in Awk regular expression backslashes.
18743 * doc/misc/efaq.texi (Matching parentheses):
18744 Omit unnecessary backslashes.
18745 * doc/misc/gnus-faq.texi (FAQ 5-8):
18746 Avoid undefined behavior in suggested sed backslash usage.
18747
18748 Add -Wswitch to --enable-gcc-warnings
18749 Make --enable-gcc-warnings a bit pickier, by also using -Wswitch.
18750 * configure.ac (WERROR_CFLAGS): Don’t add -Wno-switch.
18751 * lib-src/etags.c (main, consider_token, C_entries):
18752 * src/coding.c (encode_invocation_designation):
18753 * src/data.c (Ftype_of):
18754 * src/eval.c (Fdefvaralias, default_toplevel_binding)
18755 (Fbacktrace__locals, mark_specpdl):
18756 * src/lisp.h (record_xmalloc):
18757 * src/syntax.c (scan_lists, scan_sexps_forward):
18758 * src/window.c (window_relative_x_coord):
18759 * src/xdisp.c (push_it, pop_it):
18760 * src/xterm.c (xg_scroll_callback, x_check_fullscreen):
18761 Error out or do nothing (as appropriate) if a switch statement
18762 with an enum value does not cover all of the enum.
18763 * src/dispextern.h (struct iterator_stack_entry.u.comp):
18764 Remove unused member discovered by using -Wswitch.
18765 * src/lisp.h (record_xmalloc): Add a ‘+ 0’ to pacify -Wswitch.
18766 * src/vm-limit.c (check_memory_limits):
18767 Simplify warning-diagnostic computation by using a table.
18768
18769 etags ‘fatal’ function is now printf-like
18770 * lib-src/etags.c (fatal): Now printf-like. All callers changed.
18771 Also, now static; not clear why it needed to be extern.
18772 (verror): New function, with most of the old contents of ‘error’.
18773 (fatal, error): Use it.
18774
18775 2015-09-16 Eli Zaretskii <eliz@gnu.org>
18776
18777 More adaptations in file-notify-tests.el
18778 * test/automated/file-notify-tests.el
18779 (file-notify-test05-dir-validity): Skip for w32notify in
18780 batch-mode. (Bug#21432)
18781
18782 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
18783
18784 Adapt test in file-notify-tests.el
18785 * test/automated/file-notify-tests.el
18786 (file-notify-test04-file-validity): Skip for w32notify in
18787 batch-mode. Add test lost last commit.
18788
18789 2015-09-16 Dima Kogan <dima@secretsauce.net>
18790
18791 winner no longer holds on to dead frames
18792 * lisp/winner.el (winner-change-fun): Cull dead frames.
18793 This prevents a potentially massive memory leak. See:
18794 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00619.html
18795
18796 2015-09-16 Michael Albinus <michael.albinus@gmx.de>
18797
18798 Use common report_file_notify_error function
18799 * src/fileio.c (report_file_notify_error): New function.
18800 * src/inotify.c (report_inotify_error): Remove function.
18801 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
18802 (Finotify_rm_watch): Use report_file_notify_error.
18803 * src/lisp.h (report_file_notify_error): Declare external function.
18804 * src/w32notify.c (report_w32notify_error): Remove function.
18805 (Fw32notify_add_watch, Fw32notify_rm_watch):
18806 Use report_file_notify_error.
18807
18808 2015-09-16 Jay Belanger <jay.p.belanger@gmail.com>
18809
18810 Fix documentation.
18811 * doc/misc/calc.texi (Single-Variable Statistics): Fix the wording of
18812 the documentation of the root mean square.
18813
18814 2015-09-16 Martin Rudalics <rudalics@gmx.at>
18815
18816 Remove tool_bar_redisplayed_once and associated code.
18817 * src/frame.h (tool_bar_redisplayed_once): Remove slot.
18818 * src/frame.c (make_frame, x_set_font): Remove initialization of
18819 f->tool_bar_redisplayed_once.
18820 * src/w32fns.c (x_change_tool_bar_height):
18821 * src/xfns.c (x_change_tool_bar_height): Don't check for
18822 f->tool_bar_redisplayed_once.
18823 * src/xdisp.c (redisplay_internal): Remove handling of
18824 f->tool_bar_redisplayed_once.
18825
18826 2015-09-16 Eli Zaretskii <eliz@gnu.org>
18827
18828 Restore some of the quoting in the manuals
18829 * doc/lispref/windows.texi (Coordinates and Windows)
18830 (Coordinates and Windows):
18831 * doc/lispref/variables.texi (Lexical Binding)
18832 (File Local Variables):
18833 * doc/lispref/text.texi (Format Properties):
18834 * doc/lispref/symbols.texi (Symbol Components):
18835 * doc/lispref/strings.texi (Creating Strings):
18836 * doc/lispref/sequences.texi (Sequence Functions):
18837 * doc/lispref/searching.texi (Regexp Special, Regexp Search)
18838 (Search and Replace):
18839 * doc/lispref/processes.texi (Bindat Spec):
18840 * doc/lispref/os.texi (Idle Timers):
18841 * doc/lispref/objects.texi (Basic Char Syntax):
18842 * doc/lispref/numbers.texi (Float Basics, Random Numbers):
18843 * doc/lispref/nonascii.texi (Character Properties):
18844 * doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks)
18845 (Mode Line Variables):
18846 * doc/lispref/minibuf.texi (Text from Minibuffer):
18847 * doc/lispref/loading.texi (Autoload):
18848 * doc/lispref/keymaps.texi (Controlling Active Maps):
18849 * doc/lispref/frames.texi (Frame Layout, Size and Position)
18850 (Size Parameters, Implied Frame Resizing):
18851 * doc/lispref/files.texi (Changing Files, Magic File Names):
18852 * doc/lispref/eval.texi (Self-Evaluating Forms):
18853 * doc/lispref/display.texi (Progress, Abstract Display)
18854 (Abstract Display Example, Bidirectional Display):
18855 * doc/lispref/commands.texi (Event Mod):
18856 * doc/emacs/windows.texi (Displaying Buffers):
18857 * doc/emacs/trouble.texi (Bug Criteria, Checklist):
18858 * doc/emacs/text.texi (Enriched Text):
18859 * doc/emacs/programs.texi (MixedCase Words):
18860 * doc/emacs/picture-xtra.texi (Insert in Picture)
18861 (Tabs in Picture):
18862 * doc/emacs/misc.texi (Emacs Server, Printing):
18863 * doc/emacs/mini.texi (Minibuffer History):
18864 * doc/emacs/maintaining.texi (Old Revisions, VC Change Log)
18865 (Pulling / Pushing):
18866 * doc/emacs/killing.texi (Yanking, Cut and Paste, Clipboard):
18867 * doc/emacs/help.texi (Help, Help Echo):
18868 * doc/emacs/glossary.texi (Glossary):
18869 * doc/emacs/frames.texi (Mouse Commands, Creating Frames)
18870 (Frame Commands):
18871 * doc/emacs/files.texi (Reverting, Saving, Directories):
18872 * doc/emacs/entering.texi (Exiting):
18873 * doc/emacs/emacs.texi (Top):
18874 * doc/emacs/cmdargs.texi (Window Size X, Icons X):
18875 * doc/emacs/anti.texi (Antinews): Restore quoting of text where
18876 appropriate or replace quoting with @dfn.
18877 * doc/misc/ediff.texi (Window and Frame Configuration):
18878 * doc/lispref/processes.texi (Network Feature Testing):
18879 * doc/lispref/display.texi (Display Margins): Quote the phrase
18880 after "a.k.a." where appropriate.
18881
18882 2015-09-16 Tassilo Horn <tsdh@gnu.org>
18883
18884 Clarify reftex-extra-bindings docs
18885 * lisp/textmodes/reftex-vars.el (reftex-extra-bindings):
18886 * doc/misc/reftex.texi (Key Bindings): Document that the variable
18887 only has an effect at load-time.
18888
18889 2015-09-16 Daniel McClanahan <danieldmcclanahan@gmail.com> (tiny change)
18890
18891 * lisp/emacs-lisp/lisp-mode.el (lisp--el-match-keyword): Fix
18892 search argument. (Bug#21492) (Bug#21493)
18893
18894 2015-09-16 Tassilo Horn <tsdh@gnu.org>
18895
18896 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
18897 Add pretty symbols for \qquad and \varrho.
18898
18899 2015-09-15 Jay Belanger <jay.p.belanger@gmail.com>
18900
18901 Add new functions for the root mean square of a (Calc) vector
18902 * lisp/calc/calc-stat.el (calcFunc-rms, calc-vector-rms):
18903 New functions.
18904 * lisp/calc/calc-ext.el (calc-init-extensions): Add keybinding for
18905 `calc-vector-rms', add autoloads for `calc-vector-rms' and
18906 `calcFunc-rms'.
18907 * lisp/calc/calc-map.el (calc-u-oper-keys): Add entry for
18908 `calcFunc-rms'.
18909 * lisp/calc/calc-menu.el (calc-vectors-menu): Add entry for
18910 `calc-vector-rms'.
18911 * doc/misc/calc.texi (Single-Variable Statistics): Document the rms
18912 command.
18913
18914 2015-09-15 Stephen Leake <stephen_leake@stephe-leake.org>
18915
18916 Add monotone EDE generic project
18917 * lisp/cedet/ede/generic.el (ede-enable-generic-projects):
18918 Add monotone generic project.
18919
18920 Revert premature commit
18921 * doc/lispref/files.texi: Revert premature commit of change to
18922 file-name-all-completions.
18923
18924 Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
18925 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
18926 with cl-generic defaults.
18927 (elisp--xref-find-references): Add doc string.
18928 * test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
18929 tests to find bug.
18930
18931 Fix bugs in eieio-oref-default related to class symbols
18932 * lisp/emacs-lisp/eieio-core.el (class-p): Handle symbol properly.
18933 (eieio-oref-default): Handle class properly.
18934
18935 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
18936
18937 Quote “fullboth” when defining it
18938 * doc/lispref/frames.texi (Size Parameters): Use @dfn for “fullboth”
18939 and rewrite the containing paragraph, which was awkward. (Bug#21472).
18940
18941 2015-09-15 Eli Zaretskii <eliz@gnu.org>
18942
18943 Minor doc fix in emacs/ack.texi
18944 * doc/emacs/ack.texi (Acknowledgments): Fix an xref missing the
18945 first argument.
18946
18947 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
18948
18949 Adapt tests in auto-revert-tests.el
18950 * test/automated/auto-revert-tests.el (auto-revert--timeout):
18951 Make it a defconst.
18952 (auto-revert--wait-for-revert): New defun.
18953 (auto-revert-test00-auto-revert-mode)
18954 (auto-revert-test01-auto-revert-tail-mode)
18955 (auto-revert-test02-auto-revert-mode-dired): Use it.
18956
18957 2015-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
18958
18959 * lisp/emacs-lisp/lisp-mode.el (lisp-mode-symbol-regexp): New const.
18960 Use it everywhere "\\(\\sw\\|\\s_\\|\\\\.\\)+" was used.
18961 (cl-lib-fdefs): Add defgeneric.
18962 (cl-kw): Add all elements of eieio-kw and cl-lib-kw.
18963 (eieio-kw, cl-lib-kw, el-kw): Remove.
18964
18965 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
18966
18967 Quote less in manuals
18968 The manuals often used quotes ``...'' when it is better to use @dfn or
18969 @code or capitalized words or no quoting at all. For example, there is
18970 no need for the `` and '' in “if a variable has one effect for
18971 @code{nil} values and another effect for ``non-@code{nil}'' values”.
18972 Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate
18973 unnecessary quoting like this, and to use @dfn etc. instead when called
18974 for (Bug#21472).
18975
18976 2015-09-15 Mark Oteiza <mvoteiza@udel.edu>
18977
18978 * lisp/custom.el (load-theme): Only compute hash when needed.
18979
18980 2015-09-15 Paul Eggert <eggert@cs.ucla.edu>
18981
18982 Pacify --enable-gcc-warnings
18983 * src/inotify.c (report_inotify_error): Declare it _Noreturn.
18984
18985 2015-09-15 Michael Albinus <michael.albinus@gmx.de>
18986
18987 Improve error reports in inotify.c
18988 * src/inotify.c (report_inotify_error): New function. Clone of
18989 report_w32notify_error.
18990 (inotify_callback, symbol_to_inotifymask, Finotify_add_watch)
18991 (Finotify_rm_watch): Use it.
18992
18993 2015-09-15 Eli Zaretskii <eliz@gnu.org>
18994
18995 Fix the file-notify tests for watch validation on w32
18996 * test/automated/file-notify-tests.el
18997 (file-notify-test04-file-validity): Move the directory deletion
18998 out of the file-notify--test-with-events macro.
18999 (file-notify-test04-file-validity)
19000 (file-notify-test05-dir-validity): Enlarge the timeout of
19001 read-event to 0.5, as 0.1 is borderline on w32. (Bug#21432)
19002
19003 2015-09-15 Tassilo Horn <tsdh@gnu.org>
19004
19005 Use OPEN BOX instead of space for \quad.
19006 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Use OPEN BOX
19007 character for \quad instead of a space.
19008
19009 2015-09-15 Eli Zaretskii <eliz@gnu.org>
19010
19011 Add missing *.pbm images
19012 * etc/images/connect.pbm: New file.
19013 * etc/images/custom/down-pushed.pbm: New file.
19014 * etc/images/custom/down.pbm: New file.
19015 * etc/images/custom/right-pushed.pbm: New file.
19016 * etc/images/custom/right.pbm: New file.
19017 * etc/images/describe.pbm: New file.
19018 * etc/images/disconnect.pbm: New file.
19019 * etc/images/ezimage/bits.pbm: New file.
19020 * etc/images/ezimage/bitsbang.pbm: New file.
19021 * etc/images/ezimage/box-minus.pbm: New file.
19022 * etc/images/ezimage/box-plus.pbm: New file.
19023 * etc/images/ezimage/box.pbm: New file.
19024 * etc/images/ezimage/checkmark.pbm: New file.
19025 * etc/images/ezimage/dir-minus.pbm: New file.
19026 * etc/images/ezimage/dir-plus.pbm: New file.
19027 * etc/images/ezimage/dir.pbm: New file.
19028 * etc/images/ezimage/doc-minus.pbm: New file.
19029 * etc/images/ezimage/doc-plus.pbm: New file.
19030 * etc/images/ezimage/doc.pbm: New file.
19031 * etc/images/ezimage/info.pbm: New file.
19032 * etc/images/ezimage/key.pbm: New file.
19033 * etc/images/ezimage/label.pbm: New file.
19034 * etc/images/ezimage/lock.pbm: New file.
19035 * etc/images/ezimage/mail.pbm: New file.
19036 * etc/images/ezimage/page-minus.pbm: New file.
19037 * etc/images/ezimage/page-plus.pbm: New file.
19038 * etc/images/ezimage/page.pbm: New file.
19039 * etc/images/ezimage/tag-gt.pbm: New file.
19040 * etc/images/ezimage/tag-minus.pbm: New file.
19041 * etc/images/ezimage/tag-plus.pbm: New file.
19042 * etc/images/ezimage/tag-type.pbm: New file.
19043 * etc/images/ezimage/tag-v.pbm: New file.
19044 * etc/images/ezimage/tag.pbm: New file.
19045 * etc/images/ezimage/unlock.pbm: New file.
19046 * etc/images/gnus/important.pbm: New file.
19047 * etc/images/gnus/mail-send.pbm: New file.
19048 * etc/images/gnus/receipt.pbm: New file.
19049 * etc/images/gnus/toggle-subscription.pbm: New file.
19050 * etc/images/gnus/unimportant.pbm: New file.
19051 * etc/images/gud/all.pbm: New file.
19052 * etc/images/gud/rcont.pbm: New file.
19053 * etc/images/gud/recstart.pbm: New file.
19054 * etc/images/gud/recstop.pbm: New file.
19055 * etc/images/gud/rfinish.pbm: New file.
19056 * etc/images/gud/rnext.pbm: New file.
19057 * etc/images/gud/rnexti.pbm: New file.
19058 * etc/images/gud/rstep.pbm: New file.
19059 * etc/images/gud/rstepi.pbm: New file.
19060 * etc/images/gud/thread.pbm: New file.
19061 * etc/images/lock-broken.pbm: New file.
19062 * etc/images/lock-ok.pbm: New file.
19063 * etc/images/lock.pbm: New file.
19064 * etc/images/mail/copy.pbm: New file.
19065 * etc/images/mail/forward.pbm: New file.
19066 * etc/images/mail/not-spam.pbm: New file.
19067 * etc/images/mail/outbox.pbm: New file.
19068 * etc/images/mail/preview.pbm: New file.
19069 * etc/images/mail/save-draft.pbm: New file.
19070 * etc/images/mh-logo.pbm: New file.
19071 * etc/images/mpc/add.pbm: New file.
19072 * etc/images/mpc/ffwd.pbm: New file.
19073 * etc/images/mpc/next.pbm: New file.
19074 * etc/images/mpc/pause.pbm: New file.
19075 * etc/images/mpc/play.pbm: New file.
19076 * etc/images/mpc/prev.pbm: New file.
19077 * etc/images/mpc/rewind.pbm: New file.
19078 * etc/images/mpc/stop.pbm: New file.
19079 * etc/images/redo.pbm: New file.
19080 * etc/images/smilies/braindamaged.pbm: New file.
19081 * etc/images/smilies/cry.pbm: New file.
19082 * etc/images/smilies/dead.pbm: New file.
19083 * etc/images/smilies/evil.pbm: New file.
19084 * etc/images/smilies/forced.pbm: New file.
19085 * etc/images/smilies/grin.pbm: New file.
19086 * etc/images/smilies/indifferent.pbm: New file.
19087 * etc/images/sort-ascending.pbm: New file.
19088 * etc/images/sort-column-ascending.pbm: New file.
19089 * etc/images/sort-criteria.pbm: New file.
19090 * etc/images/sort-descending.pbm: New file.
19091 * etc/images/sort-row-ascending.pbm: New file.
19092 * etc/images/unchecked.pbm: New file.
19093 * etc/images/zoom-in.pbm: New file.
19094 * etc/images/README: Update instructions for PBM files.
19095
19096 Add separator.pbm tool-bar image
19097 * etc/images/separator.pbm: New file. Having it avoids the side
19098 effect of changing the tool-bar height when the default font's size
19099 changes and XPM image support is not available, due to the SPC
19100 characters that are left in the Lisp string used to display the tool
19101 bar, because there are no images to display instead of those SPC
19102 characters.
19103
19104 Make show-paren-match face visible on mono-color displays
19105 * lisp/faces.el (show-paren-match): Use the underline face for
19106 mono-color displays. (Bug#21481)
19107
19108 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
19109
19110 Don’t double-encode non-ASCII mail clipboard
19111 * lisp/mail/mailclient.el (mailclient-send-it):
19112 Also fix the case when mailclient-place-body-on-clipboard-flag
19113 is non-nil. Problem reported by Eli Zaretskii (Bug#21471#37).
19114
19115 2015-09-14 Michael Albinus <michael.albinus@gmx.de>
19116
19117 Adapt file-notify-tests.el test cases
19118 * lisp/filenotify.el (file-notify-rm-watch): Ignore `file-notify-error'.
19119 * src/inotify.c (Finotify_valid_p): Adapt docstring.
19120 * test/automated/file-notify-tests.el
19121 (file-notify-test03-autorevert)
19122 (file-notify-test04-file-validity)
19123 (file-notify-test04-file-validity-remote)
19124 (file-notify-test05-dir-validity)
19125 (file-notify-test05-dir-validity-remote): Adapt docstring.
19126 (file-notify-test04-file-validity): Let events arrive before
19127 calling final `file-notify-valid-p'. Do not ignore errors.
19128 (file-notify-test05-dir-validity): Do not manipulate
19129 `temporary-file-directory', it isn't necessary. Let events arrive
19130 before calling final `file-notify-valid-p'. Do not ignore errors.
19131
19132 2015-09-14 Paul Eggert <eggert@cs.ucla.edu>
19133
19134 Don’t double-encode non-ASCII for mail client
19135 * lisp/mail/mailclient.el (mailclient-encode-string-as-url):
19136 Use RFC 6068’s list of unreserved characters.
19137 (mailclient-send-it): When encoding the body as a URL,
19138 first decode it as per Content-Type: and Content-Transfer-Encoding:,
19139 as URLs must use percent-encoded UTF-8 (Bug#21471).
19140 * doc/misc/url.texi (mailto): Update RFC number.
19141
19142 2015-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19143
19144 * lisp/progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use dolist.
19145
19146 2015-09-14 Alan Mackenzie <acm@muc.de>
19147
19148 Replace `cadar' with `cadr/car', since `cadar' is problematic on Emacs
19149 (c-make-init-lang-vars-fun): Replace two occurrences of `cadar' with
19150 `cadr/car'.
19151
19152 2015-09-14 Eli Zaretskii <eliz@gnu.org>
19153
19154 Clarify documentation of char-table extra slots
19155 * doc/lispref/sequences.texi (Char-Tables): Clarify that extra
19156 slot numbers are zero-based. (Bug#21467)
19157
19158 2015-09-14 Alan Mackenzie <acm@muc.de>
19159
19160 Elisp mode: Make font-lock and imenu handle escaped characters in symbols
19161 Fixes bug#21449.
19162 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression)
19163 (lisp--el-match-keyword, lisp-el-font-lock-keywords-1)
19164 (lisp-cl-font-lock-keywords-1, lisp-el-font-lock-keywords-2)
19165 (lisp-cl-font-lock-keywords-2, lisp-string-in-doc-position-p):
19166 Insert "\\|\\\\." into regexps which match symbols.
19167
19168 2015-09-14 Eli Zaretskii <eliz@gnu.org>
19169
19170 Improve the doc string of w32notify-valid-p
19171 * src/w32notify.c (Fw32notify_valid_p): Mention in the doc string
19172 that removing a watch makes its object invalid.
19173
19174 2015-09-14 Tassilo Horn <tsdh@gnu.org>
19175
19176 Fix tests for file-notify-valid-p
19177 * test/automated/file-notify-tests.el (file-notify--test-cleanup):
19178 Use delete-directory to delete file-notify--test-tmpfile if it is
19179 a directory. Likewise for file-notify--test-tmpfile1.
19180 (file-notify-test04-file-validity)
19181 (file-notify-test05-dir-validity): Delete the parent directory of
19182 the test. Ignore errors when cleaning up after the test.
19183
19184 2015-09-14 Eli Zaretskii <eliz@gnu.org>
19185
19186 Report file-notify-error in w32notify.c
19187 * src/w32notify.c (report_w32notify_error): New function.
19188 (Fw32notify_add_watch, Fw32notify_rm_watch): Use it to report
19189 errors, instead of calling report_file_error. (Bug#21432)
19190
19191 Implement w32notify-valid-p
19192 * src/w32notify.c (Fw32notify_valid_p): New function. (Bug#21432)
19193 * lisp/filenotify.el (w32notify-valid-p): No longer an alias for
19194 'identity'.
19195
19196 2015-09-14 Tassilo Horn <tsdh@gnu.org>
19197
19198 Test file-notify-valid-p
19199 * test/automated/file-notify-tests.el
19200 (file-notify-test04-file-validity, file-notify-test05-dir-validity):
19201 New tests.
19202
19203 2015-09-13 Eli Zaretskii <eliz@gnu.org>
19204
19205 Fix markup in ELisp manual
19206 * doc/lispref/frames.texi (Font and Color Parameters): Fix markup
19207 of the 'alpha' parameter value. (Bug#21470)
19208
19209 2015-09-13 Michael Albinus <michael.albinus@gmx.de>
19210
19211 Introduce `file-notify-valid-p'
19212 * lisp/filenotify.el (file-notify-valid-p): New defun.
19213 (gfile-valid-p, w32notify-valid-p): Make them an alias to `identity'.
19214 * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist)
19215 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
19216 * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist)
19217 * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
19218 <file-notify-valid-p>: Add handler.
19219 * lisp/net/tramp.el (tramp-file-name-for-operation):
19220 Add `file-notify-valid-p'.
19221 (tramp-handle-file-notify-valid-p): New defun.
19222 * src/inotify.c (Finotify_valid_p): New defun.
19223 (syms_of_inotify): Declare Sinotify_valid_p.
19224
19225 2015-09-13 Paul Eggert <eggert@cs.ucla.edu>
19226
19227 Port Unicode char detection to FreeBSD+svgalib
19228 Problem reported by Ashish SHUKLA in:
19229 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00531.html
19230 * configure.ac: Check for struct unipair.unicode instead of for
19231 <linux/kd.h>, since that’s more specific to what the code
19232 actually needs.
19233 * src/terminal.c: Use HAVE_STRUCT_UNIPAIR_UNICODE, not HAVE_LINUX_KD_H.
19234
19235 * src/indent.c (Fvertical_motion): Simplify bugfix (Bug#21468).
19236
19237 2015-09-13 Eli Zaretskii <eliz@gnu.org>
19238
19239 Fix vertical cursor motion across overlay strings with newlines
19240 * src/indent.c (Fvertical_motion): Don't leave point in the middle
19241 of an overlay string with newlines, as that will position the
19242 cursor after the string at whatever column is there. (Bug#21468)
19243
19244 2015-09-12 Michael Albinus <michael.albinus@gmx.de>
19245
19246 Fix tests in file-notify-tests.el
19247 * test/automated/file-notify-tests.el: Remove Tramp declarations.
19248 (file-notify-test00-availability): Print remote command w/o Tramp
19249 internal functions.
19250 (file-notify-test02-events, file-notify-test02-events-remote):
19251 Adapt docstring.
19252 (file-notify-test03-autorevert): Use `format-message' when
19253 inspecting *Messages* buffer.
19254
19255 2015-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19256
19257 Bind inhibit-modification-hooks rather than a/b-c-f
19258 * lisp/wid-edit.el (widget-editable-list-insert-before)
19259 (widget-editable-list-delete-at):
19260 * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres)
19261 (cperl-font-lock-unfontify-region-function):
19262 * lisp/progmodes/antlr-mode.el (save-buffer-state-x):
19263 * lisp/obsolete/longlines.el (longlines-mode):
19264 * lisp/obsolete/fast-lock.el (save-buffer-state):
19265 * lisp/mouse.el (mouse-save-then-kill-delete-region):
19266 * lisp/gnus/message.el (message-hide-headers):
19267 * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter):
19268 * lisp/ibuffer.el (ibuffer-update-title-and-summary)
19269 (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather
19270 than after/before-change-functions to nil.
19271
19272 2015-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19273
19274 (jit-lock-deferred-fontify): Pay attention to skipped redisplays
19275 * lisp/jit-lock.el (jit-lock-deferred-fontify): Make sure we refresh
19276 the buffers, even if the forced redisplay is interrupted.
19277
19278 * lisp/emacs-lisp/eieio-core.el (class-p): Accept class objects
19279
19280 Merge syntax-propertize--done and parse-sexp-propertize-done
19281 * lisp/emacs-lisp/syntax.el (syntax-propertize--done): Remove.
19282 (syntax-propertize): Set syntax-propertize--done even if
19283 syntax-propertize-function is nil. Avoid recursive invocations.
19284 (syntax-propertize-chunks): New var.
19285 (internal--syntax-propertize): Use it. Rename from syntax--jit-propertize.
19286 Simplify.
19287 (parse-sexp-propertize-function): Don't set any more.
19288 * src/syntax.c (SETUP_SYNTAX_TABLE): Call parse_sexp_propertize as needed.
19289 (parse_sexp_propertize): Don't assume charpos is not yet propertized.
19290 Call Qinternal__syntax_propertize instead of
19291 Vparse_sexp_propertize_function. Truncate e_property if needed.
19292 (update_syntax_table_forward): Streamline.
19293 (syms_of_syntax): Define Qinternal__syntax_propertize.
19294 (syntax_propertize__done): Rename from parse_sexp_propertize_done.
19295
19296 2015-09-11 Paul Eggert <eggert@cs.ucla.edu>
19297
19298 Prefer straight quoting in some text files
19299 Mostly this just changes ` to ' in static text. Some exceptions:
19300 * INSTALL.REPO: Use curved quotes, as the diagnostic in question
19301 typically does that now.
19302 * admin/quick-install-emacs (TRY, top level):
19303 Use straight quoting in diagnostics.
19304 * src/README: Fix working-directory confusion.
19305
19306 * CONTRIBUTE: Move send-email here from git-workflow.
19307
19308 2015-09-11 Michael Albinus <michael.albinus@gmx.de>
19309
19310 Improve file notifications in Tramp
19311 * lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
19312 Set proper events to watch for.
19313 (tramp-sh-file-gvfs-monitor-dir-process-filter): Report only
19314 watched events.
19315
19316 2015-09-11 Eli Zaretskii <eliz@gnu.org>
19317
19318 Fix NS build with --enable-checking='glyphs'
19319 * src/nsfns.m (unwind_create_frame): Make the preprocessor
19320 conditionals for referencing 'dpyinfo' consistent throughout the
19321 function. (Bug#21426)
19322
19323 2015-09-10 Nicolas Petton <nicolas@petton.fr>
19324
19325 Add seq-find
19326 This function is similar to `seq-some' but returns the found element.
19327 In the cases where nil can be the found element, a sentinel optional
19328 argument can be provided to avoid ambiguities.
19329 * lisp/emacs-lisp/seq.el (seq-find): New function.
19330 * test/automated/seq-tests.el (test-seq-find): Add tests for `seq-find'.
19331 * doc/lispref/sequences.texi (Sequence Functions): Add documentation for
19332 seq-find.
19333
19334 2015-09-10 Tassilo Horn <tsdh@gnu.org>
19335
19336 Document file-notify--test-with-events.
19337 * test/automated/file-notify-tests.el (file-notify--test-with-events):
19338 Add docstring.
19339
19340 2015-09-10 Michael Albinus <michael.albinus@gmx.de>
19341
19342 Report used native library in file-notify-tests.el
19343 * test/automated/file-notify-tests.el
19344 (tramp-get-remote-gvfs-monitor-dir)
19345 (tramp-get-remote-inotifywait): Declare them.
19346 (file-notify-test00-availability): Print used native library.
19347
19348 2015-09-10 Mark Oteiza <mvoteiza@udel.edu>
19349
19350 * lisp/mpc.el (mpc--proc-connect): Use file-name-absolute-p.
19351 (mpc-file-local-copy): Check for absolute path. Check more config
19352 locations.
19353
19354 2015-09-10 Eli Zaretskii <eliz@gnu.org>
19355
19356 Improve documentation of categories
19357 * doc/lispref/syntax.texi (Categories): Clarify the example of
19358 using define-category and modify-category-entry. (Bug#21448)
19359
19360 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
19361
19362 Revert some stray curved quotes I missed earlier
19363 Problem reported by David Kastrup in:
19364 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00440.html
19365 * lisp/international/mule-cmds.el (leim-list-header):
19366 Use format-message with an ASCII-only format.
19367
19368 Prefer NUMBERP to spelling it out
19369 * src/editfns.c (styled_format):
19370 * src/frame.h (NUMVAL):
19371 * src/image.c (parse_image_spec):
19372 * src/lisp.h (CHECK_NUMBER_OR_FLOAT)
19373 (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER):
19374 * src/process.c (Fsignal_process):
19375 * src/xdisp.c (calc_pixel_width_or_height, on_hot_spot_p):
19376 * src/xfaces.c (check_lface_attrs):
19377 * src/xselect.c (x_fill_property_data, x_send_client_event):
19378 Use NUMBERP rather than INTEGERP || FLOATP.
19379
19380 2015-09-10 Tassilo Horn <tsdh@gnu.org>
19381
19382 Improve file-notify-tests
19383 * test/automated/file-notify-tests.el: Use lexical-binding.
19384 (file-notify--test-cleanup): New function.
19385 (file-notify-test00-availability, file-notify-test01-add-watch)
19386 (file-notify-test02-events, file-notify-test03-autorevert): Use it.
19387 (file-notify--test-with-events): New macro.
19388 (file-notify-test02-events): Use it.
19389
19390 2015-09-10 Paul Eggert <eggert@cs.ucla.edu>
19391
19392 Add patch-sending instructions to git-workflow
19393 From a suggestion by Mitchel Humpherys in:
19394 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
19395 * admin/notes/git-workflow (Sending patches): New section.
19396
19397 Port to GIFLIB 5.0.6 and later
19398 Problem reported by Mitchel Humpherys in:
19399 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00420.html
19400 * src/image.c (HAVE_GIFERRORSTRING) [HAVE_GIF]: New macro.
19401 (GifErrorString, init_gif_functions) [HAVE_GIF && WINDOWSNT]:
19402 (gif_load) [HAVE_GIF]: Use it.
19403
19404 2015-09-10 Glenn Morris <rgm@gnu.org>
19405
19406 * lisp/cedet/ede/auto.el (ede-project-autoload): Doc fix.
19407
19408 2015-09-09 Glenn Morris <rgm@gnu.org>
19409
19410 * test/automated/file-notify-tests.el (file-notify-test02-events):
19411 Fix recent change.
19412
19413 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
19414
19415 Refix movemail GCC pacification
19416 Problem reported by Ken Brown in:
19417 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00406.html
19418 * lib-src/movemail.c (main): Fix previous change.
19419
19420 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19421
19422 * lisp/calendar/time-date.el (time-to-seconds, time-less-p):
19423 Mark unused vars with underscore.
19424
19425 * src/syntax.c (SETUP_SYNTAX_TABLE): Move truncation...
19426 (parse_sexp_propertize): ...from here.
19427
19428 * lisp/filenotify.el: Use lexical-binding
19429 (file-notify-add-watch): Avoid add-to-list.
19430
19431 2015-09-09 Tassilo Horn <tsdh@gnu.org>
19432
19433 Start checking event types in file-notify tests
19434 * test/automated/file-notify-tests.el (file-notify--test-events):
19435 New variable.
19436 (file-notify--test-event-handler): Append received event to
19437 file-notify--test-events for later analysis.
19438 (file-notify-test02-events): Assert that the expected notifications have
19439 arrived in the expected order.
19440
19441 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
19442
19443 Merge from gnulib and texinfo
19444 This incorporates:
19445 2015-08-03 Improve port of stdalign to C++11
19446 * lib/stdalign.in.h: Copy from gnulib.
19447 * doc/misc/texinfo.tex: Copy from texinfo.
19448
19449 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19450
19451 Make syntax.c call syntax-propertize on demand
19452 * lisp/emacs-lisp/syntax.el (syntax--jit-propertize): New function.
19453 (parse-sexp-propertize-function): Use it.
19454 (syntax-propertize): Disable parse-sexp-propertize-function.
19455 * src/syntax.c (parse_sexp_propertize, update_syntax_table_forward):
19456 New functions.
19457 (syms_of_syntax): New vars `parse-sexp-propertize-done' and
19458 `parse-sexp-propertize-function'.
19459 * src/syntax.h (struct gl_state_s): Add `e_property_truncated' field.
19460 (UPDATE_SYNTAX_TABLE_FORWARD): Use update_syntax_table_forward.
19461 (SETUP_BUFFER_SYNTAX_TABLE): Set e_property_truncated.
19462 * lisp/progmodes/elisp-mode.el (elisp-byte-code-syntax-propertize):
19463 Don't assume `point' is set.
19464
19465 2015-09-09 Eli Zaretskii <eliz@gnu.org>
19466
19467 Fix indentation of an @example in ELisp manual
19468 * doc/lispref/syntax.texi (Categories): Untabify the example.
19469 (Bug#21448)
19470
19471 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
19472
19473 Define internal-char-font even if --without-x
19474 The function is used now even in non-graphical environments.
19475 Problem reported by Glenn Morris in:
19476 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00401.html
19477 * src/font.c (Finternal_char_font): Move here ...
19478 * src/fontset.c (Finternal_char_font): ... from here.
19479
19480 2015-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
19481
19482 * lisp/emacs-lisp/cl-generic.el (cl-generic-generalizers):
19483 Remove warning.
19484
19485 2015-09-09 Eli Zaretskii <eliz@gnu.org>
19486
19487 Fix display of complex local data types in GDB-MI
19488 * lisp/progmodes/gdb-mi.el (gdb-locals-handler-custom): If a
19489 variable has no value, display "<complex data type>" as a
19490 placeholder, instead of a confusing "nil". (Bug#21438)
19491
19492 2015-09-09 Oleh Krehel <ohwoeowho@gmail.com>
19493
19494 Remove redundant redefinition of seq-drop-while from seq.el
19495 * lisp/emacs-lisp/seq.el (seq-drop-while): Define only once.
19496
19497 2015-09-09 Phil Sainty <psainty@orcon.net.nz>
19498
19499 * lisp/emacs-lisp/package.el (package--ensure-init-file):
19500 More robust check for `package-initialize' calls in init file.
19501 This function accepts an optional argument, but calls passing
19502 an argument would not have been detected.
19503
19504 2015-09-09 Paul Eggert <eggert@cs.ucla.edu>
19505
19506 Port movemail to RHEL 6 with --enable-gcc-warnings
19507 * lib-src/movemail.c (main): Declare local only if needed.
19508
19509 Port recent Linux console changes to RHEL 6
19510 * src/terminal.c [HAVE_LINUX_KD_H]: Include <sys/ioctl.h>.
19511
19512 Improvements for curved quotes on Linux consule
19513 This should help Emacs work better out-of-the-box on Linux consoles,
19514 which have only limited support for displaying Unicode characters.
19515 Also, undo the recent change that caused text-quoting-style to
19516 affect quote display on terminals, so that the two features are
19517 independent. See Alan Mackenzie in:
19518 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00244.html
19519 Finally, add a style parameter to startup--setup-quote-display,
19520 so that this function can also be invoked after startup, with
19521 different styles depending on user preference at the time.
19522 * configure.ac: Check for linux/kd.h header.
19523 * doc/emacs/display.texi (Text Display): Document quote display.
19524 * doc/lispref/display.texi (Active Display Table):
19525 * etc/NEWS:
19526 * lisp/startup.el (startup--setup-quote-display, command-line):
19527 text-quoting-style no longer affects quote display.
19528 * doc/lispref/frames.texi (Terminal Parameters): Fix typo.
19529 * lisp/international/mule-util.el (char-displayable-p):
19530 * lisp/startup.el (startup--setup-quote-display):
19531 On a text terminal supporting glyph codes, use the reported
19532 glyph codes instead of the terminal coding system, as this
19533 is more accurate on the Linux console.
19534 * lisp/startup.el (startup--setup-quote-display):
19535 New optional arg STYLE.
19536 * src/fontset.c (Finternal_char_font):
19537 Report glyph codes for a text terminal, if they are available.
19538 Currently this is supported only for the Linux console.
19539 * src/termhooks.h (struct terminal): New member glyph-code-table.
19540 * src/terminal.c [HAVE_LINUX_KD_H]: Include <errno.h>, <linux/kd.h>.
19541 (calculate_glyph_code_table) [HAVE_LINUX_KD_H]: New function.
19542 (terminal_glyph_code): New function.
19543
19544 2015-09-08 Juri Linkov <juri@linkov.net>
19545
19546 * lisp/info.el (Info-fontify-node): Don't stop at the non-title
19547 underline. (Bug#21433)
19548
19549 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19550
19551 * lisp/calendar/time-date.el (with-decoded-time-value): Fix debug spec.
19552
19553 2015-09-08 Tassilo Horn <tsdh@gnu.org>
19554
19555 Fix double-reporting of rename events with inotify
19556 * lisp/filenotify.el (file-notify-callback): Fix double-reporting
19557 of rename events with inotify (bug#21435).
19558
19559 2015-09-08 Vasilij Schneidermann <v.schneidermann@gmail.com> (tiny change)
19560
19561 * lisp/play/tetris.el (tetris-move-down): New command (bug#21360).
19562 (tetris-mode-map): Use it.
19563
19564 2015-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
19565
19566 Remove a few simple cases of global redisplay
19567 * src/dispnew.c (redraw_frame): Don't redisplay all frames.
19568 * src/xdisp.c (echo_area_display): Set the frame's `redisplay' bit
19569 rather than returning a "resized_p" boolean.
19570 (redisplay_internal): Adjust call accordingly.
19571 * src/xfaces.c (free_realized_faces): Don't redisplay all frames.
19572 (free_all_realized_faces): Set windows_or_buffers_changed so as to ease
19573 tracking of this undesirable situation.
19574
19575 * src/process.c (status_notify): Avoid global redisplay (bug#11822)
19576 * src/process.c (status_notify): Only set the update_mode_line on the
19577 relevant buffers rather than setting it globally.
19578
19579 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19580
19581 * lisp/electric.el (electric-quote-post-self-insert-function):
19582 Don't use syntax-ppss if comment-use-syntax is nil (e.g. message-mode).
19583 (electric-quote-mode): Activate everywhere in message-mode.
19584
19585 2015-09-07 Paul Eggert <eggert@cs.ucla.edu>
19586
19587 Go back to grave quoting in source-code docstrings etc.
19588 This reverts almost all my recent changes to use curved quotes
19589 in docstrings and/or strings used for error diagnostics.
19590 There are a few exceptions, e.g., Bahá’í proper names.
19591 * admin/unidata/unidata-gen.el (unidata-gen-table):
19592 * lisp/abbrev.el (expand-region-abbrevs):
19593 * lisp/align.el (align-region):
19594 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet)
19595 (outlineify-sticky):
19596 * lisp/apropos.el (apropos-library):
19597 * lisp/bookmark.el (bookmark-default-annotation-text):
19598 * lisp/button.el (button-category-symbol, button-put)
19599 (make-text-button):
19600 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
19601 * lisp/calc/calc-embed.el (calc-do-embedded):
19602 * lisp/calc/calc-ext.el (calc-user-function-list):
19603 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
19604 * lisp/calc/calc-help.el (calc-describe-key)
19605 (calc-describe-thing, calc-full-help):
19606 * lisp/calc/calc-lang.el (calc-c-language)
19607 (math-parse-fortran-vector-end, math-parse-tex-sum)
19608 (math-parse-eqn-matrix, math-parse-eqn-prime)
19609 (calc-yacas-language, calc-maxima-language, calc-giac-language)
19610 (math-read-giac-subscr, math-read-math-subscr)
19611 (math-read-big-rec, math-read-big-balance):
19612 * lisp/calc/calc-misc.el (calc-help, report-calc-bug):
19613 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
19614 (calc-auto-recompute):
19615 * lisp/calc/calc-prog.el (calc-fix-token-name)
19616 (calc-read-parse-table-part, calc-user-define-invocation)
19617 (math-do-arg-check):
19618 * lisp/calc/calc-store.el (calc-edit-variable):
19619 * lisp/calc/calc-units.el (math-build-units-table-buffer):
19620 * lisp/calc/calc-vec.el (math-read-brackets):
19621 * lisp/calc/calc-yank.el (calc-edit-mode):
19622 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
19623 * lisp/calendar/appt.el (appt-display-message):
19624 * lisp/calendar/diary-lib.el (diary-check-diary-file)
19625 (diary-mail-entries, diary-from-outlook):
19626 * lisp/calendar/icalendar.el (icalendar-export-region)
19627 (icalendar--convert-float-to-ical)
19628 (icalendar--convert-date-to-ical)
19629 (icalendar--convert-ical-to-diary)
19630 (icalendar--convert-recurring-to-diary)
19631 (icalendar--add-diary-entry):
19632 * lisp/calendar/time-date.el (format-seconds):
19633 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
19634 (timeclock-make-hours-explicit, timeclock-log-data):
19635 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
19636 (todo-item-mark, todo-check-format)
19637 (todo-insert-item--next-param, todo-edit-item--next-key)
19638 (todo-mode):
19639 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
19640 * lisp/cedet/mode-local.el (describe-mode-local-overload)
19641 (mode-local-print-binding, mode-local-describe-bindings-2):
19642 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
19643 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
19644 * lisp/cus-start.el (standard):
19645 * lisp/cus-theme.el (describe-theme-1):
19646 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
19647 (custom--sort-vars-1, load-theme):
19648 * lisp/descr-text.el (describe-text-properties-1, describe-char):
19649 * lisp/dired-x.el (dired-do-run-mail):
19650 * lisp/dired.el (dired-log):
19651 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
19652 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
19653 (ad-disable-advice, ad-remove-advice, ad-set-argument)
19654 (ad-set-arguments, ad--defalias-fset, ad-activate)
19655 (ad-deactivate):
19656 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
19657 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
19658 (byte-optimize-while, byte-optimize-apply):
19659 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
19660 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
19661 (byte-compile-log-file, byte-compile-format-warn)
19662 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
19663 (byte-compile-cl-warn)
19664 (byte-compile-warn-about-unresolved-functions)
19665 (byte-compile-file, byte-compile--declare-var)
19666 (byte-compile-file-form-defmumble, byte-compile-form)
19667 (byte-compile-normal-call, byte-compile-check-variable)
19668 (byte-compile-variable-ref, byte-compile-variable-set)
19669 (byte-compile-subr-wrong-args, byte-compile-setq-default)
19670 (byte-compile-negation-optimizer)
19671 (byte-compile-condition-case--old)
19672 (byte-compile-condition-case--new, byte-compile-save-excursion)
19673 (byte-compile-defvar, byte-compile-autoload)
19674 (byte-compile-lambda-form)
19675 (byte-compile-make-variable-buffer-local, display-call-tree)
19676 (batch-byte-compile):
19677 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use):
19678 * lisp/emacs-lisp/chart.el (chart-space-usage):
19679 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
19680 (check-declare-warn, check-declare-file)
19681 (check-declare-directory):
19682 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
19683 (checkdoc-message-text-engine):
19684 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer)
19685 (cl--describe-class):
19686 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
19687 (cl--generic-describe, cl-generic-generalizers):
19688 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
19689 (cl-symbol-macrolet):
19690 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
19691 * lisp/emacs-lisp/copyright.el (copyright)
19692 (copyright-update-directory):
19693 * lisp/emacs-lisp/edebug.el (edebug-read-list):
19694 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
19695 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
19696 (eieio-oref):
19697 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
19698 * lisp/emacs-lisp/eieio-speedbar.el:
19699 (eieio-speedbar-child-make-tag-lines)
19700 (eieio-speedbar-child-description):
19701 * lisp/emacs-lisp/eieio.el (defclass, change-class):
19702 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
19703 (elint-init-form, elint-check-defalias-form)
19704 (elint-check-let-form):
19705 * lisp/emacs-lisp/ert.el (ert-get-test, ert-results-mode-menu)
19706 (ert-results-pop-to-backtrace-for-test-at-point)
19707 (ert-results-pop-to-messages-for-test-at-point)
19708 (ert-results-pop-to-should-forms-for-test-at-point)
19709 (ert-describe-test):
19710 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
19711 (find-function-library):
19712 * lisp/emacs-lisp/generator.el (iter-yield):
19713 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
19714 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
19715 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
19716 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
19717 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
19718 (advice--make, define-advice):
19719 * lisp/emacs-lisp/package-x.el (package-upload-file):
19720 * lisp/emacs-lisp/package.el (package-version-join)
19721 (package-disabled-p, package-activate-1, package-activate)
19722 (package--download-one-archive)
19723 (package--download-and-read-archives)
19724 (package-compute-transaction, package-install-from-archive)
19725 (package-install, package-install-selected-packages)
19726 (package-delete, package-autoremove, describe-package-1)
19727 (package-install-button-action, package-delete-button-action)
19728 (package-menu-hide-package, package-menu--list-to-prompt)
19729 (package-menu--perform-transaction)
19730 (package-menu--find-and-notify-upgrades):
19731 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
19732 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
19733 * lisp/emacs-lisp/ring.el (ring-previous, ring-next):
19734 * lisp/emacs-lisp/rx.el (rx-check, rx-anything)
19735 (rx-check-any-string, rx-check-any, rx-check-not, rx-=)
19736 (rx-repeat, rx-check-backref, rx-syntax, rx-check-category)
19737 (rx-form):
19738 * lisp/emacs-lisp/smie.el (smie-config-save):
19739 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
19740 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
19741 * lisp/emacs-lisp/testcover.el (testcover-1value):
19742 * lisp/emacs-lisp/timer.el (timer-event-handler):
19743 * lisp/emulation/viper-cmd.el (viper-toggle-parse-sexp-ignore-comments)
19744 (viper-toggle-search-style, viper-kill-buffer)
19745 (viper-brac-function):
19746 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
19747 * lisp/env.el (setenv):
19748 * lisp/erc/erc-button.el (erc-nick-popup):
19749 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login, english):
19750 * lisp/eshell/em-dirs.el (eshell/cd):
19751 * lisp/eshell/em-glob.el (eshell-glob-regexp)
19752 (eshell-glob-entries):
19753 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
19754 * lisp/eshell/esh-opt.el (eshell-show-usage):
19755 * lisp/facemenu.el (facemenu-add-new-face)
19756 (facemenu-add-new-color):
19757 * lisp/faces.el (read-face-name, read-face-font, describe-face)
19758 (x-resolve-font-name):
19759 * lisp/files-x.el (modify-file-local-variable):
19760 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
19761 (set-auto-mode, hack-one-local-variable--obsolete)
19762 (dir-locals-set-directory-class, write-file, basic-save-buffer)
19763 (delete-directory, copy-directory, recover-session)
19764 (recover-session-finish, insert-directory)
19765 (file-modes-char-to-who, file-modes-symbolic-to-number)
19766 (move-file-to-trash):
19767 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer):
19768 * lisp/find-cmd.el (find-generic, find-to-string):
19769 * lisp/finder.el (finder-commentary):
19770 * lisp/font-lock.el (font-lock-fontify-buffer):
19771 * lisp/format.el (format-write-file, format-find-file)
19772 (format-insert-file):
19773 * lisp/frame.el (get-device-terminal, select-frame-by-name):
19774 * lisp/fringe.el (fringe--check-style):
19775 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
19776 * lisp/help-fns.el (help-fns--key-bindings)
19777 (help-fns--compiler-macro, help-fns--parent-mode)
19778 (help-fns--obsolete, help-fns--interactive-only)
19779 (describe-function-1, describe-variable):
19780 * lisp/help.el (describe-mode)
19781 (describe-minor-mode-from-indicator):
19782 * lisp/image.el (image-type):
19783 * lisp/international/ccl.el (ccl-dump):
19784 * lisp/international/fontset.el (x-must-resolve-font-name):
19785 * lisp/international/mule-cmds.el (prefer-coding-system)
19786 (select-safe-coding-system-interactively)
19787 (select-safe-coding-system, activate-input-method)
19788 (toggle-input-method, describe-current-input-method)
19789 (describe-language-environment):
19790 * lisp/international/mule-conf.el (code-offset):
19791 * lisp/international/mule-diag.el (describe-character-set)
19792 (list-input-methods-1):
19793 * lisp/mail/feedmail.el (feedmail-run-the-queue):
19794 * lisp/mouse.el (minor-mode-menu-from-indicator):
19795 * lisp/mpc.el (mpc-playlist-rename):
19796 * lisp/msb.el (msb--choose-menu):
19797 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
19798 * lisp/net/imap.el (imap-interactive-login):
19799 * lisp/net/mairix.el (mairix-widget-create-query):
19800 * lisp/net/newst-backend.el (newsticker--sentinel-work):
19801 * lisp/net/newst-treeview.el (newsticker--treeview-load):
19802 * lisp/net/rlogin.el (rlogin):
19803 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
19804 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
19805 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
19806 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
19807 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
19808 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
19809 (org-babel-goto-named-result):
19810 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
19811 * lisp/org/ob-ref.el (org-babel-ref-resolve):
19812 * lisp/org/org-agenda.el (org-agenda-prepare):
19813 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
19814 (org-clock-resolve):
19815 * lisp/org/org-ctags.el (org-ctags-ask-rebuild-tags-file-then-find-tag):
19816 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
19817 * lisp/org/org-habit.el (org-habit-parse-todo):
19818 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
19819 (org-mouse-context-menu):
19820 * lisp/org/org-table.el (org-table-edit-formulas):
19821 * lisp/org/ox.el (org-export-async-start):
19822 * lisp/proced.el (proced-log):
19823 * lisp/progmodes/ada-mode.el (ada-get-indent-case)
19824 (ada-check-matching-start, ada-goto-matching-start):
19825 * lisp/progmodes/ada-prj.el (ada-prj-display-page):
19826 * lisp/progmodes/ada-xref.el (ada-find-executable):
19827 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
19828 * lisp/progmodes/etags.el (etags-tags-apropos-additional):
19829 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
19830 (flymake-start-syntax-check-process):
19831 * lisp/progmodes/python.el (python-shell-get-process-or-error)
19832 (python-define-auxiliary-skeleton):
19833 * lisp/progmodes/sql.el (sql-comint):
19834 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
19835 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate):
19836 * lisp/recentf.el (recentf-open-files):
19837 * lisp/replace.el (query-replace-read-from)
19838 (occur-after-change-function, occur-1):
19839 * lisp/scroll-bar.el (scroll-bar-columns):
19840 * lisp/server.el (server-get-auth-key):
19841 * lisp/simple.el (execute-extended-command)
19842 (undo-outer-limit-truncate, list-processes--refresh)
19843 (compose-mail, set-variable, choose-completion-string)
19844 (define-alternatives):
19845 * lisp/startup.el (site-run-file, tty-handle-args, command-line)
19846 (command-line-1):
19847 * lisp/subr.el (noreturn, define-error, add-to-list)
19848 (read-char-choice, version-to-list):
19849 * lisp/term/common-win.el (x-handle-xrm-switch)
19850 (x-handle-name-switch, x-handle-args):
19851 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
19852 * lisp/textmodes/reftex-ref.el (reftex-label):
19853 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
19854 * lisp/textmodes/two-column.el (2C-split):
19855 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
19856 (tutorial--find-changed-keys):
19857 * lisp/type-break.el (type-break-noninteractive-query):
19858 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
19859 (wdired-do-perm-changes):
19860 * lisp/whitespace.el (whitespace-report-region):
19861 Prefer grave quoting in source-code strings used to generate help
19862 and diagnostics.
19863 * lisp/faces.el (face-documentation):
19864 No need to convert quotes, since the result is a docstring.
19865 * lisp/info.el (Info-virtual-index-find-node)
19866 (Info-virtual-index, info-apropos):
19867 Simplify by generating only curved quotes, since info files are
19868 typically that ways nowadays anyway.
19869 * lisp/international/mule-diag.el (list-input-methods):
19870 Don’t assume text quoting style is curved.
19871 * lisp/org/org-bibtex.el (org-bibtex-fields):
19872 Revert my recent changes, going back to the old quoting style.
19873
19874 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
19875
19876 * lisp/emacs-lisp/package.el: Reduce autoloading before compiling.
19877 (package--autoloads-file-name)
19878 (package--activate-autoloads-and-load-path): New function.
19879 (package-activate-1): Delegate autoloading and load-path
19880 configuration to `package--activate-autoloads-and-load-path'.
19881 (package--compile): Before compilation, call
19882 `package--activate-autoloads-and-load-path' instead of
19883 `package-activate-1'.
19884
19885 2015-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19886
19887 * src/keyboard.c (read_key_sequence): Complete last fix (bug#21403).
19888
19889 2015-09-07 Eli Zaretskii <eliz@gnu.org>
19890
19891 Fix deletion of symlinks to directories on MS-Windows
19892 * src/w32.c (sys_unlink): If 'unlink' fails, and the argument is a
19893 symlink to a directory, try again with 'rmdir'.
19894 (is_symlink): If the argument is a symlink to a directory, set a
19895 bit in the return value to indicate that fact.
19896
19897 2015-09-07 Artur Malabarba <bruce.connor.am@gmail.com>
19898
19899 * lisp/emacs-lisp/package.el (package-initialize): Set enable-at-startup
19900 When `package-initialize' is called as part of loading the init file,
19901 the user probably doesn't want it to be called again afterwards.
19902 In this situation, `package-initialize' now sets
19903 `package-enable-at-startup' to nil to prevent that. The user can have
19904 the old behavior by setting this variable to t after the call to
19905 `package-initialize'. (Bug#21423)
19906 * doc/emacs/package.texi (Package Installation): Document it.
19907 * doc/lispref/package.texi (Packaging Basics): Document it.
19908 * etc/NEWS: Document it.
19909
19910 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
19911
19912 Bump version of ntlm.el to 2.00
19913 * lisp/net/ntlm.el: Bump version to 2.00. New maintainer.
19914 Add comm keyword.
19915
19916 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
19917
19918 * doc/misc/gnus.texi (Mail Source Specifiers):
19919 Allow :mailbox to be a list.
19920
19921 2015-09-06 Dmitry Gutov <dgutov@yandex.ru>
19922
19923 * lisp/progmodes/etags.el (etags-tags-completion-table):
19924 Allow even one non-regular character before the implicit tag name.
19925 Reported at http://emacs.stackexchange.com/questions/15269/.
19926
19927 2015-09-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
19928
19929 Add support for NTLMv2 authentication
19930 * lisp/net/ntlm.el (ntlm): New customization group.
19931 (ntlm-compatibility-level): New defcustom.
19932 (ntlm-compute-timestamp): New function.
19933 (ntlm-generate-nonce): Likewise.
19934 (ntlm-build-auth-response): Add support for NTLMv2 authentication.
19935
19936 2015-09-06 Artur Malabarba <bruce.connor.am@gmail.com>
19937
19938 * lisp/emacs-lisp/package.el: Rename custom faces.
19939 All of the recently introduced faces, like `package-name-face', have
19940 been renamed to no end in `-face' to comply with the convention
19941 described in (info "(elisp) Defining Faces").
19942 (package-name, package-description)
19943 (package-status-built-in, package-status-external)
19944 (package-status-available, package-status-new)
19945 (package-status-held, package-status-disabled)
19946 (package-status-installed, package-status-dependency)
19947 (package-status-unsigned, package-status-incompat)
19948 (package-status-avail-obso): New faces.
19949 (package-menu--print-info-simple): Use them.
19950
19951 2015-09-06 Adam Sjøgren <asjo@koldfront.dk>
19952
19953 mail-source.el: Make the imap mail-source's :mailbox handle a list
19954 * lisp/gnus/mail-source.el (mail-source-fetch-imap):
19955 Allow :mailbox to be a list.
19956
19957 2015-09-06 Eric Abrahamsen <eric@ericabrahamsen.net>
19958
19959 nnimap.el: Handle nil arg to nnimap-request-group
19960 * lisp/gnus/nnimap.el (nnimap-request-group): Handle nil "info" arg.
19961 This arg isn't always passed in, check it's not nil before making it
19962 into a list. The active arg will also be nil if the group is new,
19963 check for that.
19964
19965 2015-09-06 Michael Albinus <michael.albinus@gmx.de>
19966
19967 File notifications: Support renaming over directory boundaries
19968 * lisp/filenotify.el (file-notify-handle-event):
19969 (file-notify--pending-event): Adapt docstring.
19970 (file-notify--descriptor, file-notify-callback): Reimplement in
19971 order to support renaming over directory boundaries.
19972 (file-notify-add-watch): Adapt `file-notify--descriptor' call.
19973 * doc/lispref/os.texi (File Notifications): Remove limitation of
19974 file renaming to the same directory.
19975
19976 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
19977
19978 Spelling fix (Bug#21420)
19979
19980 2015-09-05 Nicolas Petton <nicolas@petton.fr>
19981
19982 Improve the semantic of map-some
19983 Update map-some to return the returned by the predicate, similar to
19984 seq-some.
19985 * lisp/emacs-lisp/map.el (map-some): Update the function to return the
19986 return value of the predicate.
19987 * test/automated/map-tests.el (test-map-some): Update the test to check
19988 for non-nil values only.
19989
19990 Rename map-contains-key-p and map-some-p
19991 Remove the "-p" suffix from both function names.
19992 * lisp/emacs-lisp/map.el (map-contains-key, map-some):
19993 Rename the functions.
19994 * test/automated/map-tests.el (test-map-contains-key, test-map-some):
19995 Update both test functions.
19996
19997 Improve the semantic of seq-some
19998 Update seq-some to return non-nil if the predicate returns non-nil for
19999 any element of the seq, in which case the returned value is the one
20000 returned by the predicate.
20001 * lisp/emacs-lisp/seq.el (seq-some): Update the function and its
20002 docstring.
20003 * test/automated/seq-tests.el (test-seq-some): Add a regression test.
20004 * doc/lispref/sequences.texi (Sequence Functions): Update the
20005 documentation for seq-some.
20006
20007 Rename seq-some-p to seq-some and seq-contains-p to seq-contains
20008 * lisp/emacs-lisp/seq.el (seq-some, seq-contains): Rename the functions
20009 without the "-p" prefix.
20010 * test/automated/seq-tests.el (test-seq-some, test-seq-contains): Update
20011 the tests accordingly.
20012 * doc/lispref/sequences.texi (Sequence Functions): Update the
20013 documentation for seq.el.
20014
20015 2015-09-05 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
20016
20017 text-quoting-style for usage of fn names with ‘’
20018 * lisp/help.el (help--docstring-quote): Don’t assume
20019 text-quoting-style is ‘curve’ when generating usage strings for
20020 functions whose names contain curved quotes.
20021
20022 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
20023
20024 Fix fix for describe-function keybinding confusion
20025 This fixes a bug introduced by the previous patch.
20026 * lisp/help-fns.el (help-fns--signature):
20027 Last arg of help-fns--signature is now a buffer, or nil if a
20028 raw signature is wanted. All callers changed.
20029 (describe-function-1): Use this to do the right thing with signatures.
20030
20031 2015-09-05 Johan Bockgård <bojohan@gnu.org>
20032
20033 * doc/lispref/frames.texi (Mouse Tracking): Fix typo.
20034
20035 Use PAT rather than UPAT in pcase macros
20036 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
20037 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>: Use PAT rather
20038 than UPAT.
20039
20040 2015-09-05 Paul Eggert <eggert@cs.ucla.edu>
20041
20042 Fix describe-function keybinding confusion
20043 * lisp/help-fns.el (describe-function-1): Compute signature
20044 in the original buffer, not in standard-output, so that
20045 substitute-command-keys uses the proper keybindings.
20046 This fixes Bug#21412, introduced in commit
20047 2015-06-11T10:23:46-0700!eggert@cs.ucla.edu.
20048
20049 2015-09-05 Xue Fuqiao <xfq.free@gmail.com>
20050
20051 * doc/emacs/programs.texi (Program Modes): Remove an index entry.
20052
20053 2015-09-05 Robert Pluim <rpluim@gmail.com> (tiny change)
20054
20055 Avoid read error messages from 'inotify'
20056 * src/process.c (wait_reading_process_output): Add a
20057 'tls_available' set and manipulate it instead of 'Available' when
20058 checking TLS inputs. Assign the value to 'Available' only if we
20059 find any TLS data waiting to be read. This avoids error messages
20060 from 'inotify' that tries to read data it shouldn't. (Bug#21337)
20061
20062 2015-09-05 Eli Zaretskii <eliz@gnu.org>
20063
20064 Avoid errors in thing-at-point with 2nd argument non-nil
20065 * lisp/thingatpt.el (thing-at-point): Only call 'length' on
20066 sequences. (Bug#21391)
20067
20068 2015-09-05 Philip <pipcet@gmail.com> (tiny change)
20069
20070 Fix segfaults due to using a stale face ID
20071 * src/xdisp.c (forget_escape_and_glyphless_faces): New function.
20072 (display_echo_area_1, redisplay_internal): Call it to avoid
20073 reusing stale face IDs for 'escape-glyph' and 'glyphless-char'
20074 faces, which could case a segfault if the frame's face cache was
20075 freed since the last redisplay. (Bug#21394)
20076 * src/xfaces.c (free_realized_faces):
20077 Call forget_escape_and_glyphless_faces.
20078 * src/dispextern.h (forget_escape_and_glyphless_faces): Add prototype.
20079
20080 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
20081
20082 Fix minor problems with " in manual
20083
20084 2015-09-04 Michael Albinus <michael.albinus@gmx.de>
20085
20086 * doc/misc/tramp.texi (Frequently Asked Questions): New item for ad-hoc
20087 multi-hop files.
20088
20089 2015-09-04 Paul Eggert <eggert@cs.ucla.edu>
20090
20091 Support automated ‘make check’ in non-C locale
20092 This lets the builder optionally test Emacs behavior in other locales.
20093 The C locale is still the default for tests.
20094 * test/automated/Makefile.in (TEST_LOCALE): New macro.
20095 (emacs): Use it.
20096 * test/automated/flymake-tests.el (flymake-tests--current-face):
20097 Use C locale for subprocesses so that tests behave as expected.
20098 * test/automated/python-tests.el:
20099 (python-shell-prompt-validate-regexps-1)
20100 (python-shell-prompt-validate-regexps-2)
20101 (python-shell-prompt-validate-regexps-3)
20102 (python-shell-prompt-validate-regexps-4)
20103 (python-shell-prompt-validate-regexps-5)
20104 (python-shell-prompt-validate-regexps-6)
20105 (python-shell-prompt-set-calculated-regexps-1):
20106 Adjust expected output to match locale.
20107 * test/automated/tildify-tests.el (tildify-test--test)
20108 (tildify-space-test--test, tildify-space-undo-test--test):
20109 This test assumes UTF-8 encoding.
20110
20111 2015-09-03 Paul Eggert <eggert@cs.ucla.edu>
20112
20113 Fix some more docstring etc. quoting problems
20114 Mostly these fixes prevent the transliteration of apostrophes
20115 that should stay apostrophes. Also, prefer curved quotes in
20116 Bahá’í proper names, as that’s the preferred Bahá’í style and
20117 these names are chock-full of non-ASCII characters anyway.
20118 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-autoload)
20119 (eieio-defclass-internal):
20120 * lisp/emacs-lisp/eieio.el (defclass):
20121 * lisp/hi-lock.el (hi-lock-mode):
20122 Don’t transliterate Lisp apostrophes when generating a
20123 doc string or diagnostic.
20124 * lisp/international/mule-diag.el (list-coding-systems-1):
20125 * lisp/international/ogonek.el (ogonek-jak, ogonek-how):
20126 * lisp/mail/sendmail.el (sendmail-query-user-about-smtp):
20127 * lisp/vc/ediff-mult.el (ediff-redraw-registry-buffer):
20128 * lisp/vc/ediff-ptch.el (ediff-fixup-patch-map):
20129 Substitute quotes before putting them in the help buffer.
20130
20131 2015-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
20132
20133 Re-add the notion of echo_prompt lost in the translation
20134 * src/keyboard.h (struct kboard): Replace echo_after_prompt with new
20135 echo_prompt which contains the actual string. Update all uses.
20136 * src/keyboard.c (kset_echo_prompt): New function.
20137 (echo_update): Add echo_prompt at the very beginning.
20138 (read_char): Remove workaround for bug#19875, not needed any more.
20139 (read_key_sequence): Set echo_prompt rather than echo_string
20140 (bug#21403).
20141 (mark_kboards): Mark echo_prompt.
20142
20143 Fix disassembly of non-compiled lexical functions (bug#21377)
20144 * lisp/emacs-lisp/bytecomp.el (byte-compile): Handle `closure' arg.
20145 * lisp/emacs-lisp/disass.el: Use lexical-binding.
20146 (disassemble): Recognize `closure's as well.
20147 (disassemble-internal): Use indirect-function and
20148 help-function-arglist, and accept `closure's.
20149 (disassemble-internal): Use interactive-form.
20150 (disassemble-1): Use functionp.
20151
20152 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p):
20153 Don't compose inside verbatim blocks!
20154
20155 2015-09-03 Mark Oteiza <mvoteiza@udel.edu>
20156
20157 * lisp/thingatpt.el (thing-at-point-uri-schemes): Add "man:"
20158 (bug#19441).
20159
20160 * lisp/mpc.el (mpc--proc-connect): Handle unix sockets (bug#19394).
20161
20162 2015-09-03 Dmitry Gutov <dgutov@yandex.ru>
20163
20164 vc-git-mode-line-string: Explicitly re-apply the face
20165 * lisp/vc/vc-git.el (vc-git-mode-line-string): Explicitly re-apply
20166 the face (bug#21404).
20167
20168 2015-09-02 Paul Eggert <eggert@cs.ucla.edu>
20169
20170 Treat initial-scratch-message as a doc string
20171 * doc/emacs/building.texi (Lisp Interaction):
20172 * doc/lispref/os.texi (Startup Summary):
20173 * etc/NEWS: Document this.
20174 * lisp/startup.el (initial-scratch-message):
20175 Look up find-file’s key rather than hardcoding it.
20176 (command-line-1): Substitute the doc string.
20177 This also substitutes the quotes, which will help test display
20178 quoting at startup.
20179
20180 Fix describe-char bug with glyphs on terminals
20181 * lisp/descr-text.el (describe-char): Terminals can have glyphs in
20182 buffers too, so don’t treat them differently from graphic displays.
20183 Without this fix, describe-char would throw an error on a terminal
20184 if given a glyph with a non-default face.
20185
20186 Follow text-quoting-style in display table init
20187 This attempts to fix a problem reported by Alan Mackenzie in:
20188 http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00112.html
20189 * doc/lispref/display.texi (Active Display Table):
20190 Mention how text-quoting-style affects it.
20191 * doc/lispref/help.texi (Keys in Documentation):
20192 Say how to set text-quoting-style in ~/.emacs.
20193 * etc/NEWS: Document the change.
20194 * lisp/startup.el (startup--setup-quote-display):
20195 Follow user preference if text-quoting-style is set.
20196 (command-line): Setup quote display again if user expresses
20197 a preference in .emacs.
20198
20199 2015-09-02 K. Handa <handa@gnu.org>
20200
20201 Fix typo
20202 * src/ftfont.c (ftfont_drive_otf): otf_positioning_type_components_mask
20203 -> OTF_positioning_type_components_mask.
20204
20205 Fix previous change
20206 * src/ftfont.c (ftfont_drive_otf): Remember some bits of
20207 OTF_Glyph->positioning_type in MFLTGlyphFT->libotf_positioning_type.
20208
20209 2015-09-01 David Caldwell <david@porkrind.org> (tiny change)
20210
20211 * lisp/vc/vc-hooks.el (vc-refresh-state): New command.
20212 Rename from vc-find-file-hook and make interactive.
20213 (vc-find-file-hook): Redefine as obsolete alias.
20214
20215 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
20216
20217 Escape ` and ' in doc
20218 Escape apostrophes and grave accents in docstrings if they are
20219 are supposed to stand for themselves and are not quotes. Remove
20220 apostrophes from docstring examples like ‘'(calendar-nth-named-day
20221 -1 0 10 year)’ that confuse source code with data. Do some other
20222 minor docstring fixups as well, e.g., insert a missing close quote.
20223
20224 2015-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20225
20226 Generalize the prefix-command machinery of C-u
20227 * lisp/simple.el (prefix-command-echo-keystrokes-functions)
20228 (prefix-command-preserve-state-hook): New hooks.
20229 (internal-echo-keystrokes-prefix): New function.
20230 (prefix-command--needs-update, prefix-command--last-echo): New vars.
20231 (prefix-command-update, prefix-command-preserve): New functions.
20232 (reset-this-command-lengths): New compatibility definition.
20233 (universal-argument--mode): Call prefix-command-update.
20234 (universal-argument, universal-argument-more, negative-argument)
20235 (digit-argument): Call prefix-command-preserve-state.
20236 * src/keyboard.c: Call internal-echo-keystrokes-prefix to build
20237 the "prefix argument" to echo.
20238 (this_command_key_count_reset, before_command_key_count)
20239 (before_command_echo_length): Delete variables.
20240 (echo_add_key): Always add a space.
20241 (echo_char): Remove.
20242 (echo_dash): Don't give up when this_command_key_count is 0, since that
20243 is now the case after a prefix command.
20244 (echo_update): New function, extracted from echo_now.
20245 (echo_now): Use it.
20246 (add_command_key, read_char, record_menu_key): Remove old disabled code.
20247 (command_loop_1): Don't refrain from pushing an undo boundary when
20248 prefix-arg is set. Remove other prefix-arg special case, now handled
20249 directly in the prefix commands instead. But call echo_now if there's
20250 a prefix state to echo.
20251 (read_char, record_menu_key): Use echo_update instead of echo_char.
20252 (read_key_sequence): Use echo_now rather than echo_dash/echo_char.
20253 (Freset_this_command_lengths): Delete function.
20254 (syms_of_keyboard): Define Qinternal_echo_keystrokes_prefix.
20255 (syms_of_keyboard): Don't defsubr Sreset_this_command_lengths.
20256 * lisp/simple.el: Use those new hooks for C-u.
20257 (universal-argument--description): New function.
20258 (prefix-command-echo-keystrokes-functions): Use it.
20259 (universal-argument--preserve): New function.
20260 (prefix-command-preserve-state-hook): Use it.
20261 (command-execute): Call prefix-command-update if needed.
20262 * lisp/kmacro.el (kmacro-step-edit-prefix-commands)
20263 (kmacro-step-edit-prefix-index): Delete variables.
20264 (kmacro-step-edit-query, kmacro-step-edit-insert): Remove ad-hoc
20265 support for prefix arg commands.
20266 (kmacro-step-edit-macro): Don't bind kmacro-step-edit-prefix-index.
20267 * lisp/emulation/cua-base.el (cua--prefix-override-replay)
20268 (cua--shift-control-prefix): Use prefix-command-preserve-state.
20269 Remove now unused arg `arg'.
20270 (cua--prefix-override-handler, cua--prefix-repeat-handler)
20271 (cua--shift-control-c-prefix, cua--shift-control-x-prefix):
20272 Update accordingly.
20273 (cua--prefix-override-timeout): Don't call reset-this-command-lengths
20274 any more.
20275 (cua--keep-active, cua-exchange-point-and-mark): Don't set mark-active
20276 if the mark is not set.
20277
20278 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
20279
20280 Rework quoting in Emacs Lisp Introduction
20281 * doc/lispintro/emacs-lisp-intro.texi (Sample let Expression)
20282 (if in more detail, type-of-animal in detail, else): Rework the
20283 early example to use " rather than ' so that we don’t burden
20284 complete novices with the low-priority detail of text quoting style.
20285 (Complete zap-to-char, kill-region, Complete copy-region-as-kill)
20286 (kill-new function, kill-ring-yank-pointer)
20287 (Complete forward-sentence, Loading Files)
20288 (Code for current-kill, Code for current-kill, yank):
20289 Resurrect the Emacs 22 versions of the code, which uses grave
20290 quoting style in doc strings.
20291 (Complete zap-to-char): Mention how quoting works in doc strings.
20292
20293 Setup quote display only if interactive
20294 * lisp/startup.el (command-line):
20295 Skip call to startup--setup-quote-display if noninteractive.
20296 Without this change, python-shell-prompt-validate-regexps-1
20297 fails in test/automated/python-tests.el when run in an
20298 en_US.utf8 locale on Fedora.
20299
20300 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
20301
20302 Use defalias at the top level
20303 * lisp/gnus/gnus-util.el (gnus-format-message):
20304 * lisp/net/tls.el (tls-format-message): Use defalias at the top level
20305 so as to make eval-and-compile unnecessary. Thanks to Stefan Monnier.
20306
20307 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
20308
20309 terminal-init-w32console mimicks command-line
20310 Problem reported by Eli Zaretskii.
20311 * lisp/startup.el (startup--setup-quote-display):
20312 New function, refactored from a part of ‘command-line’.
20313 (command-line): Use it.
20314 * lisp/term/w32console.el (terminal-init-w32console):
20315 Use it, so that this function stays consistent with ‘command-line’.
20316
20317 Display replacement quotes with shadow glyphs
20318 * lisp/startup.el (command-line): When displaying ASCII
20319 replacements for curved quotes, use a shadow glyph instead of a
20320 regular one, to avoid ambiguity.
20321
20322 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
20323
20324 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Mask "Password:".
20325
20326 2015-09-01 Paul Eggert <eggert@cs.ucla.edu>
20327
20328 Docstring fixes re quotes in C code
20329 Fix some docstring quoting problems, mostly by escaping apostrophe.
20330
20331 2015-09-01 Michael Albinus <michael.albinus@gmx.de>
20332
20333 Some Tramp password fixes
20334 * lisp/net/tramp.el (tramp-clear-passwd): Clear also the passwords
20335 of the hops.
20336 * lisp/net/tramp-sh.el (tramp-methods) <sudo>: Move "-p" "Password:"
20337 at the beginning of the command. Otherwise, it could be
20338 interpreted as password prompt if the remote host echoes the
20339 command.
20340 (tramp-remote-coding-commands): Add "openssl enc -base64".
20341
20342 2015-09-01 Dmitry Gutov <dgutov@yandex.ru>
20343
20344 Make vc-git-working-revision always return the commit hash
20345 * lisp/vc/vc-git.el (vc-git-working-revision):
20346 Return the commit hash (bug#21383).
20347 (vc-git--symbolic-ref): New function, extracted from above.
20348 (vc-git-mode-line-string): Use it.
20349
20350 2015-09-01 K. Handa <handa@gnu.org>
20351
20352 Use the new type MFLTGlyphFT for MFLTGlyphString.glyphs
20353 * src/ftfont.c (MFLTGlyphFT): New type.
20354 (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_drive_otf)
20355 (ftfont_shape_by_flt): Make MFLTGlyphFT the actual type of
20356 elements in the array MFLTGlyphString.glyphs.
20357
20358 2015-09-01 Stephen Leake <stephen_leake@stephe-leake.org>
20359
20360 Improve comments in elisp-mode.el, elisp-mode-tests.el
20361 * lisp/progmodes/elisp-mode.el: Clean up FIXMEs, comments.
20362
20363 Delete Emacs 25 test in mode-local.el
20364 * lisp/cedet/mode-local.el (describe-mode-local-overload):
20365 Fix missed an edit in previous commit.
20366
20367 Show all known mode-local overrides in *Help*
20368 * lisp/cedet/mode-local.el (describe-mode-local-overload):
20369 Assume Emacs 25. Add all known mode-local overrides.
20370
20371 2015-09-01 Katsumi Yamaoka <yamaoka@jpl.org>
20372
20373 * lisp/gnus/gnus-sum.el (gnus-summary-search-article):
20374 Ensure that the article where the search word is found is displayed
20375 and pointed to in the summary buffer.
20376
20377 2015-08-31 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
20378
20379 * lisp/newcomment.el (comment-dwim): Use `use-region-p'.
20380 When the region is active, but is empty (length 0), act as though
20381 the region was not active; that is, put a comment at the end of
20382 the line. (Bug#21119)
20383
20384 2015-08-31 Katsumi Yamaoka <yamaoka@jpl.org>
20385
20386 Port tls.el to older Emacs
20387 * lisp/net/tls.el (tls-format-message):
20388 Alias to format-message, or format if not available.
20389 (open-tls-stream): Use it.
20390
20391 2015-08-31 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
20392
20393 hideif.el: Recognize .h++ as C++ header
20394 * lisp/progmodes/hideif.el (hide-ifdef-header-regexp): Add .h++.
20395
20396 isearch: Document character folding mode
20397 * lisp/isearch.el (isearch-forward):
20398 Mention `isearch-toggle-character-fold' in doc string.
20399
20400 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20401
20402 Quoting fixes in ERC and Eshell
20403 * lisp/erc/erc-autoaway.el (erc-autoaway-set-away):
20404 * lisp/erc/erc-backend.el (define-erc-response-handler):
20405 * lisp/erc/erc-fill.el (erc-fill-static-center):
20406 * lisp/eshell/em-dirs.el (eshell-save-some-last-dir):
20407 * lisp/eshell/em-glob.el (eshell-glob-entries):
20408 * lisp/eshell/em-hist.el (eshell-save-some-history):
20409 * lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
20410 (eshell-shuffle-files):
20411 * lisp/eshell/esh-cmd.el (eshell-do-eval):
20412 * lisp/eshell/esh-proc.el (eshell-process-interact)
20413 (eshell-query-kill-processes):
20414 Respect ‘text-quoting-style’ in diagnostics and doc strings.
20415
20416 Quoting fixes in Gnus
20417 * lisp/gnus/gnus-agent.el:
20418 (gnus-agent-possibly-synchronize-flags-server):
20419 * lisp/gnus/gnus-art.el (gnus-article-browse-delete-temp-files):
20420 * lisp/gnus/gnus-eform.el (gnus-edit-form):
20421 * lisp/gnus/gnus-group.el (gnus-group-edit-group)
20422 (gnus-group-nnimap-edit-acl):
20423 * lisp/gnus/gnus-topic.el (gnus-topic-edit-parameters):
20424 * lisp/gnus/mail-source.el (mail-source-delete-old-incoming):
20425 * lisp/gnus/message.el (message-strip-subject-encoded-words)
20426 (message-check-recipients, message-send-form-letter):
20427 * lisp/gnus/mm-decode.el (mm-display-part):
20428 * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1):
20429 * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert)
20430 (mml-smime-get-ldap-cert):
20431 * lisp/gnus/spam-report.el (spam-report-process-queue):
20432 Respect ‘text-quoting-style’ in diagnostics.
20433 * lisp/gnus/gnus-art.el (article-display-face)
20434 * lisp/gnus/gnus-fun.el (gnus-display-x-face-in-from):
20435 Use straight quoting in email.
20436 * lisp/gnus/rfc2231.el (rfc2231-decode-encoded-string):
20437 Escape apostrophes in doc strings.
20438
20439 Quoting fixes in lisp mail, mh-e, net, url
20440 * lisp/mail/emacsbug.el (report-emacs-bug)
20441 (report-emacs-bug-hook): Use straight quotes in outgoing email,
20442 * lisp/mail/feedmail.el (feedmail-message-action-help-blat):
20443 * lisp/mail/rmail.el (rmail-unknown-mail-followup-to):
20444 * lisp/mail/rmailout.el (rmail-output-read-file-name):
20445 * lisp/net/imap.el (imap-interactive-login):
20446 * lisp/net/tls.el (open-tls-stream):
20447 * lisp/url/url-auth.el (url-register-auth-scheme):
20448 Respect ‘text-quoting-style’ in diagnostics.
20449 * lisp/mh-e/mh-e.el (mh-sortm-args):
20450 Quote docstring example using text quotes, not as a Lisp quote.
20451
20452 2015-08-31 Stephen Leake <stephen_leake@stephe-leake.org>
20453
20454 Fix some byte-compiler warnings in EDE
20455 This fixes a bug that caused ede-generic-new-autoloader to overwrite the
20456 existing autoloader list, rather than add to it.
20457 * lisp/cedet/ede/auto.el (ede-project-class-files): Delete obsolete name
20458 argument to eieio class constructor.
20459 (ede-show-supported-projects): New.
20460 (ede-add-project-autoload): Replace obsolete `eieio-object-name-string'
20461 with (oref ... name).
20462 (ede-auto-load-project): Use slot name, not initarg key.
20463 * lisp/cedet/ede/generic.el (ede-generic-load)
20464 (ede-generic-find-matching-target): Use slot name, not initarg key.
20465 (ede-find-target): Use oref-default on class name.
20466 (ede-generic-new-autoloader): Delete obsolete name argument to eieio
20467 class constructor.
20468 (ede-enable-generic-projects): Make project type names unique.
20469
20470 2015-08-31 Eli Zaretskii <eliz@gnu.org>
20471
20472 Fix directory accessibility tests for w32 network volumes
20473 * src/w32.c (faccessat): Don't fail with network volumes without a
20474 share.
20475 (w32_accessible_directory_p): Handle network volumes without a
20476 share.
20477
20478 Fix handling long file names in readdir on MS-Windows
20479 * src/w32.c (sys_readdir): Append "\*" to the directory after
20480 converting it to UTF-16/ANSI, not before, to avoid overflowing the
20481 260-character limit on file names in filename_to_utf16/ansi.
20482
20483 Make file-accessible-directory-p reliable on MS-Windows
20484 * src/w32.c (w32_accessible_directory_p): New function.
20485 * src/w32.h (w32_accessible_directory_p): Add prototype.
20486 * src/fileio.c (file_accessible_directory_p) [WINDOWSNT]: Call
20487 w32_accessible_directory_p to test a directory for accessibility
20488 by the current user. (Bug#21346)
20489 (Ffile_accessible_directory_p): Remove the w32 specific caveat
20490 from the doc string.
20491
20492 2015-08-31 Martin Rudalics <rudalics@gmx.at>
20493
20494 Don't call do_pending_window_change in signal handlers (Bug#21380)
20495 * src/gtkutil.c (xg_frame_resized):
20496 * src/xterm.c (x_set_window_size):
20497 * src/w32term.c (x_set_window_size): Don't call
20498 do_pending_window_change.
20499
20500 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20501
20502 Quoting fixes in lisp/org
20503 * lisp/org/org-agenda.el (org-search-view, org-todo-list)
20504 (org-tags-view):
20505 * lisp/org/org-capture.el (org-capture-mode)
20506 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
20507 (org-ctags-ask-append-topic):
20508 * lisp/org/org.el (org-time-string-to-time)
20509 (org-time-string-to-absolute):
20510 * lisp/org/org-ctags.el (org-ctags-visit-buffer-or-file)
20511 (org-ctags-ask-append-topic):
20512 * lisp/org/org.el (org-time-string-to-time)
20513 (org-time-string-to-absolute):
20514 Respect ‘text-quoting-style’ in diagnostics.
20515 * lisp/org/org-agenda.el (org-agenda-custom-commands)
20516 (org-agenda-dim-blocked-tasks): Plural of TODO is TODOs, not TODO’s.
20517 * lisp/org/org-capture.el (org-capture-fill-template):
20518 Avoid contraction in output file that might be ASCII.
20519 * lisp/org/org-compat.el (format-message):
20520 Define if not already defined, for backward compatibility.
20521 * lisp/org/org-src.el (org-edit-src-save):
20522 * lisp/org/org.el (org-cycle, org-ctrl-c-ctrl-c):
20523 Escape apostrophes in diagnostics.
20524
20525 Treat “instead” strings as docstrings
20526 * lisp/emacs-lisp/bytecomp.el (byte-compile-form):
20527 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
20528 Substitute quotes in instead strings.
20529
20530 2015-08-31 Nicolas Petton <nicolas@petton.fr>
20531
20532 Better documentation of seq-let
20533 * doc/lispref/sequences.texi (Sequence Functions): Rephrase the
20534 documentation of seq-let.
20535
20536 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20537
20538 * lisp/international/ccl.el: Fix quoting.
20539
20540 Quoting fixes in lisp/international and lisp/leim
20541 * lisp/international/ccl.el (ccl-dump, ccl-dump-call):
20542 * lisp/international/ja-dic-utl.el (skkdic-lookup-key):
20543 * lisp/international/mule-cmds.el:
20544 (select-safe-coding-system-interactively, leim-list-file-name):
20545 * lisp/international/quail.el (quail-use-package, quail-help):
20546 * lisp/international/titdic-cnv.el (tit-process-header)
20547 (miscdic-convert):
20548 Respect text quoting style in doc strings and diagnostics.
20549 * lisp/international/quail.el (lisp/international/quail.el):
20550 * lisp/leim/quail/ethiopic.el ("ethiopic"):
20551 Escape apostrophes in doc strings.
20552
20553 Make ‘text-quoting-style’ a plain defvar
20554 It doesn’t need customization, as it’s likely useful only by experts.
20555 Suggested by Stefan Monnier in:
20556 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg01020.html
20557 * lisp/cus-start.el: Remove doc.c section for builtin customized vars.
20558
20559 Quoting fixes in lisp/textmodes
20560 * lisp/textmodes/bibtex.el (bibtex-validate)
20561 (bibtex-validate-globally, bibtex-search-entries):
20562 * lisp/textmodes/ispell.el (ispell-command-loop):
20563 * lisp/textmodes/page-ext.el (search-pages, pages-directory):
20564 * lisp/textmodes/texinfmt.el (texinfmt-version)
20565 (texinfo-format-region, texinfo-format-buffer-1):
20566 * lisp/textmodes/two-column.el (2C-split):
20567 Respect text quoting style in doc strings and diagnostics.
20568 * lisp/textmodes/conf-mode.el (conf-mode-map, conf-quote-normal):
20569 * lisp/textmodes/sgml-mode.el (sgml-specials, sgml-mode):
20570 Escape apostrophes in doc strings.
20571
20572 Documentation fixes re quotes
20573 Prefer curved quotes in examples if users will typically see
20574 curved quotes when the examples run.
20575 Mention format-message when appropriate.
20576 Don’t use @code in examples.
20577 Quote an apostrophe with @kbd.
20578
20579 Quoting fixes in lisp/progmodes
20580 * lisp/progmodes/cc-engine.el (c-bos-report-error):
20581 * lisp/progmodes/cpp.el (cpp-edit-reset):
20582 * lisp/progmodes/ebrowse.el (ebrowse-tags-apropos):
20583 * lisp/progmodes/etags.el (etags-tags-apropos-additional)
20584 (etags-tags-apropos, list-tags, tags-apropos):
20585 * lisp/progmodes/executable.el (executable-set-magic):
20586 * lisp/progmodes/octave.el (octave-sync-function-file-names)
20587 (octave-help, octave-find-definition-default-filename)
20588 (octave-find-definition):
20589 Respect text quoting style in doc strings and diagnostics.
20590 * lisp/progmodes/cc-langs.el (c-populate-syntax-table):
20591 * lisp/progmodes/verilog-mode.el (verilog-auto-reset-widths):
20592 * lisp/progmodes/vhdl-mode.el (vhdl-electric-quote):
20593 Escape apostrophes in doc strings.
20594 * lisp/progmodes/cmacexp.el (c-macro-expansion):
20595 Use straight quoting in ASCII comment.
20596 * lisp/progmodes/idlwave.el (idlwave-auto-fill-split-string)
20597 (idlwave-pad-keyword):
20598 * lisp/progmodes/vhdl-mode.el (vhdl-widget-directory-validate)
20599 (vhdl-electric-open-bracket, vhdl-electric-close-bracket):
20600 (vhdl-electric-semicolon, vhdl-electric-comma)
20601 (vhdl-electric-period, vhdl-electric-equal):
20602 Use directed quotes in diagnostics and doc strings.
20603
20604 2015-08-30 Xue Fuqiao <xfq.free@gmail.com>
20605
20606 Minor documentation and NEWS tweak
20607 * doc/lispintro/emacs-lisp-intro.texi (fwd-para let):
20608 Add an index entry.
20609 * etc/NEWS: Fix a typo in character-fold-to-regexp.
20610
20611 2015-08-30 Michael Albinus <michael.albinus@gmx.de>
20612
20613 * lisp/net/tramp-sh.el (tramp-convert-file-attributes):
20614 Revert patch from 2015-08-24. Tramp shall behave like for local files.
20615 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
20616 Adapt test.
20617
20618 2015-08-30 Paul Eggert <eggert@cs.ucla.edu>
20619
20620 Text quoting fixes in cedet, emulation, emacs-lisp
20621 * lisp/cedet/ede.el (ede-check-project-directory):
20622 * lisp/cedet/semantic/analyze/debug.el
20623 (semantic-analyzer-debug-insert-include-summary):
20624 * lisp/cedet/semantic/bovine/c.el (semantic-c-describe-environment):
20625 * lisp/cedet/semantic/decorate/include.el
20626 (semantic-decoration-unknown-include-describe)
20627 (semantic-decoration-all-include-summary):
20628 * lisp/cedet/semantic/ia.el (semantic-ia-fast-jump):
20629 * lisp/emulation/edt.el (edt-load-keys):
20630 * lisp/emulation/viper-cmd.el
20631 (viper-display-current-destructive-command)
20632 (viper-query-replace, viper-brac-function):
20633 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-compile):
20634 * lisp/emulation/viper-macs.el (viper-unrecord-kbd-macro):
20635 Respect text quoting style in doc string or diagnostic.
20636 * lisp/cedet/mode-local.el (describe-mode-local-overload):
20637 Use format-message to avoid overtranslating quotes.
20638 * lisp/emacs-lisp/checkdoc.el (checkdoc-in-sample-code-p):
20639 Escape an apostrophe in a docstring.
20640 * lisp/emacs-lisp/warnings.el (lwarn): Fix doc string.
20641
20642 2015-08-29 Daniel Colascione <dancol@dancol.org>
20643
20644 Fix which-func for curly quotes: look for symbol, not message
20645 * lisp/progmodes/which-func.el (which-func-ff-hook): Look for new
20646 imenu-unavailable error symbol instead of trying to match message
20647 exactly.
20648 * lisp/imenu.el (imenu-unavailable): New error.
20649 (imenu-unavailable-error): New function.
20650
20651 2015-08-29 Eli Zaretskii <eliz@gnu.org>
20652
20653 Fix Python tests on MS-Windows
20654 * test/automated/python-tests.el
20655 (python-shell-calculate-command-1): Run python-shell-interpreter
20656 through shell-quote-argument before comparing with what
20657 python-shell-calculate-command returns.
20658 (python-shell-calculate-pythonpath-1)
20659 (python-shell-calculate-pythonpath-2)
20660 (python-shell-calculate-process-environment-2): Use path-separator
20661 instead of a literal ':'.
20662 (python-shell-calculate-exec-path-2)
20663 (python-shell-calculate-exec-path-3)
20664 (python-shell-calculate-exec-path-4)
20665 (python-shell-with-environment-1)
20666 (python-shell-with-environment-2): Run "/env/bin" through
20667 expand-file-name before comparing with exec-path. (Bug#21375)
20668
20669 2015-08-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
20670
20671 Use Core Text types/functions/variables/enumerators directly
20672 * src/macfont.h (FontDescriptorRef, FontRef, FontSymbolicTraits)
20673 (CharacterCollection): Remove typedefs. All uses replaced with
20674 definitions.
20675 (MAC_FONT_NAME_ATTRIBUTE, MAC_FONT_FAMILY_NAME_ATTRIBUTE)
20676 (MAC_FONT_TRAITS_ATTRIBUTE, MAC_FONT_SIZE_ATTRIBUTE)
20677 (MAC_FONT_CASCADE_LIST_ATTRIBUTE)
20678 (MAC_FONT_CHARACTER_SET_ATTRIBUTE, MAC_FONT_LANGUAGES_ATTRIBUTE)
20679 (MAC_FONT_FORMAT_ATTRIBUTE, MAC_FONT_SYMBOLIC_TRAIT)
20680 (MAC_FONT_WEIGHT_TRAIT, MAC_FONT_WIDTH_TRAIT)
20681 (MAC_FONT_SLANT_TRAIT): Remove macros. All uses replaced with
20682 definitions.
20683 (MAC_FONT_TRAIT_ITALIC, MAC_FONT_TRAIT_BOLD)
20684 (MAC_FONT_TRAIT_MONO_SPACE, MAC_FONT_TRAIT_COLOR_GLYPHS)
20685 (MAC_FONT_FORMAT_BITMAP)
20686 (MAC_CHARACTER_COLLECTION_IDENTITY_MAPPING)
20687 (MAC_CHARACTER_COLLECTION_ADOBE_JAPAN1): Remove enumerators.
20688 All uses replaced with definitions.
20689 (kCTFontTraitItalic, kCTFontTraitBold, kCTFontTraitMonoSpace)
20690 (kCTFontTraitColorGlyphs, kCTCharacterCollectionIdentityMapping)
20691 (kCTCharacterCollectionAdobeJapan1 kCTFontOrientationDefault):
20692 Add compatibility enumerators for older versions.
20693 (mac_font_descriptor_create_with_attributes)
20694 (mac_font_descriptor_create_matching_font_descriptors)
20695 (mac_font_descriptor_create_matching_font_descriptor)
20696 (mac_font_descriptor_copy_attribute)
20697 (mac_font_descriptor_supports_languages)
20698 (mac_font_create_with_name, mac_font_get_size)
20699 (mac_font_copy_family_name, mac_font_copy_character_set)
20700 (mac_font_get_glyphs_for_characters, mac_font_get_ascent)
20701 (mac_font_get_descent, mac_font_get_leading)
20702 (mac_font_get_underline_position)
20703 (mac_font_get_underline_thickness, mac_font_copy_graphics_font)
20704 (mac_font_copy_non_synthetic_table): Remove macros. All uses
20705 replaced with definitions.
20706 (mac_font_create_preferred_family_for_attributes)
20707 (mac_font_get_advance_width_for_glyph)
20708 (mac_font_get_bounding_rect_for_glyph)
20709 (mac_font_create_available_families, mac_font_shape):
20710 Remove macros for renamed functions.
20711 (mac_nsctfont_copy_font_descriptor): Remove unused macro.
20712 * src/macfont.m (mac_font_descriptor_supports_languages):
20713 Rename from mac_ctfont_descriptor_supports_languages.
20714 (mac_font_create_preferred_family_for_attributes): Rename from
20715 mac_ctfont_create_preferred_family_for_attributes.
20716 (mac_font_get_advance_width_for_glyph): Rename from
20717 mac_ctfont_get_advance_width_for_glyph.
20718 Use kCTFontOrientationDefault also for older versions.
20719 (mac_font_get_bounding_rect_for_glyph): Rename from
20720 mac_ctfont_get_bounding_rect_for_glyph.
20721 Use kCTFontOrientationDefault also for older versions.
20722 (mac_font_create_available_families): Rename from
20723 mac_ctfont_create_available_families.
20724 (mac_font_equal_in_postscript_name): Rename from
20725 mac_ctfont_equal_in_postscript_name. All uses changed.
20726 (mac_font_create_line_with_string_and_font): Rename from
20727 mac_ctfont_create_line_with_string_and_font. All uses changed.
20728 (mac_font_shape): Rename from mac_ctfont_shape.
20729 (mac_font_family_compare): Remove unused declaration.
20730
20731 2015-08-29 Paul Eggert <eggert@cs.ucla.edu>
20732
20733 Fix minor text quoting in calc, calendar, vc
20734 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
20735 * lisp/calc/calc-help.el (calc-j-prefix-help):
20736 * lisp/calc/calc-misc.el (calc-help):
20737 * lisp/calc/calc.el (calc-algebraic-mode, calc-mode):
20738 Escape an apostrophe in a docstring.
20739 * lisp/calc/calc-forms.el (calc-hms-notation):
20740 * lisp/calc/calc-mode.el (calc-display-raw, calc-algebraic-mode):
20741 Escape an apostrophe in a diagnostic.
20742 * lisp/calc/calc-misc.el (calc-help):
20743 * lisp/calendar/diary-lib.el (diary-include-files):
20744 * lisp/calendar/todo-mode.el (todo-prefix, todo-item-mark):
20745 * lisp/vc/diff-mode.el (diff-delete-trailing-whitespace):
20746 * lisp/vc/ediff-diff.el (ediff-same-contents):
20747 * lisp/vc/ediff-merg.el (ediff-re-merge):
20748 * lisp/vc/ediff-ptch.el (ediff-patch-file-internal):
20749 * lisp/vc/ediff-util.el (ediff-test-save-region)
20750 (ediff-status-info):
20751 * lisp/vc/ediff.el (ediff-merge-revisions)
20752 (ediff-merge-revisions-with-ancestor):
20753 * lisp/vc/pcvs.el (cvs-mode-checkout, cvs-vc-command-advice):
20754 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
20755 Respect text quoting style in doc string or diagnostic.
20756 * lisp/calc/calc-prog.el (calc-kbd-push, calc-kbd-pop):
20757 * lisp/vc/add-log.el (change-log-goto-source):
20758 Avoid double-formatting.
20759 * lisp/vc/ediff-init.el (format-message):
20760 New backward-compatibility alias.
20761
20762 2015-08-28 Paul Eggert <eggert@cs.ucla.edu>
20763
20764 Fix minor text quoting problems in lisp top level
20765 * lisp/apropos.el (apropos-describe-plist):
20766 * lisp/cus-theme.el (customize-themes):
20767 * lisp/dired.el (dired-log):
20768 * lisp/help-fns.el (describe-variable):
20769 * lisp/hexl.el (hexl-insert-multibyte-char):
20770 * lisp/info.el (Info-finder-find-node):
20771 * lisp/json.el (json-read-string):
20772 * lisp/novice.el (disabled-command-function)
20773 (disabled-command-function):
20774 * lisp/startup.el (normal-mouse-startup-screen):
20775 * lisp/woman.el (WoMan-log, WoMan-warn):
20776 Respect text quoting style in doc string or diagnostic.
20777 * lisp/replace.el (replace-character-fold):
20778 * src/syntax.c (Fmodify_syntax_entry):
20779 Escape an apostrophe in a docstring.
20780 * lisp/tempo.el (tempo-define-template):
20781 Remove confusing apostrophe from docstring.
20782 * lisp/whitespace.el (whitespace-mark-x):
20783 Use directed quotes in docstring.
20784
20785 2015-08-28 Simen Heggestøyl <simenheg@gmail.com>
20786
20787 Fix indentation rule in css-mode
20788 * lisp/textmodes/css-mode.el (css-smie-rules): Fix indentation of
20789 brackets in presence of pseudo-selectors. (Bug#21328)
20790
20791 2015-08-28 Eli Zaretskii <eliz@gnu.org>
20792
20793 Fix a bug in recording a macro while flyspell-mode is active
20794 * lisp/subr.el (sit-for): Don't call read-event when recording a
20795 macro. (Bug#21329)
20796
20797 2015-08-27 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
20798
20799 Tweak startup screen quoting
20800 * lisp/startup.el (normal-splash-screen): Use standard
20801 "M-" abbrevation rather than a confusingly-different one.
20802 (normal-no-mouse-startup-screen): Follow ‘text-quoting-style’.
20803
20804 2015-08-27 Paul Eggert <eggert@cs.ucla.edu>
20805
20806 Add test case for ‘format’ bug and refactor
20807 * src/editfns.c (styled_format): Refactor internally, mostly by
20808 moving declarations closer to uses. This should not affect behavior.
20809 * test/automated/textprop-tests.el (textprop-tests-format): New test.
20810
20811 Fix ‘format’ bug with property offsets
20812 * src/editfns.c (styled_format): Fix recently-introduced ‘format’
20813 bug in calculating string property offsets (Bug#21351).
20814
20815 Use straight quotes in lib-src diagnostics
20816 These auxiliary programs can’t use Emacs’s text-quoting-style,
20817 and it’s too much trouble to redo that mechanism by hand.
20818 So just use straight quotes for now.
20819 * lib-src/ebrowse.c (main):
20820 * lib-src/emacsclient.c (decode_options, main):
20821 * lib-src/etags.c (Ada_help, default_C_help, Cplusplus_help)
20822 (Forth_help, HTML_help, Lisp_help, Makefile_help, Objc_help)
20823 (Perl_help, PHP_help, Python_help, Scheme_help, TeX_help, auto_help)
20824 (none_help, print_language_names, print_help, add_regex)
20825 (suggest_asking_for_help):
20826 * lib-src/make-docfile.c (write_c_args, scan_c_stream):
20827 Use straight quotes in diagnostics.
20828
20829 ‘text-quoting-style’ fixes for admin
20830 * admin/admin.el (cusver-scan, cusver-check):
20831 * admin/authors.el (authors-canonical-file-name):
20832 * admin/bzrmerge.el (bzrmerge-missing):
20833 Respect ‘text-quoting-style’ in diagnostics.
20834
20835 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
20836
20837 Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS
20838 This removes the need for GCPRO1 etc. Suggested by Stefan Monnier in:
20839 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
20840 * doc/lispref/internals.texi (Writing Emacs Primitives):
20841 * etc/NEWS:
20842 Document the change.
20843 * src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
20844 (nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
20845 (Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
20846 * src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
20847 * src/eval.c (gcpro_level) [DEBUG_GCPRO]:
20848 * src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
20849 (GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
20850 (GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
20851 (BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
20852 (GCPRO7, UNGCPRO, RETURN_UNGCPRO):
20853 Remove. All uses removed. The code now assumes
20854 GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
20855 * src/bytecode.c (relocate_byte_stack):
20856 Rename from unmark_byte_stack, since it now only relocates.
20857 All callers changed.
20858 * src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
20859 with GCPROs removed.
20860 * src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
20861 * test/automated/finalizer-tests.el (finalizer-basic)
20862 (finalizer-circular-reference, finalizer-cross-reference)
20863 (finalizer-error):
20864 * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
20865 Remove tests, as they depend on gc-precise.
20866
20867 2015-08-26 Nicolas Petton <nicolas@petton.fr>
20868
20869 Improve seq-concatenate for new sequence types
20870 Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
20871 ensure that concatenation happens on sequences only. This makes it
20872 possible to use `seq-concatenate' for new types of seqs.
20873 * lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate):
20874 New function used in `seq-concatenate'.
20875 * test/automated/seq-tests.el (test-seq-into-sequence): New unit test
20876 for seq-into-sequence.
20877
20878 2015-08-26 Stephen Leake <stephen_leake@stephe-leake.org>
20879
20880 Add mode local overrides to xref-find-definitions
20881 * lisp/cedet/mode-local.el (xref-mode-local--override-present)
20882 (xref-mode-local-overload): New; add mode local overrides to
20883 xref-find-definitions.
20884 * test/automated/elisp-mode-tests.el: Add mode local override tests.
20885 (xref-elisp-test-run): Handle indented defuns.
20886 (xref-elisp-generic-*): Improve doc strings.
20887 * lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
20888 (elisp--xref-find-definitions): Use it.
20889
20890 Add mode local overrides to describe-function
20891 * lisp/cedet/mode-local.el (describe-mode-local-overload):
20892 New; add mode local overrides to describe-function.
20893 * etc/NEWS: Document change.
20894
20895 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
20896
20897 Prefer straight quoting in some etc text files
20898 These files are plain text and might be used by non-Emacs apps.
20899 They’re mostly ASCII, so just use straight quotes.
20900
20901 Fix quoting in ‘message_with_string’
20902 * src/nsfont.m (nsfont_open): Use directed quotes in format; they
20903 should work now.
20904 * src/xdisp.c (message_to_stderr): New function, refactored from
20905 part of ‘message3_nolog’.
20906 (message3_nolog): Use it.
20907 (message_with_string): Use it. Don’t mishandle NUL bytes when
20908 noninteractive. Prefer AUTO_STRING when it’s most likely faster.
20909 Use ‘format-message’, not ‘format’, so that quotes are translated.
20910
20911 2015-08-26 Eli Zaretskii <eliz@gnu.org>
20912
20913 Mention false positives of file-accessible-directory on w32
20914 * src/fileio.c (Ffile_accessible_directory_p): Doc fix.
20915 (Bug#21346)
20916
20917 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
20918
20919 Treat error strings as help
20920 * src/print.c (print_error_message): Translate quotes and command
20921 keys in errmsg so that users see, e.g., "Symbol’s value as
20922 variable is void: foo" when text-quoting-style is curved.
20923
20924 2015-08-26 Michael Albinus <michael.albinus@gmx.de>
20925
20926 * lisp/net/tramp-cache.el (top): Use `message', not `format-message'.
20927
20928 2015-08-26 Paul Eggert <eggert@cs.ucla.edu>
20929
20930 Top-level elisp files respect ‘text-quoting-style’
20931 In top-level elisp files, use format-message in diagnostic formats,
20932 so that they follow user preference as per ‘text-quoting-style’
20933 rather than being hard-coded to quote `like this'.
20934 * lisp/allout.el (allout-get-configvar-values):
20935 * lisp/apropos.el (apropos-symbols-internal):
20936 * lisp/dired-aux.el (dired-do-shell-command, dired-create-files)
20937 (dired-do-create-files-regexp, dired-create-files-non-directory):
20938 * lisp/dired-x.el (dired-do-run-mail):
20939 * lisp/dired.el (dired-log, dired-dnd-handle-local-file):
20940 * lisp/disp-table.el (standard-display-european):
20941 * lisp/find-dired.el (find-dired):
20942 * lisp/forms.el (forms-mode):
20943 * lisp/ido.el (ido-buffer-internal):
20944 * lisp/info.el (Info-index-next):
20945 * lisp/outline.el (outline-invent-heading):
20946 * lisp/printing.el (pr-ps-outfile-preprint, pr-i-ps-send):
20947 * lisp/proced.el (proced-log):
20948 * lisp/ps-print.el (ps-print-preprint, ps-get-size):
20949 * lisp/recentf.el (recentf-open-files, recentf-save-list):
20950 * lisp/savehist.el (savehist-save):
20951 * lisp/server.el (server-ensure-safe-dir):
20952 * lisp/ses.el (ses-rename-cell):
20953 * lisp/simple.el (list-processes--refresh):
20954 * lisp/startup.el (command-line):
20955 * lisp/strokes.el (strokes-unset-last-stroke)
20956 (strokes-execute-stroke):
20957 Use format-message so that quotes are restyled.
20958 * lisp/cus-edit.el (custom-raised-buttons, customize-browse):
20959 Don’t quote ‘raised’.
20960 * lisp/descr-text.el (describe-char):
20961 * lisp/dirtrack.el (dirtrack-debug-message):
20962 * lisp/hexl.el (hexl-insert-multibyte-char):
20963 Apply substitute-command-keys to help string.
20964 * lisp/wdired.el (wdired-do-renames, wdired-do-symlink-changes)
20965 (wdired-do-perm-changes):
20966 Let dired-log do the formatting.
20967
20968 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
20969
20970 Go back to grave quoting in Tramp
20971 * lisp/net/tramp-adb.el:
20972 * lisp/net/tramp-cache.el:
20973 * lisp/net/tramp-compat.el:
20974 * lisp/net/tramp-gvfs.el:
20975 * lisp/net/tramp-gw.el:
20976 * lisp/net/tramp-sh.el:
20977 * lisp/net/tramp-smb.el:
20978 * lisp/net/tramp.el:
20979 Stick with grave quoting in diagnostics strings. This is more
20980 portable to older Emacs, desirable for Tramp.
20981 * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
20982 for diagnostic that needs requoting.
20983 * lisp/net/tramp-compat.el (format-message):
20984 Fall back on simple ‘format’, since that’s good enough now.
20985
20986 Go back to grave quoting in Gnus
20987 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
20988 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
20989 (gnus-agent-fetch-headers):
20990 * lisp/gnus/gnus-int.el (gnus-start-news-server):
20991 * lisp/gnus/gnus-registry.el:
20992 (gnus-registry--split-fancy-with-parent-internal)
20993 (gnus-registry-post-process-groups):
20994 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
20995 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
20996 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
20997 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
20998 * lisp/gnus/spam.el (spam-check-blackholes):
20999 Stick with grave quoting in diagnostics strings. This is more
21000 portable to older Emacs, desirable for Gnus.
21001
21002 Fix customization of text-quoting-style
21003 * lisp/cus-edit.el (custom-guess-type, custom-variable-documentation):
21004 * lisp/wid-edit.el (widget-docstring):
21005 Get raw docstring here since it’s cooked later and should not be
21006 cooked twice.
21007 * lisp/cus-edit.el (custom-group-value-create):
21008 Cook the docstring before inserting it.
21009 * lisp/cus-start.el (text-quoting-style): Quote the customization
21010 docstrings according to the new rules. Give curved examples.
21011
21012 format-message now curves ` and '
21013 That way, the caller doesn’t have to use curved quotes to
21014 get diagnostics that match the text-quoting-style preferences.
21015 Suggested by Dmitry Gutov in:
21016 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00893.html
21017 This means we no longer need %qs, so remove that format.
21018 While we’re at it, fix an unlikely bug and lessen the pressure
21019 on the garbage collector by processing the string once rather
21020 than twice in the usual case.
21021 * doc/lispref/strings.texi (Formatting Strings):
21022 * etc/NEWS: Document this.
21023 * lisp/subr.el (format-message): Remove; now done in C.
21024 * src/callint.c (Fcall_interactively):
21025 * src/editfns.c (Fmessage, Fmessage_box):
21026 Use Fformat_message instead of Finternal__text_restyle
21027 followed by Fformat.
21028 * src/doc.c (LSQM, RSQM): Remove; all uses changed to use
21029 uLSQM and uRSQM.
21030 (Fsubstitute_command_keys): Prefer AUTO_STRING to build_string
21031 when pure ASCII now suffices. Fix unlikely bug when parsing
21032 unibyte string containing non-ASCII bytes. Use inline code
21033 rather than memcpy, as it’s a tiny number of bytes.
21034 (Finternal__text_restyle): Remove; no longer used.
21035 (syms_of_doc): Don’t declare it.
21036 * src/editfns.c (Fformat): Rewrite in terms of new function
21037 ‘styled_format’.
21038 (Fformat_message): New function, moved here from subr.el.
21039 (styled_format): New function, with the old guts of Fformat,
21040 except it now optionally transliterates quotes, and it transliterates
21041 traditional grave accent and apostrophe quoting as well.
21042 Remove recently-added q flag; no longer needed or used.
21043 (syms_of_editfns): Define format-message.
21044 * src/lisp.h (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
21045 Remove; no longer need to be global symbols.
21046 * src/xdisp.c (vadd_to_log): Use Fformat_message, not Fformat,
21047 so that callers can use `%s'.
21048 * src/image.c (image_size_error, xbm_load_image, xbm_load)
21049 (xpm_load, pbm_load, png_load_body, jpeg_load_body, tiff_load)
21050 (gif_load, imagemagick_load_image, imagemagick_load, svg_load)
21051 (svg_load_image, gs_load, x_kill_gs_process):
21052 * src/lread.c (load_warn_old_style_backquotes):
21053 * src/xfaces.c (load_pixmap):
21054 * src/xselect.c (x_clipboard_manager_error_1):
21055 Use `%s' instead of %qs in formats.
21056
21057 2015-08-25 Eli Zaretskii <eliz@gnu.org>
21058
21059 Minor fixes in doc/emacs/search.texi
21060 * doc/emacs/search.texi (Basic Isearch): Fix a typo.
21061 (Special Isearch): Use @w{} to generate several consecutive spaces
21062 with Texinfo 6. (Bug#21345)
21063
21064 2015-08-25 Michael Albinus <michael.albinus@gmx.de>
21065
21066 * lisp/net/tramp-sh.el (tramp-awk-encode, tramp-awk-decode)
21067 (tramp-awk-coding-test): New defconsts.
21068 (tramp-remote-coding-commands): Use them.
21069 (tramp-find-inline-encoding): Check for Perl only if necessary.
21070
21071 2015-08-25 Xue Fuqiao <xfq.free@gmail.com>
21072
21073 * doc/lispintro/emacs-lisp-intro.texi (Run a Program): Add some
21074 index entries for the special form `quote'.
21075
21076 2015-08-25 Paul Eggert <eggert@cs.ucla.edu>
21077
21078 Spelling fixes
21079
21080 Gnus format-message typo fix
21081 * lisp/gnus/gnus-util.el (gnus-format-message):
21082 Fix typo when running in older Emacs.
21083
21084 Prefer directed to neutral quotes in docstings and diagnostics.
21085 In docstrings, escape apostrophes that would otherwise be translated
21086 to curved quotes using the newer, simpler rules.
21087 * admin/unidata/unidata-gen.el (unidata-gen-table):
21088 * lisp/align.el (align-region):
21089 * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet):
21090 * lisp/bookmark.el (bookmark-default-annotation-text):
21091 * lisp/calc/calc-aent.el (math-read-if, math-read-factor):
21092 * lisp/calc/calc-lang.el (math-read-giac-subscr)
21093 (math-read-math-subscr):
21094 * lisp/calc/calc-misc.el (report-calc-bug):
21095 * lisp/calc/calc-prog.el (calc-fix-token-name)
21096 (calc-read-parse-table-part):
21097 * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
21098 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
21099 * lisp/dabbrev.el (dabbrev-expand):
21100 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
21101 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
21102 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
21103 * lisp/emulation/viper-cmd.el (viper-toggle-search-style):
21104 * lisp/erc/erc-button.el (erc-nick-popup):
21105 * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login):
21106 * lisp/eshell/em-dirs.el (eshell/cd):
21107 * lisp/eshell/em-glob.el (eshell-glob-regexp):
21108 * lisp/eshell/em-pred.el (eshell-parse-modifiers):
21109 * lisp/eshell/esh-arg.el (eshell-parse-arguments):
21110 * lisp/eshell/esh-opt.el (eshell-show-usage):
21111 * lisp/files-x.el (modify-file-local-variable):
21112 * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer)
21113 (filesets-update-pre010505):
21114 * lisp/find-cmd.el (find-generic, find-to-string):
21115 * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries):
21116 * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer)
21117 (gnus-agent-fetch-headers):
21118 * lisp/gnus/gnus-int.el (gnus-start-news-server):
21119 * lisp/gnus/gnus-registry.el:
21120 (gnus-registry--split-fancy-with-parent-internal):
21121 * lisp/gnus/gnus-score.el (gnus-summary-increase-score):
21122 * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc):
21123 * lisp/gnus/gnus-topic.el (gnus-topic-rename):
21124 * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
21125 * lisp/gnus/nnmairix.el (nnmairix-widget-create-query):
21126 * lisp/gnus/spam.el (spam-check-blackholes):
21127 * lisp/mail/feedmail.el (feedmail-run-the-queue):
21128 * lisp/mpc.el (mpc-playlist-rename):
21129 * lisp/net/ange-ftp.el (ange-ftp-shell-command):
21130 * lisp/net/mairix.el (mairix-widget-create-query):
21131 * lisp/net/tramp-cache.el:
21132 * lisp/obsolete/otodo-mode.el (todo-more-important-p):
21133 * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region):
21134 * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region):
21135 * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region):
21136 * lisp/org/ob-core.el (org-babel-goto-named-src-block)
21137 (org-babel-goto-named-result):
21138 * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap):
21139 * lisp/org/ob-ref.el (org-babel-ref-resolve):
21140 * lisp/org/org-agenda.el (org-agenda-prepare):
21141 * lisp/org/org-bibtex.el (org-bibtex-fields):
21142 * lisp/org/org-clock.el (org-clock-notify-once-if-expired)
21143 (org-clock-resolve):
21144 * lisp/org/org-feed.el (org-feed-parse-atom-entry):
21145 * lisp/org/org-habit.el (org-habit-parse-todo):
21146 * lisp/org/org-mouse.el (org-mouse-popup-global-menu)
21147 (org-mouse-context-menu):
21148 * lisp/org/org-table.el (org-table-edit-formulas):
21149 * lisp/org/ox.el (org-export-async-start):
21150 * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question)
21151 (dun-rooms, dun-endgame-questions):
21152 * lisp/progmodes/ada-mode.el (ada-goto-matching-start):
21153 * lisp/progmodes/ada-xref.el (ada-find-executable):
21154 * lisp/progmodes/antlr-mode.el (antlr-options-alists):
21155 * lisp/progmodes/flymake.el (flymake-parse-err-lines)
21156 (flymake-start-syntax-check-process):
21157 * lisp/progmodes/python.el (python-define-auxiliary-skeleton):
21158 * lisp/progmodes/sql.el (sql-comint):
21159 * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point):
21160 * lisp/server.el (server-get-auth-key):
21161 * lisp/subr.el (version-to-list):
21162 * lisp/textmodes/reftex-ref.el (reftex-label):
21163 * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label):
21164 * lisp/vc/ediff-diff.el (ediff-same-contents):
21165 * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string):
21166 * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests):
21167 Use directed rather than neutral quotes in diagnostics.
21168
21169 Treat ' like ’ even when not matching `
21170 This is simpler and easier to explain, and should encourage better
21171 typography. Do this in Electric Quote mode and when translating
21172 quotes in docstrings. Inspired by a suggestion by Dmitry Gutov in:
21173 https://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00806.html
21174 * doc/emacs/text.texi (Quotation Marks):
21175 * doc/lispref/help.texi (Keys in Documentation):
21176 * etc/NEWS:
21177 Document this.
21178 * lisp/electric.el (electric-quote-post-self-insert-function):
21179 * src/doc.c (Fsubstitute_command_keys):
21180 Always treat ' like ’ even when not matched by an open quote.
21181
21182 2015-08-25 Glenn Morris <rgm@gnu.org>
21183
21184 * doc/emacs/cal-xtra.texi (Holiday Customizing): Fix typo in example.
21185 * lisp/calendar/holidays.el (calendar-holidays): Fix doc typo.
21186
21187 2015-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21188
21189 * src/macfont.m (macfont_create_family_with_symbol):
21190 Accept localized names.
21191
21192 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
21193
21194 Tramp diagnostics as per ‘text-quoting-style’
21195 * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
21196 (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
21197 (tramp-adb-handle-delete-directory)
21198 (tramp-adb-handle-delete-file)
21199 (tramp-adb-handle-file-local-copy)
21200 (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
21201 (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
21202 (tramp-adb-maybe-open-connection):
21203 * lisp/net/tramp-cache.el:
21204 * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
21205 (tramp-compat-octal-to-decimal)
21206 (tramp-compat-coding-system-change-eol-conversion):
21207 * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
21208 (tramp-gvfs-do-copy-or-rename-file)
21209 (tramp-gvfs-handle-delete-directory)
21210 (tramp-gvfs-handle-delete-file)
21211 (tramp-gvfs-handle-expand-file-name)
21212 (tramp-gvfs-handle-file-local-copy)
21213 (tramp-gvfs-handle-file-notify-add-watch)
21214 (tramp-gvfs-handle-make-directory)
21215 (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
21216 * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
21217 (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
21218 * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
21219 (tramp-sh-handle-set-visited-file-modtime)
21220 (tramp-sh-handle-set-file-modes)
21221 (tramp-sh-handle-file-name-all-completions)
21222 (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
21223 (tramp-do-copy-or-rename-file-directly)
21224 (tramp-do-copy-or-rename-file-out-of-band)
21225 (tramp-sh-handle-make-directory)
21226 (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
21227 (tramp-sh-handle-insert-directory, tramp-process-sentinel)
21228 (tramp-sh-handle-start-file-process)
21229 (tramp-sh-handle-file-local-copy)
21230 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
21231 (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
21232 (tramp-find-file-exists-command, tramp-open-shell)
21233 (tramp-find-shell)
21234 (tramp-open-connection-setup-interactive-shell)
21235 (tramp-find-inline-encoding, tramp-find-inline-compress)
21236 (tramp-compute-multi-hops, tramp-maybe-open-connection)
21237 (tramp-wait-for-output, tramp-send-command-and-check)
21238 (tramp-send-command-and-read, tramp-get-remote-path)
21239 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
21240 (tramp-get-ls-command-with-quoting-style)
21241 (tramp-get-test-command, tramp-get-remote-ln)
21242 (tramp-get-remote-perl, tramp-get-remote-stat)
21243 (tramp-get-remote-readlink, tramp-get-remote-trash)
21244 (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
21245 (tramp-get-remote-inotifywait, tramp-get-remote-id)
21246 (tramp-get-remote-python):
21247 * lisp/net/tramp-smb.el (tramp-smb-errors)
21248 (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
21249 (tramp-smb-handle-delete-directory)
21250 (tramp-smb-handle-delete-file)
21251 (tramp-smb-handle-file-local-copy)
21252 (tramp-smb-handle-make-directory)
21253 (tramp-smb-handle-make-directory-internal)
21254 (tramp-smb-handle-make-symbolic-link)
21255 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
21256 (tramp-smb-handle-set-file-modes)
21257 (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
21258 * lisp/net/tramp.el (tramp-debug-message, tramp-error)
21259 (tramp-process-actions):
21260 Generate diagnostics according to ‘text-quoting-style’, by
21261 using curved quotes in format strings and ‘format-message’
21262 when appropriate.
21263 * lisp/net/tramp-compat.el (format-message):
21264 Define a replacement, if it’s an older version of Emacs
21265 that doesn’t have it already.
21266
21267 * etc/NEWS: Clarify text-quoting-style and electric-quote-mode.
21268
21269 2015-08-24 Xue Fuqiao <xfq.free@gmail.com>
21270
21271 Fix documentation for `save-excursion'
21272 * doc/lispref/positions.texi (Excursions):
21273 * doc/lispintro/emacs-lisp-intro.texi (save-excursion)
21274 (Template for save-excursion, Point and mark): `save-excursion'
21275 does not save&restore the mark any more.
21276
21277 2015-08-24 Michael Albinus <michael.albinus@gmx.de>
21278
21279 * lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):
21280 New defconsts.
21281 (tramp-do-file-attributes-with-stat)
21282 (tramp-do-directory-files-and-attributes-with-stat): Use them.
21283 (tramp-convert-file-attributes): Remove double slashes in symlinks.
21284 * test/automated/tramp-tests.el (tramp-test18-file-attributes):
21285 Handle symlinks with "//" in the file name.
21286
21287 Revert fbb5531fa11d13854b274d28ccd329c9b6652cfc for tramp.el.
21288
21289 2015-08-24 Nicolas Petton <nicolas@petton.fr>
21290
21291 Fix cl-subseq and cl-concatenate
21292 * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-concatenate): Do not use
21293 seq functions.
21294 * lisp/emacs-lisp/seq.el (seq-concatenate): Call cl-concatenate in
21295 seq-concatenate.
21296
21297 2015-08-24 Pip Cet <pipcet@gmail.com> (tiny change)
21298
21299 Fix full-screen code when there is no window manager (Bug#21317)
21300 * src/xterm.h (x_wm_supports): Declare external.
21301 * src/xterm.c (wm_suppports): Rename to `x_wm_supports', export.
21302 (do_ewmh_fullscreen, x_ewmh_activate_frame): Adjust for rename.
21303 (x_check_fullscreen): Call `x_wm_set_size_hint', restore
21304 `fullscreen' frame parameter.
21305 * src/gtkutil.c (x_wm_set_size_hint): Set size hints when running
21306 without a window manager.
21307
21308 2015-08-24 Glenn Morris <rgm@gnu.org>
21309
21310 * lisp/version.el (emacs-version): No longer include build host.
21311 * doc/lispref/intro.texi (Version Info): Update example.
21312
21313 2015-08-24 Paul Eggert <eggert@cs.ucla.edu>
21314
21315 * doc/lispref/elisp.texi: Fix typo in previous change.
21316
21317 More-conservative ‘format’ quote restyling
21318 Instead of restyling curved quotes for every call to ‘format’,
21319 create a new function ‘format-message’ that does the restyling,
21320 and using the new function instead of ‘format’ only in contexts
21321 where this seems appropriate.
21322 Problem reported by Dmitry Gutov and Andreas Schwab in:
21323 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00826.html
21324 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00827.html
21325 * doc/lispref/commands.texi (Using Interactive):
21326 * doc/lispref/control.texi (Signaling Errors, Signaling Errors):
21327 * doc/lispref/display.texi (Displaying Messages, Progress):
21328 * doc/lispref/elisp.texi:
21329 * doc/lispref/help.texi (Keys in Documentation):
21330 * doc/lispref/minibuf.texi (Minibuffer Misc):
21331 * doc/lispref/strings.texi (Formatting Strings):
21332 * etc/NEWS:
21333 Document the changes.
21334 * lisp/abbrev.el (expand-region-abbrevs):
21335 * lisp/apropos.el (apropos-library):
21336 * lisp/calc/calc-ext.el (calc-record-message)
21337 (calc-user-function-list):
21338 * lisp/calc/calc-help.el (calc-describe-key, calc-full-help):
21339 * lisp/calc/calc-lang.el (math-read-big-balance):
21340 * lisp/calc/calc-store.el (calc-edit-variable):
21341 * lisp/calc/calc-units.el (math-build-units-table-buffer):
21342 * lisp/calc/calc-yank.el (calc-edit-mode):
21343 * lisp/calendar/icalendar.el (icalendar-export-region)
21344 (icalendar--add-diary-entry):
21345 * lisp/cedet/mode-local.el (mode-local-print-binding)
21346 (mode-local-describe-bindings-2):
21347 * lisp/cedet/semantic/complete.el (semantic-completion-message):
21348 * lisp/cedet/semantic/edit.el (semantic-parse-changes-failed):
21349 * lisp/cedet/semantic/wisent/comp.el (wisent-log):
21350 * lisp/cedet/srecode/insert.el (srecode-insert-show-error-report):
21351 * lisp/descr-text.el (describe-text-properties-1, describe-char):
21352 * lisp/dframe.el (dframe-message):
21353 * lisp/dired-aux.el (dired-query):
21354 * lisp/emacs-lisp/byte-opt.el (byte-compile-log-lap-1):
21355 * lisp/emacs-lisp/bytecomp.el (byte-compile-log)
21356 (byte-compile-log-file, byte-compile-warn, byte-compile-form):
21357 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
21358 (cconv-analyze-form):
21359 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
21360 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
21361 * lisp/emacs-lisp/cl-macs.el (cl-symbol-macrolet):
21362 * lisp/emacs-lisp/edebug.el (edebug-format):
21363 * lisp/emacs-lisp/eieio-core.el (eieio-oref):
21364 * lisp/emacs-lisp/eldoc.el (eldoc-minibuffer-message)
21365 (eldoc-message):
21366 * lisp/emacs-lisp/elint.el (elint-file, elint-log):
21367 * lisp/emacs-lisp/find-func.el (find-function-library):
21368 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
21369 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
21370 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
21371 * lisp/emacs-lisp/package.el (package-compute-transaction)
21372 (package-install-button-action, package-delete-button-action)
21373 (package-menu--list-to-prompt):
21374 * lisp/emacs-lisp/timer.el (timer-event-handler):
21375 * lisp/emacs-lisp/warnings.el (lwarn, warn):
21376 * lisp/emulation/viper-cmd.el:
21377 (viper-toggle-parse-sexp-ignore-comments)
21378 (viper-kill-buffer, viper-brac-function):
21379 * lisp/emulation/viper-macs.el (viper-record-kbd-macro):
21380 * lisp/facemenu.el (facemenu-add-new-face):
21381 * lisp/faces.el (face-documentation, read-face-name)
21382 (face-read-string, read-face-font, describe-face):
21383 * lisp/files.el (find-alternate-file, hack-local-variables)
21384 (hack-one-local-variable--obsolete, write-file)
21385 (basic-save-buffer, delete-directory):
21386 * lisp/format.el (format-write-file, format-find-file)
21387 (format-insert-file):
21388 * lisp/help-fns.el (help-fns--key-bindings)
21389 (help-fns--compiler-macro, help-fns--obsolete)
21390 (help-fns--interactive-only, describe-function-1)
21391 (describe-variable):
21392 * lisp/help.el (describe-mode):
21393 * lisp/info-xref.el (info-xref-output):
21394 * lisp/info.el (Info-virtual-index-find-node)
21395 (Info-virtual-index, info-apropos):
21396 * lisp/international/kkc.el (kkc-error):
21397 * lisp/international/mule-cmds.el:
21398 (select-safe-coding-system-interactively)
21399 (select-safe-coding-system, describe-input-method):
21400 * lisp/international/mule-conf.el (code-offset):
21401 * lisp/international/mule-diag.el (describe-character-set)
21402 (list-input-methods-1):
21403 * lisp/international/quail.el (quail-error):
21404 * lisp/minibuffer.el (minibuffer-message):
21405 * lisp/mpc.el (mpc--debug):
21406 * lisp/msb.el (msb--choose-menu):
21407 * lisp/net/ange-ftp.el (ange-ftp-message):
21408 * lisp/net/gnutls.el (gnutls-message-maybe):
21409 * lisp/net/newst-backend.el (newsticker--sentinel-work):
21410 * lisp/net/newst-treeview.el (newsticker--treeview-load):
21411 * lisp/net/nsm.el (nsm-query-user):
21412 * lisp/net/rlogin.el (rlogin):
21413 * lisp/net/soap-client.el (soap-warning):
21414 * lisp/net/tramp.el (tramp-debug-message):
21415 * lisp/nxml/nxml-outln.el (nxml-report-outline-error):
21416 * lisp/nxml/nxml-parse.el (nxml-parse-error):
21417 * lisp/nxml/rng-cmpct.el (rng-c-error):
21418 * lisp/nxml/rng-match.el (rng-compile-error):
21419 * lisp/nxml/rng-uri.el (rng-uri-error):
21420 * lisp/obsolete/iswitchb.el (iswitchb-possible-new-buffer):
21421 * lisp/org/org-ctags.el:
21422 (org-ctags-ask-rebuild-tags-file-then-find-tag):
21423 * lisp/proced.el (proced-log):
21424 * lisp/progmodes/ebnf2ps.el (ebnf-log):
21425 * lisp/progmodes/flymake.el (flymake-log):
21426 * lisp/progmodes/vhdl-mode.el (vhdl-warning-when-idle):
21427 * lisp/replace.el (occur-1):
21428 * lisp/simple.el (execute-extended-command)
21429 (undo-outer-limit-truncate, define-alternatives):
21430 * lisp/startup.el (command-line):
21431 * lisp/subr.el (error, user-error, add-to-list):
21432 * lisp/tutorial.el (tutorial--describe-nonstandard-key)
21433 (tutorial--find-changed-keys):
21434 * src/callint.c (Fcall_interactively):
21435 * src/editfns.c (Fmessage, Fmessage_box):
21436 Restyle the quotes of format strings intended for use as a
21437 diagnostic, when restyling seems appropriate.
21438 * lisp/subr.el (format-message): New function.
21439 * src/doc.c (Finternal__text_restyle): New function.
21440 (syms_of_doc): Define it.
21441
21442 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
21443
21444 * etc/NEWS: The new ‘q’ flag is not an incompatible change.
21445
21446 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
21447
21448 python.el: Fix python-shell-buffer-substring on indented code
21449 (Bug#21086)
21450 * lisp/progmodes/python.el (python-shell-buffer-substring):
21451 Respect current line indentation when calculating string.
21452 * test/automated/python-tests.el
21453 (python-shell-buffer-substring-10)
21454 (python-shell-buffer-substring-11)
21455 (python-shell-buffer-substring-12): New tests.
21456
21457 2015-08-23 Paul Eggert <eggert@cs.ucla.edu>
21458
21459 Fix minor glitches from ‘format’ reversion
21460 * doc/lispref/strings.texi (Formatting Strings):
21461 After reversion, ‘text-quoting-style’ is documented in ‘Keys in
21462 Documentation’, not below.
21463 * src/syntax.c (Finternal_describe_syntax_value):
21464 Prefer AUTO_STRING to build_string where either will do, as
21465 AUTO_STRING is a bit faster.
21466
21467 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
21468
21469 python.el: Defer shell setup code until first interactive prompt
21470 * lisp/progmodes/python.el
21471 (python-shell-comint-watch-for-first-prompt-output-filter):
21472 New function.
21473 (inferior-python-mode): Use it.
21474 (python-shell-first-prompt-hook): New hook.
21475 (python-shell-send-setup-code)
21476 (python-shell-completion-native-turn-on-maybe-with-msg): Attach to
21477 this hook instead of inferior-python-hook.
21478
21479 2015-08-23 Nicolas Petton <nicolas@petton.fr>
21480
21481 Remove the calls to `seq-into` from `seq-concatenate`
21482 Since most new types of seq would have to be defined as sequences (cons
21483 cells or CL structs, mostly), there is no need to convert the seqs to
21484 sequences (which can be a fairly expensive operation).
21485 * lisp/emacs-lisp/seq.el (seq-concatenate): Do not ensure that seqs are
21486 sequences.
21487
21488 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
21489
21490 python.el: Fix completion for pdb interactions
21491 * lisp/progmodes/python.el (python-shell-completion-setup-code):
21492 Simplify. Toggle print_mode for native wrapped completer.
21493 (python-shell-completion-native-setup): Ensure process buffer.
21494 Add print_mode attribute to completer wrapper to toggle returning
21495 or printing candidates.
21496 (python-shell-completion-native-get-completions): Cleanup.
21497 (python-shell-completion-get-completions): Cleanup.
21498 (python-shell-completion-at-point): Perform prompt checks.
21499 Force fallback completion in pdb interactions.
21500
21501 2015-08-23 Nicolas Petton <nicolas@petton.fr>
21502
21503 Make seq.el more extensible by using cl-defmethod
21504 * lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
21505 make it easier to extend seq.el with new "seq types".
21506 * test/automated/seq-tests.el (test-setf-seq-elt): New test.
21507 * lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
21508 subseq in cl-extra.el, and use it in seq.el.
21509
21510 2015-08-23 Fabián Ezequiel Gallina <fgallina@gnu.org>
21511
21512 python.el: Fix prompt detection with user overridden interpreter
21513 * lisp/progmodes/python.el (python-shell-prompt-detect):
21514 Honor buffer local python-shell-interpreter and
21515 python-shell-interpreter-interactive-arg.
21516
21517 2015-08-23 Eli Zaretskii <eliz@gnu.org>
21518
21519 Support exec-directory with non-ASCII characters on Windows
21520 * src/w32proc.c (sys_spawnve): Make sure exec-directory is encoded
21521 in the system's ANSI codepage, when it is used for invoking
21522 cmdproxy.
21523
21524 2015-08-23 Andreas Schwab <schwab@linux-m68k.org>
21525
21526 Revert "Extend ‘format’ to translate curved quotes"
21527 This reverts commit 244c801689d2f7a80480d83cd7d092d4762ebe08.
21528
21529 Revert "Prefer ‘format’ to ‘substitute-command-keys’"
21530 This reverts commit 6af5aad26411ffe21c3fe4bc5438347110910111.
21531
21532 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
21533
21534 * doc/lispintro/emacs-lisp-intro.texi (Switching Buffers):
21535 Clarify "invisible window".
21536
21537 2015-08-23 Xue Fuqiao <xfq.free@gmail.com>
21538
21539 * doc/emacs/modes.texi (Choosing Modes): Minor doc fix for
21540 magic-fallback-mode-alist.
21541
21542 2015-08-22 Fabián Ezequiel Gallina <fgallina@gnu.org>
21543
21544 python.el: fallback completion, ffap and eldoc setup enhancements
21545 Setup codes are now sent continuously so that the current frame is
21546 always taken into account. This allows working within debuggers
21547 and always keeping a fresh version of setup codes that will return
21548 proper results.
21549 * lisp/progmodes/python.el (python-shell-setup-codes): Cleanup.
21550 (python-shell-send-setup-code): Send code only when
21551 python-shell-setup-codes is non-nil.
21552 (python-shell-completion-string-code): Cleanup trailing newline.
21553 (python-shell-completion-get-completions): Always use
21554 python-shell-completion-setup-code.
21555 (python-ffap-setup-code): Work with any object, not only modules.
21556 (python-ffap-string-code): Cleanup trailing newline.
21557 (python-ffap-module-path): Always use python-ffap-setup-code.
21558 (python-eldoc-string-code): Cleanup trailing newline.
21559 (python-eldoc--get-doc-at-point): Always use
21560 python-eldoc-setup-code. Return non-nil only if docstring is
21561 found.
21562
21563 python.el: Increase native completion robustness
21564 * lisp/progmodes/python.el (python-shell-completion-native-setup):
21565 Make completer print real candidates and just return dummy ones to
21566 avoid input modification.
21567 (python-shell-completion-native-get-completions): Set
21568 comint-redirect-insert-matching-regexp to non-nil and make
21569 comint-redirect-finished-regexp match the last dummy candidate.
21570 Use python-shell-accept-process-output to wait for the full list
21571 of candidates.
21572
21573 2015-08-22 Eli Zaretskii <eliz@gnu.org>
21574
21575 Fix invocation of programs via cmdproxy.exe
21576 * src/w32proc.c (sys_spawnve): Use exec-directory, not
21577 invocation-directory, for finding cmdproxy.exe. When Emacs is
21578 run from the source tree, look for cmdproxy.exe in the same source
21579 tree. (Bug#21323)
21580
21581 2015-08-22 Simen Heggestøyl <simenheg@gmail.com>
21582
21583 Handle comments inside unquoted URIs in css-mode
21584 * lisp/textmodes/css-mode.el (css--uri-re): New defconst.
21585 (css-syntax-propertize-function): New defconst.
21586 (css--font-lock-keywords): Handle parens around unquoted URIs.
21587 (css-mode): Set `syntax-propertize-function'.
21588
21589 2015-08-22 Eli Zaretskii <eliz@gnu.org>
21590
21591 Support invocation of Hunspell with multiple dictionaries
21592 * lisp/textmodes/ispell.el (ispell-parse-hunspell-affix-file):
21593 Support lists of dictionaries of the form "DICT1,DICT2,...".
21594 (ispell-hunspell-add-multi-dic): New command. (Bug#20495)
21595
21596 Minor formatting changes in ispell.el
21597 * lisp/textmodes/ispell.el (ispell-create-debug-buffer)
21598 (ispell-print-if-debug, ispell-aspell-find-dictionary)
21599 (ispell-aspell-add-aliases, ispell-hunspell-dict-paths-alist)
21600 (ispell-hunspell-dictionary-alist)
21601 (ispell-hunspell-fill-dictionary-entry)
21602 (ispell-find-hunspell-dictionaries, ispell-send-replacement)
21603 (ispell-buffer-with-debug, ispell-complete-word)
21604 (ispell-current-dictionary, ispell-current-personal-dictionary)
21605 (ispell-accept-output, ispell-minor-mode)
21606 (ispell-personal-dictionary, ispell-dictionary-alist)
21607 (ispell-really-aspell, ispell-really-hunspell)
21608 (ispell-encoding8-command, ispell-aspell-supports-utf8)
21609 (ispell-aspell-dictionary-alist, ispell-set-spellchecker-params):
21610 Fix whitespace, inconsistent capitalization, and arguments in doc
21611 strings.
21612
21613 2015-08-22 Martin Rudalics <rudalics@gmx.at>
21614
21615 * lisp/window.el (adjust-window-trailing-edge): Fix bug where this
21616 function refused to resize a size-preserved window.
21617
21618 2015-08-22 Eli Zaretskii <eliz@gnu.org>
21619
21620 * doc/lispref/windows.texi (Selecting Windows): Improve
21621 documentation and indexing of 'window-use-time'.
21622
21623 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21624
21625 * lisp/progmodes/cc-vars.el, lisp/progmodes/cc-styles.el:
21626 * lisp/progmodes/cc-mode.el, lisp/progmodes/cc-menus.el:
21627 * lisp/progmodes/cc-langs.el, lisp/progmodes/cc-guess.el:
21628 * lisp/progmodes/cc-fonts.el, lisp/progmodes/cc-engine.el:
21629 * lisp/progmodes/cc-defs.el, lisp/progmodes/cc-cmds.el:
21630 * lisp/progmodes/cc-bytecomp.el, lisp/progmodes/cc-awk.el:
21631 * lisp/progmodes/cc-align.el, lisp/net/soap-client.el:
21632 Fix up commenting style.
21633
21634 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21635
21636 text-quoting-style in emacs-lisp diagnostics
21637 * lisp/emacs-lisp/advice.el (ad-read-advised-function)
21638 (ad-read-advice-class, ad-read-advice-name, ad-enable-advice)
21639 (ad-disable-advice, ad-remove-advice, ad-set-argument)
21640 (ad-set-arguments):
21641 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand)
21642 (byte-compile-unfold-lambda, byte-optimize-form-code-walker)
21643 (byte-optimize-while, byte-optimize-apply):
21644 * lisp/emacs-lisp/bytecomp.el (byte-compile-lapcode)
21645 (byte-compile-log-file, byte-compile-format-warn)
21646 (byte-compile-nogroup-warn, byte-compile-arglist-warn)
21647 (byte-compile-cl-warn)
21648 (byte-compile-warn-about-unresolved-functions)
21649 (byte-compile-file, byte-compile-fix-header)
21650 (byte-compile--declare-var, byte-compile-file-form-defmumble)
21651 (byte-compile-form, byte-compile-normal-call)
21652 (byte-compile-variable-ref, byte-compile-variable-set)
21653 (byte-compile-subr-wrong-args, byte-compile-setq-default)
21654 (byte-compile-negation-optimizer)
21655 (byte-compile-condition-case--old)
21656 (byte-compile-condition-case--new, byte-compile-save-excursion)
21657 (byte-compile-defvar, byte-compile-autoload)
21658 (byte-compile-lambda-form)
21659 (byte-compile-make-variable-buffer-local, display-call-tree)
21660 (batch-byte-compile):
21661 * lisp/emacs-lisp/cconv.el (cconv-convert, cconv--analyze-use)
21662 (cconv-analyze-form):
21663 * lisp/emacs-lisp/chart.el (chart-space-usage):
21664 * lisp/emacs-lisp/check-declare.el (check-declare-scan)
21665 (check-declare-warn, check-declare-file)
21666 (check-declare-directory):
21667 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
21668 (checkdoc-message-text-engine):
21669 * lisp/emacs-lisp/cl-extra.el (cl-parse-integer):
21670 * lisp/emacs-lisp/cl-macs.el (cl--parse-loop-clause, cl-tagbody)
21671 (cl-symbol-macrolet):
21672 * lisp/emacs-lisp/cl.el (cl-unload-function, flet):
21673 * lisp/emacs-lisp/copyright.el (copyright)
21674 (copyright-update-directory):
21675 * lisp/emacs-lisp/edebug.el (edebug-read-list):
21676 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read):
21677 * lisp/emacs-lisp/eieio-core.el (eieio--slot-override)
21678 (eieio-oref, eieio-oset-default):
21679 * lisp/emacs-lisp/eieio-speedbar.el:
21680 (eieio-speedbar-child-make-tag-lines)
21681 (eieio-speedbar-child-description):
21682 * lisp/emacs-lisp/eieio.el (defclass, change-class):
21683 * lisp/emacs-lisp/elint.el (elint-file, elint-get-top-forms)
21684 (elint-init-form, elint-check-defalias-form)
21685 (elint-check-let-form):
21686 * lisp/emacs-lisp/ert.el (ert-get-test):
21687 * lisp/emacs-lisp/find-func.el (find-function-search-for-symbol)
21688 (find-function-library):
21689 * lisp/emacs-lisp/generator.el (iter-yield):
21690 * lisp/emacs-lisp/gv.el (gv-define-simple-setter):
21691 * lisp/emacs-lisp/lisp-mnt.el (lm-verify):
21692 * lisp/emacs-lisp/package-x.el (package-upload-file):
21693 * lisp/emacs-lisp/package.el (package-version-join)
21694 (package-disabled-p, package-activate-1, package-activate)
21695 (package--download-one-archive)
21696 (package--download-and-read-archives)
21697 (package-compute-transaction, package-install-from-archive)
21698 (package-install, package-install-selected-packages)
21699 (package-delete, package-autoremove)
21700 (package-install-button-action, package-delete-button-action)
21701 (package-menu-hide-package, package-menu--list-to-prompt)
21702 (package-menu--perform-transaction)
21703 (package-menu--find-and-notify-upgrades):
21704 * lisp/emacs-lisp/pcase.el (pcase-exhaustive, pcase--u1):
21705 * lisp/emacs-lisp/re-builder.el (reb-enter-subexp-mode):
21706 * lisp/emacs-lisp/ring.el (ring-next, ring-previous):
21707 * lisp/emacs-lisp/rx.el (rx-check, rx-anything):
21708 * lisp/emacs-lisp/smie.el (smie-config-save):
21709 * lisp/emacs-lisp/subr-x.el (internal--check-binding):
21710 * lisp/emacs-lisp/testcover.el (testcover-1value):
21711 Use curved quotes in diagnostic format strings.
21712
21713 2015-08-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
21714
21715 python.el: Ensure remote process-environment on non-interactive processes
21716 * lisp/progmodes/python.el
21717 (python-shell-tramp-refresh-process-environment): New function.
21718 (python-shell-with-environment): Use it.
21719 * test/automated/python-tests.el (python-shell-with-environment-2):
21720 Update.
21721
21722 python.el: Enhancements to process environment setup.
21723 * lisp/progmodes/python.el (python-shell-process-environment)
21724 (python-shell-extra-pythonpaths, python-shell-exec-path)
21725 (python-shell-virtualenv-root): Update docstring. Remove :safe.
21726 (python-shell-setup-codes): Remove :safe.
21727 (python-shell-remote-exec-path): New defcustom.
21728 (python-shell--add-to-path-with-priority): New macro.
21729 (python-shell-calculate-pythonpath): Give priority to
21730 python-shell-extra-pythonpaths. Update docstring.
21731 (python-shell-calculate-process-environment): Give priority to
21732 python-shell-process-environment. Update docstring.
21733 (python-shell-calculate-exec-path): Give priority to
21734 python-shell-exec-path and calculated virtualenv bin directory.
21735 Update docstring.
21736 (python-shell-tramp-refresh-remote-path): New function.
21737 (python-shell-with-environment): Use it when working remotely and
21738 do not modify tramp-remote-path. Allow nesting.
21739 (python-shell-calculate-command): Remove useless
21740 python-shell-with-environment call.
21741 * test/automated/python-tests.el (python-shell-calculate-pythonpath-1)
21742 (python-shell-calculate-pythonpath-2)
21743 (python-shell-calculate-process-environment-6)
21744 (python-shell-calculate-process-environment-7)
21745 (python-shell-calculate-process-environment-8)
21746 (python-shell-calculate-exec-path-3)
21747 (python-shell-calculate-exec-path-4)
21748 (python-shell-calculate-exec-path-5)
21749 (python-shell-calculate-exec-path-6)
21750 (python-shell-with-environment-3): New tests.
21751 (python-shell-calculate-process-environment-2)
21752 (python-shell-calculate-process-environment-3)
21753 (python-shell-calculate-process-environment-4)
21754 (python-shell-calculate-process-environment-5)
21755 (python-shell-calculate-exec-path-1)
21756 (python-shell-calculate-exec-path-2)
21757 (python-shell-with-environment-1)
21758 (python-shell-with-environment-2): Update and simplify.
21759
21760 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21761
21762 Avoid hard-coding "M-x command" in docstrings
21763 * lisp/calendar/todo-mode.el (todo-mode):
21764 * lisp/desktop.el (desktop-save-mode):
21765 * lisp/edmacro.el (edit-kbd-macro):
21766 * lisp/emacs-lisp/package.el (package-menu-execute):
21767 * lisp/emulation/viper-cmd.el (viper-ask-level):
21768 * lisp/emulation/viper-init.el (viper-expert-level):
21769 * lisp/filesets.el (filesets-add-buffer):
21770 * lisp/follow.el (follow-mode):
21771 * lisp/gnus/auth-source.el (auth-sources):
21772 * lisp/international/ogonek.el (ogonek-informacja)
21773 (ogonek-information):
21774 * lisp/net/tramp.el (tramp-process-actions):
21775 * lisp/org/org-gnus.el (org-gnus-no-new-news):
21776 * lisp/org/org.el (org-ellipsis):
21777 * lisp/progmodes/python.el (python-shell-get-process-or-error):
21778 * lisp/progmodes/vhdl-mode.el (vhdl-mode):
21779 * lisp/server.el (server-start):
21780 * lisp/type-break.el (type-break-noninteractive-query):
21781 * lisp/userlock.el (ask-user-about-supersession-help):
21782 * lisp/whitespace.el (whitespace-report-region):
21783 Prefer (substitute-command-keys "`\\[foo-command]'")
21784 to "`M-x foo-command'" in docstrings and the like.
21785
21786 2015-08-21 Tassilo Horn <tsdh@gnu.org>
21787
21788 Use add-function for prettify-symbols-compose-predicate
21789 * lisp/textmodes/tex-mode.el (tex-common-initialization): Set
21790 prettify-symbols-compose-predicate in terms of add-function.
21791 * etc/NEWS: Mention prettify-symbols-compose-predicate and
21792 prettify-symbols-mode support in tex-mode.
21793
21794 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21795
21796 * lisp/emacs-lisp/smie.el (smie-indent-current-column): New fun.
21797 (smie-indent-exps, smie-indent-keyword): Use it.
21798 * test/indent/css-mode.css: Test alignment with leading comment.
21799
21800 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21801
21802 Respect text-quoting-style in (*Finder*) menus
21803 * lisp/info.el (info--prettify-description):
21804 Treat description as a docstring, so that it's requoted as
21805 per text-quoting-style.
21806
21807 2015-08-21 Martin Rudalics <rudalics@gmx.at>
21808
21809 Document `window-use-time' in Elisp manual
21810 * doc/lispref/windows.texi (Selecting Windows): Document
21811 `window-use-time'.
21812
21813 2015-08-21 Eli Zaretskii <eliz@gnu.org>
21814
21815 * src/w32uniscribe.c (_WIN32_WINNT): Define to 0x0600.
21816 This is a cleaner fix for Bug#21260 than the previous change.
21817
21818 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21819
21820 Respect text-quoting-style in calc
21821 In calc, tespect text-quoting-style preference in diagnostic
21822 formats and fix a few similar problems in docstrings.
21823 * lisp/calc/calc-aent.el (math-read-factor):
21824 * lisp/calc/calc-embed.el (calc-do-embedded):
21825 * lisp/calc/calc-ext.el (calc-user-function-list)
21826 * lisp/calc/calc-graph.el (calc-graph-show-dumb):
21827 * lisp/calc/calc-help.el (calc-describe-key)
21828 (calc-describe-thing):
21829 * lisp/calc/calc-lang.el (calc-c-language)
21830 (math-parse-fortran-vector-end, math-parse-tex-sum)
21831 (math-parse-eqn-matrix, math-parse-eqn-prime)
21832 (calc-yacas-language, calc-maxima-language, calc-giac-language)
21833 (math-read-big-rec, math-read-big-balance):
21834 * lisp/calc/calc-mode.el (calc-auto-why, calc-save-modes)
21835 (calc-auto-recompute):
21836 * lisp/calc/calc-prog.el (calc-user-define-invocation)
21837 (math-do-arg-check):
21838 * lisp/calc/calc-store.el (calc-edit-variable):
21839 * lisp/calc/calc-units.el (math-build-units-table-buffer):
21840 * lisp/calc/calc-vec.el (math-read-brackets):
21841 * lisp/calc/calc-yank.el (calc-edit-mode):
21842 * lisp/calc/calc.el (calc, calc-do, calc-user-invocation):
21843 Use curved quotes in diagnostic format strings.
21844 * lisp/calc/calc-help.el (calc-describe-thing):
21845 Format docstrings with substitute-command-keys.
21846 * lisp/calc/calc-help.el (calc-j-prefix-help):
21847 * lisp/calc/calc-misc.el (calc-help):
21848 * lisp/calc/calc-ext.el (calc-shift-Z-prefix-help):
21849 Escape a docstring "`".
21850
21851 2015-08-21 Eli Zaretskii <eliz@gnu.org>
21852
21853 Fix documentation of 'menu-set-font' and 'set-frame-font'
21854 * lisp/menu-bar.el (menu-set-font): Doc fix. (Bug#21303)
21855 * doc/lispref/frames.texi (Frame Font): Document that
21856 set-frame-font with the last argument 't' will also make the font
21857 the default for the future GUI frames.
21858
21859 Document '--create-frame' option to emacsclient
21860 * doc/emacs/misc.texi (emacsclient Options): Document the
21861 '--create-frame' option. (Bug#21308)
21862
21863 2015-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21864
21865 * lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
21866
21867 2015-08-21 Eli Zaretskii <eliz@gnu.org>
21868
21869 Document 'get-mru-window' in the ELisp manual
21870 * doc/lispref/windows.texi (Cyclic Window Ordering): Document
21871 'get-mru-window'. (Bug#21306)
21872
21873 Clarify documentation of 'get-buffer-window-list'
21874 * doc/lispref/windows.texi (Buffers and Windows): Mention that the
21875 current window, if relevant, will be the first in the list
21876 returned by 'get-buffer-window-list'.
21877 * lisp/window.el (get-buffer-window-list): Doc fix. (Bug#21305)
21878
21879 2015-08-21 Vasilij Schneidermann <v.schneidermann@gmail.com>
21880
21881 In `ielm' use `pop-to-buffer-same-window' (Bug#20848)
21882 * lisp/ielm.el (ielm): Use `pop-to-buffer-same-window' instead of
21883 `switch-to-buffer'.
21884
21885 2015-08-21 Kaushal Modi <kaushal.modi@gmail.com> (tiny change)
21886
21887 In woman.el use `display-buffer' instead of `switch-to-buffer' (Bug#21047)
21888 * lisp/woman.el (woman-really-find-file, WoMan-find-buffer): Use
21889 `display-buffer' instead of `switch-to-buffer'.
21890
21891 2015-08-21 Paul Eggert <eggert@cs.ucla.edu>
21892
21893 Follow user preference in calendar diagnostics
21894 Respect text-quoting-style preference in diagnostic formats by
21895 using curved quotes (which are translated as per text-quoting-style)
21896 instead of grave accent and apostrophe (which are not).
21897 * lisp/calendar/appt.el (appt-display-message):
21898 * lisp/calendar/diary-lib.el (diary-check-diary-file)
21899 (diary-mail-entries, diary-from-outlook):
21900 * lisp/calendar/icalendar.el (icalendar-export-region)
21901 (icalendar--convert-float-to-ical)
21902 (icalendar--convert-date-to-ical)
21903 (icalendar--convert-ical-to-diary)
21904 (icalendar--convert-recurring-to-diary)
21905 (icalendar--add-diary-entry):
21906 * lisp/calendar/time-date.el (format-seconds):
21907 * lisp/calendar/timeclock.el (timeclock-mode-line-display)
21908 (timeclock-make-hours-explicit):
21909 * lisp/calendar/todo-mode.el (todo-prefix, todo-delete-category)
21910 (todo-item-mark, todo-check-format)
21911 (todo-insert-item--next-param, todo-edit-item--next-key)
21912 (todo-mode):
21913 Use curved quotes in diagnostic format strings.
21914 * lisp/calendar/icalendar.el (icalendar-import-format-sample):
21915 * test/automated/icalendar-tests.el (icalendar--import-format-sample):
21916 Just use straight quoting for simple test case.
21917
21918 2015-08-21 Michael Albinus <michael.albinus@gmx.de>
21919
21920 * src/gfilenotify.c (Fgfile_add_watch):
21921 Handle errors from g_file_monitor.
21922
21923 2015-08-21 Martin Rudalics <rudalics@gmx.at>
21924
21925 In frames.texi use "minibuffer-less frame" instead of "non-minibuffer frame"
21926 * doc/lispref/frames.texi (Frame Layout): Use "minibuffer-less
21927 frame" instead of "non-minibuffer frame".
21928
21929 Fix frame geometry related text
21930 * doc/lispref/frames.texi (Frame Layout):
21931 Rename `x-frame-geometry' to `frame-geometry'.
21932 * doc/lispref/frames.texi (Mouse Position):
21933 * doc/lispref/windows.texi (Coordinates and Windows):
21934 Use `set-mouse-absolute-pixel-position' instead of
21935 `x-set-mouse-absolute-pixel-position'.
21936
21937 Sanitize frame geometry related functions
21938 * src/nsfns.m (Fx_frame_geometry): Rename to Fns_frame_geometry.
21939 (Fx_frame_edges): Rename to Fns_frame_edges.
21940 * src/w32fns.c (Fx_frame_geometry): Rename to Fw32_frame_geometry.
21941 (Fx_frame_edges): Rename to Fw32_frame_edges.
21942 (Fx_mouse_absolute_pixel_position): Rename to
21943 Fw32_mouse_absolute_pixel_position.
21944 (Fx_set_mouse_absolute_pixel_position): Rename to
21945 Fw32_set_mouse_absolute_pixel_position.
21946 * lisp/frame.el (x-frame-geometry, w32-frame-geometry)
21947 (ns-frame-geometry, x-frame-edges, w32-frame-edges)
21948 (ns-frame-edges, w32-mouse-absolute-pixel-position)
21949 (x-mouse-absolute-pixel-position)
21950 (w32-set-mouse-absolute-pixel-position)
21951 (x-set-mouse-absolute-pixel-position): Declare.
21952 (frame-geometry, mouse-absolute-pixel-position)
21953 (set-mouse-absolute-pixel-position): New functions.
21954 (frame-edges): Rewrite in terms of x-/w32-/ns-frame-edges.
21955
21956 2015-08-21 Eli Zaretskii <eliz@gnu.org>
21957
21958 Fix MinGW64 build broken by latest w32uniscribe.c changes
21959 * src/w32uniscribe.c (UNISCRIBE_OPENTYPE): Define to 0x0100, for
21960 MinGW64. Reported by Andy Moreton <andrewjmoreton@gmail.com>.
21961 (Bug#21260)
21962
21963 2015-08-21 Tassilo Horn <tsdh@gnu.org>
21964
21965 Add TeX defaults for prettify-symbol-mode
21966 * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist):
21967 Rename from tex-prettify-symbols-alist.
21968 (tex--prettify-symbols-compose-p): New function.
21969 (tex-common-initialization): Use them as prettify-symbols-alist
21970 and prettify-symbols-compose-predicate.
21971
21972 Generalize prettify-symbols to arbitrary modes
21973 * lisp/progmodes/prog-mode.el
21974 (prettify-symbols-default-compose-p): New function.
21975 (prettify-symbols-compose-predicate): New variable.
21976 (prettify-symbols--compose-symbol): Use it.
21977
21978 2015-08-20 Paul Eggert <eggert@cs.ucla.edu>
21979
21980 Don't quote symbols 'like-this' in docstrings etc.
21981 * admin/unidata/uvs.el (uvs-insert-fields-as-bytes):
21982 * lisp/allout-widgets.el (allout-widgets-count-buttons-in-region):
21983 * lisp/allout.el (allout-add-resumptions, allout-mode):
21984 * lisp/calculator.el (calculator-operators):
21985 * lisp/cedet/data-debug.el (dd-propertize):
21986 * lisp/cedet/ede/proj-prog.el (ede-proj-target-makefile-program):
21987 * lisp/cedet/semantic/analyze/debug.el:
21988 (semantic-analyzer-debug-global-miss-text):
21989 * lisp/cedet/semantic/lex-spp.el:
21990 (semantic-lex-spp-replace-or-symbol-or-keyword):
21991 * lisp/cedet/semantic/symref.el:
21992 (semantic-symref-cleanup-recent-buffers-fcn):
21993 * lisp/cedet/semantic/tag.el (semantic-tag-class):
21994 * lisp/cedet/srecode/el.el (srecode-semantic-handle-:el-custom):
21995 * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
21996 * lisp/gnus/pop3.el (pop3-authentication-scheme):
21997 * lisp/help-fns.el (describe-function-orig-buffer):
21998 * lisp/imenu.el (imenu--history-list):
21999 * lisp/mail/feedmail.el (feedmail-confirm-outgoing)
22000 (feedmail-display-full-frame, feedmail-deduce-bcc-where)
22001 (feedmail-queue-default-file-slug)
22002 (feedmail-queue-buffer-file-name):
22003 * lisp/net/mairix.el (mairix-searches-mode-map):
22004 * lisp/net/newst-backend.el (newsticker-retrieval-method)
22005 (newsticker-auto-mark-filter-list):
22006 * lisp/obsolete/vi.el (vi-mode):
22007 * lisp/progmodes/cc-engine.el (c-literal-type):
22008 * lisp/progmodes/cpp.el (cpp-face):
22009 * lisp/progmodes/ebrowse.el (ebrowse-electric-list-looper):
22010 * lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
22011 * lisp/progmodes/pascal.el (pascal-auto-lineup):
22012 * lisp/progmodes/prog-mode.el (prog-widen):
22013 * lisp/progmodes/verilog-mode.el (verilog-regexp-words)
22014 (verilog-auto-lineup, verilog-auto-reset-widths)
22015 (verilog-auto-arg-format, verilog-auto-inst-template-numbers):
22016 * lisp/textmodes/flyspell.el (flyspell-maybe-correct-transposition)
22017 (flyspell-maybe-correct-doubling):
22018 * lisp/textmodes/table.el (table-justify, table-justify-cell)
22019 (table-justify-row, table-justify-column, table-insert-sequence)
22020 (table--justify-cell-contents):
22021 * lisp/url/url-auth.el (url-get-authentication):
22022 * lisp/window.el (display-buffer-record-window):
22023 * lisp/xml.el (xml-parse-file, xml-parse-region):
22024 * src/gfilenotify.c (Fgfile_add_watch):
22025 Don't quote symbols with apostrophes in doc strings.
22026 Use asymmetric quotes instead.
22027 * lisp/cedet/semantic/complete.el (semantic-displayor-show-request):
22028 Likewise for symbol in diagnostic.
22029 * lisp/image.el (image-extension-data):
22030 * lisp/register.el (frame-configuration-to-register):
22031 * src/buffer.c (syms_of_buffer):
22032 Remove bogus apostrophes after symbols.
22033 * lisp/thumbs.el (thumbs-conversion-program):
22034 Quote Lisp string values using double-quotes, not apostrophes.
22035
22036 2015-08-20 Martin Rudalics <rudalics@gmx.at>
22037
22038 Describe frame geometry and related functions in Elisp manual
22039 * doc/lispref/display.texi (Size of Displayed Text, Line Height)
22040 (Showing Images): Update references.
22041 * doc/lispref/elisp.texi (Top): Update node listing.
22042 * doc/lispref/frames.texi (Frame Geometry): New node.
22043 Move `Size and Position' section here.
22044 (Size Parameters): Update references.
22045 (Mouse Position): Update references and nomenclature.
22046 Describe new functions `x-mouse-absolute-pixel-position' and
22047 `x-set-mouse-absolute-pixel-position'.
22048 * doc/lispref/windows.texi (Window Sizes): Update references.
22049 (Resizing Windows): Update references. Move description of
22050 `fit-frame-to-buffer' here.
22051 (Coordinates and Windows): Update nomenclature and references.
22052 Describe new arguments of `window-edges'. Comment out
22053 descriptions of `window-left-column', `window-top-line',
22054 `window-pixel-left' and `window-pixel-top'. Describe
22055 `window-absolute-pixel-position'.
22056
22057 2015-08-20 Alan Mackenzie <acm@muc.de>
22058
22059 Handling of `c-parse-state'. Fix low level bug.
22060 * lisp/progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
22061 Add "CASE 3.5" to handle `cache-pos' being only slightly before `here'.
22062
22063 2015-08-20 Andreas Politz <politza@hochschule-trier.de>
22064
22065 * lisp/wid-edit.el (widget-color--choose-action): Quit *Color*
22066 window instead of deleting it.
22067
22068 2015-08-20 Martin Rudalics <rudalics@gmx.at>
22069
22070 In w32fns.c's Fx_frame_geometry rewrite check whether frame has a titlebar
22071 * src/w32fns.c (Fx_frame_geometry): Use title_bar.rgstate[0] to
22072 determine whether frame has a titlebar.
22073 Suggested by Eli Zaretskii <eliz@gnu.org>
22074
22075 2015-08-20 Tassilo Horn <tsdh@gnu.org>
22076
22077 Add a prettify-symbols-alist for (La)TeX
22078 * lisp/textmodes/tex-mode.el (tex-prettify-symbols-alist):
22079 New variable holding an alist suitable as prettify-symbols-alist in
22080 (La)TeX modes.
22081
22082 2015-08-19 Alan Mackenzie <acm@muc.de>
22083
22084 Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
22085 Fixes debbugs#21275.
22086 In Emacs >= 25, let electric-pair-mode take precedence over
22087 delete-selection-mode.
22088 * lisp/delsel.el (delete-selection-uses-region-p): New function,
22089 previously a lambda expression in a property value for
22090 `self-insert-command'.
22091 (top-level): Set the `delete-selection' property of
22092 `self-insert-command' to `delete-selection-uses-region-p'.
22093 * lisp/progmodes/cc-cmds.el (top-level): Give the `delete-selection'
22094 property for c-electric-\(brace\|paren\) the value
22095 `delete-selection-uses-region-p' when the latter function exists.
22096
22097 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
22098
22099 Fix key binding quoting in tutorial *Help*
22100 * lisp/tutorial.el (tutorial--describe-nonstandard-key):
22101 When generating help for custom key bindings, use the user-preferred
22102 quoting style rather than hardcoding the grave style.
22103
22104 2015-08-19 Eli Zaretskii <eliz@gnu.org>
22105
22106 Improve and future-proof OTF fonts support in w32uniscribe.c
22107 * src/w32uniscribe.c (uniscribe_otf_capability): Add commentary
22108 about the expected results and why the new Uniscribe APIs are not
22109 used in this function.
22110 (ScriptGetFontScriptTags_Proc, ScriptGetFontLanguageTags_Proc)
22111 (ScriptGetFontFeatureTags_Proc): New function typedefs.
22112 (uniscribe_new_apis): New static variable.
22113 (uniscribe_check_features): New function, implements OTF features
22114 verification while correctly accounting for features in the list
22115 after the nil member, if any.
22116 (uniscribe_check_otf_1): New function, retrieves the features
22117 supported by the font for the requested script and language using
22118 the Uniscribe APIs available from Windows Vista onwards.
22119 (uniscribe_check_otf): If the new Uniscribe APIs are available,
22120 use them in preference to reading the font data directly. Call
22121 uniscribe_check_features to verify that the requested features are
22122 supported, replacing the original incomplete code.
22123 (syms_of_w32uniscribe): Initialize function pointers for the new
22124 Uniscribe APIs. (Bug#21260)
22125 (otf_features): Scan the script, langsys, and feature arrays back
22126 to front, so that the result we return has them in alphabetical
22127 order, like ftfont.c does.
22128 * src/w32fns.c (syms_of_w32fns) <w32-disable-new-uniscribe-apis>:
22129 New variable for debugging w32uniscribe.c code.
22130
22131 2015-08-19 Artur Malabarba <bruce.connor.am@gmail.com>
22132
22133 * lisp/isearch.el (isearch-search-fun-default): Revert a5bdb87
22134 Remove usage of `isearch-lax-whitespace' inside the `iearch-word'
22135 clause of `isearch-search-fun-default'. That lax variable does not
22136 refer to lax-whitespacing. Related to (bug#21777).
22137 This reverts commit a5bdb872edb9f031fe041faf9a8c0be432e5f64c.
22138 * lisp/character-fold.el (character-fold-search): Set to nil.
22139 Default to nil for now, until someone implements proper
22140 lax-whitespacing with char-fold searching.
22141
22142 2015-08-19 Martin Rudalics <rudalics@gmx.at>
22143
22144 Fix doc-string of `help-mode-finish'.
22145 * lisp/help-mode.el (help-mode-finish): Fix doc-string.
22146
22147 In nsimage.m include coding.h (Bug#21292)
22148 * src/nsimage.m (top-level): Include coding.h (Bug#21292).
22149
22150 Move window edge functions to Elisp.
22151 * src/window.c (Fwindow_edges, Fwindow_pixel_edges)
22152 (Fwindow_absolute_pixel_edges, Fwindow_inside_edges)
22153 (Fwindow_inside_pixel_edges, Fwindow_inside_absolute_pixel_edges):
22154 Move to window.el.
22155 (calc_absolute_offset): Remove.
22156 * lisp/frame.el (frame-edges): New function.
22157 * lisp/window.el (window-edges, window-pixel-edges)
22158 (window-absolute-pixel-edges): Move here from window.c.
22159 (window-body-edges, window-body-pixel-edges)
22160 (window-absolute-body-pixel-edges): Move here from window.c and
22161 rename "inside" to "body". Keep old names as aliases.
22162 (window-absolute-pixel-position): New function.
22163
22164 2015-08-19 Katsumi Yamaoka <yamaoka@jpl.org>
22165
22166 [Gnus]: Use overlay functions directly
22167 * lisp/gnus/gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part)
22168 (gnus-insert-mime-button, gnus-mime-buttonize-attachments-in-header)
22169 (gnus-article-highlight-signature, gnus-article-extend-url-button)
22170 (gnus-article-add-button, gnus-insert-prev-page-button)
22171 (gnus-insert-next-page-button, gnus-insert-mime-security-button):
22172 * lisp/gnus/gnus-cite.el (gnus-cite-delete-overlays)
22173 (gnus-cite-add-face):
22174 * lisp/gnus/gnus-html.el (gnus-html-wash-tags):
22175 * lisp/gnus/gnus-salt.el (gnus-tree-read-summary-keys)
22176 (gnus-tree-recenter, gnus-highlight-selected-tree):
22177 * lisp/gnus/gnus-sum.el (gnus-summary-show-all-threads)
22178 (gnus-summary-show-thread, gnus-summary-hide-thread)
22179 (gnus-highlight-selected-summary):
22180 * lisp/gnus/gnus-util.el (gnus-put-overlay-excluding-newlines):
22181 * lisp/gnus/message.el (message-fix-before-sending)
22182 (message-toggle-image-thumbnails):
22183 * lisp/gnus/mm-decode.el (mm-convert-shr-links):
22184 * lisp/gnus/sieve.el (sieve-highlight, sieve-insert-scripts):
22185 Use overlay functions directly instead of using gnus-overlay-*,
22186 message-overlay-*, and sieve-overlay-*.
22187 * lisp/gnus/gnus-sum.el (gnus-remove-overlays):
22188 * lisp/gnus/gnus.el (gnus-make-overlay, gnus-copy-overlay)
22189 (gnus-delete-overlay, gnus-overlay-get, gnus-overlay-put)
22190 (gnus-move-overlay, gnus-overlay-buffer, gnus-overlay-start)
22191 (gnus-overlay-end, gnus-overlays-at, gnus-overlays-in):
22192 * lisp/gnus/message.el (message-delete-overlay, message-make-overlay)
22193 (message-overlay-get, message-overlay-put, message-overlays-in):
22194 * lisp/gnus/sieve.el (sieve-make-overlay, sieve-overlay-put)
22195 (sieve-overlays-at): Remove.
22196
22197 2015-08-19 Martin Rudalics <rudalics@gmx.at>
22198
22199 In w32fns.c condition TITLEBAR_INFO declaration on WINDOWS version
22200 * src/w32fns.c (TITLEBAR_INFO): Make it a typedef so MinGW64
22201 builds can use the declaration from the system headers.
22202 (GetTitleBarInfo_Proc, Fx_frame_geometry): Adapt to new
22203 definition of TITLEBAR_INFO.
22204 Suggested by Eli Zaretskii <eliz@gnu.org>
22205
22206 2015-08-19 Glenn Morris <rgm@gnu.org>
22207
22208 * lisp/gnus/nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P".
22209
22210 2015-08-19 Paul Eggert <eggert@cs.ucla.edu>
22211
22212 Use new q ‘format’ flag when fixing quotes in C
22213 * src/image.c (image_size_error): New function. All uses of
22214 image_error with "Invalid image size ..." changed to use it.
22215 * src/image.c (image_size_error, xbm_load_image, xbm_load)
22216 (xpm_load, xpm_load_image, xpm_load, pbm_load, png_load_body)
22217 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
22218 (imagemagick_load, svg_load, svg_load_image, gs_load)
22219 (x_kill_gs_process):
22220 * src/lread.c (load_warn_old_style_backquotes):
22221 * src/xfaces.c (load_pixmap):
22222 * src/xselect.c (x_clipboard_manager_error_1):
22223 Use %qs, not uLSQM and uRSQM.
22224 * src/syntax.c (Finternal_describe_syntax_value):
22225 Prefer Fsubstitute_command_keys to Fformat, as this lets
22226 us use AUTO_STRING.
22227 * src/xdisp.c (vadd_to_log): Use AUTO_STRING on the format argument,
22228 as it's now guaranteed to be ASCII.
22229 * src/xselect.c (x_clipboard_manager_error_2):
22230 Avoid grave accent in low-level stderr diagnostic.
22231
22232 2015-08-19 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
22233
22234 New q flag for ‘format’
22235 * doc/lispref/processes.texi (Sentinels):
22236 Don't hardwire grave quoting style in example.
22237 * doc/lispref/strings.texi (Formatting Strings):
22238 * etc/NEWS:
22239 Document new q flag.
22240 * src/editfns.c (Fformat): Implement it.
22241
22242 2015-08-18 Daiki Ueno <ueno@gnu.org>
22243
22244 pinentry.el: Add debugging support
22245 * lisp/net/pinentry.el (pinentry-debug): New variable.
22246 (pinentry-debug-buffer): New variable.
22247 (pinentry--process-filter): Send input to the debug buffer, if
22248 `pinentry-debug' is set.
22249
22250 pinentry.el: Improve multiline prompt
22251 * lisp/net/pinentry.el (pinentry--prompt): Simplify the interface.
22252 (pinentry--process-filter): Use `pinentry--prompt' for CONFIRM
22253 command.
22254
22255 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22256
22257 Fix multibyte confusion in diagnostics
22258 * src/print.c (print_error_message):
22259 Don't assume that the caller's name is unibyte.
22260 * src/xdisp.c (vadd_to_log):
22261 Don't assume that the formatted diagnostic is unibyte.
22262
22263 Fix file name encodings in diagnostics
22264 Also, close some minor races when opening image files, by opening
22265 them once instead of multiple times.
22266 * src/gtkutil.c (xg_get_image_for_pixmap):
22267 * src/image.c (xpm_load, tiff_load, gif_load, imagemagick_load)
22268 (svg_load):
22269 * src/nsimage.m (allocInitFromFile:):
22270 * src/xfns.c (xg_set_icon):
22271 Encode file name, since x_find_image_file no longer does that.
22272 * src/image.c (x_find_image_fd): New function.
22273 (x_find_image_file): Use it. Do not encode resulting file name,
22274 since callers sometimes need it decoded.
22275 (slurp_file): File arg is now a fd, not a file name.
22276 All callers changed. This saves us having to open the file twice.
22277 (xbm_load, xpm_load, pbm_load, png_load_body, jpeg_load_body)
22278 (svg_load):
22279 Use x_find_image_fd and fdopen to save a file-open.
22280 Report file name that failed.
22281 * src/lread.c (openp): If PREDICATE is t, open the file in binary mode.
22282
22283 2015-08-18 Dmitry Gutov <dgutov@yandex.ru>
22284
22285 Allow blink-matching-paren to jump off screen
22286 * doc/emacs/programs.texi (Matching): Mention the
22287 `blink-matching-paren' value `jump-offscreen'.
22288 * lisp/simple.el (blink-matching-paren): New possible value.
22289 (blink-matching-paren-on-screen): Clarify the docstring.
22290 (blink-matching-open): Handle `jump-offscreen' (bug#21286).
22291
22292 Refine the previous change
22293 * lisp/simple.el (blink-matching-open): Use minibuffer-message
22294 outside of save-excursion (bug#21286).
22295
22296 2015-08-18 Martin Rudalics <rudalics@gmx.at>
22297
22298 Rewrite and add frame geometry related functions.
22299 * src/frame.c (Fframe_position): New function.
22300 (Fset_frame_position): Rename parameters and rewrite doc-string.
22301 (syms_of_frame): Remove Qframe_position, Qframe_outer_size,
22302 Qtitle_height and Qframe_inner_size. Add Qouter_edges,
22303 Qouter_position, Qouter_size, Qnative_edges, Qinner_edges,
22304 Qtitle_bar_size.
22305 * src/nsfns.m (frame_geometry): New function.
22306 (Fx_frame_geometry): Call frame_geometry.
22307 (Fx_frame_edges): New function.
22308 * src/w32fns.c (C_CHILDREN_TITLEBAR, TITLEBAR_INFO)
22309 (GetTitleBarInfo_Proc): Define these so we can use the
22310 GetTitleBarInfo API.
22311 (Fw32_frame_menu_bar_size, Fw32_frame_rect): Remove.
22312 (Fx_frame_geometry): Rewrite.
22313 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
22314 (Fx_set_mouse_absolute_pixel_position): New functions.
22315 * src/xfns.c (frame_geometry): New function.
22316 (Fx_frame_geometry): Call frame_geometry.
22317 (Fx_frame_edges, Fx_mouse_absolute_pixel_position)
22318 (Fx_set_mouse_absolute_pixel_position): New functions.
22319
22320 2015-08-18 Michael Albinus <michael.albinus@gmx.de>
22321
22322 Improve Tramp's compatibility
22323 * lisp/net/tramp.el (tramp-get-method-parameter):
22324 * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
22325 (tramp-adb-get-device):
22326 * lisp/net/trampver.el (tramp-repository-get-version):
22327 Use `tramp-compat-replace-regexp-in-string'.
22328
22329 2015-08-18 Pierre Téchoueyres <pierre.techoueyres@free.fr> (tiny change)
22330
22331 * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable):
22332 Encode/decode string.
22333
22334 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22335
22336 Clarify what happens to match data on failure
22337 Problem reported by Ernesto Alfonso (Bug#21279).
22338 * doc/lispref/searching.texi (Regexp Search, Simple Match Data):
22339 Document more carefully what happens to match data after a failed
22340 search.
22341 * src/search.c (Fmatch_beginning, Fmatch_end): Document that
22342 the return value is undefined if the last search failed.
22343 (Fmatch_data): Simplify doc string line 1.
22344
22345 2015-08-18 Daiki Ueno <ueno@gnu.org>
22346
22347 Revert "pinentry.el: Support external passphrase cache"
22348 This reverts commit e086e55a664ec27fbca7b3231c4b32cb78a89337.
22349 pinentry.el shouldn't directly interact with the secrets service,
22350 but ask the caller to cache the passphrase.
22351
22352 2015-08-17 Xue Fuqiao <xfq.free@gmail.com>
22353
22354 * doc/emacs/sending.texi (Mail Misc): Fix two index entries for
22355 Message mode hooks.
22356
22357 2015-08-17 Daiki Ueno <ueno@gnu.org>
22358
22359 epg.el: Make gpgconf output parsing future proof
22360 * lisp/epg.el (epg--start): Count the number of fields in "gpgconf
22361 --list-options" output.
22362
22363 pinentry.el: Support external passphrase cache
22364 * lisp/net/pinentry.el (pinentry-use-secrets): New user option.
22365 (pinentry--allow-external-password-cache): New local variable.
22366 (pinentry--key-info): New local variable.
22367 (secrets-enabled, secrets-search-items, secrets-get-secret):
22368 Declare.
22369 (pinentry--send-passphrase): New function, split from
22370 `pinentry--process-filter'.
22371 (pinentry--process-filter): Use secrets.el to retrieve passphrase
22372 from login keyring.
22373
22374 pinentry.el: Popup window for multiline prompt
22375 * lisp/net/pinentry.el (pinentry): New custom group.
22376 (pinentry-popup-prompt-window): New user option.
22377 (pinentry-prompt-window-height): New user option.
22378 (pinentry--prompt-buffer): New variable.
22379 (pinentry-prompt-mode-map): New variable.
22380 (pinentry-prompt-mode): New function.
22381 (pinentry--prompt): New function.
22382 (pinentry--process-filter): Use `pinentry--prompt' instead of
22383 `read-passwd' and `y-or-n-p'.
22384
22385 2015-08-17 Katsumi Yamaoka <yamaoka@jpl.org>
22386
22387 message.el: Silent the byte compiler
22388 * lisp/gnus/message.el (message-overlay-put, message-make-overlay)
22389 (message-kill-all-overlays, message-overlays-in, message-overlay-get)
22390 (message-delete-overlay, message-window-inside-pixel-edges):
22391 Declare before using.
22392
22393 * lisp/gnus/message.el (message-overlay-get, message-overlays-in)
22394 (message-window-inside-pixel-edges): XEmacs compatible functions.
22395
22396 2015-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22397
22398 * lisp/gnus/message.el (message-toggle-image-thumbnails): New command.
22399
22400 2015-08-17 Noah Friedman <friedman@splode.com>
22401
22402 * lisp/simple.el (blink-matching-open): Restore point before
22403 calling minibuffer-message.
22404
22405 2015-08-17 Ronnie Schnell <ronnie@driver-aces.com>
22406
22407 * lisp/play/dunnet.el: Update version number in header (now
22408 matches help).
22409
22410 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
22411
22412 Curved quotes in --batch diagnostics in non-UTF-8
22413 When run with --batch, check that curved quotes are compatible with
22414 the system locale before outputting them in diagnostics.
22415 Problem reported by Eli Zaretskii in:
22416 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00594.html
22417 * lisp/startup.el (command-line): Set internal--text-quoting-flag
22418 after the standard display table is initialized.
22419 * src/doc.c (default_to_grave_quoting_style): New function.
22420 (text_quoting_style): Use it.
22421 (text_quoting_flag): New static var, visible to Lisp as
22422 internal--text-quoting-flag.
22423 * src/emacs.c: Include <wchar.h> if available.
22424 (using_utf8): New function.
22425 (main): Use it to initialize text_quoting_flag.
22426 * src/regex.h (btowc) [WIDE_CHAR_SUPPORT && emacs]:
22427 Don't define, as it's not needed and it clashes with wchar.h.
22428
22429 2015-08-17 Glenn Morris <rgm@gnu.org>
22430
22431 * doc/misc/tramp.texi (Configuration): Reword to avoid warning
22432 from makeinfo about spurious "Note:" cross-reference, and for grammar.
22433
22434 2015-08-17 Ilya Zakharevich <ilya@math.berkeley.edu>
22435
22436 Minor change in variable initialization on MS-Windows
22437 * src/w32fns.c <after_dead_key>: Initialize to -1.
22438 (deliver_wm_chars): If after_deadkey is zero, don't set after_dead
22439 non-zero.
22440
22441 Fix a bug with LWindow key remapping on MS-Windows
22442 * src/w32fns.c (deliver_wm_chars): Fix a typo. (Bug#21276)
22443
22444 2015-08-17 Eli Zaretskii <eliz@gnu.org>
22445
22446 Improve fontset support for latest OTF script tags
22447 * lisp/international/fontset.el (otf-script-alist): Add some
22448 missing script tags.
22449 (setup-default-fontset): Include settings for v2 versions of the
22450 script tags used by some modern OTF/TTF fonts.
22451
22452 2015-08-17 Paul Eggert <eggert@cs.ucla.edu>
22453
22454 Spelling fixes
22455
22456 2015-08-16 Paul Eggert <eggert@cs.ucla.edu>
22457
22458 Use curved quotes in core elisp diagnostics
22459 In the core elisp files, use curved quotes in diagnostic formats,
22460 so that they follow user preference as per ‘text-quoting-style’
22461 rather than being hard-coded to quote `like this'.
22462 * lisp/abbrev.el (expand-region-abbrevs):
22463 * lisp/button.el (button-category-symbol, button-put)
22464 (make-text-button):
22465 * lisp/cus-start.el:
22466 * lisp/custom.el (custom-add-dependencies, custom-check-theme)
22467 (custom--sort-vars-1, load-theme):
22468 * lisp/emacs-lisp/byte-run.el (defun, defsubst):
22469 * lisp/emacs-lisp/cl-generic.el (cl-defgeneric)
22470 (cl-generic-generalizers):
22471 * lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning):
22472 * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p):
22473 * lisp/emacs-lisp/nadvice.el (advice--make-docstring)
22474 (advice--make, define-advice):
22475 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-put-tag):
22476 * lisp/emacs-lisp/timer.el (timer-event-handler):
22477 * lisp/env.el (setenv):
22478 * lisp/facemenu.el (facemenu-add-new-face)
22479 (facemenu-add-new-color):
22480 * lisp/faces.el (face-documentation, read-face-name)
22481 (face-read-string, read-face-font, face-spec-set-match-display)
22482 (read-color, x-resolve-font-name):
22483 * lisp/files.el (locate-user-emacs-file, find-alternate-file)
22484 (set-auto-mode, hack-local-variables)
22485 (hack-one-local-variable--obsolete)
22486 (dir-locals-set-directory-class, write-file)
22487 (basic-save-buffer, delete-directory, copy-directory)
22488 (recover-session, recover-session-finish, insert-directory)
22489 (file-modes-char-to-who, file-modes-symbolic-to-number)
22490 (move-file-to-trash):
22491 * lisp/font-lock.el (font-lock-fontify-buffer):
22492 * lisp/format.el (format-write-file, format-find-file)
22493 (format-insert-file):
22494 * lisp/frame.el (get-device-terminal, select-frame-by-name):
22495 * lisp/fringe.el (fringe--check-style):
22496 * lisp/help.el (describe-minor-mode-from-indicator):
22497 * lisp/image.el (image-type):
22498 * lisp/international/fontset.el (x-must-resolve-font-name):
22499 * lisp/international/mule-cmds.el (prefer-coding-system)
22500 (select-safe-coding-system-interactively)
22501 (select-safe-coding-system, activate-input-method)
22502 (toggle-input-method, describe-current-input-method):
22503 * lisp/international/mule-conf.el (code-offset):
22504 * lisp/mouse.el (minor-mode-menu-from-indicator):
22505 * lisp/replace.el (query-replace-read-from)
22506 (occur-after-change-function, occur-1):
22507 * lisp/scroll-bar.el (scroll-bar-columns):
22508 * lisp/simple.el (execute-extended-command)
22509 (undo-outer-limit-truncate, compose-mail, set-variable)
22510 (choose-completion-string, define-alternatives):
22511 * lisp/startup.el (site-run-file, tty-handle-args)
22512 (command-line, command-line-1):
22513 * lisp/subr.el (noreturn, define-error, add-to-list)
22514 (read-char-choice):
22515 * lisp/term/common-win.el (x-handle-xrm-switch)
22516 (x-handle-name-switch, x-handle-args):
22517 * lisp/term/x-win.el (x-handle-parent-id, x-handle-smid):
22518 Use curved quotes in diagnostics.
22519 * lisp/international/mule.el (find-auto-coding):
22520 Use " to quote in a diagnostic, to be consistent with the rest of
22521 this file.
22522
22523 Convert lisp/term/x-win.el to UTF-8
22524 * lisp/term/x-win.el: Convert to UTF-8. This doesn't affect
22525 runtime behavior, and the file is multilingual so compile-time
22526 appearance shouldn't be an issue.
22527 * admin/notes/unicode: Document this.
22528
22529 2015-08-16 Wilson Snyder <wsnyder@wsnyder.org>
22530
22531 Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU.
22532 * lisp/progmodes/verilog-mode.el: Fix some non-automated indent
22533 issues and comments, bug#943.
22534 (verilog-type-font-keywords): Cycle delay operators like ##1 and
22535 ##[0:$] are now highlighted in their entirety similarly to the #
22536 delay-control operator. Likewise, the followed-by operators #-#
22537 and #=# are no longer partially highlighed.
22538 (verilog-backward-syntactic-ws-quick)
22539 (verilog-skip-backward-comments): Minor performance improvements
22540 to buffer traversal functions for reduced latency.
22541 (verilog-calc-1, verilog-in-deferred-immediate-final-p): When the
22542 keyword 'final' follows 'assert/assume/cover', then it is part of
22543 a deferred immediate assertion item and should not be treated as a
22544 final construct for indentation. Reported by Yuri Sugihara.
22545 (verilog-do-indent): Virtual task/function/class definition lines
22546 should not be considered as declarations. Reported by Enzo Chi.
22547 (verilog-do-indent): Do not falsely indent to '=' of
22548 property/sequence operators on subsequent lines of a multi-line
22549 statement.
22550 (verilog-assignment-operator-re): Fix '!==' operator and add
22551 support for '<->', ':/', '#-#', and '#=#' operators.
22552 (verilog-calculate-indent, verilog-label-be): Enable
22553 case-sensitive regular expression parsing when looking for
22554 keywords.
22555 (verilog-calc-1): Detect 'pure virtual method' declarations which
22556 exist in abstract classes. Reported by Enzo Chi and Kaushal Modi.
22557 (verilog-backward-ws&directives): When moving back to the start of
22558 a line and the preceeding line ended with an escaped-newline, then
22559 jump up one line. This properly consumes a multi-line
22560 pre-processor directive. Reported by Kaushal Modi.
22561 (verilog-dpi-import-export-re, verilog-extended-complete-re)
22562 (verilog-calc-1): Teach verilog-mode to properly indent after a
22563 DPI import/export statement that resides outside of a module.
22564 Reported by Kaushal Modi.
22565 (verilog-extended-complete-re): Update regexp to match both
22566 "DPI-C" and "DPI". Reported by Kaushal Modi.
22567
22568 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
22569
22570 substitute-command-keys a few more doc strings
22571 * lisp/allout.el (outlineify-sticky):
22572 * lisp/files.el (hack-one-local-variable--obsolete):
22573 * lisp/help-fns.el (help-fns--obsolete, describe-variable):
22574 Use substitute-command-keys on some doc strings so that
22575 they don't use hard-coded key bindings or quoting styles.
22576
22577 Fix quoting in Fformat calls
22578 * src/image.c (xbm_read_bitmap_data, xbm_load_image, xbm_load)
22579 (xpm_load, xpm_load_image, pbm_load, png_load_body)
22580 (jpeg_load_body, tiff_load, gif_load, imagemagick_load_image)
22581 (imagemagick_load, svg_load, svg_load_image, gs_load)
22582 (x_kill_gs_process):
22583 * src/lread.c (load_warn_old_style_backquotes):
22584 * src/xfaces.c (load_pixmap):
22585 * src/xselect.c (x_clipboard_manager_error_1):
22586 Quote diagnostics according to user preference when calling
22587 Fformat or its derivatives.
22588
22589 2015-08-15 Glenn Morris <rgm@gnu.org>
22590
22591 * admin/admin.el (set-version, set-copyright): Remove deleted files.
22592
22593 2015-08-15 Stephen Leake <stephen_leake@stephe-leake.org>
22594
22595 Allow describe-function helpers to access buffer-local values
22596 This will be used by cedet/mode-local.el `describe-mode-local-override'
22597 on `help-fns-describe-function-functions' in upstream CEDET.
22598 * lisp/help-fns.el (describe-function-orig-buffer): New, let-bound in
22599 `describe-function'.
22600 (describe-function): Bind it, save it on the help xref stack.
22601
22602 Handle pulse-background being nil
22603 * lisp/cedet/pulse.el (pulse-lighten-highlight): Inherit
22604 pulse-background, handle it being nil.
22605
22606 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
22607
22608 Fix "\`" confusion in Lisp strings
22609 * admin/authors.el (authors-canonical-author-name):
22610 Fix typo by using "\\`" not "\`" in string RE.
22611 * lisp/obsolete/complete.el (PC-complete-as-file-name):
22612 * lisp/obsolete/vi.el (vi-backward-blank-delimited-word):
22613 * lisp/progmodes/verilog-mode.el (verilog-mode-map):
22614 Use plain "`", not the equivalent-but-confusing "\`", in strings.
22615 * lisp/textmodes/texinfmt.el: Fix comment likewise.
22616
22617 2015-08-15 Dani Moncayo <dmoncayo@gmail.com>
22618
22619 * nt/zipdist.bat: Remove -- no longer used.
22620
22621 2015-08-15 Jürgen Hötzel <juergen@archlinux.org>
22622
22623 * lisp/net/tramp-sh.el (tramp-remote-selinux-p): Use "selinuxenabled"
22624 rather than "getenforce".
22625 (tramp-sh-handle-set-file-selinux-context): Do not
22626 cache SELinux context if not all context components are given.
22627
22628 2015-08-15 Eli Zaretskii <eliz@gnu.org>
22629
22630 Add doc strings to 2 help-mode.el functions
22631 * lisp/help-mode.el (help-mode-setup, help-mode-finish): Add doc
22632 strings. (Bug#21263)
22633
22634 Remove files used by the old MS-Windows specific build procedure
22635 * admin/unidata/makefile.w32-in:
22636 * doc/emacs/makefile.w32-in:
22637 * doc/lispintro/makefile.w32-in:
22638 * doc/lispref/makefile.w32-in:
22639 * doc/misc/makefile.w32-in:
22640 * leim/makefile.w32-in:
22641 * lib-src/makefile.w32-in:
22642 * lib/makefile.w32-in:
22643 * lisp/makefile.w32-in:
22644 * nt/INSTALL.OLD:
22645 * nt/config.nt:
22646 * nt/emacs-src.tags:
22647 * nt/envadd.bat:
22648 * nt/gmake.defs:
22649 * nt/makefile.w32-in:
22650 * nt/multi-install-info.bat:
22651 * nt/nmake.defs:
22652 * nt/paths.h:
22653 * src/makefile.w32-in: Files deleted.
22654 * nt/configure.bat: Remove everything except the blurb about the
22655 new build procedure.
22656 * make-dist: Remove references to makefile.w32-in in various
22657 directories, and to files in nt/ that were deleted.
22658 * etc/NEWS: Mention the fact that the files were dropped.
22659
22660 2015-08-15 Paul Eggert <eggert@cs.ucla.edu>
22661
22662 * doc/emacs/mule.texi (Charsets): Give fuller title for ISO-IR.
22663 (Bug#21248)
22664
22665 2015-08-14 Paul Eggert <eggert@cs.ucla.edu>
22666
22667 Default to inotify instead of gfile
22668 * configure.ac (with_file_notification): Fix typo that
22669 prevented suppression of file notification if HAVE_NS.
22670 (NOTIFY_OBJ): Prefer inotify to gfile if both exist and
22671 with_file_notification is 'yes' (Bug#21241).
22672 * etc/NEWS: Mention this.
22673
22674 Fix broken URLs for ISO-IR
22675 * doc/emacs/mule.texi (Charsets):
22676 * lisp/international/mule-conf.el:
22677 Fix broken URL (Bug#21248).
22678
22679 Low-level diagnostics now use ‘text-quoting-style’
22680 * src/doprnt.c (doprnt):
22681 Format ` and ' as per ‘text-quoting-style’.
22682 * src/xdisp.c (vmessage, message): Mention that the format should
22683 not contain ` or '.
22684
22685 Prefer ‘format’ to ‘substitute-command-keys’
22686 * src/character.h (uLSQM, uRSQM): Move here ...
22687 * src/doc.c (uLSQM, uRSQM): ... from here.
22688 * src/doc.c (Fsubstitute_command_keys):
22689 * src/syntax.c (Finternal_describe_syntax_value):
22690 * lisp/cedet/mode-local.el (mode-local-print-binding)
22691 (mode-local-describe-bindings-2):
22692 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
22693 * lisp/cus-theme.el (describe-theme-1):
22694 * lisp/descr-text.el (describe-text-properties-1, describe-char):
22695 * lisp/emacs-lisp/cl-extra.el (cl--describe-class):
22696 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
22697 * lisp/emacs-lisp/eieio-opt.el (eieio-help-constructor):
22698 * lisp/emacs-lisp/package.el (describe-package-1):
22699 * lisp/faces.el (describe-face):
22700 * lisp/help-fns.el (help-fns--key-bindings)
22701 (help-fns--compiler-macro, help-fns--parent-mode)
22702 (help-fns--obsolete, help-fns--interactive-only)
22703 (describe-function-1, describe-variable):
22704 * lisp/help.el (describe-mode):
22705 Prefer ‘format’ to ‘substitute-command-keys’ when either will do
22706 to implement quoting style. This generally makes the code simpler.
22707
22708 Extend ‘format’ to translate curved quotes
22709 This is a followup to the recent doc string change, and deals with
22710 diagnostics and the like. This patch is more conservative than
22711 the doc string change, in that the behavior of ‘format’ changes
22712 only if its first arg contains curved quotes and the user prefers
22713 straight or grave quotes. (Come to think of it, perhaps we should
22714 be similarly conservative with doc strings too, but that can wait.)
22715 The upside of this conservatism is that existing usage is almost
22716 surely unaffected. The downside is that we'll eventually have to
22717 change Emacs's format strings to use curved quotes in places where
22718 the user might want curved quotes, but that's a simple and
22719 mechanical translation that I'm willing to do later. (Bug#21222)
22720 * doc/lispref/help.texi (Keys in Documentation):
22721 Move description of text-quoting-style from here ...
22722 * doc/lispref/strings.texi (Formatting Strings):
22723 ... to here, and describe new behavior of ‘format’.
22724 * etc/NEWS: Describe new behavior.
22725 * lisp/calc/calc-help.el (calc-describe-thing):
22726 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
22727 * lisp/info.el (Info-find-index-name):
22728 Use ‘concat’ rather than ‘format’ to avoid misinterpretation
22729 of recently-added curved quotes.
22730 * src/doc.c (uLSQM0, uLSQM1, uLSQM2, uRSQM0, uRSQM1, uRSQM2):
22731 Move from here ...
22732 * src/lisp.h: ... to here.
22733 * src/doc.c (text_quoting_style): New function.
22734 (Fsubstitute_command_keys): Use it.
22735 * src/editfns.c (Fformat): Implement new behavior.
22736 * src/lisp.h (enum text_quoting_style): New enum.
22737
22738 2015-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
22739
22740 * src/keyboard.c: Use false/true instead of 0/1 for booleans.
22741 * src/keyboard.h (struct kboard): Mark kbd_queue_has_data as boolean.
22742
22743 2015-08-14 Michael Albinus <michael.albinus@gmx.de>
22744
22745 * lisp/net/tramp-sh.el (tramp-sh-handle-file-acl): Do not redirect
22746 stderr to /dev/null, this is done in `tramp-send-command-and-check'.
22747
22748 2015-08-14 Jürgen Hötzel <juergen@archlinux.org>
22749
22750 Flush file properties in Tramp
22751 * lisp/net/tramp-sh.el (tramp-sh-handle-set-file-modes)
22752 (tramp-sh-handle-set-file-times):
22753 * lisp/net/tramp-adb.el (tramp-adb-handle-set-file-modes)
22754 (tramp-adb-handle-set-file-times): Flush the file properties of
22755 the directory.
22756
22757 2015-08-14 Ronnie Schnell <ronnie@driver-aces.com>
22758
22759 * doc/emacs/misc.texi (Amusements): Fixed typo.
22760
22761 2015-08-14 Eli Zaretskii <eliz@gnu.org>
22762
22763 Don't miss warnings about removing string text properties while dumping
22764 * src/alloc.c (purecopy): Warn about removing a string's text
22765 properties even when the same string was already pure-copied
22766 earlier.
22767 * lisp/progmodes/elisp-mode.el (elisp--xref-format)
22768 (elisp--xref-format-extra): Fix the commentary.
22769
22770 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
22771
22772 * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049).
22773
22774 2015-08-13 Magnus Henoch <magnus.henoch@gmail.com>
22775
22776 * lisp/progmodes/compile.el: Use lexical-binding.
22777 (compilation-move-to-column): Assume 8-wide TABs (bug#21038).
22778
22779 2015-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
22780
22781 (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037)
22782 * lisp/uniquify.el: Remove redundant `:group's.
22783
22784 2015-08-13 Jürgen Hötzel <juergen@archlinux.org>
22785
22786 * lisp/net/tramp-adb.el
22787 (tramp-adb-handle-directory-files-and-attributes): Make a copy of
22788 result to prevent modification of the tramp-cache by side effects.
22789 Use the correct cache key.
22790
22791 2015-08-13 Paul Eggert <eggert@cs.ucla.edu>
22792
22793 Make add_to_log varargs
22794 * src/alloc.c (run_finalizer_handler):
22795 * src/charset.c (load_charset_map_from_vector):
22796 * src/nsimage.m (ns_load_image):
22797 * src/xfaces.c (load_pixmap, load_color2):
22798 Simplify, now that add_to_log has a variable number of args.
22799 * src/image.c (image_error): Take a variable number of args.
22800 Callers simplified.
22801 * src/lisp.h (add_to_log, vadd_to_log): Adjust to new APIs.
22802 * src/xdisp.c (format_nargs, vadd_to_log): New functions.
22803 (add_to_log): Make varargs, and reimplement in terms of vadd_to_log.
22804 * src/xfaces.c (merge_face_ref): Fix typo that omitted color name.
22805
22806 Optional args for holiday-greek-orthodox-easter
22807 * etc/NEWS: Document this.
22808 * lisp/calendar/holidays.el (holiday-greek-orthodox-easter):
22809 Add optional args N and STRING, mimicking the API and code of
22810 ‘holiday-easter-etc’. From suggestion by Foivos S. Zakkak (Bug#21256).
22811
22812 2015-08-13 Stephen Leake <stephen_leake@stephe-leake.org>
22813
22814 xref-find-definitions: Exclude more generic function items.
22815 * lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
22816 Add doc string.
22817 (cl--generic-find-defgeneric-regexp): New.
22818 (find-function-regexp-alist): Add it.
22819 * lisp/emacs-lisp/find-func.el (find-feature-regexp): Move here from
22820 elisp-mode.el, change to search for ";;; Code:"
22821 (find-alias-regexp): Move here from elisp-mode.el, cleaned up.
22822 (find-function-regexp-alist): Add them.
22823 * lisp/progmodes/elisp-mode.el:
22824 (elisp--xref-format, elisp--xref-format-extra): Change back to
22825 defvar due to bug#21237.
22826 (elisp--xref-find-definitions): Exclude co-located default methods for
22827 generic functions. Also exclude implicitly declared defgeneric.
22828 (elisp--xref-find-definitions): Handle C source properly. Exclude minor
22829 mode variables defined by 'define-minor-mode'.
22830 * test/automated/elisp-mode-tests.el: Declare generic functions, add
22831 tests for them.
22832 (xref-elisp-test-run): Fix bug.
22833 (emacs-test-dir): Improve initial value.
22834 (find-defs-defun-defvar-el): Don't expect defvar.
22835 (find-defs-feature-el): Match change to find-feature-regexp.
22836
22837 2015-08-13 Eli Zaretskii <eliz@gnu.org>
22838
22839 Improve warning about purecopy of strings with properties
22840 * src/alloc.c (purecopy): Show the offending string with the
22841 warning about removing its text properties.
22842
22843 2015-08-12 Alan Mackenzie <acm@muc.de>
22844
22845 Introduce new macros to cover Emacs's new names in cl-lib.el
22846 This also eliminates `mapcan' warnings in XEmacs.
22847 * lisp/progmodes/cc-defs.el (c--mapcan-status): New variable to
22848 characterise [X]Emacs versions.
22849 (top-level): Require either 'cl or 'cl-lib, depending on
22850 c--mapcan-status.
22851 Change this back to cc-external-require from an eval-when-compile
22852 require.
22853 (c--mapcan, c--set-difference, c--intersection, c--macroexpand-all)
22854 (c--delete-duplicates): New macros which expand into either old or new
22855 names.
22856 (c-make-keywords-re, c-lang-defconst, c-lang-const): Use the new macros
22857 rather than the old names.
22858 * lisp/progmodes/cc-engine.el (c-declare-lang-variables): Use c--mapcan
22859 rather than mapcan.
22860 * lisp/progmodes/cc-fonts.el (c-compose-keywords-list): Use c--mapcan.
22861 * lisp/progmodes/cc-langs.el (top-level): Require either 'cl or 'cl-lib,
22862 depending on c--mapcan-status.
22863 (c-filter-ops, c-all-op-syntax-tokens, c-assignment-op-regexp)
22864 (c-type-start-kwds, c-prefix-spec-kwds, c-specifier-key)
22865 (c-not-decl-init-keywords, c-not-primitive-type-keywords)
22866 (c-paren-any-kwds, c-<>-sexp-kwds, c-block-stmt-kwds, c-expr-kwds)
22867 (c-decl-block-key, c-keywords, c-keywords-obarray)
22868 (c-regular-keywords-regexp, c-primary-expr-regexp)
22869 (c-primary-expr-regexp, c-block-prefix-disallowed-chars)
22870 (c-known-type-key, c-nonlabel-token-key)
22871 (c-make-init-lang-vars-fun): Use the new macros rather than the old
22872 names.
22873
22874 2015-08-12 Oleh Krehel <ohwoeowho@gmail.com>
22875
22876 loadhist.el (read-feature): Conform to completing-read
22877 * lisp/loadhist.el (read-feature): According to `completing-read'
22878 documentation, if collection is a list, then it must be a list of
22879 strings, not a list of symbols like before.
22880
22881 2015-08-12 David Kastrup <dak@gnu.org>
22882
22883 Deal gracefully with up-events (Bug#19746)
22884 * src/keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
22885 (parse_modifiers_uncached): React gracefully to "up-" modifiers:
22886 those may easily be injected by user-level Lisp code.
22887 (read_key_sequence): Discard unbound up-events like unbound
22888 down-events: they are even more likely only relevant for special
22889 purposes.
22890 While Emacs will not produce up-events on its own currently (those are
22891 converted to drag or click events before being converted to
22892 Lisp-readable structures), the input queue can be made to contain them
22893 by synthesizing events to `unread-command-events'. Emacs should deal
22894 consistently with such events.
22895
22896 2015-08-12 Eli Zaretskii <eliz@gnu.org>
22897
22898 Fix display of thin lines whose newline has line-height property of t
22899 * src/xdisp.c (append_space_for_newline): Don't try to fix ascent
22900 and descent values of non-empty glyph rows, since they could have
22901 forced low values deliberately. (Bug#21243)
22902
22903 2015-08-12 Richard Stallman <rms@gnu.org>
22904
22905 Offer to combine multiple To or CC fields.
22906 * lisp/mail/sendmail.el (mail-combine-fields): New function.
22907 (mail-send): Call 'mail-combine-fields'.
22908
22909 Don't decrypt encrypted files.
22910 * lisp/mail/mail-utils.el (mail-file-babyl-p): Bind epa-inhibit to t.
22911
22912 Handle encrypted mbox files.
22913 * lisp/mail/rmailout.el (rmail-output-as-mbox): Decrypt and reencrypt
22914 the mbox file if necessary.
22915
22916 Re-enable mime processing after decryption. Add 'decrypt' keyword.
22917 * lisp/mail/rmail.el (rmail-epa-decrypt-1): New subroutine.
22918 (rmail-epa-decrypt): rmail-epa-decrypt-1 broken out.
22919 In a mime message, reenable Mime and show the parts that
22920 were shown before.
22921 Add keyword "decrypt" if anything decrypted.
22922
22923 epa-inhibit inhibits auto-recognition of .gpg files
22924 * lisp/epa-file.el (epa-inhibit): New variable.
22925 (epa-file-handler): Check epa-inhibit.
22926
22927 2015-08-12 Artur Malabarba <bruce.connor.am@gmail.com>
22928
22929 * lisp/emacs-lisp/lisp-mnt.el (lm-header): Add save-excursion.
22930
22931 2015-08-11 Fabián Ezequiel Gallina <fgallina@gnu.org>
22932
22933 Respect python.el imenu when semantic-mode is off
22934 Fixes bug#21220
22935 * lisp/cedet/semantic/wisent/python.el: Do not force
22936 wisent-python-default-setup on python-mode-hook.
22937
22938 2015-08-11 Paul Eggert <eggert@cs.ucla.edu>
22939
22940 Give names to Unicode code points in C code
22941 * src/character.h (NO_BREAK_SPACE, SOFT_HYPHEN)
22942 (ZERO_WIDTH_NON_JOINER, ZERO_WIDTH_JOINER, HYPHEN)
22943 (NON_BREAKING_HYPHEN, LEFT_SINGLE_QUOTATION_MARK)
22944 (RIGHT_SINGLE_QUOTATION_MARK, PARAGRAPH_SEPARATOR)
22945 (LEFT_POINTING_ANGLE_BRACKET, RIGHT_POINTING_ANGLE_BRACKET)
22946 (LEFT_ANGLE_BRACKET, RIGHT_ANGLE_BRACKET)
22947 (OBJECT_REPLACEMENT_CHARACTER):
22948 New named constants for Unicode code points.
22949 * src/bidi.c (bidi_fetch_char, CANONICAL_EQU):
22950 * src/composite.c (char_composable_p):
22951 * src/lread.c (readevalloop, read1):
22952 * src/xdisp.c (get_next_display_element):
22953 Use them.
22954 * src/doc.c (LEFT_SINGLE_QUOTATION_POINT):
22955 Remove; now in character.h.
22956
22957 2015-08-11 Stephen Leake <stephen_leake@stephe-leake.org>
22958
22959 elisp--xref-find-definitions handle cl-defstuct default constructor
22960 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Add FIXME.
22961 (elisp--xref-format-extra): Rename from elisp--xref-format-cl-defmethod.
22962 (elisp--xref-find-definitions): Handle cl-defstuct default constructor.
22963 * test/automated/elisp-mode-tests.el (xref-elisp-test-run): Split out
22964 from xref-elisp-test for ease of debugging.
22965 (xref-elisp-deftest): Rename from xref-elisp-test.
22966 (find-defs-constructor): New test.
22967 (find-defs-defgeneric-el): Match batch test config.
22968 (compile): Required for find-defs compilation-minor-mode test.
22969 (find-defs-defvar-el): Match code change.
22970 (find-defs-face-el): Match code change.
22971 * lisp/progmodes/xref.el (xref-find-function, xref-find-definitions):
22972 Improve doc string.
22973
22974 2015-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
22975
22976 * lisp/replace.el (perform-replace): Document `replacements'.
22977 (perform-replace): Move the description of the format of `replacements'
22978 from the body's comment to the doc string.
22979
22980 2015-08-11 Jürgen Hötzel <juergen@archlinux.org>
22981
22982 * lisp/net/tramp-adb.el (tramp-adb-prompt): Match leading escape
22983 sequence. Recent adb version send initial escape sequences, even
22984 when terminal type is set to TERM=dumb.
22985
22986 2015-08-10 Stephen Leake <stephen_leake@stephe-leake.org>
22987
22988 Rewrite elisp--xref-find-definitions to handle many more cases; add tests
22989 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
22990 Function deleted.
22991 (elisp--xref-format-cl-defmethod): New defconst.
22992 (find-feature-regexp, find-alias-regexp): New defcustoms.
22993 (elisp--xref-make-xref): New function.
22994 (elisp--xref-find-definitions): Rewrite using the above, handle many
22995 more cases. Always output all available definitions.
22996 (xref-location-marker): No need for special cases.
22997 * test/automated/elisp-mode-tests.el: Add more tests of
22998 elisp--xref-find-definitions, improve current tests.
22999
23000 2015-08-10 Eli Zaretskii <eliz@gnu.org>
23001
23002 Fix recording of events pushed onto unread-command-events
23003 * src/keyboard.c (read_char): Make sure events read from
23004 unread-command-events and unread-post-input-method-events are
23005 always recorded by record_char. Reported by David Kastrup
23006 <dak@gnu.org>, see
23007 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00193.html.
23008
23009 2015-08-10 Samer Masterson <samer@samertm.com>
23010
23011 Set file buffer as current for "--file"
23012 * lisp/startup.el (command-line-1): Set file buffer as current before
23013 it is displayed so it can be used with options like "--eval".
23014 (Bug#21095)
23015
23016 2015-08-10 Eli Zaretskii <eliz@gnu.org>
23017
23018 Avoid setting LC_NUMERIC on MS-Windows to anything but "C"
23019 * src/emacs.c (synchronize_locale) [WINDOWSNT]: Call fixup_locale
23020 after setting LC_ALL to the desired locale, to avoid affecting how
23021 numbers are read and printed. (Bug#21223)
23022
23023 2015-08-10 Alan Mackenzie <acm@muc.de>
23024
23025 Fix "Invalid search bound (wrong side of point)" in fontification
23026 * lisp/progmodes/cc-fonts.el (c-font-lock-declarators): After skipping
23027 an initialization expression, check point is not beyond the
23028 fontification limit.
23029
23030 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
23031
23032 Fix DPI calculation when Xft/DPI is default
23033 * src/xsettings.c (parse_settings): Don't use Xft/DPI default
23034 value of -1, which evaluates to 2**32 - 1 (Bug#21152).
23035 Remove unnecessary cast while we're in the neighborhood.
23036
23037 2015-08-09 Dmitry Gutov <dgutov@yandex.ru>
23038
23039 Add project-vc-search-path and project-vc-ignores
23040 * lisp/progmodes/project.el (project-vc): New group.
23041 (project-vc-search-path, project-vc-ignores): New variables.
23042 (project--value-in-dir): Utility function.
23043 (project-search-path, project-ignores): Use them.
23044 * lisp/progmodes/xref.el (xref--rgrep-command): Only replace `./'
23045 at bos. Don't add extra `/'. Don't prepend with `*' if replaced.
23046
23047 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
23048
23049 Fix some minor quoting issues with grave accent
23050 * src/dispnew.c (add_window_display_history) [GLYPH_DEBUG]:
23051 Remove redundant quotes.
23052 * src/doc.c (uLSQM, uRSQM): New macros.
23053 * src/doc.c (Fsubstitute_command_keys):
23054 * src/syntax.c (Finternal_describe_syntax_value): Follow the user
23055 preference for quotes rather than hardcoding the ‘grave’ style.
23056 * src/regex.c (PUSH_FAILURE_POINT, POP_FAILURE_POINT)
23057 (re_match_2_internal) [DEBUG]: In debugging output, quote C
23058 strings with "...", not `...'.
23059
23060 ChangeLog.2 ignores remote-tracking merges
23061 * build-aux/gitlog-to-emacslog: Ignore commit logs matching
23062 "Merge remote-tracking branch '.*'" too. See Eli Zaretskii in:
23063 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00384.html
23064
23065 2015-08-09 Nicolas Richard <youngfrog@members.fsf.org>
23066
23067 Use kpsewhich in ffap-latex-mode, if available
23068 * lisp/ffap.el (ffap-latex-guess-rules): New variable.
23069 (ffap-latex-mode): Use kpsewhich if available.
23070
23071 ffap: disallow braces in filenames for tex modes
23072 * lisp/ffap.el (ffap-string-at-point-mode-alist): Don't allow
23073 braces in tex-related modes.
23074
23075 Remove useless backslashes from ffap-string-at-point-mode-alist
23076 * lisp/ffap.el (ffap-string-at-point-mode-alist): Remove useless and
23077 misleading backslashes from default value.
23078
23079 Augment docstring of ffap-string-at-point-mode-alist
23080 * lisp/ffap.el (ffap-string-at-point-mode-alist): Describe how BEG
23081 and END are handled.
23082
23083 2015-08-09 Paul Eggert <eggert@cs.ucla.edu>
23084
23085 * lisp/org/org-src.el (org-edit-src-code)
23086 (org-edit-fixed-width-region):
23087 * lisp/simple.el (completion-setup-function):
23088 Remove calls to substitute-command-keys that always just return
23089 their argument.
23090
23091 2015-08-09 Daiki Ueno <ueno@gnu.org>
23092
23093 * lisp/epa.el (epa-exit-buffer-function): Set to `quit-window'.
23094 (Bug#21210)
23095
23096 2015-08-09 Ivan Kanis <ivan@kanis.fr>
23097
23098 Fix link to source code in help window
23099 * lisp/help-fns.el (find-lisp-object-file-name): Remove code that
23100 will never work due to Glenn Morris change a6d63d9 on Apr 20 2013
23101 'No longer include timestamp in header of .elc files'. Add code
23102 that will return .el source file in load-path.
23103
23104 2015-08-09 Artur Malabarba <bruce.connor.am@gmail.com>
23105
23106 * lisp/isearch.el (isearch-search-fun-default): (Bug#21164)
23107 Respect `isearch-lax-whitespace' when searching through
23108 `isearch-word'.
23109
23110 2015-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
23111
23112 * test/automated/ert-tests.el (ert-test-deftest): Add FIXME.
23113
23114 * lisp/org/org.el: Fix up some lexical scoping warnings, and use dolist
23115 * lisp/org/org.el (org-set-regexps-and-options-for-tags, org-goto-map)
23116 (org-set-regexps-and-options, org-assign-fast-keys)
23117 (org-contextualize-keys, org-contextualize-validate-key)
23118 (org-notes-order-reversed-p, org-local-logging, org-map-entries)
23119 (org-find-olp, org-find-exact-heading-in-directory)
23120 (org-cycle-agenda-files, org-release-buffers, org-fill-template)
23121 (org-agenda-prepare-buffers, org-occur-in-agenda-files)
23122 (org-replace-escapes): Use dolist.
23123 (org-mode): Optimize away XEmacs-only code.
23124 (org-refile-get-targets): Remove unused var `f'.
23125 (org-fast-todo-selection): Remove unused var `e'.
23126 (org-make-tags-matcher): Use dolist. Remove unused var `term'.
23127 (org-fast-tag-selection): Use dolist. Remove unused var `e'.
23128 (org-format-latex): Use dolist. Remove unused var `e'.
23129 (org-toggle-heading): Access vars lexically rather than dynamically.
23130 (org-backward-sentence, org-forward-sentence, org-meta-return)
23131 (org-kill-line): Mark arg as unused.
23132 (org-submit-bug-report): Silence compiler warning.
23133 (org-occur-in-agenda-files): Don't use add-to-list on local vars.
23134 (org-get-cursor-date): Remove unused var `tm'.
23135 (org-comment-or-uncomment-region): Use standard name `_'.
23136 (reftex-docstruct-symbol, reftex-cite-format): Declare to
23137 silence byte-compiler.
23138 (org-reftex-citation): Add `org--' prefix to dynamically scoped
23139 `rds' var.
23140
23141 2015-08-08 Paul Eggert <eggert@cs.ucla.edu>
23142
23143 Electric quote if coding is undecided or no conv
23144 * lisp/electric.el (electric--insertable-p): Also say that a
23145 string is insertable if the buffer file coding system is undecided
23146 or uses no conversion, as curved quotes will work in either case.
23147
23148 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Simplify configuration.
23149
23150 2015-08-08 Eli Zaretskii <eliz@gnu.org>
23151
23152 Fix overlay string display regressions introduced in Emacs 24.5
23153 * src/xdisp.c (pop_it): Reset the flag to ignore overlays at this
23154 buffer position, if we move the iterator to a new position as
23155 result of jumping over text covered by a "replacing" display
23156 property.
23157 * test/redisplay-testsuite.el (test-redisplay-4): Add 2 new tests.
23158
23159 Support recovery from C stack overflow on MS-Windows
23160 * src/w32fns.c (w32_reset_stack_overflow_guard)
23161 (stack_overflow_handler): New functions for handling C stack
23162 overflow exceptions.
23163 (my_exception_handler): Handle EXCEPTION_STACK_OVERFLOW exceptions
23164 specially, and zero out except_addr if we do.
23165 (globals_of_w32fns): Initialize dwMainThreadId in non-interactive
23166 mode.
23167 * src/sysdep.c [HAVE_STACK_OVERFLOW_HANDLING]: Add !WINDOWSNT to
23168 the condition, as HAVE_STACK_OVERFLOW_HANDLING is now defined for
23169 the MinGW build, but the code guarded by that is for Posix hosts.
23170 * src/keyboard.c (command_loop) [WINDOWSNT]:
23171 Call w32_reset_stack_overflow_guard.
23172 * nt/inc/ms-w32.h (sigjmp_buf): New typedef.
23173 (sigsetjmp): New macro.
23174 (w32_reset_stack_overflow_guard): Declare the prototype.
23175 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Set to 1 for MinGW.
23176
23177 2015-08-07 Phillip Lord <phillip.lord@newcastle.ac.uk>
23178
23179 Improve error signalling for seq-subseq
23180 * lisp/emacs-lisp/seq.el (seq-subseq): The existing behavior is to error
23181 when indexes are too large, but to silently ignore numbers which
23182 are too negative for lists. String and vector handling errors in
23183 both cases. This has been regularized. Error signaling behavior
23184 has been explicitly added to the doc string.
23185
23186 * lisp/cl-extra.el (cl-subseq): Defers to (seq-subseq) and is
23187 therefore also impacted by this change. Update the doc string
23188 to reflect this.
23189
23190 * test/automated/seq-tests.el (test-seq-subseq): Tests have been
23191 added for these exceptional cases, as well as one non exceptional
23192 base case.
23193
23194 2015-08-07 Jürgen Hötzel <juergen@archlinux.org>
23195
23196 Improve error checking in tramp-adb.el
23197 * lisp/net/tramp-adb.el (tramp-adb-ls-output-name-less-p):
23198 Improve error checking. "ls -l" on Android in Enforcing mode can
23199 print "lstat './FILENAME failed: Permission denied".
23200
23201 2015-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
23202
23203 * lisp/emacs-lisp/cl-generic.el (cl--generic-struct-tag): Don't burp on
23204 non-struct vectors.
23205
23206 2015-08-07 Stephen Leake <stephen_leake@stephe-leake.org>
23207
23208 Fix typo in lisp/window.el, more `display-buffer-use-some-frame'
23209 * lisp/window.el: Fix typo that broke build.
23210 (display-buffer--action-function-custom-type):
23211 Add `display-buffer-use-some-frame'.
23212 (display-buffer): Add `display-buffer-use-some-frame' to doc string.
23213
23214 Add support for 'inhibit-same-window in 'display-buffer-use-some-frame'
23215 * lisp/window.el (display-buffer-use-some-frame): Add support for
23216 'inhibit-same-window in alist.
23217 * doc/lispref/windows.texi (display-buffer-use-some-frame):
23218 Doc support for 'inhibit-same-window in alist.
23219
23220 2015-08-07 Eli Zaretskii <eliz@gnu.org>
23221
23222 Avoid infinite loop in display of invisible text in strings
23223 * src/xdisp.c (handle_invisible_prop): If the next change of
23224 invisibility spec does not mean the beginning of a visible text,
23225 update the string position from which to start the search for the
23226 next invisibility change. This avoids an infinite loop when we
23227 have more than one invisibility spec that are made inactive by
23228 buffer-invisibility-spec. Simplify code. (Bug#21200)
23229 * test/redisplay-testsuite.el (test-redisplay-4): Add a test case
23230 for the situation that caused bug #21200.
23231
23232 2015-08-06 Artur Malabarba <bruce.connor.am@gmail.com>
23233
23234 * lisp/emacs-lisp/package.el: Simplify describe-package-1
23235 (package-help-section-name-face): New face.
23236 (package--print-help-section): New function.
23237 (describe-package-1): Refactor section printing.
23238 (package-make-button): Use face instead of font-lock-face, which
23239 doesn't work on buttons.
23240
23241 * lisp/emacs-lisp/package.el: Define custom faces
23242 (package-name-face, package-description-face)
23243 (package-status-built-in-face, package-status-external-face)
23244 (package-status-available-face, package-status-new-face)
23245 (package-status-held-face, package-status-disabled-face)
23246 (package-status-installed-face, package-status-dependency-face)
23247 (package-status-unsigned-face, package-status-incompat-face)
23248 (package-status-avail-obso-face): New faces.
23249 (package-menu--print-info-simple): Use them.
23250
23251 2015-08-05 Paul Eggert <eggert@cs.ucla.edu>
23252
23253 Fix some confusion with ‘format’
23254 * lisp/allout-widgets.el (allout-widgets-before-change-handler)
23255 (allout-graphics-modification-handler):
23256 Protect arbitrary string in a format context with "%s" format.
23257 * lisp/avoid.el:
23258 * lisp/cedet/semantic/bovine/scm.el: Fix comment.
23259 * lisp/calendar/icalendar.el (icalendar--convert-sexp-to-ical):
23260 * lisp/erc/erc-button.el (erc-button-beats-to-time):
23261 * lisp/gnus/message.el (message-send-form-letter):
23262 * lisp/org/ob-core.el (org-babel-check-evaluate)
23263 (org-babel-confirm-evaluate):
23264 * lisp/org/ob-fortran.el (org-babel-fortran-var-to-fortran):
23265 * lisp/org/ox-latex.el (org-latex-compile):
23266 * lisp/org/ox-man.el (org-man-compile):
23267 * lisp/org/ox-odt.el (org-odt-template):
23268 * lisp/org/ox-texinfo.el (org-texinfo-compile):
23269 * lisp/progmodes/prolog.el (prolog-help-info)
23270 (prolog-view-predspec):
23271 * lisp/progmodes/ruby-mode.el (ruby-parse-partial):
23272 * lisp/progmodes/verilog-mode.el (verilog-showscopes):
23273 * lisp/textmodes/rst.el (rst-replace-lines):
23274 Change (message (format ...)) to (message ...), and likewise
23275 for ‘error’. This lessens the probability of confusion when the
23276 output of ‘format’ contains ‘%’.
23277
23278 2015-08-05 Artur Malabarba <bruce.connor.am@gmail.com>
23279
23280 * lisp/replace.el (replace-character-fold): Default to nil.
23281
23282 * lisp/character-fold.el: Fix lax whitespace.
23283 (character-fold-table): Don't make space match other whitespace chars.
23284 (character-fold-to-regexp): Simplify lax behavior.
23285
23286 2015-08-05 Dmitry Gutov <dgutov@yandex.ru>
23287
23288 Preserve window point in xref-find-definitions-other-window
23289 Fix the problem reported by Ingo Logmar in
23290 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00152.html
23291 * lisp/progmodes/xref.el (xref--goto-char): Extract from
23292 xref--goto-location.
23293 (xref--pop-to-location): Use it. Replace xref--goto-location with
23294 a direct xref-location-marker call.
23295 (xref--show-location): Likewise.
23296 (xref--display-position): Use xref--goto-char.
23297
23298 * lisp/progmodes/project.el: Add a paragraph to the front matter.
23299
23300 2015-08-04 David Kastrup <dak@gnu.org>
23301
23302 * lisp/vc/emerge.el (emerge-show-file-name):
23303 * lisp/progmodes/vhdl-mode.el (vhdl-electric-dash)
23304 (vhdl-comment-insert, vhdl-hooked-abbrev):
23305 * lisp/progmodes/octave.el (inferior-octave-dynamic-list-input-ring):
23306 * lisp/progmodes/fortran.el (fortran-window-create-momentarily):
23307 * lisp/progmodes/ebrowse.el (ebrowse-hack-electric-buffer-menu):
23308 * lisp/progmodes/cperl-mode.el (cperl-putback-char):
23309 * lisp/obsolete/vip.el (vip-escape-to-emacs)
23310 (vip-prefix-arg-value, vip-prefix-arg-com):
23311 * lisp/obsolete/terminal.el (te-escape-extended-command-unread):
23312 * lisp/leim/quail/tibetan.el (quail-tibetan-update-translation)
23313 (quail-tibkey-update-translation):
23314 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
23315 * lisp/leim/quail/lao.el (quail-lao-update-translation):
23316 * lisp/leim/quail/japanese.el (quail-japanese-update-translation)
23317 (quail-japanese-self-insert-and-switch-to-alpha):
23318 * lisp/leim/quail/hangul.el (hangul2-input-method)
23319 (hangul3-input-method, hangul390-input-method):
23320 * lisp/language/hanja-util.el (hangul-to-hanja-char):
23321 * lisp/international/robin.el (robin-input-method):
23322 * lisp/international/quail.el (quail-start-translation)
23323 (quail-start-conversion):
23324 * lisp/gnus/gnus-art.el (gnus-article-describe-key)
23325 (gnus-article-describe-key-briefly):
23326 * lisp/eshell/em-hist.el (eshell-list-history):
23327 * lisp/term.el (term-dynamic-list-input-ring)
23328 (term-dynamic-list-completions):
23329 * lisp/subr.el (momentary-string-display):
23330 * lisp/simple.el (read-quoted-char):
23331 * lisp/pcomplete.el (pcomplete-show-completions):
23332 * lisp/kmacro.el (kmacro-repeat-on-last-key):
23333 * lisp/info.el (Info-summary):
23334 * lisp/ehelp.el (electric-help-command-loop):
23335 * lisp/ebuff-menu.el (electric-buffer-list)
23336 (Electric-buffer-menu-exit):
23337 * lisp/double.el (double-translate-key):
23338 * lisp/comint.el (comint-dynamic-list-input-ring)
23339 (comint-dynamic-list-completions): Do not overwrite preexisting
23340 contents of `unread-command-events' when putting new events into it.
23341
23342 2015-08-04 Daniel Colascione <dancol@dancol.org>
23343
23344 Improve ansi-color filtering of unrecognized escape sequences
23345 * lisp/ansi-color.el (ansi-color-drop-regexp): Recognize mode-setting
23346 escape sequences.
23347 (ansi-color-filter-apply, ansi-color-apply): Filter out
23348 unrecognized escape sequences.
23349
23350 2015-08-04 Artur Malabarba <bruce.connor.am@gmail.com>
23351
23352 * lisp/emacs-lisp/package.el (package-menu-mode-map): Convert menu
23353 definitions to `easy-menu-define', improve a couple to account for
23354 async, and add a couple of new commands.
23355
23356 2015-08-03 Jürgen Hötzel <juergen@archlinux.org>
23357
23358 * lisp/net/tramp-cache.el (tramp-set-file-property): Fix code typo.
23359
23360 2015-08-03 Ingo Lohmar <i.lohmar@gmail.com>
23361
23362 Add new 'calendar-weekend-days' option
23363 Make the days receiving the 'calendar-weekend-header' face freely
23364 customizable, as they differ by region/culture.
23365 * doc/emacs/calendar.texi (Move to Beginning or End): Document the
23366 new variable.
23367 * lisp/calendar/calendar.el (calendar-generate-month): New variable
23368 calendar-weekend-days to customize day header fontification.
23369
23370 2015-08-03 Paul Eggert <eggert@cs.ucla.edu>
23371
23372 Redo text-quoting-style variable
23373 Rename help-quote-translation to text-quoting-style,
23374 and use symbols rather than characters as values.
23375 This follows suggestions along these lines by Alan Mackenzie in:
23376 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00343.html
23377 and by Drew Adams in:
23378 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00048.html
23379 * doc/lispref/help.texi (Keys in Documentation)
23380 * etc/NEWS:
23381 * lisp/cus-start.el (standard):
23382 * src/doc.c (Fsubstitute_command_keys, syms_of_doc):
23383 Document and/or implement the new behavior instead of the old.
23384 (syms_of_doc): New symbols 'grave' and 'straight'.
23385
23386 2015-08-03 Nikolaus Rath <Nikolaus@rath.org>
23387
23388 nnimap.el: Use IMAP MOVE extension if available
23389 * lisp/gnus/nnimap.el (nnimap-request-move-article)
23390 (nnimap-process-expiry-targets, nnimap-split-incoming-mail):
23391 Use MOVE extension if available.
23392
23393 nnimap.el: Explicitly ask for server capabilities
23394 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't assume full
23395 capabilities will be returned in the login-result.
23396
23397 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
23398
23399 Treat help strings like other doc strings
23400 * doc/lispref/text.texi (Special Properties), etc/NEWS: Document this.
23401 * lisp/epa.el (epa--select-keys): Remove no-longer-needed calls to
23402 substitute-command-keys.
23403 * src/keyboard.c (show_help_echo, parse_menu_item): Call
23404 substitute-command-keys on the help string before displaying it.
23405
23406 Also mention "curly quotes"
23407 See Drew Adams's email in:
23408 http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00040.html
23409 * doc/lispref/help.texi (Keys in Documentation):
23410 Add index entry "curly quotes".
23411 * etc/NEWS: Use the phrase "curly quotes" too.
23412
23413 ede-proj-target-makefile docstring tweaks
23414 * lisp/cedet/ede/proj.el (ede-proj-target-makefile):
23415 Consistently use "all:" to describe the all: target,
23416 replacing three different and confusingly-quoted usages.
23417
23418 2015-08-02 Evgeny Fraimovitch <johnlen7@gmail.com> (tiny change)
23419
23420 Don't abort emacsclientw when -a was specified
23421 * lib-src/emacsclient.c (set_tcp_socket) [WINDOWSNT]: Don't error
23422 out if we are in emacsclientw and -a was specified.
23423
23424 2015-08-02 Eli Zaretskii <eliz@gnu.org>
23425
23426 Fix handling of 1st keystroke on MS-Windows
23427 * src/w32fns.c (globals_of_w32fns): Initialize after_deadkey to -1.
23428 This is needed to correctly handle the session's first keystroke,
23429 if it has any modifiers. (Bug#19994)
23430
23431 2015-08-02 Paul Eggert <eggert@cs.ucla.edu>
23432
23433 Substitute some customization etc. doc strings
23434 These changes apply substitute-command-keys to some
23435 doc strings that were going through untranslated
23436 when creating customization or other widgets.
23437 * lisp/cus-edit.el (custom-group-value-create):
23438 * lisp/wid-edit.el (widget-default-create):
23439 (widget-push-button-value-create):
23440 Treat the widget tag as a doc string.
23441 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
23442 Treat the :documentation value as a doc string.
23443 * lisp/wid-edit.el (widget-choose):
23444 Treat the choice names as doc strings.
23445 (widget-default-create): Treat the :doc value as a doc string.
23446 (widget-toggle-value-create): Treat the :on and :off values
23447 as doc strings.
23448 (widget-documentation-string-value-create):
23449 Substitute the doc string.
23450
23451 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
23452
23453 Add a second argument to project-ignores
23454 * lisp/progmodes/project.el (project-ignores): Add a second
23455 argument DIR.
23456 * lisp/progmodes/project.el (project-ignores): Only include the VC
23457 ignores if DIR is the VC root.
23458 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
23459
23460 2015-08-01 Eli Zaretskii <eliz@gnu.org>
23461
23462 Prevent incorrect display when 'line-spacing' variable is set
23463 * src/xdisp.c (try_window_id): Give up this optimization if the
23464 buffer has its 'line-spacing' variable set non-nil.
23465
23466 2015-08-01 Dmitry Gutov <dgutov@yandex.ru>
23467
23468 Don't pass NOVISIT to find-file
23469 * lisp/progmodes/etags.el (next-file):
23470 Don't pass NOVISIT to find-file (bug#21175).
23471
23472 Ignore buffer restriction for tags-loop-eval
23473 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
23474 restriction (bug#21167).
23475
23476 2015-08-01 Eli Zaretskii <eliz@gnu.org>
23477
23478 Fix a thinko in 'ffap-gopher-at-point'
23479 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
23480
23481 Honor 'line-spacing' for empty lines
23482 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
23483 property and 'line-spacing' frame parameter or variable or
23484 property for empty lines, by doing the same processing as in
23485 x_produce_glyph for newline characters. (Bug#21165)
23486
23487 2015-08-01 Paul Eggert <eggert@cs.ucla.edu>
23488
23489 Simplify by assuming C99 integer division
23490 * src/floatfns.c (ceiling2, floor2, truncate2):
23491 Assume C99 (i.e., Fortran) semantics for integer division.
23492 This simplifies the code.
23493
23494 2015-07-31 Paul Eggert <eggert@cs.ucla.edu>
23495
23496 Don't overflow if computing approximate percentage
23497 * lisp/align.el (align-region):
23498 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
23499 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
23500 * lisp/cus-edit.el (custom-buffer-create-internal):
23501 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
23502 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
23503 (checkdoc-next-message-error):
23504 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
23505 * lisp/epa.el (epa-progress-callback-function):
23506 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
23507 * lisp/ffap.el (ffap-menu-rescan):
23508 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
23509 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
23510 * lisp/gnus/nneething.el (nneething-retrieve-headers):
23511 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
23512 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
23513 * lisp/gnus/nnml.el (nnml-retrieve-headers):
23514 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
23515 * lisp/gnus/nntp.el (nntp-retrieve-headers)
23516 (nntp-retrieve-articles):
23517 * lisp/imenu.el (imenu--relative-position):
23518 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
23519 (skkdic-convert-okuri-nasi):
23520 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
23521 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
23522 * lisp/org/org-list.el (org-update-checkbox-count):
23523 * lisp/org/org.el (org-table-map-tables)
23524 (org-update-parent-todo-statistics):
23525 * lisp/play/decipher.el (decipher-insert-frequency-counts)
23526 (decipher-analyze-buffer):
23527 * lisp/profiler.el (profiler-format-percent):
23528 * lisp/progmodes/cc-cmds.el (c-progress-update):
23529 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
23530 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
23531 (idlwave-list-load-path-shadows):
23532 * lisp/progmodes/opascal.el (opascal-step-progress):
23533 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
23534 (vhdl-scan-directory-contents):
23535 * lisp/textmodes/bibtex.el (bibtex-progress-message):
23536 * lisp/textmodes/flyspell.el (flyspell-small-region)
23537 (flyspell-external-point-words):
23538 * lisp/textmodes/table.el (table-recognize):
23539 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
23540 progress-report percentages and the like. This avoids problems
23541 if (* 100 NUMERATOR) would overflow.
23542 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
23543 * lisp/gnus/registry.el (registry-reindex):
23544 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
23545 * lisp/descr-text.el (describe-char):
23546 * lisp/org/org-colview.el (org-nofm-to-completion):
23547 * lisp/ps-print.el (ps-plot):
23548 * lisp/simple.el (what-cursor-position):
23549 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
23550 more-complicated and less-accurate approximation.
23551
23552 Fix some int overflows in profiler.c
23553 * src/profiler.c (make_log): Make args EMACS_INT, not int,
23554 to avoid unwanted behavior on 'int' overflow.
23555 (make_log, evict_lower_half, record_backtrace):
23556 Use ptrdiff_t, not int, for object indexes.
23557
23558 Port to pedantic memcpy
23559 * src/keyboard.c (menu_bar_items, tool_bar_items):
23560 * src/xrdb.c (magic_db):
23561 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
23562
23563 Merge from gnulib
23564 This incorporates:
23565 2015-07-29 time_rz: port to pedantic memcpy
23566 * lib/time_rz.c: Copy from gnulib.
23567
23568 2015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
23569
23570 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
23571 When updating the very last entry, tabulated-list-print would
23572 erase it and then try to look at the next one (which obviously
23573 isn't there).
23574
23575 2015-07-31 Eli Zaretskii <eliz@gnu.org>
23576
23577 Allow to use the old key processing code on MS-Windows
23578 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
23579 New variable.
23580 (w32_wnd_proc): Use it to invoke the old code that processed
23581 character keys, as fallback, when this variable is non-nil.
23582 Fix typos in comments. (Bug#19994)
23583
23584 2015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
23585
23586 Improve handling of Unicode keyboard input on MS-Windows
23587 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
23588 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
23589 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
23590 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
23591 successful, don't call TranslateMessage. (Bug#19994)
23592
23593 2015-07-30 Dmitry Gutov <dgutov@yandex.ru>
23594
23595 Fix default-directory in changeset diffs after vc-print-log
23596 * lisp/vc/log-view.el (log-view-diff-common): Move the
23597 revision-granularity check back into log-view-diff-changeset.
23598 (log-view-diff-changeset): Bind default-directory to the current
23599 VC root.
23600
23601 Rename project-directories to project-roots
23602 * lisp/progmodes/project.el (project-search-path-function)
23603 (project-search-path): Update the docstring.
23604 (project-directories): Rename to `project-roots', update all
23605 callers and implementations accordingly.
23606 (project-root): Remove.
23607 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
23608 as the default file mask.
23609
23610 2015-07-30 Eli Zaretskii <eliz@gnu.org>
23611
23612 Support long URLs in w32-shell-execute
23613 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
23614 and filename_to_ansi to convert the DOCUMENT argument, as it could
23615 be a URL that is not limited to MAX_PATH characters. Instead, use
23616 MultiByteToWideChar directly, and allocate heap storage as
23617 required to accommodate the converted string. Likewise with
23618 non-Unicode operation. Ensure OPERATION is null-terminated, even
23619 if it is longer than 32K bytes. (Bug#21158)
23620
23621 2015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
23622
23623 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): Handle null rev.
23624
23625 2015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
23626
23627 Add docs for display-buffer action display-buffer-use-some-frame
23628 * lisp/window.el (display-buffer-use-some-frame): Improve doc string.
23629 * doc/lispref/windows.texi (Display Action Functions):
23630 Add display-buffer-use-some-frame.
23631 * etc/NEWS: Mention display-buffer-use-some-frame.
23632
23633 Add display-buffer action display-buffer-use-some-frame
23634 * lisp/window.el (display-buffer-use-some-frame): New.
23635
23636 Handle vc-mtn error more gently
23637 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): Return "" when
23638 branch is nil.
23639
23640 2015-07-29 Michael Albinus <michael.albinus@gmx.de>
23641
23642 Fix Tramp problems with multihops, and nc
23643 * lisp/net/tramp-cache.el (tramp-get-file-property)
23644 (tramp-set-file-property, tramp-flush-file-property)
23645 (tramp-get-connection-property, tramp-set-connection-property)
23646 (tramp-flush-connection-property): Remove hop from vector.
23647 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
23648 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
23649 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
23650 netstat to 60".
23651 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
23652 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
23653 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
23654 Keep hop in result.
23655 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
23656 Add hop tests.
23657
23658 2015-07-29 Eli Zaretskii <eliz@gnu.org>
23659
23660 Resurrect highlighting of repeated words by Flyspell Mode
23661 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
23662 characters between point and the doublon candidate, so that
23663 flyspell-word-search-backward finds it. (Bug#21157)
23664
23665 Fix redisplay of large images on expose events
23666 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
23667 between signed negative values and unsigned values. This
23668 prevented redisplay on expose events when the window showed a very
23669 large image.
23670
23671 2015-07-29 Paul Eggert <eggert@cs.ucla.edu>
23672
23673 Remove unnecessary stack overflow dependency
23674 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
23675 Don't worry about $ac_cv_header_sys_resource_h and
23676 $ac_cv_func_getrlimit, as they're no longer needed for this.
23677 Problem reported by Eli Zaretskii in:
23678 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
23679
23680 2015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
23681
23682 Pacify compilation -Wincompatible-pointer-types warnings
23683 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
23684 warning.
23685 (CompareStringW_Proc): New typedef.
23686 (w32_compare_strings): Use it, to pacify compiler warnings under
23687 "-Wincompatible-pointer-types".
23688 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
23689 (GetDiskFreeSpaceExA_Proc): New typedefs.
23690 (Ffile_system_info): Use them, to pacify compiler warnings under
23691 "-Wincompatible-pointer-types".
23692
23693 2015-07-28 Paul Eggert <eggert@cs.ucla.edu>
23694
23695 Fix subscript error in calculate_direct_scrolling
23696 Use slightly-longer cost vectors. Without this change,
23697 calculate_direct_scrolling can have a subscript violation when
23698 FRAME_LINES (frame) <= delta.
23699 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
23700 (line_ins_del, do_line_insertion_deletion_costs):
23701 Allocate and use slightly-larger cost vectors, ones based on
23702 FRAME_TOTAL_LINES instead of FRAME_LINES.
23703
23704 Fix uninitalized value in encode_coding_object
23705 * src/coding.c (encode_coding_object): Also initialize
23706 coding->src_pos and coding->src_pos_byte when NILP (src_object).
23707 This avoids later use of uninitialized storage.
23708
23709 2015-07-27 Xue Fuqiao <xfq.free@gmail.com>
23710
23711 * doc/lispref/variables.texi (Variable Aliases): Typo fix.
23712 (Bug#21141)
23713
23714 2015-07-27 Paul Eggert <eggert@cs.ucla.edu>
23715
23716 Merge from gnulib
23717 This incorporates:
23718 2015-07-27 time_rz: port better to MinGW
23719 2015-07-27 time: port __need_time_t to MinGW
23720 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
23721 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
23722 * lib/time-internal.h: New file, from gnulib.
23723
23724 2015-07-27 Eli Zaretskii <eliz@gnu.org>
23725
23726 Handle NULL pointers in w32heap.c allocation routines
23727 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
23728 freeable".
23729 (realloc_after_dump, realloc_before_dump, free_before_dump):
23730 Handle NULL pointers gracefully, as Emacs now seems to expect that.
23731
23732 Fix Cairo build without PNG
23733 * src/image.c: Define PNG function when USE_CAIRO is defined, even
23734 if HAVE_PNG is not. (Bug#21133)
23735
23736 MS-Windows follow-up for recent TZ-related changes
23737 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
23738 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
23739 picking up 'struct timespec' from pthread.h, if it is installed on
23740 the user's system. We want either the definitions from MinGW
23741 system headers, if available, or the Gnulib replacements if not.
23742 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
23743 lib/time.h.
23744 * lib/time.in.h: Don't let __need_* symbols affect what happens on
23745 MinGW. These symbols are defined by MinGW system headers, but we
23746 don't want that to affect whether Gnulib portions of the header
23747 are or aren't used.
23748
23749 2015-07-26 Paul Eggert <eggert@cs.ucla.edu>
23750
23751 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
23752
23753 New optional ZONE arg for format-time-string etc.
23754 This simplifies time conversions in other time zones.
23755 It also prevents display-time-world tampering with TZ (Bug#21020).
23756 * admin/admin.el (add-release-logs):
23757 Use improved add-log-time-format API.
23758 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
23759 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
23760 * configure.ac (tzalloc): Remove test for this, since
23761 Emacs no longer uses HAVE_TZALLOC directly.
23762 * doc/lispref/os.texi (Time of Day, Time Conversion)
23763 (Time Parsing):
23764 * etc/NEWS: Document the new behavior.
23765 Merge from gnulib, incorporating:
23766 2015-07-25 strftime: fix newly-introduced bug on Solaris
23767 2015-07-23 fprintftime, strftime: use timezone_t args
23768 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
23769 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
23770 * m4/time_h.m4:
23771 Update from gnulib.
23772 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
23773 New files from gnulib.
23774 * lisp/time-stamp.el (time-stamp-string):
23775 * lisp/time.el (display-time-world-list)
23776 (display-time-world-display):
23777 Use new API, with time zone arg.
23778 * lisp/time.el (display-time-world-display):
23779 Fix race when current-time advances while we're running.
23780 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
23781 (add-log-iso8601-time-string): Accept optional time zone arg.
23782 * lisp/vc/add-log.el (add-change-log-entry):
23783 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
23784 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
23785 Add rules for the time module, since they're now needed
23786 for tzalloc etc.
23787 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
23788 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
23789 * src/editfns.c: Include errno.h.
23790 (set_time_zone_rule): Omit unnecessary forward decl.
23791 (initial_tz): Remove, replacing with ...
23792 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
23793 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
23794 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
23795 (tzlookup): New static functions.
23796 (init_editfns): New arg DUMPING. All uses changed.
23797 (init_editfns): Omit most initialization if dumping, not if
23798 !initialized. Initialize wall_clock_tz and local_tz.
23799 (emacs_nmemftime, format_time_string): Time zone argument can now
23800 be any time zone, not just a boolean for UTC or local time. All
23801 callers changed.
23802 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
23803 (Fcurrent_time_zone): New optional arg ZONE.
23804 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
23805 the same form as with the other new additions.
23806 (decode_time_zone): Remove; no longer needed.
23807 (tzvalbuf): Now file-scope.
23808 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
23809 (syms_of_editfns): Define Qwall.
23810 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
23811 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
23812 [!HAVE_TZALLOC]:
23813 Remove; now supplied by gnulib.
23814 * src/emacs.c (main):
23815 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
23816
23817 2015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
23818
23819 Fix infinite loop in delete-consecutive-dups
23820 * lisp/subr.el (delete-consecutive-dups): Work even if the last
23821 element is nil (Bug#20588). Avoid rescan of a circular list in
23822 deletion of last element.
23823
23824 2015-07-26 Martin Rudalics <rudalics@gmx.at>
23825
23826 Have `x-frame-geometry' return nil for terminal and initial
23827 frames (Bug#21132)
23828 * src/nsfns.m (Fx_frame_geometry):
23829 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
23830 terminal frames.
23831 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
23832 (Fx_frame_geometry): Return nil for terminal frames
23833
23834 2015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
23835
23836 * etc/tutorials/TUTORIAL.ja: Improve translation.
23837
23838 2015-07-25 Eli Zaretskii <eliz@gnu.org>
23839
23840 Avoid crashes when w32 GUI functions are called in -batch
23841 * src/w32fns.c (Fx_frame_geometry, Fw32_frame_rect)
23842 (Fw32_frame_menu_bar_size, Fw32_send_sys_command): Don't call
23843 FRAME_W32_WINDOW for initial frame. (Bug#21132)
23844
23845 Fix flyspell-check-previous-highlighted-word
23846 * lisp/textmodes/flyspell.el
23847 (flyspell-check-previous-highlighted-word): Really accept a
23848 numeric argument, as the doc string describes. Fix an off-by-one
23849 error in looking up overlays, so invocation with point immediately
23850 after a word would check that word. Clarify the doc string as
23851 Suggested by N. Jackson <nljlistbox2@gmail.com>. (Bug#21129)
23852
23853 2015-07-24 Michael Albinus <michael.albinus@gmx.de>
23854
23855 Minor cleanup in tramp-tests.el
23856 * test/automated/tramp-tests.el (tramp-test31-*, tramp-test32-*):
23857 Implement using the documented interface
23858 `tramp-connection-properties', rather than with internal functions.
23859
23860 2015-07-24 Harald Hanche-Olsen <hanche@math.ntnu.no> (tiny change)
23861
23862 Pass lambdas to `skeleton-read'
23863 * lisp/skeleton.el (skeleton-read): Allow PROMPT to be a function.
23864 * lisp/textmodes/sgml-mode.el (sgml-attributes, sgml-value): Pass
23865 lambdas to `skeleton-read' (bug#20386).
23866
23867 2015-07-24 Eli Zaretskii <eliz@gnu.org>
23868
23869 * INSTALL (DETAILED BUILDING AND INSTALLATION):
23870 Mention --without-imagemagick.
23871
23872 Don't require GUI frames and mouse for Flyspell menus
23873 * lisp/textmodes/flyspell.el (flyspell-correct-word-before-point)
23874 (flyspell-emacs-popup): Require neither a GUI frame nor mouse
23875 support, since pop-up menus work with text terminals and can be
23876 controlled via the keyboard.
23877
23878 Improve documentation of Flyspell commands
23879 * doc/emacs/fixit.texi (Spelling): Mention Flyspell commands that
23880 can be invoked via the keyboard. Mention those commands by name
23881 and add them to the fn index. (Bug#21125)
23882
23883 2015-07-23 Michael Albinus <michael.albinus@gmx.de>
23884
23885 Fix some Tramp problems with HP-UX
23886 * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
23887 Add "tab0" to stty call.
23888 * test/automated/tramp-tests.el (tramp-persistency-file-name):
23889 Set to nil.
23890 (tramp--test-hpux-p): New defun.
23891 (tramp--test-utf8): Use it.
23892
23893 2015-07-22 Glenn Morris <rgm@gnu.org>
23894
23895 * build-aux/update-subdirs: Put "no-update-autoloads: t" in output.
23896
23897 2015-07-22 Eli Zaretskii <eliz@gnu.org>
23898
23899 Fix point positioning in ffap-next-guess
23900 * lisp/ffap.el (ffap-url-at-point): Set ffap-string-at-point-region,
23901 as our callers expect. This was clobbered as part of fixing
23902 bug#5673. (Bug#21107)
23903 (ffap-gopher-at-point): Set ffap-string-at-point-region.
23904
23905 2015-07-22 Martin Rudalics <rudalics@gmx.at>
23906
23907 * lisp/window.el (even-window-sizes): Fix customization type.
23908
23909 Optionally even widths of `display-buffer' windows. (Bug#21100)
23910 * lisp/window.el (quit-restore-window): Restore width if
23911 requested.
23912 (display-buffer-record-window): Record width when window is
23913 reused and horizontally combined.
23914 (even-window-sizes): New option to allow evening window widths.
23915 (even-window-heights): Defalias to `even-window-sizes'.
23916 (window--even-window-heights): Rename to
23917 `window--even-window-sizes'. Handle side-by-side windows.
23918 (display-buffer-use-some-window): Call `window--even-window-sizes'
23919 instead of `window--even-window-heights'.
23920 * lisp/help.el (resize-temp-buffer-window): Fix indentation.
23921 * doc/lispref/windows.texi (Choosing Window Options): Describe
23922 `even-window-sizes'.
23923 (Coordinates and Windows): Fix typo.
23924
23925 2015-07-22 Stephen Leake <stephen_leake@stephe-leake.org>
23926
23927 Add file name to autoload error messages
23928 * lisp/emacs-lisp/autoload.el (autoload-save-buffers):
23929 Add condition-case to add file name to error message.
23930
23931 2015-07-22 Michael Albinus <michael.albinus@gmx.de>
23932
23933 * lisp/net/tramp-sh.el (tramp-ssh-controlmaster-options):
23934 Use 0.0.0.1 as test host.
23935
23936 2015-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
23937
23938 (advice--called-interactively-skip): Fix inf-loop (bug#21083)
23939 * lisp/emacs-lisp/nadvice.el (advice--called-interactively-skip):
23940 Fix inf-loop (bug#21083).
23941
23942 2015-07-21 Glenn Morris <rgm@gnu.org>
23943
23944 * test/automated/package-test.el (package-test-signed):
23945 Update for recent changes.
23946
23947 * test/automated/elisp-mode-tests.el
23948 (elisp-xref-finds-both-function-and-variable)
23949 (elisp-xref-finds-only-function-for-minor-mode):
23950 Update for recent xref name changes.
23951
23952 2015-07-21 Dmitry Gutov <dgutov@yandex.ru>
23953
23954 Make eldoc timer non-repeatable
23955 * lisp/emacs-lisp/eldoc.el (eldoc-schedule-timer): Make the timer
23956 non-repeatable. Since it's on post-command hook, that just wasted
23957 CPU cycles.
23958
23959 2015-07-21 Michael Albinus <michael.albinus@gmx.de>
23960
23961 Mention `tramp-connection-properties' in NEWS
23962
23963 Sync with Tramp repository
23964 * doc/misc/tramp.texi (Configuration): Note, that Tramp must be
23965 required prior changing its configuration.
23966 (Connection caching, Predefined connection information)
23967 (Remote shell setup): Fix typos.
23968 (Predefined connection information): Describe, how to overwrite
23969 parameters of `tramp-methods'.
23970 (Remote programs, Remote processes, Traces and Profiles):
23971 Simplify example.
23972 (Remote programs): Remove superfluous comment.
23973 * doc/misc/trampver.texi: Update release number.
23974 * lisp/net/tramp-cache.el (tramp-connection-properties):
23975 Adapt docstring.
23976 * lisp/net/tramp-gvfs.el (tramp-gvfs-do-copy-or-rename-file): New defun.
23977 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file): Use it.
23978 (tramp-gvfs-handle-make-directory): Reimplement PARENTS handling,
23979 "gvfs-mkdir -p ..." does not work robust.
23980 (tramp-gvfs-maybe-open-connection):
23981 Adapt `tramp-get-method-parameter' call.
23982 * lisp/net/tramp-sh.el (tramp-methods):
23983 Add `tramp-remote-shell-login' parameter where it fits.
23984 (tramp-get-remote-path): Use it.
23985 (tramp-make-copy-program-file-name): Fix quoting for "psftp" method.
23986 (all): Adapt `tramp-get-method-parameter' calls.
23987 * lisp/net/tramp.el (tramp-methods): Adapt docstring.
23988 (tramp-get-method-parameter): Replace argument METHOD by VEC.
23989 Check also for hits in `tramp-connection-properties'. Adapt docstring.
23990 (tramp-get-remote-tmpdir): Cache only the local name of tmpdir.
23991 (all): Adapt `tramp-get-method-parameter' calls.
23992 * lisp/net/trampver.el: Update release number.
23993 * test/automated/tramp-tests.el (tramp--instrument-test-case):
23994 Add "^make-symbolic-link not supported$" to `debug-ignored-errors'.
23995 (tramp-test13-make-directory, tramp--test-adb-p)
23996 (tramp--test-smb-or-windows-nt-p): Simplify.
23997 (tramp--test-ftp-p, tramp--test-gvfs-p): New defuns.
23998 (tramp--test-special-characters): Fix docstring. Add gvfs and
23999 ftp tests.
24000 (tramp--test-utf8): Fix docstring.
24001
24002 2015-07-20 Dmitry Gutov <dgutov@yandex.ru>
24003
24004 Add new xref-query-replace command
24005 * lisp/progmodes/xref.el (xref--match-buffer-bounds):
24006 New function, extracted from xref-pulse-momentarily.
24007 (xref-query-replace): New command.
24008 (xref--query-replace-1): New helper function.
24009 (xref--xref-buffer-mode-map): Add `r' binding.
24010
24011 2015-07-20 Paul Eggert <eggert@cs.ucla.edu>
24012
24013 Simplify icalendar decoding of Z dates
24014 * lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
24015 Simplify calculation of time strings with trailing "Z".
24016
24017 2015-07-19 Dmitry Gutov <dgutov@yandex.ru>
24018
24019 Do not corrupt grep-find-ignored-files
24020 * lisp/progmodes/project.el (project-ignores): Change the order of
24021 the arguments to nconc, in order not to corrupt grep-find-ignored-files.
24022
24023 Add xref-match-item, and use it
24024 * lisp/progmodes/xref.el (xref-match-bounds): New generic function.
24025 (xref-file-location): Add reader for the column slot.
24026 (xref-match-item): New class.
24027 (xref-match-bounds): A method implementation for it.
24028 (xref-make-match): New constructor function.
24029 (xref--current-item): New private variable.
24030 (xref-pulse-momentarily): Use it.
24031 (xref--pop-to-location): Change the first argument to an xref
24032 item, instead of location, bind xref--current-item.
24033 Update all callers.
24034 (xref-next-line, xref-prev-line, xref--next-error-function)
24035 (xref--mouse-2): Look for the property `xref-item',
24036 instead of `xref-location'.
24037 (xref--item-at-point): Likewise. This function replaces
24038 `xref-location-at-point'. Update all callers.
24039 (xref--insert-xrefs): Add the `xref-item' text property, instead
24040 of `xref-location'.
24041 (xref--collect-match): Use xref-make-match.
24042
24043 * lisp/progmodes/xref.el (xref-item): Rename from `xref--xref'.
24044 Update all references.
24045
24046 * lisp/progmodes/xref.el (xref--xref): Rename the `description'
24047 slot to `summary'.
24048
24049 vc-hg: Perform the print-log call asynchronously
24050 * lisp/vc/vc-hg.el (vc-hg-print-log): Perform the call
24051 asynchronously (bug#21067).
24052
24053 Add xref-after-jump-hook and xref-after-return-hook
24054 * lisp/progmodes/xref.el (xref-after-jump-hook)
24055 (xref-after-return-hook): New hooks.
24056 (xref-pulse-on-jump): Remove, in favor of the above.
24057 (xref-pulse-momentarily): Rename from xref--maybe-pulse.
24058 (xref--pop-to-location, xref--display-position)
24059 (xref-pop-marker-stack): Use the new hooks, as requested in
24060 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00213.html
24061
24062 2015-07-19 Bozhidar Batsov <bozhidar@batsov.com>
24063
24064 * lisp/progmodes/js.el (js-mode): Correct the lighter.
24065
24066 2015-07-19 Leo Liu <sdl.web@gmail.com>
24067
24068 Fix a bug in cfengine3-mode
24069 * lisp/progmodes/cfengine.el (cfengine3-mode): Handle nil
24070 eldoc-documentation-function.
24071
24072 2015-07-18 Julien Danjou <julien@danjou.info>
24073
24074 sieve-mode: support "body" test command
24075 * lisp/gnus/sieve-mode.el (sieve-font-lock-keywords):
24076 Add missing "body" test command.
24077
24078 2015-07-18 Eli Zaretskii <eliz@gnu.org>
24079
24080 Fix info-apropos when the default encoding is Latin-N
24081 * lisp/info.el (Info-find-node-2): Reset the buffer's encoding to
24082 'undecided', so that it is set to the encoding of the Info file we
24083 are about to insert. Otherwise, 'info-apropos' will fail to find
24084 some index nodes in some UTF-8 encoded files, if the buffer's
24085 previous encoding is Latin-N or some such.
24086
24087 2015-07-18 Ivan Andrus <darthandrus@gmail.com>
24088
24089 * lisp/epg.el (epg--start): Check that gpgconf can be found
24090 before calling it.
24091
24092 Expose more file types to OS X that Emacs understands
24093 * nextstep/Cocoa/Emacs.base/Contents/Info.plist: Add editor role for
24094 sty, dtx, json, and org files. Export UTIs for el, elc, and org files.
24095
24096 2015-07-18 Eli Zaretskii <eliz@gnu.org>
24097
24098 Fix visual-order cursor movement when lines are truncated
24099 * src/xdisp.c (Fmove_point_visually): When lines are truncated,
24100 simulate display in a window of infinite width, to allow move_it_*
24101 functions reach positions outside of normal window dimensions.
24102 Remove code that tried to handle a subset of these situations by
24103 manual iteration of buffer text. (Bug#17777)
24104
24105 Fix following Info cross-references to anchors
24106 * lisp/info.el (Info-read-subfile): Add to the returned value the
24107 length of subfile preamble, after converting it to file's byte
24108 offset, as expected by the caller. Use bufferpos-to-filepos.
24109 (Info-find-node-2): If searching for a node with a
24110 1000-character slop fails, try again with a 10000-character slop,
24111 to account for known bugs in Texinfo 5.0 and 5.1. (Bug#21055)
24112 * lisp/international/mule-util.el (bufferpos-to-filepos): New
24113 function.
24114 * etc/NEWS: Mention bufferpos-to-filepos.
24115
24116 Fix scrolling backwards on TTY frames under scroll-conservatively
24117 * src/xdisp.c (move_it_vertically_backward): Fix off-by-one error
24118 in moving backwards on TTY frames. (Bug#21080)
24119
24120 2015-07-17 Dmitry Gutov <dgutov@yandex.ru>
24121
24122 Consider a jsdoc tag to be a beginning of a paragraph as well
24123 * lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
24124 consider a jsdoc tag to be a beginning of a paragraph as well.
24125
24126 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
24127
24128 * lisp/emacs-lisp/package.el: Fix warnings.
24129
24130 * lisp/emacs-lisp/package.el (package-buffer-info):
24131 Add author and maintainers to `package-buffer-info'.
24132
24133 * lisp/emacs-lisp/package.el: Many small changes.
24134 Replace all instances of 'face with 'font-lock-face.
24135 (describe-package-1): Improve some strings and move the summary
24136 up the list.
24137 (package-install-file): Update docstring.
24138 (package-menu-hide-package): Bind to `H'.
24139
24140 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
24141 Fix error handling.
24142
24143 2015-07-17 Paul Eggert <eggert@cs.ucla.edu>
24144
24145 Fix hang with large yanks This should fix the bug fixed by Mike
24146 Crowe's patch in:
24147 https://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00106.html
24148 A problem in this area has been reported by several users; see
24149 Bug#16737, Bug#17101, Bug#17026, Bug#17172, Bug#19320, Bug#20283.
24150 This fix differs from Mike Crowe's patch in that it should avoid a
24151 race condition that could lose SIGIO signals. ignore_sigio dates
24152 back to the 1980s when some platforms couldn't block signals, and
24153 could only ignore them, which led to races when signals arrived
24154 while being ignored. We shouldn't have to worry about those old
24155 platforms now.
24156 * src/dispextern.h, src/sysdep.c (ignore_sigio): Remove.
24157 * src/emacs.c (shut_down_emacs):
24158 Don't call ignore_sigio; unrequest_sigio should suffice.
24159 * src/keyboard.c (kbd_buffer_store_buffered_event):
24160 Use unrequest_sigio, not ignore_sigio.
24161 (kbd_buffer_get_event):
24162 Call request_sigio when getting the ball rolling again.
24163
24164 2015-07-17 Artur Malabarba <bruce.connor.am@gmail.com>
24165
24166 * lisp/obsolete/longlines.el (longlines-search-function):
24167 Fallback on `isearch-search-fun-default'.
24168
24169 2015-07-17 Tassilo Horn <tsdh@gnu.org>
24170
24171 Support @-mentions
24172 * lisp/net/rcirc.el (rcirc-completion-at-point): Support completion
24173 of mentions/messages with @nick instead of just nick.
24174
24175 2015-07-16 Michael Albinus <michael.albinus@gmx.de>
24176
24177 Fix bug#20943
24178 * lisp/autorevert.el (auto-revert-handler): Do not check for
24179 `buffer-modified-p'.
24180 * lisp/files.el (buffer-stale--default-function): Check for
24181 `buffer-modified-p'.
24182 * test/automated/auto-revert-tests.el
24183 (auto-revert-test02-auto-revert-mode-dired): Adapt test.
24184
24185 2015-07-16 Ari Roponen <ari.roponen@gmail.com>
24186
24187 Fix delete-dups bug on long lists
24188 * lisp/subr.el (delete-dups):
24189 Don't mistakenly keep some dups when applied to long lists.
24190
24191 2015-07-16 Paul Eggert <eggert@cs.ucla.edu>
24192
24193 Better heuristic for C stack overflow
24194 Improve the heuristic for distinguishing stack overflows from
24195 other SIGSEGV causes (Bug#21004). Corinna Vinschen explained that
24196 the getrlimit method wasn't portable to Cygwin; see:
24197 https://www.cygwin.com/ml/cygwin/2015-07/msg00092.html
24198 Corinna suggested pthread_getattr_np but this also has problems.
24199 Instead, replace the low-level system stuff with a simple
24200 heuristic based on known good stack addresses.
24201 * src/eval.c, src/lisp.h (near_C_stack_top): New function.
24202 * src/sysdep.c: Don't include <sys/resource.h>.
24203 (stack_direction): Remove. All uses removed.
24204 (stack_overflow): New function.
24205 (handle_sigsegv): Use it instead of incorrect getrlimit heuristic.
24206 Make SEGV fatal in non-main threads.
24207
24208 2015-07-16 Daiki Ueno <ueno@gnu.org>
24209
24210 epg: Automatically start pinentry server
24211 * lisp/epg-config.el (epg-gpgconf-program): New variable.
24212 * lisp/epg.el (epg--start): Call `pinentry-start' if
24213 allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
24214
24215 2015-07-15 Katsumi Yamaoka <yamaoka@jpl.org>
24216
24217 * lisp/gnus/nnimap.el: Fix my last bogus change.
24218 Reinstall Stefan Monnier's change that was made in
24219 <83d824bc4041332f338ad7e5e830f443535aa300>.
24220
24221 2015-07-15 Paul Eggert <eggert@cs.ucla.edu>
24222
24223 Merge from gnulib
24224 This incorporates:
24225 2015-07-05 acl-permissions: Document FreeBSD ACL_TYPE_NFS4 acls
24226 2015-07-05 acl-permissions: Fix on FreeBSD
24227 2015-07-05 file-has-acl, acl-permissions: fix some more HP-UX typos
24228 * lib/acl-internal.c, lib/acl-internal.h, lib/get-permissions.c:
24229 * lib/set-permissions.c: Copy from gnulib.
24230
24231 Port to stricter C99
24232 * src/keyboard.h (kbd_buffer_store_event_hold):
24233 Don't return a void expression.
24234
24235 2015-07-15 Xue Fuqiao <xfq.free@gmail.com>
24236
24237 * doc/emacs/frames.texi (Creating Frames):
24238 Fix the command `C-x 5 m' runs.
24239
24240 2015-07-14 Michael Albinus <michael.albinus@gmx.de>
24241
24242 New autorevert tests
24243 * test/automated/auto-revert-tests.el: New file.
24244
24245 2015-07-14 Paul Eggert <eggert@cs.ucla.edu>
24246
24247 Clear gcprolist etc. after stack overflow
24248 After stack overflow, command_loop calls init_eval, and this needs to
24249 clear gcprolist and byte_stack_list (Bug#20996).
24250 * src/alloc.c (init_alloc):
24251 Move gcprolist and byte_stack_list initialization from here ...
24252 * src/eval.c (init_eval): ... to here.
24253
24254 2015-07-13 Xue Fuqiao <xfq.free@gmail.com>
24255
24256 * doc/emacs/windows.texi (Pop Up Window): Fix the description
24257 of `C-x 4 m'.
24258
24259 2015-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24260
24261 Avoid deprecated enums in mac-ct font backend driver
24262 * src/macfont.m (mac_font_copy_default_descriptors_for_language)
24263 (mac_ctfont_get_advance_width_for_glyph)
24264 (mac_ctfont_get_bounding_rect_for_glyph): Avoid deprecated enums.
24265
24266 Cache font family in mac-ct font backend driver
24267 * src/macfont.m (macfont_family_cache): New variable.
24268 (syms_of_macfont): Initialize it.
24269 (macfont_available_families_cache): New variable.
24270 (macfont_invalidate_family_cache, macfont_get_family_cache_if_present)
24271 (macfont_set_family_cache, macfont_invalidate_available_families_cache)
24272 (macfont_handle_font_change_notification)
24273 (macfont_init_font_change_handler)
24274 (macfont_copy_available_families_cache): New functions.
24275 (macfont_create_family_with_symbol): Use font family caches.
24276 (macfont_list, macfont_list_family):
24277 Use macfont_copy_available_families_cache instead of
24278 mac_font_create_available_families.
24279
24280 2015-07-12 Dmitry Gutov <dgutov@yandex.ru>
24281
24282 Show the default value in the prompt
24283 * lisp/progmodes/xref.el: Add `M-?' binding for
24284 xref-find-references. Declare functions `grep-read-files' and
24285 `grep-expand-template'.
24286 (xref--read-identifier): Show the default value in the prompt.
24287
24288 * lisp/progmodes/xref.el (xref-find-regexp): When called with
24289 prefix argument, ask for file patterns to search as well. When
24290 prompting for the directory, require an existing one.
24291 (xref-collect-matches): Add a new argument, FILES. Use it in the
24292 above function.
24293
24294 Add `project-ignores'
24295 * lisp/progmodes/project.el (project-ignores): New generic
24296 function, and an implementation for the VC project type.
24297 * lisp/progmodes/xref.el (xref--rgrep-command): Split, as a
24298 variant of rgrep-default-command that handles a generic list of
24299 ignores.
24300 (xref-collect-matches): Use it, and pass through to it the value
24301 of the newly added argument.
24302 (xref-find-regexp): Handle ignored paths within the project.
24303 Remove outdated comment.
24304 * lisp/vc/vc.el (vc-default-ignore-completion-table):
24305 Skip the comments and the empty lines.
24306
24307 2015-07-12 Xue Fuqiao <xfq.free@gmail.com>
24308
24309 * doc/emacs/buffers.texi (Misc Buffer): Add a cross reference.
24310
24311 2015-07-11 Eric Abrahamsen <eric@ericabrahamsen.net>
24312
24313 gnus-registry.el: Correct function argument order
24314 * lisp/gnus/gnus-registry.el (gnus-registry--set/remove-mark):
24315 Reverse the order of function arguments.
24316
24317 2015-07-11 Dmitry Gutov <dgutov@yandex.ru>
24318
24319 Bind grep-highlight-matches to nil
24320 * lisp/progmodes/xref.el (xref-collect-matches):
24321 Bind grep-highlight-matches to nil (bug#20728).
24322
24323 2015-07-11 Nikolaus Rath <Nikolaus@rath.org>
24324
24325 nnimap.el: Fix IMAP message size parsing
24326 * lisp/gnus/nnimap.el (nnimap-transform-headers):
24327 Don't assume that UID comes before RFC822.SIZE.
24328
24329 2015-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
24330
24331 * lisp/gnus/nnimap.el: Clean up "unused var" warnings
24332 (auth-source-creation-prompts): Declare.
24333 (nnimap-retrieve-headers, nnimap-status-message)
24334 (nnimap-request-create-group, nnimap-request-delete-group)
24335 (nnimap-close-group, nnimap-request-move-article)
24336 (nnimap-request-accept-article, nnimap-request-newgroups)
24337 (nnimap-request-post, nnimap-dummy-active-number)
24338 (nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
24339 (nnimap-parse-flags): Remove unused var `p'.
24340 (nnimap-retrieve-group-data-early): Remove unused var `groups'.
24341 (nnimap-flags-to-marks): Remove unused var `totalp'.
24342
24343 2015-07-10 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
24344
24345 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 20MB.
24346
24347 2015-07-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24348
24349 * src/macfont.m (macfont_list): Ignore font families lacking
24350 font descriptors.
24351
24352 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
24353
24354 Don't check the exit status, it can be misleading
24355 * lisp/progmodes/xref.el (xref-collect-matches): Don't check the
24356 exit status, it can be misleading.
24357
24358 Introduce a Project API
24359 * lisp/progmodes/project.el: New file.
24360 * lisp/cedet/ede.el (project-try-ede): New function.
24361 (project-root): New implementation.
24362 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
24363 Set project-search-path-function.
24364 (elisp--xref-find-references): Delegate some logic to
24365 project-search-path.
24366 (elisp-search-path): New function.
24367 (elisp-xref-find): Don't implement `matches' anymore.
24368 * lisp/progmodes/etags.el: Don't implement `matches'.
24369 Delegate some logic to project-search-path.
24370 (etags-search-path): New function.
24371 * lisp/progmodes/xref.el (xref-find-function):
24372 Remove `matches' from the API.
24373 (xref-find-regexp): Move whatever common logic was in elisp and
24374 etags implementations, and search the directories returned by
24375 project-directories and project-search-path.
24376
24377 2015-07-09 Nicolas Petton <nicolas@petton.fr>
24378
24379 * test/automated/map-tests.el (test-map-delete-return-value):
24380 Uncomment test.
24381
24382 Add support for gv.el in map.el
24383 * lisp/emacs-lisp/map.el (map-elt, map-delete): Declare a gv-expander.
24384 * lisp/emacs-lisp/map.el (map-put): Refactor using `setf' and `map-elt'.
24385 * test/automated/map-tests.el: Update tests to work with the new
24386 implementations of map-elt and map-put.
24387
24388 2015-07-09 Glenn Morris <rgm@gnu.org>
24389
24390 * lisp/emacs-lisp/debug.el (debug-help-follow): Use describe-symbol.
24391
24392 2015-07-09 Dmitry Gutov <dgutov@yandex.ru>
24393
24394 Syntax-propertize until the end of the line first
24395 * lisp/progmodes/xref.el (xref--collect-match): Syntax-propertize
24396 until the end of the line first.
24397
24398 2015-07-09 Xue Fuqiao <xfq.free@gmail.com>
24399
24400 * doc/emacs/files.texi (File Archives): Add a cross reference.
24401
24402 2015-07-08 Nikolaus Rath <Nikolaus@rath.org>
24403
24404 nnimap.el: Handle plain value for nnimap-stream
24405 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Always query
24406 capabilities, so that a 'plain value for the `nnimap-stream' server
24407 variable is handled correctly.
24408 * doc/misc/gnus.texi (Customizing the IMAP Connection):
24409 Document the 'plain option.
24410
24411 2015-07-08 Leo Liu <sdl.web@gmail.com>
24412
24413 Fix bug in thing-at-point--bounds-of-well-formed-url
24414 * lisp/thingatpt.el (thing-at-point--bounds-of-well-formed-url): Make
24415 sure boundary contains current point.
24416
24417 2015-07-08 Dmitry Gutov <dgutov@yandex.ru>
24418
24419 * lisp/progmodes/xref.el (xref-collect-matches): Use `nreverse'
24420 in the end.
24421
24422 Declare whitespace-line-column a safe file-local
24423 * lisp/whitespace.el (whitespace-line-column): Declare to be a
24424 safe file-local when the value is an integer.
24425
24426 2015-07-08 Eric Abrahamsen <eric@ericabrahamsen.net>
24427
24428 gnus-group.el: Check if group names are already strings
24429 * lisp/gnus/gnus-group.el (gnus-group-group-name):
24430 The group name may already be a string.
24431 Specifically, in the group list reached from the *Server* buffer,
24432 the 'gnus-group text property returns a string. Everywhere else
24433 it returns a symbol.
24434
24435 nnimap.el: Remove unused let variables
24436 * lisp/gnus/nnimap.el (nnimap-request-group): Variables are not used.
24437
24438 2015-07-08 Eli Zaretskii <eliz@gnu.org>
24439
24440 Support "maximized" property of runemacs's shortcut
24441 * nt/runemacs.c (WinMain): If runemacs is invoked "maximized", pass
24442 the '--maximized' switch to Emacs.
24443
24444 Support "minimized" property of runemacs's shortcut
24445 * nt/runemacs.c (WinMain): If runemacs is invoked "minimized",
24446 pass the '--iconic' switch to Emacs. (Bug#20991)
24447
24448 2015-07-08 Xue Fuqiao <xfq.free@gmail.com>
24449
24450 Doc fixes
24451 * doc/emacs/files.texi (Diff Mode): Fix the description of `C-c
24452 C-w' in Diff mode.
24453 * doc/emacs/arevert-xtra.texi (Auto Reverting the Buffer Menu):
24454 Add a cross reference.
24455
24456 2015-07-08 Nicolas Richard <youngfrog@members.fsf.org>
24457
24458 * lisp/obsolete/landmark.el: Add Obsolete-since header.
24459
24460 2015-07-07 Glenn Morris <rgm@gnu.org>
24461
24462 * test/automated/ert-tests.el (ert-test-deftest):
24463 Update for recent changes.
24464
24465 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
24466
24467 (gv-setter, gv-synthetic-place, gv-delay-error): New funs/macros
24468 * lisp/emacs-lisp/gv.el (gv-setter): New function.
24469 (gv-invalid-place): New error.
24470 (gv-get): Use them.
24471 (gv-synthetic-place, gv-delay-error): New places.
24472 * lisp/emacs-lisp/cl-generic.el (cl--generic-setf-rewrite): Remove.
24473 (cl-defgeneric, cl-defmethod): Use gv-setter.
24474
24475 2015-07-07 Fabrice Popineau <fabrice.popineau@gmail.com>
24476
24477 Make vc-tests work with MSYS svn program
24478 * lisp/vc/vc-svn.el (vc-svn-create-repo): Fix the file:// URL when
24479 svn is an MSYS program.
24480
24481 2015-07-07 Ken Brown <kbrown@cornell.edu>
24482
24483 Improve recent change to emacsclient on Cygwin
24484 * lisp/server.el (server-process-filter): Remove redundant check
24485 that 'cygwin-convert-file-name-from-windows' is defined as a
24486 function on Cygwin. Don't call that function unless its argument
24487 starts with a drive letter.
24488
24489 2015-07-07 Artur Malabarba <bruce.connor.am@gmail.com>
24490
24491 * lisp/emacs-lisp/package.el (package-compute-transaction):
24492 Fix void variable due to `found-something' being in the wrong `let'.
24493
24494 2015-07-07 Nicolas Richard <theonewiththeevillook@yahoo.fr>
24495
24496 * lisp/play/landmark.el: Move to lisp/obsolete/.
24497
24498 2015-07-07 Martin Rudalics <rudalics@gmx.at>
24499
24500 Have `x-show-tip' handle `right' and `bottom' frame parameters
24501 * src/nsfns.m (compute_tip_xy, Fx_show_tip)
24502 * src/w32fns.c (compute_tip_xy, Fx_show_tip)
24503 * src/xfns.c (compute_tip_xy, Fx_show_tip): Allow aligning
24504 tooltips also via `right' and `bottom' frame parameters.
24505
24506 2015-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
24507
24508 Add online-help support to describe types
24509 * lisp/help-fns.el (describe-symbol-backends): Move to help-mode.el.
24510 (describe-symbol): Improve the selection of default.
24511 * lisp/help-mode.el: Require cl-lib.
24512 (describe-symbol-backends): Move from help-fns.el.
24513 (help-make-xrefs): Use it.
24514 * lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Add entry
24515 for types.
24516 (cl--typedef-regexp): New const.
24517 (find-function-regexp-alist): Add entry for types.
24518 (cl-help-type, cl-type-definition): New buttons.
24519 (cl-find-class): New function.
24520 (cl-describe-type): New command.
24521 (cl--describe-class, cl--describe-class-slot)
24522 (cl--describe-class-slots): New functions, moved from eieio-opt.el.
24523 * lisp/emacs-lisp/cl-generic.el (cl--generic-method-documentation)
24524 (cl--generic-all-functions, cl--generic-specializers-apply-to-type-p):
24525 New functions. Moved from eieio-opt.el.
24526 (cl--generic-class-parents): New function, extracted from
24527 cl--generic-struct-specializers.
24528 (cl--generic-struct-specializers): Use it.
24529 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Use pcase-dolist.
24530 Improve constructor's docstrings.
24531 (cl-struct-unknown-slot): New error.
24532 (cl-struct-slot-offset): Use it.
24533 * lisp/emacs-lisp/cl-preloaded.el (cl-struct-define): Record the type
24534 definition in current-load-list.
24535 * lisp/emacs-lisp/eieio-core.el (eieio--known-slot-names): New var.
24536 (eieio--add-new-slot): Set it.
24537 (eieio-defclass-internal): Use new name for current-load-list.
24538 (eieio-oref): Add compiler-macro to warn about unknown slots.
24539 * lisp/emacs-lisp/eieio.el (defclass): Update eieio--known-slot-names
24540 as compile-time as well. Improve constructor docstrings.
24541 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
24542 (eieio--help-print-slot, eieio-help-class-slots): Move to cl-extra.el.
24543 (eieio-class-def): Remove button.
24544 (eieio-help-constructor): Use new name for load-history element.
24545 (eieio--specializers-apply-to-class-p, eieio-all-generic-functions)
24546 (eieio-method-documentation): Move to cl-generic.el.
24547 (eieio-display-method-list): Use new names.
24548 * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
24549 Add "define-linline".
24550 (lisp-fdefs): Remove "defsubst".
24551 (el-fdefs): Add "defsubst", "cl-defsubst", and "define-linline".
24552 * lisp/emacs-lisp/macroexp.el (macroexp--warned): New var.
24553 (macroexp--warn-and-return): Use it to avoid inf-loops.
24554 Add `compile-only' argument.
24555
24556 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
24557
24558 python.el: Fix local/remote shell environment setup
24559 * lisp/progmodes/python.el (python-shell-with-environment):
24560 Fix remote/local environment setup.
24561 * test/automated/python-tests.el (python-shell-with-environment-1)
24562 (python-shell-with-environment-2): New tests.
24563
24564 2015-07-06 Glenn Morris <rgm@gnu.org>
24565
24566 * lisp/simple.el (set-variable): Tweak recent doc fix.
24567
24568 2015-07-06 Ken Brown <kbrown@cornell.edu>
24569
24570 * src/sysdep.c (handle_sigsegv) [CYGWIN]: Increase STACK_DANGER_ZONE.
24571
24572 2015-07-06 Glenn Morris <rgm@gnu.org>
24573
24574 * lisp/simple.el (set-variable): Use user-error for type mismatch.
24575
24576 2015-07-06 Ken Brown <kbrown@cornell.edu>
24577
24578 * src/emacs.c (main): Don't increase the stack size on Cygwin.
24579
24580 2015-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
24581
24582 (describe-symbol): Rewrite describe-function-or-variable
24583 * lisp/help-fns.el (describe-symbol-backends): New var.
24584 (help-xref-stack-item): Declare.
24585 (describe-symbol): Rename from describe-function-or-variable.
24586 Rewrite using describe-symbol-backends instead of help-xref-interned.
24587 * lisp/help.el (help-map): Use it.
24588 * lisp/help-mode.el (help-symbol, help-follow-symbol): Use it.
24589 (help-xref-interned): Make it into an obsolete alias.
24590
24591 * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Don't ignore
24592 `file' arg (bug#20972). Always use utf-8-emacs. Use with-temp-buffer
24593 and cl-letf.
24594
24595 2015-07-06 Wolfgang Jenkner <wjenkner@inode.at>
24596
24597 Fix parsing glitches in dired-mark-sexp (bug#13575)
24598 * lisp/dired-x.el (dired-x--string-to-number): New function.
24599 (dired-mark-sexp): Use it. Tweak dired-re-inode-size. Fix usage
24600 of directory-listing-before-filename-regexp. Consider
24601 forward-word harmful and replace it. Add more verbiage in
24602 comments and doc string.
24603
24604 2015-07-06 Fabián Ezequiel Gallina <fgallina@gnu.org>
24605
24606 python.el: Respect process environment for remote shells
24607 * lisp/progmodes/python.el
24608 (python-shell-calculate-process-environment): Calculate
24609 process-environment or tramp-remote-process-environment depending
24610 whether current file is remote.
24611 (python-shell-calculate-exec-path): Calculate exec-path or
24612 tramp-remote-path depending whether current file is remote.
24613 (python-shell-with-environment): New macro.
24614 (python-shell-prompt-detect, python-shell-calculate-command)
24615 (python-shell-make-comint, python-check): Use it.
24616
24617 python.el: Avoid making let-bound defvars buffer local (Bug#18244)
24618 * lisp/progmodes/python.el (python-shell--interpreter)
24619 (python-shell--interpreter-args): New vars.
24620 (inferior-python-mode, python-shell-make-comint): Use them.
24621
24622 python.el: Fixes for IPython 3.x (Bug#20580)
24623 * lisp/progmodes/python.el:
24624 (python-shell-completion-native-setup): Fix IPython 3.x setup.
24625 (python-shell-completion-native-get-completions): Fix timeout
24626 logic.
24627
24628 python.el: Fix mark-defun behavior (Bug#19665)
24629 * lisp/progmodes/python.el (python-mark-defun): New function.
24630 * test/automated/python-tests.el (python-mark-defun-1)
24631 (python-mark-defun-2, python-mark-defun-3): New tests.
24632
24633 2015-07-05 Glenn Morris <rgm@gnu.org>
24634
24635 * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists
24636 such as "extends(parent), private". (Bug#20969)
24637 * test/automated/f90.el (f90-test-bug20969, f90-test-bug20969b):
24638 New tests.
24639
24640 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
24641
24642 Avoid duplicate calls to current_timespec
24643 * src/process.c (wait_reading_process_output):
24644 Cache current_timespec results as long as we're not waiting.
24645
24646 2015-07-05 Ian Kelling <ian@iankelling.org>
24647
24648 Avoid returning early reading process output due to SIGIO
24649 * src/process.c (wait_reading_process_output): Extend the behavior of
24650 not breaking due to not finding output when a timer has lowered the
24651 timeout to include when SIGIO lowers the timeout.
24652
24653 Don't return as fast reading any process output
24654 * src/process.c (wait_reading_process_output):
24655 The patch for Bug#17647 returns too fast sometimes when reading
24656 from any processes. Revert part of it, and limit the timeout more
24657 sensibly (Bug#20978).
24658
24659 Refactor timeouts in wait_reading_process_output
24660 * src/process.c (wait_reading_process_output):
24661 Simplify timeouts with an enum. Remove a redundant condition.
24662 (Bug#20978)
24663
24664 Remove ADAPTIVE_READ_BUFFERING ifdef
24665 * src/process.c (make-process, make-pipe-process, deactivate_process)
24666 (wait_reading_process_output, read_process_output, send_process)
24667 (init_process_emacs): ifdef ADAPTIVE_READ_BUFFERING was originally
24668 added in case there was an operating system in which it was not
24669 useful. That was 11 years ago and it hasn't happened. Make
24670 development easier by not considering the effect of changes on a
24671 theoretical OS where this is disabled (Bug#20978).
24672
24673 2015-07-05 Glenn Morris <rgm@gnu.org>
24674
24675 * lisp/simple.el (set-variable): Doc fix.
24676
24677 * lisp/progmodes/fortran.el (fortran-line-length): Doc fix.
24678
24679 2015-07-05 Ian Kelling <ian@iankelling.org>
24680
24681 accept-process-output fix
24682 This is a followon to the fix for bug#17647 (Bug#20976).
24683 * src/process.c (status_notify): Fix too high return in some cases.
24684
24685 2015-07-05 Artur Malabarba <bruce.connor.am@gmail.com>
24686
24687 * lisp/character-fold.el (character-fold-table):
24688 Only fold decompositions if at least one character is non-spacing.
24689 (Bug#20975)
24690
24691 2015-07-05 Paul Eggert <eggert@cs.ucla.edu>
24692
24693 Merge from gnulib
24694 This incorporates:
24695 2015-07-04 file-has-acl, acl-permissions: fix HP-UX typos
24696 2015-07-03 set-permissions.c: adjust acl_from_mode's cpp guard
24697 2015-07-02 update-copyright: fix test failure with perl >= 5.22
24698 2015-07-01 gnulib-common.m4: change the ARFLAGS default to 'cr'
24699 2015-07-01 acl: fix definition of acl_from_mode on FreeBSD
24700 * build-aux/update-copyright, doc/misc/texinfo.tex, lib/acl-internal.h:
24701 * lib/set-permissions.c, m4/gnulib-common.m4: Copy from gnulib.
24702
24703 2015-07-05 Christoph Wedler <christoph.wedler@sap.com>
24704
24705 Respect `prog-indentation-context' in python.el
24706 * lisp/progmodes/python.el (python-indent-guess-indent-offset)
24707 (python-indent-context, python-indent--calculate-indentation)
24708 (python-info-current-defun)
24709 (python-info-dedenter-opening-block-message)
24710 (python-info-line-ends-backslash-p)
24711 (python-info-beginning-of-backslash)
24712 (python-info-continuation-line-p): Use `prog-widen'.
24713 (python-indent--calculate-indentation)
24714 (python-indent--calculate-levels)
24715 (python-indent-calculate-indentation): Use `prog-first-column'.
24716 (python-indent--calculate-levels): Simplify.
24717 Ignore also initial empty lines for syntax calculation.
24718 * lisp/progmodes/python.el (python-indent-context): Return
24719 :no-indent for first non-empty line, not just in line 1.
24720 * test/automated/python-tests.el (python-indent-base-case)
24721 (python-indent-inside-paren-1, python-indent-inside-paren-2)
24722 (python-indent-inside-paren-3, python-indent-inside-paren-4)
24723 (python-indent-inside-paren-5, python-indent-inside-paren-6)
24724 (python-indent-after-backslash-1)
24725 (python-indent-after-backslash-2)
24726 (python-indent-after-backslash-3)
24727 (python-indent-after-backslash-4, python-indent-inside-string-1):
24728 Expect :no-indent for first non-empty line.
24729
24730 2015-07-04 Daniel Colascione <dancol@dancol.org>
24731
24732 Factor isearch word description into new function
24733 * lisp/isearch.el (isearch--describe-word-mode): New function.
24734 (isearch-message-prefix, isearch-query-replace): Use it.
24735
24736 2015-07-04 Eli Zaretskii <eliz@gnu.org>
24737
24738 Fix mouse pointer on w32 when a menu is active
24739 * src/w32fns.c (w32_wnd_proc): Don't change the mouse pointer
24740 shape while a menu is in use. This started happening since we now
24741 send WM_EMACS_SHOWCURSOR messages when the mouse moves.
24742
24743 2015-07-04 Martin Rudalics <rudalics@gmx.at>
24744
24745 Fix processing of alpha parameter for Windows tip frames (Bug#17344)
24746 * src/w32fns.c (x_create_tip_frame): Fix processing alpha
24747 parameter. (Bug#17344)
24748
24749 Have `compilation-set-window' use right window for getting fringes
24750 (Bug#20829)
24751 * lisp/progmodes/compile.el (compilation-set-window):
24752 Take `window-fringes' from argument window.
24753
24754 2015-07-03 Glenn Morris <rgm@gnu.org>
24755
24756 Update eieio tests for recent eieio-core change.
24757 * test/automated/eieio-test-persist.el (persist-test-save-and-compare):
24758 * test/automated/eieio-tests.el
24759 (eieio-test-32-slot-attribute-override-2):
24760 Replace the deleted eieio--class-v with cl--find-class.
24761
24762 2015-07-03 Martin Rudalics <rudalics@gmx.at>
24763
24764 Fix some issues with `window-divider-mode'
24765 * lisp/frame.el (window-divider-default-places): New option.
24766 (window-divider-mode): Remove option.
24767 (window-divider-mode): Make it a "regular" minor mode.
24768 (window-divider-width-valid-p): Drop frame- prefix.
24769 (window-divider-mode-apply): New argument ENABLE. Drop frame-
24770 prefix. Handle `window-divider-default-places'.
24771 (frame--window-divider-mode-set-and-apply): Remove.
24772 (window-divider-default-bottom-width)
24773 (window-divider-default-right-width): Drop :group entries.
24774 * lisp/menu-bar.el (menu-bar-bottom-and-right-window-divider)
24775 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
24776 (menu-bar-no-window-divider): Set `window-divider-default-places'
24777 and call `window-divider-mode'.
24778 * doc/emacs/frames.texi (Window Dividers): Document
24779 `window-divider-default-places'.
24780
24781 2015-07-02 Xue Fuqiao <xfq.free@gmail.com>
24782
24783 * doc/emacs/display.texi (Displaying Boundaries):
24784 * doc/emacs/search.texi (Word Search): Add cross references.
24785
24786 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
24787
24788 -batch should not affect ‘’ -> `' display
24789 * lisp/startup.el (command-line): Do the ‘’ -> `' check even if
24790 -batch (Bug#20926).
24791
24792 2015-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
24793
24794 * lisp/emacs-lisp/eieio-core.el (eieio--class-v): Remove
24795 * lisp/emacs-lisp/eieio-core.el, lisp/emacs-lisp/eieio.el:
24796 * lisp/emacs-lisp/eieio-opt.el, lisp/emacs-lisp/eieio-compat.el:
24797 Use cl--find-class instead.
24798
24799 * lisp/term/xterm.el (xterm--query): Fix paren typo (bug#20951).
24800
24801 2015-07-02 Martin Rudalics <rudalics@gmx.at>
24802
24803 Some further fixes in Change Window node (Bug#20183)
24804 * doc/emacs/windows.texi (Change Window): Replace "rearranging"
24805 by "resizing" in section title. Add some concept indices.
24806 Suggested by N. Jackson (Bug#20183).
24807
24808 * doc/emacs/windows.texi (Change Window): Reference window
24809 dividers.
24810
24811 Document new `window-divider-mode'.
24812 * lisp/frame.el (window-divider-mode): Fix doc-string.
24813 * doc/emacs/frames.texi (Window Dividers): New section.
24814
24815 Improve accessibility of window dividers (Bug#20183)
24816 * lisp/faces.el (window-divider)
24817 (window-divider-first-pixel, window-divider-last-pixel): Change
24818 membership from `frames' to `window-divider' customization group.
24819 * lisp/frame.el (window-divider): New customization group.
24820 (window-divider-mode): New minor mode.
24821 (window-divider-default-bottom-width)
24822 (window-divider-default-right-width): New options.
24823 (frame--window-divider-previous-mode): New variable.
24824 (frame-window-divider-width-valid-p)
24825 (frame--window-divider-mode-apply)
24826 (frame--window-divider-mode-set-and-apply): New functions.
24827 * lisp/menu-bar.el (menu-bar-options-save): Save
24828 window-divider-mode settings.
24829 (menu-bar-window-divider-customize)
24830 (menu-bar-bottom-and-right-window-divider)
24831 (menu-bar-right-window-divider, menu-bar-bottom-window-divider)
24832 (menu-bar-no-window-divider): New functions.
24833 (menu-bar-showhide-window-divider-menu): New variable.
24834 (menu-bar-showhide-menu): Show/hide window divider menu.
24835 * lisp/mouse.el (mouse-split-window-vertically)
24836 (mouse-split-window-horizontally): Replace `error' by
24837 `user-error'. Bind `window-combination-resize' to nil.
24838 (top-level): Add/reorder mouse key bindings on mode- and
24839 vertical-line.
24840
24841 2015-07-02 Paul Eggert <eggert@cs.ucla.edu>
24842
24843 Don't display ‘’ as `' under X in en_GB
24844 The curved quote setup code invokes (char-displayable-p ?‘),
24845 but this isn’t reliable until after the X frame replaces the
24846 terminal frame (Bug#20926).
24847 * lisp/international/mule-cmds.el (set-locale-environment):
24848 Move curved quote setup code from here ...
24849 * lisp/startup.el (command-line): ... to here, after creating
24850 the X frame.
24851
24852 2015-07-01 Nicolas Richard <youngfrog@members.fsf.org>
24853
24854 * lisp/emacs-lisp/seq.el (seq-difference): Fix typo in docstring.
24855
24856 * lisp/ido.el (ido-restrict-to-matches): Add an optional argument
24857 to reverse the meaning (Bug#15631).
24858
24859 2015-07-01 Eli Zaretskii <eliz@gnu.org>
24860
24861 Be more tolerant to fonts named "Foobar-12"
24862 * src/frame.c (x_set_font): If font_spec_from_name returns nil,
24863 don't barf; instead, request a new fontset to be generated. This
24864 avoids unnecessarily rejecting fonts named against XLFD rules. See
24865 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html,
24866 for the description of the original problem.
24867 * lisp/faces.el (set-face-attribute): Don't be fooled too easily
24868 by a hyphen in a font's name.
24869
24870 Fix value of posn-at-pont in R2L lines
24871 * src/keyboard.c (Fposn_at_x_y, Fposn_at_point): Allow X pixel
24872 coordinate of -1, for a newline in a right-to-left line that
24873 overflowed into the left fringe.
24874
24875 2015-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
24876
24877 (cl--copy-slot-descriptor): Copy the `props' alist as well
24878 * lisp/emacs-lisp/cl-preloaded.el (cl--copy-slot-descriptor-1):
24879 Rename from cl--copy-slot-descriptor.
24880 (cl--copy-slot-descriptor): New function. Copy the alist (bug#20914).
24881
24882 2015-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
24883
24884 * lisp/term/xterm.el (xterm--query): Avoid generating garbage
24885 (xterm-query-timeout): New var.
24886 (xterm--query): Use it. Fallback on async method if we timeout before
24887 getting the first byte of the reply (bug#12354).
24888
24889 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
24890
24891 Spelling fixes
24892 * lisp/character-fold.el (character-fold-search):
24893 * lisp/emacs-lisp/package.el (package-hidden-regexps):
24894 Fix typos.
24895
24896 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
24897
24898 * doc/emacs/frames.texi (Frame Commands): Typo fix. (Bug#20946)
24899
24900 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
24901
24902 In strings, prefer plain ` and ' to \` and \'
24903 * lisp/allout.el (allout-insert-listified):
24904 * lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
24905 * lisp/ls-lisp.el (ls-lisp-UCA-like-collation)
24906 (ls-lisp-string-lessp):
24907 * lisp/menu-bar.el (menu-bar-open):
24908 * lisp/obsolete/otodo-mode.el (todo-top-priorities):
24909 * lisp/progmodes/compile.el (compile):
24910 * lisp/progmodes/etags.el (tags-loop-scan):
24911 * lisp/progmodes/make-mode.el (makefile-browser-insert-continuation):
24912 * lisp/subr.el (posn-actual-col-row):
24913 * lisp/term/pc-win.el (x-list-fonts):
24914 * lisp/textmodes/texinfmt.el (texinfmt-version):
24915 * lisp/textmodes/texnfo-upd.el (texinfo-master-menu):
24916 * lisp/time.el (display-time-world-list):
24917 * lisp/tmm.el (tmm-menubar):
24918 * src/buffer.c (syms_of_buffer):
24919 * src/fileio.c (syms_of_fileio):
24920 Omit unnecessary and confusing backslash before quote.
24921 * lisp/erc/erc.el (erc-cmd-LASTLOG):
24922 * lisp/progmodes/flymake.el (flymake-fix-file-name):
24923 * lisp/progmodes/vhdl-mode.el (vhdl-in-extended-identifier-p):
24924 Fix string that was intended to escape a backslash and not a quote.
24925
24926 2015-06-30 Glenn Morris <rgm@gnu.org>
24927
24928 * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition.
24929
24930 * lisp/Makefile.in (MH_E_SRC, TRAMP_SRC, CAL_SRC):
24931 Replace hard-coded lists with wildcard + filter-out.
24932
24933 * configure.ac (system-configuration-features): Add X11, NS.
24934
24935 Improve reproducibility of generated loaddefs file
24936 * lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
24937 Make the return value the modtime of the input file (if no autoloads).
24938 (update-directory-autoloads): In the "no autoloads" section,
24939 use "most recent modtime" rather than "current time".
24940
24941 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
24942
24943 * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic.
24944 (Bug#20930)
24945
24946 2015-06-30 Nicolas Petton <nicolas@petton.fr>
24947
24948 * doc/lispref/sequences.texi: Add documentation for seq-min and seq-max.
24949
24950 Add seq-min and seq-max
24951 Bump version number.
24952 * lisp/emacs-lisp/seq.el (seq-min, seq-max): New functions.
24953 * test/automated/seq-tests.el: Add tests for seq-min and seq-max.
24954
24955 2015-06-30 Eli Zaretskii <eliz@gnu.org>
24956
24957 Make sure sleep-for always delays for as long as it's told
24958 * src/dispnew.c (Fsleep_for): Call wait_reading_process_output in
24959 a loop, to ensure we always wait exactly the required amount of
24960 time. (Bug#15990)
24961
24962 2015-06-30 Paul Eggert <eggert@cs.ucla.edu>
24963
24964 Fix pointer signedness glitch
24965 * src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
24966
24967 2015-06-30 Eli Zaretskii <eliz@gnu.org>
24968
24969 Don't block changes in mouse pointer inside 'track-mouse'
24970 * etc/NEWS:
24971 * doc/lispref/frames.texi (Mouse Tracking): Document the special
24972 effect of setting 'track-mouse' to 'dragging'.
24973 * lisp/textmodes/artist.el (artist-mouse-draw-continously):
24974 * lisp/ruler-mode.el (ruler-mode-mouse-drag-any-column-iteration):
24975 * lisp/mouse-drag.el (mouse-drag-throw):
24976 * lisp/mouse.el (mouse-drag-line): Set 'track-mouse' to 'dragging'
24977 to avoid changes in the shape of the mouse pointer.
24978 * src/xdisp.c (define_frame_cursor1): Don't change the mouse
24979 pointer shape when do_mouse_tracking has the value of 'dragging',
24980 not just any non-nil value. (Bug#20934)
24981 (syms_of_xdisp): DEFSYM 'dragging'.
24982
24983 2015-06-30 Artur Malabarba <bruce.connor.am@gmail.com>
24984
24985 * lisp/isearch.el (isearch-toggle-word): Fix toggle.
24986
24987 * lisp/emacs-lisp/package.el (package-compute-transaction):
24988 Don't assume version sorting.
24989
24990 * lisp/emacs-lisp/package.el (package--save-selected-packages):
24991 Don't save before init time, to avoid overwriting configurations.
24992 (Bug#20855)
24993
24994 2015-06-30 Xue Fuqiao <xfq.free@gmail.com>
24995
24996 * doc/emacs/display.texi (Standard Faces, Fringes): Add cross
24997 references.
24998
24999 2015-06-29 Ted Zlatanov <tzz@lifelogs.com>
25000
25001 Update for the upcoming CFEngine 3.7 release: support macros and
25002 quoted context strings; reformat JSON; indent promise attributes 2
25003 units by default; give function parameter descriptions in the eldoc
25004 glue.
25005 * lisp/progmodes/cfengine.el: Update version and docs and fix name.
25006 Autoload `json-pretty-print'. Support new features in 3.7.
25007 (cfengine-parameters-indent): Set default promise attribute indent to
25008 2 more than the promise itself.
25009 (cfengine3-macro-regex): New variable to match the new macro syntax.
25010 (cfengine3-font-lock-keywords): Use it to highlight macros.
25011 (cfengine3-indent-line): Use it to indent macros to column 0.
25012 (cfengine3-class-selector-regex): Update for the new quoted strings
25013 format.
25014 (cfengine3-reformat-json-string): New function to reformat a JSON
25015 string using `json-pretty-print'.
25016 (cfengine3-format-function-docstring): Use function parameter
25017 description if it's provided by the cf-promises syntax dump.
25018
25019 2015-06-29 Michael R. Mauger <michael@mauger.com>
25020
25021 Cygwin emacsclient handles w32 file names
25022 * lisp/server.el (server-process-filter): Allow Cygwin's
25023 emacsclient to be used as a file handler on MS-Windows.
25024
25025 2015-06-29 Katsumi Yamaoka <yamaoka@jpl.org>
25026
25027 * lisp/isearch.el (isearch-exit): Don't call isearch-done twice
25028 (bug#20925).
25029
25030 2015-06-29 Eli Zaretskii <eliz@gnu.org>
25031
25032 * doc/lispref/text.texi (Sticky Properties): Improve wording.
25033 (Bug#20924)
25034
25035 Allow font names that end in "-NN", where NN is a number
25036 * src/font.c (font_load_for_lface): If the font-spec didn't match
25037 any available fonts, try again without interpreting trailing "-NN"
25038 as the font size. For the description of the original problem, see
25039 http://lists.gnu.org/archive/html/help-emacs-windows/2015-06/msg00001.html
25040
25041 .gdbinit followup to changes in !USE_LSB_TAG
25042 * src/.gdbinit (xgetsym): Don't left-shift $ptr even under
25043 !USE_LSB_TAG, as Emacs no longer does.
25044
25045 2015-06-29 Wolfgang Jenkner <wjenkner@inode.at>
25046
25047 * lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
25048 Otherwise `s p' of f and F will stomp on each other's value.
25049 (Bug#20916)
25050
25051 2015-06-29 Artur Malabarba <bruce.connor.am@gmail.com>
25052
25053 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
25054 Don't block remember-pos if buffer isn't displayed. (Bug#20921)
25055
25056 2015-06-29 Nicolas Richard <theonewiththeevillook@yahoo.fr>
25057
25058 * lisp/emacs-lisp/package.el (describe-package): Use symbol-at-point
25059 as additional guess.
25060
25061 * lisp/emacs-lisp/package.el (describe-package): Convert the guess
25062 to a string.
25063
25064 2015-06-28 Paul Eggert <eggert@cs.ucla.edu>
25065
25066 apropos-library quoting fix
25067 * lisp/apropos.el (apropos-library): Quote library consistently
25068 with the rest of the quoting used by apropos.
25069
25070 Clarify interpreter-mode-alist doc
25071 * lisp/files.el (interpreter-mode-alist):
25072 Reword to avoid confusing quoting that wasn't working anyway.
25073
25074 2015-06-28 Michael Albinus <michael.albinus@gmx.de>
25075
25076 Sync with Tramp 2.2.12
25077 * doc/misc/trampver.texi:
25078 * lisp/net/trampver.el: Update release number.
25079 * test/automated/tramp-tests.el (tramp-test13-make-directory):
25080 Fix cleanup.
25081
25082 2015-06-28 Artur Malabarba <bruce.connor.am@gmail.com>
25083
25084 * lisp/isearch.el (isearch-mode): Don't char-fold regexps (bug#20913).
25085
25086 2015-06-27 Dmitry Gutov <dgutov@yandex.ru>
25087
25088 Bind grep-highlight-matches around the rgrep call
25089 * lisp/progmodes/grep.el (zrgrep): Bind grep-highlight-matches
25090 around the rgrep call (bug#20728).
25091
25092 Put "--color" before the other options in grep-command
25093 * lisp/progmodes/grep.el (grep-compute-defaults): Put "--color"
25094 before the other options in grep-command (bug#20912).
25095
25096 Add --color Grep option to the command dynamically
25097 * lisp/progmodes/grep.el (grep-template, grep-find-template):
25098 Update the description for <C>. (Bug#20728)
25099 (grep-compute-defaults): Don't add the --color option to
25100 grep-options. Only add it to grep-command.
25101 (grep-expand-keywords): Expand the env value opts into <C>.
25102 (grep-expand-template): Replace cf in the env with the opts list,
25103 that can include -i and --color.
25104 * lisp/progmodes/xref.el (xref-collect-matches): Do not remove
25105 "--color=always" from the template, because we don't have to.
25106
25107 2015-06-27 Paul Eggert <eggert@cs.ucla.edu>
25108
25109 cl-extra fixes for most-negative-fixnum
25110 * lisp/emacs-lisp/cl-extra.el (cl-gcd, cl-lcm, cl-random):
25111 Don't mishandle an argument equal to most-negative-fixnum,
25112 whose absolute value equals itself.
25113 (cl-gcd, cl-lcm): Use dolist rather than doing it by hand.
25114
25115 Initialize cl--gensym-counter to 0
25116 Previously it was initialized to a random value, which made it
25117 harder to reproduce earlier Emacs runs. The need for a random
25118 value went away when Emacs introduced and used the #: syntax for
25119 uninterned symbols (Bug#20862).
25120 * doc/misc/cl.texi (Creating Symbols, Common Lisp Compatibility):
25121 Document that cl--gensym-counter now starts with 0.
25122 * lisp/emacs-lisp/cl-lib.el (cl--gensym-counter): Remove.
25123 (cl--random-time): Move to near only remaining use.
25124 * lisp/emacs-lisp/cl-macs.el (cl--gensym-counter): Initialize to 0.
25125
25126 Improve docstring for macroexp-let2
25127 * lisp/emacs-lisp/macroexp.el (macroexp-let2):
25128 Improve as per suggestion by RMS in:
25129 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00621.html
25130 Also, rename args to match new doc string.
25131
25132 2015-06-27 Eli Zaretskii <eliz@gnu.org>
25133
25134 Fix VC test suite on MS-Windows
25135 * lisp/vc/vc-svn.el (vc-svn-create-repo): Make sure the file: URL
25136 always starts with 3 slashes after the colon.
25137 * test/automated/vc-tests.el (vc-test--create-repo-function): Use
25138 'w32-application-type' to invoke CVS on MS-Windows with properly
25139 formatted CVSROOT directory name.
25140
25141 Add a new function w32-application-type
25142 * src/w32proc.c (Fw32_application_type): New function.
25143
25144 Avoid error in TLS connections due to incorrect format
25145 * src/gnutls.c (Fgnutls_boot): Use the %x conversion specifier in
25146 the call to 'error', instead of the unsupported %u. Reported by
25147 lo2net <fangtao0901@gmail.com>. (Bug#20908)
25148
25149 2015-06-26 Artur Malabarba <bruce.connor.am@gmail.com>
25150
25151 * lisp/replace.el (replace-search): Fix regexp case (bug#20901).
25152
25153 2015-06-26 Leo Liu <sdl.web@gmail.com>
25154
25155 * lisp/emacs-lisp/cl-indent.el: Fix indentation for
25156 `with-output-to-string' in elisp.
25157
25158 Revert "lisp/emacs-lisp/cl-indent.el: Fix indent of
25159 with-output-to-string".
25160 This reverts commit 659199f2ca5f283fb246faa78a244e5ca25f53dd.
25161
25162 2015-06-26 Eli Zaretskii <eliz@gnu.org>
25163
25164 Minor corrections in ELisp manual
25165 * doc/lispref/nonascii.texi (Character Properties): Correct
25166 inaccuracies in description of values of the Unicode properties.
25167
25168 Fix invisible mouse pointers on Windows.
25169 * src/w32fns.c: Include windowsx.h.
25170 (w32_wnd_proc): If the mouse moved and the mouse pointer is
25171 invisible, make it visible again even when the main (Lisp)
25172 thread is busy.
25173 * src/w32term.c (w32_toggle_invisible_pointer): Rather then
25174 garbaging the frame have the input thread call SetCursor.
25175
25176 2015-06-26 Martin Rudalics <rudalics@gmx.at>
25177
25178 Provide invisible mouse pointers on Windows (Bug#6105) (Bug#12922)
25179 * src/w32fns.c (w32_wnd_proc): Handle f->pointer_invisible
25180 for WM_SETCURSOR and WM_EMACS_SETCURSOR cases.
25181 * src/w32term.c (w32_hide_hourglass): Handle f->pointer_invisible.
25182 (w32_toggle_invisible_pointer): New function.
25183 (w32_create_terminal): Add w32_toggle_invisible_pointer as
25184 toggle_invisible_pointer_hook for this terminal.
25185
25186 2015-06-25 Xue Fuqiao <xfq.free@gmail.com>
25187
25188 Doc fix for deletion commands
25189 'delete-char' does not respect the value of 'delete-active-region'.
25190 * doc/emacs/killing.texi (Deletion):
25191 Fix documentation for some single-char deletion commands.
25192
25193 * doc/emacs/help.texi (Apropos):
25194 Improve documentation of 'apropos-do-all'.
25195
25196 * doc/emacs/help.texi (Help Summary):
25197 Improve documentation of 'describe-mode'.
25198
25199 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
25200
25201 Fix submake dependency bug with .h files
25202 * src/Makefile.in ($(libsrc)/make-docfile$(EXEEXT)):
25203 Depend on $(lib)/libgnu.a, so that we build $(lib)/*/*.h
25204 before the submake in $(libsrc) would spin off a subsubmake
25205 for $(lib) in parallel with our submake for $(lib) (Bug#20894).
25206
25207 2015-06-25 Artur Malabarba <bruce.connor.am@gmail.com>
25208
25209 * lisp/character-fold.el (character-fold-table): Reuse `table'.
25210
25211 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
25212
25213 Translate undisplayable ‘ to `
25214 * doc/lispref/help.texi (Keys in Documentation):
25215 * lisp/international/mule-cmds.el (set-locale-environment):
25216 * lisp/term/w32console.el (terminal-init-w32console):
25217 * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation):
25218 If ‘ is not displayable, transliterate it to `, not to '. See:
25219 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html
25220
25221 Fix C99 incompatibilities in Cairo code
25222 * src/image.c (xpm_load) [USE_CAIRO]:
25223 * src/xterm.c (x_cr_accumulate_data) [USE_CAIRO]:
25224 Fix pointer signedness problem.
25225
25226 2015-06-25 Oleh Krehel <ohwoeowho@gmail.com>
25227
25228 lisp/emacs-lisp/cl-indent.el: Fix indent of with-output-to-string
25229 * lisp/emacs-lisp/cl-indent.el (common-lisp-indent-function):
25230 `with-output-to-string' should have the same indent as `progn'.
25231 This is in line with the declaration of `with-output-to-string'.
25232
25233 2015-06-25 Paul Eggert <eggert@cs.ucla.edu>
25234
25235 Get ‘./configure; make -C src emacs’ to work
25236 Without this fix, lib/fcntl.h isn't built in time (Bug#20894).
25237 * lib-src/Makefile.in (../lib/libgnu.a):
25238 * src/Makefile.in ($(lib)/libgnu.a): Build all, not libgnu.a.
25239
25240 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
25241
25242 Fix GC bugs --with-wide-int and Qnil == 0
25243 Use the same alignment for the !USE_LSB_TAG case as for the
25244 more-typical USE_LSB_TAG case. The attempt to support arbitrary
25245 alignments with !USE_LSB_TAG had subtle bugs in garbage collection
25246 once we changed the representation of symbols so that Qnil == 0.
25247 Problem reported by Eli Zaretskii (Bug#20862).
25248 * src/alloc.c (XMALLOC_HEADER_ALIGNMENT) [XMALLOC_OVERRUN_CHECK]:
25249 * src/alloc.c (vector_alignment, union aligned_Lisp_Symbol)
25250 (union aligned_Lisp_Misc, maybe_lisp_pointer, pure_alloc):
25251 Use same alignment for !USE_LSB_TAG as for USE_LSB_TAG.
25252 * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): Remove.
25253 This optimization in the !USE_LSB_TAG case is no longer valid when
25254 symbols are represented via offsets. Change the only use to
25255 assume that pointers might hide in objects.
25256 * src/lisp.h (alignas) [!USE_LSB_TAG]:
25257 Require support in this case, too.
25258 (TAG_SYMOFFSET, XSYMBOL) [!USE_LSB_TAG]: Do not shift the offset.
25259 This is OK, because the !USE_LSB_TAG case now applies only when
25260 Lisp_Object is wider than void *, so there's no longer any need
25261 to shift the offset. Not shifting the offset means that
25262 symbol representations have the same alignment as pointers,
25263 which the GC assumes.
25264
25265 2015-06-24 Xue Fuqiao <xfq.free@gmail.com>
25266
25267 * doc/lispintro/emacs-lisp-intro.texi (Data types):
25268 Improve documentation of 'substring'.
25269
25270 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
25271
25272 * lisp/character-fold.el (character-fold-table): Fix table generation.
25273
25274 2015-06-24 Glenn Morris <rgm@gnu.org>
25275
25276 * nextstep/Makefile.in (all): Make it the first target.
25277 (../src/emacs${EXEEXT}): Add rule for making it.
25278
25279 2015-06-24 Artur Malabarba <bruce.connor.am@gmail.com>
25280
25281 * etc/NEWS: Fix mention to old function name.
25282
25283 * lisp/character-fold.el: New file (Bug#20887)
25284 (character-fold-to-regexp): New function.
25285 * lisp/replace.el (replace-search): Check value of
25286 `character-fold-search'.
25287 * lisp/isearch.el: Move character-folding code to
25288 character-fold.el
25289 (isearch-toggle-character-fold): New command.
25290 (isearch-mode-map): Bind it to "\M-sf".
25291 (isearch-mode): Check value of `character-fold-search'.
25292
25293 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
25294
25295 lisp/subr.el (remove-from-invisibility-spec): Handle the t case
25296 * lisp/subr.el (remove-from-invisibility-spec): Make sure `element'
25297 is visible even if it's not yet in buffer-invisibility-spec (bug#20468).
25298
25299 * lisp/progmodes/xref.el (xref-location-group, xref-location-marker)
25300 (xref--insert-xrefs, xref-collect-references): Avoid init-args in oref.
25301
25302 2015-06-24 Glenn Morris <rgm@gnu.org>
25303
25304 * Makefile.in (install-arch-dep): Don't set sticky bit on the binary.
25305
25306 2015-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
25307
25308 lisp/gnus/nnmaildir.el: Silence lexical warnings
25309 * lisp/gnus/nnmaildir.el (nnmaildir--prepare): Use a more
25310 functional style.
25311 (nnmaildir--update-nov): Remove unused var `numdir'.
25312 (nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
25313 (nnmaildir-request-group, nnmaildir-request-create-group)
25314 (nnmaildir-request-post, nnmaildir-request-move-article)
25315 (nnmaildir-request-accept-article, nnmaildir-active-number):
25316 Mark unused args.
25317 (nnmaildir-get-new-mail, nnmaildir-group-alist)
25318 (nnmaildir-active-file): Declare.
25319 (nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
25320 (nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
25321 `mark', `end', `new-mark', and `mark-sym'.
25322 (nnmaildir-retrieve-headers): Remove unused args `srv-dir', `dir',
25323 `nlist2'.
25324 (nnmaildir-request-expire-articles):
25325 Remove unused vars `article', `stop' and `nlist2'.
25326 (nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
25327 `end'. Use nnmaildir--article when dyn-binding is needed.
25328 Give the value directly in the `let' for `del-mark', `del-action',
25329 `add-action', and `set-action'. Don't use `add-to-list' on a local var.
25330 (nnmaildir-close-server): Declare those local vars that need to be
25331 dyn-bound.
25332
25333 2015-06-24 Paul Eggert <eggert@cs.ucla.edu>
25334
25335 * src/keyboard.h (kbd_buffer_store_event_hold): Remove unused local.
25336
25337 Port selection info fix to clang
25338 * src/keyboard.h (kbd_buffer_store_event_hold):
25339 Don't assume C11 semantics for alignof (Bug#20756).
25340
25341 Fix bug that munged selection info
25342 On some optimizing C compilers, copying a structure did not
25343 copy the padding bytes between elements, and the type punning
25344 between struct input_data and struct selection_input_data did
25345 not work. Change the C code to use a proper union type instead.
25346 Problem reported by YAMAMOTO Mitsuharu (Bug#20756).
25347 * src/keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr)
25348 (readable_events, discard_mouse_events, kbd_buffer_events_waiting)
25349 (kbd_buffer_get_event, process_special_events, stuff_buffered_input)
25350 (mark_kboards):
25351 Use union buffered_input_event, not struct input_event.
25352 (clear_event, deliver_input_available_signal, process_special_events):
25353 Remove unnecessary forward decls.
25354 (kbd_buffer_store_buffered_event): New function, mostly just the
25355 old kbd_buffer_store_event_hold, except its argument is of type
25356 union buffered_input_event, not struct input_event.
25357 (kbd_buffer_unget_event): Define only if HAVE_X11, since it's
25358 not needed otherwise. Argument is now of type
25359 struct selection_input_event *, not struct input_event *.
25360 All callers changed.
25361 (clear_event): Arg is now of type union buffered_input_event *,
25362 not struct input_event *. All callers changed.
25363 * src/keyboard.h [HAVE_X11]: Include "xterm.h".
25364 (union buffered_input_event): New type.
25365 (kbd_buffer_store_event_hold): Now an inline function,
25366 defined here.
25367 * src/termhooks.h (EVENT_KIND_WIDTH): New constant.
25368 (struct input_event): Use it.
25369 * src/xselect.c (struct selection_event_queue):
25370 Make elements be of type struct selection_input_event,
25371 not struct input_event.
25372 (selection_input_event_equal): New static function.
25373 (x_queue_event): Use it.
25374 (x_queue_event, x_decline_selection_request)
25375 (x_selection_current_request, x_reply_selection_request)
25376 (x_handle_selection_request, x_handle_selection_clear)
25377 (x_handle_selection_event): Use struct selection_input_event,
25378 not struct input_event. All callers changed.
25379 (x_convert_selection): Omit unused first arg. All callers changed.
25380 (Fx_disown_selection_internal): Omit unnecessary union.
25381 * src/xterm.c (handle_one_xevent): Use new union buffered_input_event
25382 rather than rolling our own equivalent. Prefer sie.kind when
25383 setting up that kind of structure.
25384 Call kbd_buffer_store_buffered_event, not kbd_buffer_store_event_hold.
25385 * src/xterm.h (struct selection_input_event: Use EVENT_KIND_WIDTH.
25386 (SELECTION_EVENT_DISPLAY, SELECTION_EVENT_DPYINFO)
25387 (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
25388 (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
25389 (SELECTION_EVENT_TIME, x_handle_selection_event):
25390 Arg is now of type struct selection_input_event *)
25391 not struct input_event *. All callers changed.
25392
25393 2015-06-23 Glenn Morris <rgm@gnu.org>
25394
25395 * Makefile.in (install-arch-dep): Simplify with Make conditionals.
25396
25397 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
25398
25399 * lisp/isearch.el: Fold many unicode characters to ASCII.
25400 (isearch-character-fold-search, isearch--character-fold-extras)
25401 (isearch--character-fold-table): New variable.
25402 (isearch--character-folded-regexp): New function.
25403 (isearch-search-fun-default): Use them.
25404 * lisp/replace.el (replace-character-fold): New variable.
25405 (replace-search): Use it.
25406 * etc/NEWS: Document it.
25407
25408 2015-06-23 Glenn Morris <rgm@gnu.org>
25409
25410 Check for an input event before showing a dialog box. (Bug#20813)
25411 * lisp/subr.el (y-or-n-p):
25412 * src/fns.c (Fyes_or_no_p): Check last-input-event as well
25413 as last-nonmenu-event.
25414
25415 2015-06-23 Jürgen Hartmann <juergen_hartman_@hotmail.com> (tiny change)
25416
25417 Respect ‘switch-to-visible-buffer’ more rigidly. (Bug#20861)
25418 * lisp/window.el (switch-to-visible-buffer): Doc adjustment.
25419 (switch-to-prev-buffer, switch-to-next-buffer): Respect
25420 switch-to-visible-buffer independent of the windows history.
25421
25422 2015-06-23 Paul Eggert <eggert@cs.ucla.edu>
25423
25424 * src/keyboard.c (last_timer_event): Remove unused var.
25425
25426 2015-06-23 Artur Malabarba <bruce.connor.am@gmail.com>
25427
25428 * test/automated/package-test.el (package-test-update-listing):
25429 Fix test.
25430
25431 2015-06-23 Glenn Morris <rgm@gnu.org>
25432
25433 Revert 2014-06-25 nextstep/Makefile change.
25434 * nextstep/Makefile.in (${ns_appbindir}): Remove rule.
25435 (${ns_appbindir}/Emacs, links): Create ns_appbindir in the rule,
25436 not as an order-only prerequisite.
25437
25438 * configure.ac (--with-ns): Enable by default on OS X.
25439
25440 2015-06-23 Leo Liu <sdl.web@gmail.com>
25441
25442 Fix shell-for/backward-command to exclude spaces
25443 * lisp/shell.el (shell-forward-command, shell-backward-command):
25444 Handle the 'move case from re-search-forward/backward.
25445 fixes debbugs:20873
25446
25447 2015-06-22 Juri Linkov <juri@linkov.net>
25448
25449 * lisp/replace.el (query-replace-read-from): Add separator to
25450 the local binding of text-property-default-nonsticky. (Bug#20690)
25451
25452 * lisp/simple.el (shell-command-on-region): Replace 'error' with 'user-error'.
25453 (Bug#20785)
25454
25455 2015-06-22 Ken Brown <kbrown@cornell.edu>
25456
25457 Enable CPU profiling on Cygwin
25458 * src/syssignal.h [CYGWIN] (PROFILER_CPU_SUPPORT): Revert previous
25459 change that undefined this.
25460 (SIGEV_SIGNAL): Ensure that this is defined as a macro.
25461 * src/profiler.c [CYGWIN] (timer_getoverrun): Define as a macro on
25462 Cygwin.
25463
25464 Improve diagnostics of profiler-cpu-start
25465 * src/profiler.c (setup_cpu_timer): Change return type to 'int';
25466 return -1 if the sampling interval is invalid.
25467 (Fprofiler_cpu_start): Improve error message if 'setup_cpu_timer'
25468 fails. (Bug#20843)
25469
25470 2015-06-22 Artur Malabarba <bruce.connor.am@gmail.com>
25471
25472 * lisp/emacs-lisp/package.el: Exclude packages by name.
25473 (package-hidden-regexps): New variable.
25474 (package-menu--refresh): Use it.
25475 (package-menu-hide-package): New command.
25476
25477 * lisp/emacs-lisp/package.el: Rename hide-obsolete to toggle-hiding.
25478
25479 2015-06-22 Eli Zaretskii <eliz@gnu.org>
25480
25481 Fix debug-timer-check on systems without HAVE_TIMERFD
25482 * src/atimer.c (Fdebug_timer_check) [!HAVE_TIMERFD]: Actively run
25483 the expired timers, since wait_reading_process_output doesn't.
25484 (debug_timer_callback): Enlarge the tolerance to 20 msec.
25485
25486 Fix RCS crashes in vc-test
25487 * lisp/vc/vc-rcs.el (vc-rcs-register): Avoid crashes with some old
25488 ports of 'ci' on MS-Windows by always passing the -t- switch.
25489
25490 2015-06-22 Glenn Morris <rgm@gnu.org>
25491
25492 * doc/emacs/package.texi (Packages):
25493 * doc/emacs/trouble.texi (Known Problems): Remove faq cross-references.
25494
25495 * doc/misc/efaq-w32.texi (Downloading): Copyedits. (Bug#20851)
25496
25497 2015-06-22 Paul Eggert <eggert@cs.ucla.edu>
25498
25499 Port tests to help-quote-translation
25500 * test/automated/ert-x-tests.el (ert-test-describe-test):
25501 * test/automated/package-test.el (package-test-describe-package)
25502 (package-test-signed): Allow straight quotes, too.
25503
25504 2015-06-22 Dmitry Gutov <dgutov@yandex.ru>
25505
25506 Make find-function-on-key use the current window
25507 * lisp/emacs-lisp/find-func.el (find-function-on-key-do-it):
25508 Extract from `find-function-on-key', add a second argument.
25509 (find-function-on-key): Use it (bug#19679).
25510 (find-function-on-key-other-window)
25511 (find-function-on-key-other-frame): New commands.
25512
25513 2015-06-21 Nicolas Petton <nicolas@petton.fr>
25514
25515 Revert "Define `map-elt' as a generalized variable"
25516 This reverts commit 8b6d82d3ca86f76ed964063b3941a7c6ab0bf1c6.
25517
25518 2015-06-21 Ken Brown <kbrown@cornell.edu>
25519
25520 Drop support for CPU profiling on Cygwin
25521 * src/syssignal.h (PROFILER_CPU_SUPPORT): Don't define on Cygwin.
25522 (Bug#20843)
25523
25524 2015-06-21 Paul Eggert <eggert@cs.ucla.edu>
25525
25526 Fix some “nested” quoting confusion in doc strings
25527 * lisp/emacs-lisp/advice.el (ad-map-arglists):
25528 * lisp/kermit.el (kermit-clean-on):
25529 * lisp/mh-e/mh-comp.el (mh-repl-group-formfile):
25530 * src/keyboard.c (Frecursive_edit):
25531 Use curved quotes when quoting text containing apostrophe,
25532 so that the apostrophe isn't curved in the output.
25533
25534 2015-06-21 Nicolas Petton <nicolas@petton.fr>
25535
25536 Define `map-elt' as a generalized variable
25537 * lisp/emacs-lisp/map.el (map-elt): Define a gv-expander.
25538 * lisp/emacs-lisp/map.el (map--dispatch): Tighten the code.
25539 * lisp/emacs-lisp/map.el (map-put): Redefine it as a function using a
25540 `setf' with `map-elt'.
25541 * test/automated/map-tests.el: Comment out `test-map-put-literal'.
25542
25543 2015-06-21 Michael Albinus <michael.albinus@gmx.de>
25544
25545 Improve error handling in tramp-adb.el
25546 * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
25547 Improve error handling.
25548
25549 2015-06-21 Nicolas Petton <nicolas@petton.fr>
25550
25551 Reuse `alist-get' in map.el
25552 * lisp/emacs-lisp/map.el (map-elt): Use `alist-get' to retrieve alist
25553 elements.
25554
25555 2015-06-21 Eli Zaretskii <eliz@gnu.org>
25556
25557 Fix bytecomp-tests--warnings when $TMPDIR has a long name
25558 * test/automated/bytecomp-tests.el (bytecomp-tests--warnings):
25559 Allow the warning to begin on the 3rd, not only 2nd line, which
25560 happens if temporary-file-directory has a very long name.
25561
25562 Expect 2 icalendar tests to fail on MS-Windows
25563 * test/automated/icalendar-tests.el (icalendar-import-with-timezone)
25564 (icalendar-real-world): Make them expected failures on MS-Windows.
25565
25566 2015-06-20 Paul Eggert <eggert@cs.ucla.edu>
25567
25568 Improve port of settings UI to older displays
25569 * lisp/cus-start.el (standard): Don't assume curved quotes are
25570 easily distinguishable when users are tinkering with a setting
25571 that affects how curved quotes are generated.
25572
25573 Fix quoting in electric-quote-mode doc string
25574 * lisp/electric.el (electric-quote-mode): Fix quoting.
25575 This is a fallout from the recent change introducing
25576 ‘help-quote-translation’.
25577
25578 Spelling fix
25579
25580 * doc/misc/texinfo.tex, lib/set-permissions.c: Merge from gnulib.
25581
25582 * src/doc.c (syms_of_doc): Remove unused symbols.
25583
25584 2015-06-20 Martin Rudalics <rudalics@gmx.at>
25585
25586 * lisp/window.el (window-state-put): Undedicate target window
25587 before putting STATE into it. (Bug#20848)
25588
25589 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
25590
25591 Merge from origin/emacs-24
25592 a5e6f33 Fixes: debbugs:20832
25593 b9f02cf Fixes: debbugs:20832
25594
25595 2015-06-19 Eli Zaretskii <eliz@gnu.org>
25596
25597 Fix file-in-directory-p when the directory is UNC
25598 * lisp/files.el (file-in-directory-p): Support files and
25599 directories that begin with "//". (Bug#20844)
25600
25601 2015-06-19 Stephen Berman <stephen.berman@gmx.net>
25602
25603 * lisp/calendar/todo-mode.el (todo-show): Don't visit todo file
25604 in the minibuffer. (Bug#20832)
25605
25606 2015-06-19 Nicolas Richard <youngfrog@members.fsf.org>
25607
25608 * lisp/calendar/todo-mode.el (todo-show): Signal an error if buffer
25609 for adding new todo file is empty but modified. (Bug#20832)
25610
25611 2015-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
25612
25613 (filepos-to-bufferpos): Further tweaks to the utf-16 code
25614 * lisp/international/mule-util.el (filepos-to-bufferpos):
25615 Fix typo. Move non-exact check to the utf-16 branch (the only one
25616 affected). Don't use byte-to-position for the utf-16 case.
25617
25618 2015-06-19 Eli Zaretskii <eliz@gnu.org>
25619
25620 Minor fixes in filepos-to-bufferpos
25621 * lisp/international/mule-util.el (filepos-to-bufferpos): Remove
25622 test for utf-8-emacs. Exempt single-byte encodings from the
25623 'use-exact' path when QUALITY is 'exact'. Test UTF-16 encodings
25624 for BOM before subtracting 2 bytes. Use 'identity' when adjusting
25625 UTF-16 encoded files for CR-LF EOLs.
25626
25627 2015-06-19 Paul Eggert <eggert@cs.ucla.edu>
25628
25629 Improve the optional translation of quotes
25630 Fix several problems with the recently-added custom variable
25631 help-quote-translation where the code would quote inconsistently
25632 in help buffers. Add support for quoting 'like this', which
25633 is common in other GNU programs in ASCII environments. Change
25634 help-quote-translation to use more mnemonic values: values are now the
25635 initial quoting char, e.g., (setq help-quote-translation ?`) gets the
25636 traditional Emacs help-buffer quoting style `like this'. Change the
25637 default behavior of substitute-command-keys to match what's done in
25638 set-locale-environment, i.e., quote ‘like this’ if displayable,
25639 'like this' otherwise.
25640 * doc/lispref/help.texi (Keys in Documentation): Document
25641 new behavior of substitute-command-keys, and document
25642 help-quote-translation.
25643 * doc/lispref/tips.texi (Documentation Tips):
25644 Mention the effect of help-quote-translation.
25645 * etc/NEWS: Mention new behavior of substitute-command-keys,
25646 and merge help-quote-translation news into it.
25647 When talking about doc strings, mention new ways to type quotes.
25648 * lisp/cedet/mode-local.el (overload-docstring-extension):
25649 Revert my recent change to this function, which shouldn't be
25650 needed as the result is a doc string.
25651 * lisp/cedet/mode-local.el (mode-local-print-binding)
25652 (mode-local-describe-bindings-2):
25653 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
25654 * lisp/cus-theme.el (describe-theme-1):
25655 * lisp/descr-text.el (describe-text-properties-1, describe-char):
25656 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
25657 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
25658 (eieio-help-constructor):
25659 * lisp/emacs-lisp/package.el (describe-package-1):
25660 * lisp/faces.el (describe-face):
25661 * lisp/help-fns.el (help-fns--key-bindings)
25662 (help-fns--compiler-macro, help-fns--parent-mode)
25663 (help-fns--obsolete, help-fns--interactive-only)
25664 (describe-function-1, describe-variable):
25665 * lisp/help.el (describe-mode):
25666 Use substitute-command-keys to ensure a more-consistent quoting
25667 style in help buffers.
25668 * lisp/cus-start.el (standard):
25669 Document new help-quote-translation behavior.
25670 * lisp/emacs-lisp/lisp-mode.el (lisp-fdefs):
25671 * lisp/help-mode.el (help-xref-symbol-regexp, help-xref-info-regexp)
25672 (help-xref-url-regexp):
25673 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
25674 * lisp/wid-edit.el (widget-documentation-link-regexp):
25675 Also match 'foo', in case we're in a help buffer generated when
25676 help-quote-translation is ?'.
25677 * src/doc.c: Include disptab.h, for DISP_CHAR_VECTOR.
25678 (LEFT_SINGLE_QUOTATION_MARK, uLSQM0, uLSQM1, uLSQM2, uRSQM0)
25679 (uRSQM1, uRSQM2, LSQM, RSQM): New constants.
25680 (Fsubstitute_command_keys): Document and implement new behavior.
25681 (Vhelp_quote_translation): Document new behavior.
25682
25683 2015-06-18 Glenn Morris <rgm@gnu.org>
25684
25685 * lisp/cus-start.el (help-quote-translation): Add :version.
25686
25687 * src/doc.c (Fsubstitute_command_keys): Make previous change compile.
25688
25689 2015-06-18 Alan Mackenzie <acm@muc.de>
25690
25691 Make translation of quotes to curly in doc strings optional.
25692 * src/doc.c (traditional, prefer-unicode): New symbols.
25693 (help-quote-translation): New variable.
25694 (Fsubstitute_command_keys): Make translation of quotes dependent on
25695 `help-quote-translation'; also translate curly quotes back to ASCII
25696 ones.
25697 * lisp/cus-start.el (top-level): Add a customization entry for
25698 `help-quote-translation'.
25699
25700 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
25701
25702 * lisp/emacs-lisp/package.el: Don't always propagate async errors
25703 (package--with-work-buffer-async): Only propagate the error if the
25704 callback returns non-nil.
25705 (package--download-one-archive): Return nil on the signature
25706 checking callback if we accept unsigned.
25707 (package--download-and-read-archives): Return non-nil on the
25708 archive download callback.
25709
25710 2015-06-18 Martin Rudalics <rudalics@gmx.at>
25711
25712 Set image_cache_refcount before x_default_parameter calls. (Bug#20802)
25713 * src/nsfns.m (Fx_create_frame):
25714 * src/xfns.c (Fx_create_frame, x_create_tip_frame): Move setting
25715 image_cache_refcount before first x_default_parameter call.
25716
25717 2015-06-18 Eli Zaretskii <eliz@gnu.org>
25718
25719 Improve and extend filepos-to-bufferpos
25720 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
25721 Don't barf if F returns nil for some argument.
25722 (filepos-to-bufferpos): Expand to support UTF-16 and not assume
25723 that every encoding of type 'charset' is single-byte.
25724
25725 2015-06-18 Artur Malabarba <bruce.connor.am@gmail.com>
25726
25727 * lisp/emacs-lisp/package.el (package-menu--perform-transaction):
25728 Properly delete packages. (Bug#20836)
25729
25730 2015-06-18 Eli Zaretskii <eliz@gnu.org>
25731
25732 Update data files from just-released Unicode 8.0
25733 * etc/NEWS: Update wording since Unicode 8.0 is no longer in draft
25734 status.
25735 * test/BidiCharacterTest.txt: Update from Unicode 8.0.
25736 * admin/unidata/BidiMirroring.txt:
25737 * admin/unidata/BidiBrackets.txt:
25738 * admin/unidata/UnicodeData.txt: Update from Unicode 8.0.
25739
25740 2015-06-18 Paul Eggert <eggert@cs.ucla.edu>
25741
25742 Document curved quotes a bit better
25743 * doc/emacs/basic.texi (Inserting Text):
25744 Mention C-x 8. Change example to use curved quote rather
25745 than infinity, as this lets us give more ways to do it.
25746 * doc/emacs/mule.texi (International Chars): Mention C-x 8 shortcuts
25747 and quotation marks.
25748 * doc/emacs/text.texi (Quotation Marks):
25749 * doc/lispref/tips.texi (Documentation Tips):
25750 Add "curly quotes" and "curved quotes" to the index.
25751 * doc/emacs/text.texi (Quotation Marks):
25752 Give the C-x 8 shorthands for curved quotes.
25753 Cross-reference to "Quotation Marks".
25754
25755 2015-06-17 Daiki Ueno <ueno@gnu.org>
25756
25757 Add pinentry.el for better GnuPG integration
25758 * lisp/pinentry.el: New file.
25759 * etc/NEWS: Add entry about pinentry.el.
25760 * lisp/epg.el (epg--start): Set INSIDE_EMACS envvar.
25761 (Bug#20550)
25762
25763 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
25764
25765 * lisp/emacs-lisp/package.el: Slightly better error reporting.
25766
25767 2015-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
25768
25769 (define-minor-mode): Use setq-default for :global minor modes
25770 * lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
25771 Use setq-default for :global minor modes (bug#20712).
25772
25773 2015-06-17 Eli Zaretskii <eliz@gnu.org>
25774
25775 Avoid infloop in redisplay with tall images
25776 * src/xdisp.c (try_scrolling): Prevent an infloop when scrolling
25777 down near ZV. (Bug#20808)
25778 Call bidi_unshelve_cache to avoid memory leaks. Use IT_CHARPOS
25779 instead of CHARPOS.
25780
25781 2015-06-17 Artur Malabarba <bruce.connor.am@gmail.com>
25782
25783 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
25784 Fix error reporting.
25785
25786 * lisp/emacs-lisp/let-alist.el: Move to lisp/emacs-lisp/let-alist.el
25787
25788 * lisp/emacs-lisp/package.el: Revert buffer after any operation
25789 Call `package-menu--post-refresh' after any operation that changes
25790 the package database (`package-install' and `package-delete'). To
25791 avoid performance issues in large transactions, these functions
25792 add `post-refresh' to `post-command-hook' instead of calling it
25793 immediately.
25794 (package-menu--mark-or-notify-upgrades): New function.
25795 (list-packages): Add it to `package--post-download-archives-hook'.
25796 (package-menu--post-refresh): Lose the upgrade-checking code, add
25797 code to remove itself from `post-command-hook'.
25798 (package-install, package-delete): Add it to `post-command-hook'.
25799 (package-menu-execute): Don't call `package-menu--post-refresh'.
25800
25801 2015-06-17 Stephen Leake <stephen_leake@stephe-leake.org>
25802
25803 Add missing function xref-location-group for elisp-mode.
25804 * lisp/progmodes/elisp-mode.el: Add missing function xref-location-group.
25805
25806 2015-06-17 Wolfgang Jenkner <wjenkner@inode.at>
25807
25808 * src/editfns.c (Fbyte_to_position): Fix bytepos not at char boundary.
25809 The behavior now matches the description in the manual. (Bug#20783)
25810
25811 2015-06-17 Xue Fuqiao <xfq.free@gmail.com>
25812
25813 * etc/tutorials/TUTORIAL.cn: Update; synchronize with TUTORIAL.
25814
25815 2015-06-17 Glenn Morris <rgm@gnu.org>
25816
25817 Generate char-script-table from Unicode source. (Bug#20789)
25818 * admin/unidata/Makefile.in (AWK): New, set by configure.
25819 (all): Add charscript.el.
25820 (blocks): New variable.
25821 (charscript.el, ${unidir}/charscript.el): New targets.
25822 (extraclean): Also remove generated charscript.el.
25823 * admin/unidata/blocks.awk: New script.
25824 * admin/unidata/Blocks.txt: New data file, from unicode.org.
25825 * lisp/international/characters.el: Load charscript.
25826 * src/Makefile.in (charscript): New variable.
25827 (${charscript}): New target.
25828 (${lispintdir}/characters.elc): Depend on charscript.elc.
25829 (temacs$(EXEEXT)): Depend on charscript.
25830
25831 * lisp/international/characters.el (char-script-table): Tweak
25832 some ranges to better match the source. (Bug#20789#17)
25833
25834 Remove "no-byte-compile: t" from a few files.
25835 * lisp/obsolete/bruce.el, lisp/obsolete/keyswap.el:
25836 * lisp/obsolete/patcomp.el: No reason not to compile these.
25837
25838 2015-06-16 Glenn Morris <rgm@gnu.org>
25839
25840 Fix some typos in copied Unicode data. (Bug#20789)
25841 * lisp/international/characters.el (char-script-table):
25842 * lisp/international/fontset.el (script-representative-chars)
25843 (setup-default-fontset): Fix typos.
25844
25845 * lisp/emacs-lisp/check-declare.el (check-declare-warn):
25846 Don't print filename twice (it's in the prefix now).
25847
25848 * lisp/emacs-lisp/pcase.el (pcase--u1): Revert earlier workaround.
25849 No longer needed.
25850
25851 Address a compilation warning.
25852 * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defalias):
25853 Replace 't' with '_' in pcase.
25854
25855 Address some check-declare warnings.
25856 * lisp/simple.el (tabulated-list-print):
25857 * lisp/progmodes/elisp-mode.el (xref-collect-matches):
25858 * lisp/term/ns-win.el (ns-selection-owner-p, ns-selection-exists-p)
25859 (ns-get-selection): Update declarations.
25860
25861 Address some compilation warnings.
25862 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
25863 * lisp/vc/vc-git.el (vc-git-file-type-as-string):
25864 Replace 't' with '_' in pcase.
25865
25866 Address some compilation warnings.
25867 * lisp/face-remap.el (text-scale-adjust):
25868 * lisp/menu-bar.el (popup-menu-normalize-position):
25869 * lisp/emacs-lisp/byte-opt.el (byte-compile-inline-expand):
25870 * lisp/emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25871 * lisp/emacs-lisp/generator.el (cps--transform-1):
25872 * lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
25873 * lisp/obsolete/vc-arch.el (vc-arch-mode-line-string):
25874 * lisp/progmodes/octave.el (octave-goto-function-definition)
25875 (octave-find-definition-default-filename):
25876 Replace 't' with '_' in pcase.
25877
25878 * lisp/emacs-lisp/pcase.el (pcase--u1):
25879 Paper-over today's bootstrap failure.
25880
25881 2015-06-16 Nicolas Petton <nicolas@petton.fr>
25882
25883 * lisp/emacs-lisp/seq.el: Fix a byte-compiler warnings related to pcase.
25884
25885 * lisp/emacs-lisp/map.el (map-into): Fix a byte-compiler warning.
25886
25887 Better confirmation message in `find-alternate-file' (Bug#20830)
25888 * lisp/files.el (find-alternate-file'): Improve the confirmation
25889 message to show the buffer name.
25890
25891 Better docstring for null. (Bug#20815)
25892 * src/data.c (null): Improves the docstring, saying what null returns
25893 when OBJECT is non-nil.
25894
25895 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
25896
25897 * lisp/net/newst-treeview.el: Use lexical-binding.
25898
25899 (filepos-to-bufferpos): Add missing cases. Make sure it terminates.
25900 * lisp/international/mule-util.el (filepos-to-bufferpos--dos):
25901 New auxiliary function, extracted from filepos-to-bufferpos.
25902 Make sure it terminates.
25903 (filepos-to-bufferpos): Use it to fix the latin-1-dos case.
25904 Add support for the `exact' quality.
25905
25906 2015-06-16 Cédric Chépied <cedric.chepied@gmail.com>
25907
25908 Identify feeds in newsticker treeview with :nt-feed property
25909 * lisp/net/newst-treeview.el:
25910 (newsticker--treeview-nodes-eq): Use property :nt-feed instead of :tag.
25911
25912 2015-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
25913
25914 * lisp/emacs-lisp/pcase.el: Improve docs and error handling.
25915 (pcase--self-quoting-p): Floats aren't self-quoting.
25916 (pcase): Tweak docstring.
25917 (pcase--u1): Deprecate the t pattern. Improve error detection for
25918 the nil pattern.
25919 (\`): Tweak docstring. Signal an error for unrecognized cases.
25920 (bug#20784)
25921
25922 2015-06-16 Eli Zaretskii <eliz@gnu.org>
25923
25924 Fix infloop in filepos-to-bufferpos
25925 * lisp/international/mule-util.el (filepos-to-bufferpos): Fix EOL
25926 offset calculation, and make it conditional on the eol-type of the
25927 file's encoding. (Bug#20825)
25928
25929 2015-06-16 Martin Rudalics <rudalics@gmx.at>
25930
25931 Fix handling of image cache refcounts. (Bug#20802)
25932 This backports Eli Zaretskii's solution of this problem for W32
25933 to X and NS.
25934 * src/nsfns.m (image_cache_refcount): Define unconditionally.
25935 (unwind_create_frame): If the image cache's reference count
25936 hasn't been updated yet, do that now.
25937 (Fx_create_frame): Set image_cache_refcount unconditionally.
25938 * src/xfns.c (image_cache_refcount): Define unconditionally.
25939 (unwind_create_frame): If the image cache's reference count
25940 hasn't been updated yet, do that now.
25941 (Fx_create_frame, x_create_tip_frame): Set image_cache_refcount
25942 unconditionally.
25943 * src/w32fns.c (image_cache_refcount): Make it a ptrdiff_t as on
25944 X and NS.
25945
25946 2015-06-16 Nils Ackermann <nils@ackermath.info>
25947
25948 Improve reftex-label-regexps default value
25949 * lisp/textmodes/reftex-vars.el (reftex-label-regexps): Make
25950 keyvals label regexp more strict to better cope with unbalanced
25951 brackets common in math documents.
25952
25953 2015-06-16 Glenn Morris <rgm@gnu.org>
25954
25955 * doc/emacs/calendar.texi (Format of Diary File):
25956 Move "nonmarking" from here...
25957 (Displaying the Diary): ... to here.
25958
25959 * doc/emacs/calendar.texi (Format of Diary File, Displaying the Diary):
25960 Swap the order of these nodes.
25961 * doc/emacs/emacs.texi: Update detailed menu for the above change.
25962
25963 * doc/emacs/calendar.texi (Specified Dates, Special Diary Entries):
25964 Update date of examples.
25965 (Diary, Format of Diary File): Move example from former to latter.
25966 Reduce duplication.
25967
25968 No need for cp51932.el, eucjp-ms.el to not be compiled any more.
25969 * admin/charsets/cp51932.awk, admin/charsets/eucjp-ms.awk:
25970 Don't set no-byte-compile in the outputs.
25971 * lisp/loadup.el: Don't specify uncompiled cp51932, eucjp-ms.
25972
25973 2015-06-15 Glenn Morris <rgm@gnu.org>
25974
25975 * lisp/calendar/calendar.el (diary-file): Use locate-user-emacs-file.
25976 * doc/emacs/calendar.texi (Diary, Format of Diary File):
25977 Update for above diary-file change.
25978
25979 * lisp/macros.el (name-last-kbd-macro, kbd-macro-query)
25980 (apply-macro-to-region-lines): Use user-error.
25981
25982 * lisp/textmodes/page-ext.el (add-new-page, pages-directory)
25983 (pages-directory-for-addresses): Doc fixes.
25984
25985 2015-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
25986
25987 * lisp/info.el: Cleanup bytepos/charpos issues
25988 * lisp/international/mule-util.el: Use lexical-binding.
25989 (filepos-to-bufferpos): New function.
25990 * lisp/info.el (Info-find-in-tag-table-1): Use 0-based file positions.
25991 (Info-find-node-2): Use filepos-to-bufferpos (bug#20704).
25992 (Info-read-subfile, Info-search): Use 0-based file positions.
25993
25994 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/
25995 (perl--syntax-exp-intro-keywords): New var.
25996 (perl--syntax-exp-intro-regexp, perl-syntax-propertize-function): Use it.
25997 (bug#20800).
25998
25999 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
26000
26001 Fix quoting when making derived mode docstring
26002 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
26003 Nest regexp-quote inside format, not the reverse.
26004 Problem reported by Artur Malabarba in:
26005 http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00206.html
26006
26007 2015-06-15 Eli Zaretskii <eliz@gnu.org>
26008
26009 Fix current-iso639-language on MS-Windows
26010 * lisp/international/mule-cmds.el (set-locale-environment):
26011 Downcase the locale name before interning it. This is so the
26012 'current-iso639-language' on MS-Windows matches the ':lang'
26013 property of font-spec objects.
26014
26015 Limit Symbola usage some more
26016 * lisp/international/fontset.el (setup-default-fontset): Limit
26017 Symbol coverage of Currency Symbols to u+20B6..u+20CF.
26018 (Bug#20727)
26019
26020 2015-06-15 Nicolas Petton <nicolas@petton.fr>
26021
26022 * lisp/emacs-lisp/map.el (map-let): Better docstring.
26023
26024 2015-06-15 Paul Eggert <eggert@cs.ucla.edu>
26025
26026 * test/automated/help-fns.el (abc\\\[universal-argument\]b\`c\'d\\e\"f):
26027 (help-fns-test-funny-names): Spelling fixes.
26028
26029 2015-06-14 Glenn Morris <rgm@gnu.org>
26030
26031 * lisp/version.el (emacs-repository-version-git): Demote errors.
26032 Check result is a hash.
26033
26034 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
26035
26036 * lisp/emacs-lisp/package.el (package--with-work-buffer-async):
26037 Catch errors that happen before going async. (Bug#20809)
26038
26039 2015-06-14 Eli Zaretskii <eliz@gnu.org>
26040
26041 Another improvement of documentation of set-fontset-font
26042 * doc/lispref/display.texi (Fontsets): Say explicitly that
26043 CHARACTER can be a single codepoint.
26044 * src/fontset.c (Fset_fontset_font): Doc fix.
26045
26046 Another improvement for symbol and punctuation characters
26047 * lisp/international/fontset.el (setup-default-fontset): Exclude
26048 from Symbola character ranges for symbols and punctuation covered
26049 well by popular Unicode fonts. Prefer fixed-misc Unicode font, if
26050 installed and where its coverage of symbols and punctuation is
26051 known to be good. (Bug#20727)
26052
26053 2015-06-14 Christoph Wedler <christoph.wedler@sap.com>
26054
26055 Some generic support for multi-mode indentation.
26056 * lisp/progmodes/prog-mode.el (prog-indentation-context):
26057 New variable.
26058 (prog-first-column, prog-widen): New convenience functions.
26059
26060 2015-06-14 Artur Malabarba <bruce.connor.am@gmail.com>
26061
26062 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
26063 Don't assume that `tabulated-list-printer' will leave point at the
26064 end of the buffer. (Bug#20810)
26065
26066 2015-06-13 Glenn Morris <rgm@gnu.org>
26067
26068 Tweaks for getting repository version; a bit more like it was for bzr
26069 * lisp/version.el (emacs-repository-version-git)
26070 (emacs-repository--version-git-1): New functions,
26071 split from emacs-repository-get-version.
26072 (emacs-repository-get-version): Make the second argument meaningful.
26073
26074 * lisp/startup.el (command-line-1): Inform if skipping relative
26075 file names due to deleted PWD.
26076
26077 * src/xsmfns.c (x_session_initialize): Avoid libSM crash
26078 when starup directory is missing. (Bug#18851)
26079 (errno.h): Include it.
26080
26081 2015-06-13 Paul Eggert <eggert@cs.ucla.edu>
26082
26083 Better fix for documenting `X as "`X"
26084 Fix suggested by Stefan Monnier.
26085 * lisp/help-fns.el (help-fns--signature):
26086 Insert "`X", not "(\` X)", when documenting `X (Bug#20759).
26087 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
26088 Don't treat `X specially, as help-fns--signature now handles this.
26089
26090 2015-06-13 Eli Zaretskii <eliz@gnu.org>
26091
26092 Improve the default fontset when Symbola is not installed
26093 * lisp/international/fontset.el (setup-default-fontset): Only
26094 prepend Symbola and FreeMono font specs for symbols and
26095 punctuation; do not replace the default spec for them. This
26096 should have better results when Symbola/FreeMono are not
26097 installed. (Bug#20727)
26098
26099 Improve documentation of ':lang' in font specs
26100 * src/font.c (Ffont_spec): Doc fix: elaborate on the values and
26101 use of the ':lang' property of the font spec.
26102 * doc/emacs/frames.texi (Fonts): Document the language names that
26103 can be in the STYLE part of XLFD.
26104 * doc/lispref/display.texi (Low-Level Font): Document the ':lang'
26105 property.
26106
26107 * nt/README: Don't advertise the (obsolescent) w32 FAQ.
26108
26109 * nt/README.W32: Don't advertise the (obsolescent) w32 FAQ.
26110
26111 Revert last change in fontset.el
26112 * lisp/international/fontset.el (setup-default-fontset): Revert
26113 the change "Configure Symbola font only if installed", since font
26114 search is evidently not yet set up when this function is called.
26115 (Bug#20727)
26116
26117 2015-06-12 Glenn Morris <rgm@gnu.org>
26118
26119 Ensure early startup warnings are visible at the end. (Bug#20792)
26120 * lisp/emacs-lisp/warnings.el (display-warning):
26121 If startup isn't complete, delay the warning.
26122 * lisp/startup.el (normal-top-level, command-line):
26123 Let display-warning automatically handle the needed delays.
26124 Run delayed-warnings-hook.
26125
26126 * lisp/version.el (emacs-repository-get-version):
26127 Avoid calling external executable if possible. (Bug#20799)
26128
26129 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
26130
26131 Document `X as "`X", not as "(` X)"
26132 * lisp/help.el (help-split-fundoc, help--make-usage-docstring):
26133 Document (backquote FOO) as "`FOO", not as "(` FOO)" (Bug#20759).
26134
26135 * src/print.c (print_object): Minor simplification.
26136
26137 2015-06-12 Glenn Morris <rgm@gnu.org>
26138
26139 * src/buffer.c (init_buffer): Add final newline to message.
26140
26141 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
26142
26143 Configure Symbola font only if installed
26144 * lisp/international/fontset.el (setup-default-fontset):
26145 Don't specify the Symbola font if it's not installed.
26146 Likewise for FreeMono. (Bug#20727)
26147
26148 2015-06-12 Eli Zaretskii <eliz@gnu.org>
26149
26150 Configure Symbola font only for symbols and punctuation
26151 * lisp/international/fontset.el (setup-default-fontset): Leave
26152 only symbols and punctuation in the fontset setup for Symbola
26153 font; remove "Greek and Coptic" and "Cyrillic Supplement".
26154 (Bug#20798)
26155
26156 2015-06-12 Andreas Schwab <schwab@linux-m68k.org>
26157
26158 Fix crash in fontset-info
26159 * src/fontset.c (Ffontset_info): Check that the RFONT-DEF elt is
26160 non-nil.
26161
26162 2015-06-12 Paul Eggert <eggert@cs.ucla.edu>
26163
26164 Port to Solaris 10 sparc + Sun C 5.13
26165 * configure.ac (SETUP_SLAVE_PTY) [sol2* | unixware]:
26166 Adjust to process.c change.
26167 * src/process.c (create_process): Declare volatile variables at
26168 top level of this function, so that they're less likely to be
26169 reused later in the function in the code executed by the vforked
26170 child. Do not declare locals used only in the vforked child, as
26171 they might share memory with locals still live in the parent.
26172 Instead, use the same variables in the child as in the parent.
26173 This works around a subtle bug that causes a garbage collector
26174 crash when Emacs is built with Sun C 5.13 sparc on Solaris 10.
26175
26176 2015-06-12 Glenn Morris <rgm@gnu.org>
26177
26178 * lisp/startup.el (normal-top-level): Don't let *Messages* get
26179 a nil default-directory.
26180
26181 2015-06-11 Glenn Morris <rgm@gnu.org>
26182
26183 * lisp/startup.el (normal-top-level): Use delay-warning. (Bug#20792)
26184
26185 Some progress towards starting with PWD deleted. (Bug#18851)
26186 * src/buffer.c (init_buffer): Handle get_current_dir_name failures.
26187 * lisp/startup.el (normal-top-level, command-line-1):
26188 * lisp/minibuffer.el (read-file-name-default):
26189 Handle default-directory being nil.
26190
26191 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
26192
26193 Fix "not a tty" bug on Solaris 10
26194 * configure.ac (PTY_OPEN): Define to plain 'open'
26195 on SVR4-derived hosts, so that the O_CLOEXEC flag isn't set.
26196 * src/process.c (allocate_pty): Set the O_CLOEXEC flag after
26197 calling PTY_TTY_NAME_SPRINTF, for the benefit of SVR4-derived
26198 hosts that call grantpt which does its work via a setuid subcommand
26199 (Bug#19191, Bug#19927, Bug#20555, Bug#20686).
26200 Also, set O_CLOEXEC even if PTY_OPEN is not defined, since it
26201 seems relevant in that case too.
26202
26203 2015-06-11 Juri Linkov <juri@linkov.net>
26204
26205 * lisp/bindings.el (debug-ignored-errors): Add mark-inactive.
26206 * lisp/simple.el (kill-region): Replace 'error' with 'user-error'.
26207 (Bug#20785)
26208
26209 2015-06-11 Glenn Morris <rgm@gnu.org>
26210
26211 * lisp/international/characters.el (char-script-table): Fix typo.
26212
26213 2015-06-11 Paul Eggert <eggert@cs.ucla.edu>
26214
26215 Fix quoting of help for functions with odd names
26216 While investigating Bug#20759, I discovered other quoting problems:
26217 C-h f mishandled characters like backslash and quote in function names.
26218 This fix changes the behavior so that 'C-h f pcase RET' now
26219 generates "... (\` QPAT) ..." instead of "... (` QPAT) ...",
26220 because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment
26221 in src/lread.c's read1 function says that the backslash will be
26222 needed starting in Emacs 25, which implies that 'format' is
26223 correct and the old pcase documention was wrong to omit the backslash.
26224 * lisp/emacs-lisp/nadvice.el (advice--make-docstring):
26225 * lisp/help-fns.el (help-fns--signature):
26226 * lisp/help.el (help-add-fundoc-usage):
26227 * lisp/progmodes/elisp-mode.el (elisp-function-argstring):
26228 Use help--make-usage-docstring rather than formatting
26229 help-make-usage.
26230 * lisp/emacs-lisp/pcase.el (pcase--make-docstring):
26231 Return raw docstring.
26232 * lisp/help-fns.el (help-fns--signature): New arg RAW, to return
26233 raw docstring. Take more care to distinguish raw from cooked dstrings.
26234 (describe-function-1): Let help-fns--signature substitute
26235 command keys.
26236 * lisp/help.el (help--docstring-quote): New function.
26237 (help-split-fundoc): Use it, to quote funny characters more
26238 systematically.
26239 (help--make-usage): Rename from help-make-usage, since this
26240 should be private. Leave an obsolete alias for the old name.
26241 (help--make-usage-docstring): New function.
26242 * test/automated/help-fns.el (help-fns-test-funny-names): New test.
26243
26244 2015-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
26245
26246 * lisp/thingatpt.el (in-string-p): Revert last change,
26247 since in-string-p is not used in thingatpt.el but only from outside.
26248 Also, use lexical binding.
26249
26250 2015-06-11 Artur Malabarba <bruce.connor.am@gmail.com>
26251
26252 * lisp/emacs-lisp/let-alist.el (let-alist--deep-dot-search): Fix cons.
26253 * test/automated/let-alist.el (let-alist-cons): Test it.
26254
26255 2015-06-11 Nicolas Richard <theonewiththeevillook@yahoo.fr>
26256
26257 * src/syntax.c (Fbackward_prefix_chars): Reword docstring.
26258
26259 2015-06-10 Glenn Morris <rgm@gnu.org>
26260
26261 * build-aux/gitlog-to-emacslog: Also ignore pointless merge commits.
26262
26263 Improve generated ChangeLog for gitmerge.el commits. (Bug#20717)
26264 * build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits.
26265 * admin/gitmerge.el (gitmerge-commit-message):
26266 Exclude "skipped" messages from ChangeLog once again.
26267
26268 Slight namespace cleanup for thingatpt.el.
26269 * lisp/thingatpt.el (thing-at-point--in-string-p)
26270 (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp)
26271 (thing-at-point--read-from-whole-string): Rename from
26272 old versions without "thing-at-point--" prefix.
26273 Keep old versions as obsolete aliases. Update all uses.
26274
26275 * lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
26276 Move requiring of finder from here...
26277 (checkdoc-package-keywords): ... to here.
26278
26279 Use 'user-error' in a few calendar files.
26280 * lisp/calendar/appt.el (appt-add):
26281 * lisp/calendar/calendar.el (calendar-absolute-from-gregorian)
26282 (calendar-generate):
26283 * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic):
26284 Replace 'error' with 'user-error'.
26285
26286 * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
26287
26288 * lisp/files-x.el (add-file-local-variable):
26289 Special-case 'lexical-binding'. (Bug#20641)
26290
26291 * lisp/progmodes/executable.el (executable-self-display): Obsolete.
26292 No longer autoload.
26293 * doc/misc/autotype.texi (Executables):
26294 Undocument executable-self-display.
26295
26296 * lisp/progmodes/executable.el (executable-self-display):
26297 Use non-obsolete tail syntax. (Bug#20779)
26298 (executable-self-display): Doc update.
26299
26300 2015-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
26301
26302 * lisp/emacs-lisp/checkdoc.el: Use lexical-binding
26303 (finder-known-keywords): Silence byte-compiler.
26304
26305 2015-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
26306
26307 * lisp/simple.el (eval-expression): Macroexpand before evaluating
26308 (bug#20730).
26309
26310 * lisp/progmodes/sh-script.el: Better handle nested quotes.
26311 (sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683).
26312 (sh-font-lock-quoted-subshell): Make sure double quotes within single
26313 quotes don't mistakenly end prematurely the surrounding string.
26314
26315 * lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
26316
26317 2015-06-09 Glenn Morris <rgm@gnu.org>
26318
26319 * test/automated/Makefile.in (ELFILES): Sort.
26320
26321 * Makefile.in (SUBDIR_MAKEFILES):
26322 * lwlib/Makefile.in (WARN_CFLAGS):
26323 Use built-in Make functions rather than echo+sed.
26324
26325 2015-06-09 Eli Zaretskii <eliz@gnu.org>
26326
26327 Update char-script-table
26328 * lisp/international/characters.el (char-script-table): Update
26329 from Unicode 8.0 Draft.
26330
26331 Improve font selection for punctuation and other symbols
26332 * src/fontset.c (face_for_char): If the character's script is
26333 'symbol', and the font used for ASCII face has a glyph for it, use
26334 the font for the ASCII face instead of searching the fontsets.
26335 This comes instead of NS-specific code that used the current
26336 face's font instead, which is now disabled due to undesirable
26337 consequences. (Bug#20727)
26338
26339 2015-06-08 Dmitry Gutov <dgutov@yandex.ru>
26340
26341 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
26342 Skip past `#' to find BEG (bug#20771).
26343 * test/automated/elisp-mode-tests.el
26344 (elisp-completes-functions-after-hash-quote): New test.
26345
26346 2015-06-08 Eli Zaretskii <eliz@gnu.org>
26347
26348 Fix compilation warning/error in --without-x builds
26349 * src/xdisp.c (append_space_for_newline): Condition GUI-specific
26350 code on HAVE_WINDOW_SYSTEM.
26351
26352 Improve the default fontset wrt symbols
26353 * lisp/international/fontset.el (setup-default-fontset): Better
26354 setup of fontset-default for symbols: use Symbola and FreeMono.
26355 (Bug#20727)
26356
26357 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
26358
26359 Add new command checkdoc-package-keywords
26360 * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag):
26361 New defcustom.
26362 (checkdoc-list-of-strings-p): Add doc.
26363 (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is
26364 non-nil, call `checkdoc-package-keywords'.
26365 (checkdoc-get-keywords): New defun.
26366 (checkdoc-package-keywords): New command. Warns if the current file
26367 has package.el-style keywords that aren't in `finder-known-keywords'.
26368 * etc/NEWS: Add entry.
26369
26370 2015-06-08 Eli Zaretskii <eliz@gnu.org>
26371
26372 Avoid crashes when key-binding is called from a timer
26373 * src/keymap.c (Fkey_binding): Don't segfault if called with an
26374 empty vector as KEY. (Bug#20705)
26375
26376 Fix a thinko in arc-mode.el
26377 * lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
26378 non-Zip64 case. (Bug#20769)
26379
26380 2015-06-08 Artur Malabarba <bruce.connor.am@gmail.com>
26381
26382 * lisp/emacs-lisp/package.el (package-delete): Make interactive.
26383
26384 2015-06-08 Oleh Krehel <ohwoeowho@gmail.com>
26385
26386 * lisp/emacs-lisp/checkdoc.el (checkdoc-file): New function.
26387 (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to
26388 "*warn*", print the warning to the standard output. (bug#20754)
26389
26390 2015-06-07 Glenn Morris <rgm@gnu.org>
26391
26392 * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog.
26393
26394 * src/font.c (syms_of_font) <font-log>: Doc fix.
26395
26396 Remove the obsolete leading "*" from some C doc strings.
26397 * src/coding.c (syms_of_coding):
26398 * src/font.c (syms_of_font): Remove leading "*" from docs.
26399 * lisp/cus-start.el (enable-character-translation): Add it.
26400
26401 2015-06-07 Paul Eggert <eggert@cs.ucla.edu>
26402
26403 Move gen_origin from program to data
26404 That way, 'make change-history' needs to change only ChangeLog.2,
26405 instead of having to change two files.
26406 * ChangeLog.2: Add commit info for range that this file covers.
26407 * Makefile.in (new_commit_regexp): New macro.
26408 (change-history-nocommit): Simplify, by putting what used to be
26409 the gen_origin value into the data (ChangeLog.2) rather than
26410 into the program (gitlog-to-emacslog).
26411 * build-aux/gitlog-to-emacslog (gen_origin): Calculate from
26412 the input file (e.g., ChangeLog.2) rather than by having a
26413 constant in the program. Substitute it into the output.
26414
26415 2015-06-07 Dmitry Gutov <dgutov@yandex.ru>
26416
26417 * lisp/help-fns.el (help-fns--signature): Quote any quotes in the
26418 function name (bug#20759).
26419
26420 2015-06-07 Eli Zaretskii <eliz@gnu.org>
26421
26422 Adapt 'struct timespec' to next release of MinGW runtime
26423 * nt/inc/ms-w32.h (struct timespec): Don't declare if
26424 __struct_timespec_defined is defined.
26425
26426 2015-06-06 Paul Eggert <eggert@cs.ucla.edu>
26427
26428 Merge from gnulib
26429 This incorporates:
26430 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
26431 2015-06-05 stdio: Don't redefine gets when using C++
26432 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
26433 2015-06-02 file-has-acl: fix build on Mac OS X 10
26434 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
26435 2015-06-01 pthread_sigmask: discount system version if a simple macro
26436 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
26437 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
26438 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
26439 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
26440 * lib/gnulib.mk: Regenerate.
26441
26442 2015-06-06 Juri Linkov <juri@linkov.net>
26443
26444 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
26445 before calling grep-compute-defaults because now it affects the
26446 command lines computed in grep-compute-defaults. (Bug#20728)
26447
26448 2015-06-06 Glenn Morris <rgm@gnu.org>
26449
26450 Address some compilation warnings.
26451 * lisp/international/mule-cmds.el (w32-get-console-codepage)
26452 (w32-get-console-output-codepage):
26453 * lisp/progmodes/elisp-mode.el (xref-collect-references):
26454 * lisp/version.el (cairo-version-string): Declare.
26455 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
26456
26457 2015-06-06 Eli Zaretskii <eliz@gnu.org>
26458
26459 Fix display when a font claims large values of ascent and descent
26460 This fixes bug#20628.
26461 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
26462 coordinate of a hollow cursor glyph when the original glyph's
26463 ascent is too small.
26464 (get_font_ascent_descent, normal_char_ascent_descent)
26465 (normal_char_height): New functions.
26466 (handle_single_display_spec, append_space_for_newline)
26467 (calc_pixel_width_or_height, produce_stretch_glyph)
26468 (calc_line_height_property): Use normal_char_ascent_descent and
26469 normal_char_height.
26470 (x_produce_glyphs): When font-global values of ascent and descent
26471 are too large, use per-character glyph metrics instead, if
26472 possible. But don't allow the glyph row's ascent and descent
26473 values become smaller than the values from the metrics of the
26474 font's "normal" character.
26475 * src/xftfont.c (xftfont_draw):
26476 * src/w32font.c (w32font_draw): Correct the values of ascent and
26477 descent used to draw glyphless characters' hex code in a box.
26478 * src/xterm.c (x_draw_glyph_string_background):
26479 * src/xdisp.c (x_produce_glyphs):
26480 * src/w32term.c (x_draw_glyph_string_background):
26481 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
26482 to detect fonts whose global ascent and descent values are too
26483 large to be used in layout decision, and redraw the background
26484 when that happens.
26485 * src/dispextern.h (FONT_TOO_HIGH): New macro.
26486 (get_font_ascent_descent): Add prototype.
26487 * src/xterm.c (x_new_font):
26488 * src/w32term.c (x_new_font):
26489 * src/nsterm.m (x_new_font):
26490 * src/font.c (font_open_entity):
26491 * src/composite.c (composition_gstring_width):
26492 Use get_font_ascent_descent to obtain reasonable values for ascent
26493 and descent of a font.
26494
26495 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
26496
26497 Add assertion in adjust_point_for_property
26498 * src/keyboard.c (adjust_point_for_property): Add eassert for
26499 current buffer being shown in selected window.
26500
26501 2015-06-06 Dmitry Gutov <dgutov@yandex.ru>
26502
26503 Replace uses of in-string-p; make it obsolete
26504 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
26505 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
26506
26507 2015-06-06 Eli Zaretskii <eliz@gnu.org>
26508
26509 Fix Dired display of an explicit list of files by ls-lisp.el
26510 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
26511 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
26512 correct for when displaying individual files separately, not as
26513 part of listing a directory, in which case these values are not
26514 recomputed by 'ls-lisp-insert-directory', but used verbatim.
26515
26516 * lisp/dired.el (dired): Doc fix. (Bug#20739)
26517
26518 2015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
26519
26520 Do not adjust point in a non-selected window
26521 * src/keyboard.c (command_loop_1): Do not adjust point when
26522 current buffer is not shown in selected window (Bug#20590).
26523
26524 * etc/DEBUG: Mention 'maybe_call_debugger'
26525
26526 2015-06-05 Nicolas Petton <nicolas@petton.fr>
26527
26528 Fix a unit test for map.el
26529 * test/automated/map-tests.el (test-map-let): Fix the test to work
26530 with the new syntax of `map-let'.
26531
26532 * lisp/emacs-lisp/map.el (map-let): Better docstring.
26533
26534 Better syntax for the map pcase pattern
26535 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
26536 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
26537
26538 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
26539
26540 Fix a byte-compiler error in map-put and map-delete
26541 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
26542 called with a symbol.
26543
26544 2015-06-05 Glenn Morris <rgm@gnu.org>
26545
26546 * admin/gitmerge.el (gitmerge-commit-message):
26547 Revert to including "skipped" messages in ChangeLog once again.
26548
26549 2015-06-05 Tassilo Horn <tsdh@gnu.org>
26550
26551 Use string> instead of equiv lambda with string<
26552 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
26553 lambda with string<.
26554
26555 2015-06-05 Glenn Morris <rgm@gnu.org>
26556
26557 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
26558 (map--delete-array): Fix typo.
26559
26560 * test/automated/map-tests.el: Replace "assert" with "should".
26561
26562 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
26563 (SUBDIRS_REL): Derive from SUBDIRS.
26564
26565 Tweak some build messages.
26566 * lisp/Makefile.in ($(lisp)/loaddefs.el):
26567 * lisp/cus-dep.el (custom-make-dependencies):
26568 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
26569 * lisp/international/titdic-cnv.el (batch-titdic-convert):
26570 Don't say how to compile.
26571
26572 2015-06-05 Paul Eggert <eggert@cs.ucla.edu>
26573
26574 Omit U+0332 COMBINING LOW LINE in previous change
26575 It turns out that it does not work on Ubuntu 15.04.
26576
26577 Fix transliteration of Bahá'í months
26578 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
26579 Improve quality of Latin transliteration of Bahá'í month names.
26580
26581 Fix curved quotes in a few places
26582 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
26583 The strings in question are not doc strings, so this partially
26584 undoes the recent change that assumed they were doc strings.
26585 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
26586 * lisp/info.el (Info-finder-find-node):
26587 Use curved quotes.
26588 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
26589 Also allow curved quotes in doc strings.
26590
26591 2015-06-04 Glenn Morris <rgm@gnu.org>
26592
26593 * lisp/Makefile.in (AM_V_at): Add missing definition.
26594
26595 * lisp/Makefile.in: Quieten output a bit.
26596 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
26597 Don't echo directories, since the commands we invoke print them.
26598
26599 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
26600 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
26601 (SUBDIRS_SUBDIRS): New variables.
26602 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
26603 Remove.
26604 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
26605 (update-subdirs, compile-main, compile-clean):
26606 Replace "setwins" usage with new "SUBDIRS" variables.
26607
26608 * lisp/vc/compare-w.el (compare-windows-get-window-function):
26609 Fix :version tag.
26610
26611 2015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
26612
26613 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
26614
26615 Undo removal of x_clear_area call on expose for GTK3 or cairo
26616 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]:
26617 Clear exposed area. (Bug#20677)
26618
26619 2015-06-04 Glenn Morris <rgm@gnu.org>
26620
26621 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
26622
26623 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
26624
26625 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
26626 Rename from quail-lao-update-translation, since lao.el defines that.
26627
26628 2015-06-04 Dmitry Gutov <dgutov@yandex.ru>
26629
26630 Handle new-style advice in find-funct
26631 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
26632 Handle new-style advice. Return the symbol's function definition.
26633 (Bug#20718)
26634 (find-function-library): Update accordingly.
26635
26636 2015-06-04 Nicolas Petton <nicolas@petton.fr>
26637
26638 Merge branch 'map'
26639
26640 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
26641
26642 Add new function string-greaterp
26643 * lisp/subr.el (string-greaterp): New function. Also aliased to
26644 `string>'.
26645 * test/automated/subr-tests.el (string-comparison-test): Add unit
26646 tests for `string>'and `string<'.
26647 * src/fns.c (string-lessp): Better docstring.
26648
26649 2015-06-04 Eli Zaretskii <eliz@gnu.org>
26650
26651 Fix timezone-related functions on MS-Windows
26652 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
26653 'xputenv', even if no reallocation of tzvalbuf was necessary.
26654 This fixes a bug in timezone-related functions on MS-Windows.
26655 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
26656
26657 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
26658
26659 Don't pass raw directory name to 'error'
26660 * lisp/files.el (basic-save-buffer-2): Avoid format error if
26661 a directory name contains a string like "%s".
26662
26663 2015-06-03 Dmitry Gutov <dgutov@yandex.ru>
26664
26665 Override 'grep --color=always'
26666 * lisp/progmodes/xref.el (xref-collect-matches):
26667 Override --color=always in grep-find-template.
26668
26669 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
26670
26671 Fix error introduced recently in file-notify-tests.el
26672 * test/automated/file-notify-tests.el
26673 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
26674 (file-notify--deftest-remote): Revert previous patch, not
26675 necessary anymore.
26676
26677 2015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
26678
26679 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
26680 Starting from a display string after a newline, point went to the
26681 previous line. Also, fix an inadvertent use of a buffer position
26682 with FETCH_BYTE. (Bug#20701)
26683
26684 2015-06-03 Michael Albinus <michael.albinus@gmx.de>
26685
26686 Instrument file-notify-test.el in order to catch hydra error
26687 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
26688 Wrap body by `ignore-case', in order to trap non-local errors.
26689
26690 2015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
26691
26692 Undo previous changes in non-toolkit scroll bar drawing
26693 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
26694 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
26695
26696 2015-06-03 Paul Eggert <eggert@cs.ucla.edu>
26697
26698 * .gitignore: Also ignore doc/*/*/*.html and .ps.
26699
26700 Support quotes 'like this' in info files
26701 This is possible when 'makeinfo --disable-encoding' is used
26702 in Texinfo 5.
26703 * lisp/calc/calc-help.el (calc-describe-thing):
26704 * lisp/gnus/gnus-art.el (gnus-button-alist):
26705 * lisp/info.el (Info-find-index-name):
26706 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
26707 Also support quotes 'like this'.
26708 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
26709 * lisp/finder.el (finder-font-lock-keywords): Remove var that
26710 hasn't been used in years, instead of bothering to fix its quoting.
26711
26712 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
26713
26714 * .gitignore: Remove !test/etags/html-src/*.html.
26715 It's no longer needed, since *.html was removed. Sort.
26716
26717 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
26718
26719 Restore <D> instead of '.' in grep-find-template
26720 * lisp/cedet/semantic/symref/grep.el
26721 (semantic-symref-grep-use-template): Update a comment.
26722 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
26723 instead of '.' in grep-find-template (bug#20719).
26724 (rgrep): Pass nil as the directory to rgrep-default-command.
26725 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
26726 default value for DIR.
26727 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
26728 workaround.
26729
26730 2015-06-02 Glenn Morris <rgm@gnu.org>
26731
26732 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
26733
26734 * configure.ac (emacs_config_features): Add Cairo.
26735
26736 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
26737
26738 2015-06-02 Michael Albinus <michael.albinus@gmx.de>
26739
26740 Ensure that autorevert works for remote files in file-notify-tests.el
26741 * test/automated/file-notify-tests.el (file-notify--test-desc):
26742 New defvar.
26743 (file-notify--test-remote-enabled)
26744 (file-notify-test00-availability, file-notify-test01-add-watch)
26745 (file-notify-test02-events): Use it.
26746 (file-notify--test-event-test): Check proper descriptor.
26747 (file-notify-test03-autorevert): Ensure that
26748 `visited-file-modtime' has changed. (Bug#20392)
26749
26750 2015-06-02 Nicolas Petton <nicolas@petton.fr>
26751
26752 Add a pcase pattern for maps and `map-let' based on it
26753 * lisp/emacs-lisp/map.el (map-let): New macro.
26754 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
26755 * test/automated/map-tests.el: New test for `map-let'.
26756
26757 2015-06-02 Dmitry Gutov <dgutov@yandex.ru>
26758
26759 Reuse rgrep mechanics in xref-find-regexp
26760 * lisp/progmodes/grep.el (rgrep-default-command):
26761 Extract from `rgrep'.
26762 * lisp/progmodes/xref.el (xref-collect-references): Split from
26763 `xref-collect-matches'. Only handle the case of symbol search.
26764 (xref-collect-matches): Instead of Semantic Symref, use
26765 `rgrep-default-command', to take advantage of its directory and
26766 file ignore settings.
26767 (xref--collect-match): Remove the last argument, leaving the
26768 regexp construction up to the caller.
26769 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
26770 Change to take the xref-collect- function to use as an argument.
26771 (elisp-xref-find): Update accordingly.
26772 * lisp/progmodes/etags.el (etags--xref-find-matches)
26773 (etags-xref-find): Same.
26774
26775 Move xref-elisp-location to elisp-mode.el
26776 * lisp/progmodes/xref.el (xref-elisp-location)
26777 (xref-make-elisp-location, xref-location-marker): Remove here.
26778 (xref--xref): Don't limit the type of the location slot.
26779 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
26780 Define as a cl-struct here.
26781 (xref-location-marker): Move here.
26782
26783 2015-06-02 Eli Zaretskii <eliz@gnu.org>
26784
26785 Minor tweaks for .gitignore
26786 * .gitignore: Don't ignore versioned *.html and *.ps files.
26787 Don't ignore admin/notes/tags that might be ignored as TAGS
26788 on case-insensitive filesystems. (Bug#20710)
26789
26790 2015-06-02 Paul Eggert <eggert@cs.ucla.edu>
26791
26792 Generate curved quotes in ert doc
26793 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
26794 (ert-results-mode-menu)
26795 (ert-results-pop-to-backtrace-for-test-at-point)
26796 (ert-results-pop-to-messages-for-test-at-point)
26797 (ert-results-pop-to-should-forms-for-test-at-point)
26798 (ert-describe-test):
26799 Quote ‘like this’, not `like this', when generating doc strings
26800 and the like.
26801 * test/automated/ert-x-tests.el (ert-test-describe-test):
26802 Allow quoting ‘like this’.
26803
26804 2015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
26805
26806 Add test for previous commit
26807 * test/automated/replace-tests.el: New file.
26808 (query-replace--split-string-tests): Add test for previous commit.
26809
26810 Avoid confusion in query-replace history when replacing NUL chars
26811 * lisp/replace.el (query-replace--split-string): New function.
26812 (query-replace-read-from): Rely on the 'separator' property
26813 instead of searching for the NUL character (Bug#20690).
26814
26815 2015-06-02 Glenn Morris <rgm@gnu.org>
26816
26817 Merge from origin/emacs-24
26818 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
26819
26820 * admin/gitmerge.el (gitmerge-commit-message):
26821 Exclude "skipped" messages from ChangeLog.
26822
26823 2015-06-01 Michael Albinus <michael.albinus@gmx.de>
26824
26825 Sync with Tramp repository
26826 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
26827 messages.
26828 (tramp-handle-make-auto-save-file-name): When calling
26829 `make-auto-save-file-name' internally, make sure it uses Unix-like
26830 behavior, not Windows-like behavior.
26831 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
26832 the local case, because "chown" might fail on w32.
26833 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
26834 for XEmacs.
26835
26836 2015-06-01 Eli Zaretskii <eliz@gnu.org>
26837
26838 MS-Windows followup for batch stdout/stderr output changes
26839 * lisp/international/mule-cmds.el (set-locale-environment):
26840 In batch mode, use console codepages for keyboard and terminal
26841 encoding. (Bug#20545)
26842
26843 Update .gitattributes for DOS EOL files
26844 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
26845 CRLF end-of-line format.
26846
26847 NS equivalents of xterm.c and w32term.c changes
26848 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
26849 glyph string background also when the font in use claims
26850 preposterously large global height value. Helps to remove
26851 artifacts left from previous displays when glyphless characters
26852 are displayed as hex code in a box.
26853 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
26854 value for FRAME_LINE_HEIGHT, even when a font claims very large
26855 value for its height.
26856
26857 2015-06-01 Paul Eggert <eggert@cs.ucla.edu>
26858
26859 Avoid grave accent quoting in stderr diagnostics
26860 A few Emacs diagnostics go directly to stderr, and so can't easily
26861 contain curved quotes (as non-UTF-8 locales might mishandle them).
26862 Instead of bothering to add support for this rarity, reword the
26863 diagnostics so that they don't use grave accent to quote.
26864 * src/alloc.c (mark_memory): Fix comment.
26865 * src/buffer.c (init_buffer):
26866 * src/dispnew.c (init_display):
26867 * src/emacs.c (main, sort_args):
26868 * src/lread.c (dir_warning):
26869 * src/term.c (init_tty):
26870 * src/unexmacosx.c (unexec):
26871 * src/xfns.c (select_visual):
26872 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
26873 Reword stderr diagnostics to avoid quoting `like this'.
26874 * src/unexmacosx.c: Include errno.h.
26875 * src/xfns.c (select_visual): Encode value for locale.
26876
26877 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
26878
26879 Treat batch stdout/stderr like standard display
26880 Calls like (print FOO) could generate improperly encoded or
26881 hard-to-read output if FOO contains characters outside the system
26882 locale. Fix this by treating batch stdout and stderr like
26883 interactive standard display, when it comes to transliterating and
26884 encoding characters (Bug#20545).
26885 * doc/emacs/mule.texi (Communication Coding):
26886 * doc/lispref/display.texi (Active Display Table):
26887 * doc/lispref/nonascii.texi (Locales):
26888 * etc/NEWS:
26889 * src/coding.c (syms_of_coding):
26890 * src/dispnew.c (syms_of_display):
26891 Document this.
26892 * src/print.c: Include disptab.h.
26893 (printchar_to_stream): New function, with much of the guts of the
26894 old Fexternal_debugging_output, except this one also uses the
26895 standard display table.
26896 (printchar, strout, Fexternal_debugging_output): Use it.
26897
26898 2015-05-31 Glenn Morris <rgm@gnu.org>
26899
26900 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
26901
26902 2015-05-31 Paul Eggert <eggert@cs.ucla.edu>
26903
26904 Remove DEFSYMs that aren't used at the C level. Also:
26905 * src/decompress.c (Qzlib_dll):
26906 * src/font.c (Qunicode_sip):
26907 * src/frame.c (Qtip_frame):
26908 * src/ftfont.c (Qserif):
26909 * src/gnutls.c (Qgnutls_dll):
26910 * src/xml.c (Qlibxml2_dll):
26911 Move from here ...
26912 * src/w32fns.c (syms_of_w32fns): ... to here,
26913 as these are used only on MS-Windows.
26914
26915 2015-05-31 Michael Albinus <michael.albinus@gmx.de>
26916
26917 Use another default value for tramp-histfile-override
26918 * lisp/net/tramp-sh.el (tramp-histfile-override):
26919 Use ".tramp_history" as default.
26920 Fixes bug#20446
26921
26922 2015-05-29 Nicolas Petton <nicolas@petton.fr>
26923
26924 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
26925
26926 2015-05-16 Nicolas Petton <nicolas@petton.fr>
26927
26928 * etc/NEWS: Add an entry about map.el.
26929
26930 Improve the docstring of functions in map.el
26931 Since a map is not a data structure but a concept, adding information
26932 about the possible types of maps can be useful information.
26933 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
26934 each public function.
26935
26936 2015-04-29 Nicolas Petton <nicolas@petton.fr>
26937
26938 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
26939 specific tests depending on the type of the map.
26940
26941 * lisp/emacs-lisp/map.el: Better docstrings.
26942
26943 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
26944
26945 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda.
26946
26947 2015-04-25 Nicolas Petton <nicolas@petton.fr>
26948
26949 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
26950
26951 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
26952
26953 Fix a false negative in `map-elt' with alists and values being nil
26954 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
26955 found but its associated value is nil, do not return the default
26956 value.
26957 * test/automated/map-tests.el: Add a regression test.
26958
26959 2015-04-24 Nicolas Petton <nicolas@petton.fr>
26960
26961 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
26962
26963 Do not signal an error when trying to delete a key from an array
26964 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
26965 the key is present to avoid signaling an error.
26966 * test/automated/map-tests.el: Add a test for deleting non-existing
26967 keys from maps.
26968
26969 * lisp/emacs-lisp/map.el: Better docstring.
26970
26971 Minor improvement in map-elt
26972 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
26973 doing a lookup in arrays, but check the boundaries of the array
26974 instead.
26975 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
26976 and a negative integer as key.
26977
26978 2015-04-21 Nicolas Petton <nicolas@petton.fr>
26979
26980 * test/automated/map-tests.el: Refactoring of test methods.
26981
26982 * test/automated/map-tests.el: Renamed from map-test.el.
26983
26984 2015-04-18 Nicolas Petton <nicolas@petton.fr>
26985
26986 * lisp/emacs-lisp/map.el (map-into): Better error message.
26987
26988 * lisp/emacs-lisp/map.el: Remove byte-compilation warnings.
26989
26990 Throw an error when converting a map into an unknown map type
26991 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is
26992 not valid.
26993 * test/automated/map-tests.el: Add a regression test.
26994
26995 New library map.el similar to seq.el but for mapping data structures.
26996 * test/automated/map-tests.el: New file.
26997 * lisp/emacs-lisp/map.el: New file.
26998
26999 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
27000
27001 * lisp/progmodes/etags.el (tag-implicit-name-match-p): Make sure
27002 there's no explicit tag name (bug#20629).
27003
27004 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
27005
27006 Remove format2
27007 * src/editfns.c, src/lisp.h (format2): Remove.
27008 It is more trouble than it's worth, now that we have CALLN.
27009 This is just a minor refactoring.
27010 * src/buffer.c (Fkill_buffer):
27011 * src/dbusbind.c (XD_OBJECT_TO_STRING):
27012 * src/fileio.c (barf_or_query_if_file_exists):
27013 Adjust to format2 going away.
27014
27015 Don't misencode C-generated messages
27016 Also, be more consistent about calls to 'Fmessage' vs 'message'.
27017 * src/alloc.c (Fgc_status):
27018 Prefer AUTO_STRING to build_string for Fmessage call.
27019 * src/data.c (Fmake_variable_buffer_local)
27020 (Fmake_local_variable, Fmake_variable_frame_local):
27021 * src/doc.c (store_function_docstring):
27022 Use Fmessage, not message, since the argument can contain
27023 non-ASCII characters, and this can cause the resulting message
27024 to be incorrectly encoded for the current environment.
27025 * src/fns.c (maybe_resize_hash_table):
27026 * src/xselect.c (x_clipboard_manager_save_all):
27027 Use message, not Fmessage, since Fmessage's power isn't needed here.
27028 * src/process.c (Fmake_network_process): Reword message to avoid %s.
27029 * src/xdisp.c (vmessage): Document restrictions on message contents.
27030 (message_nolog) [false]: Remove unused code.
27031
27032 Use \r rather than ^M in string literals
27033 This is less likely to cause problems on platforms that
27034 use CRLF (or CR!) termination for lines.
27035
27036 Update .gitattributes to match current sources
27037 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00879.html
27038 * .gitattributes: Accommodate tests that insist on DOS format.
27039 Remove test/automated/data/decompress/foo-gzipped.
27040 Add etc/e/eterm-color.
27041
27042 2015-05-30 Eli Zaretskii <eliz@gnu.org>
27043
27044 * doc/emacs/mule.texi (Modifying Fontsets):
27045 Document face-ignored-fonts. (Bug#20628)
27046
27047 Add etags test for the new -Q option
27048 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
27049 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
27050 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
27051 test-case changes below.
27052 * test/etags/ETAGS.good_6: New file.
27053 * test/etags/cp-src/x.cc: New file.
27054 * test/etags/Makefile (CPSRC): Add x.cc.
27055 (check): Add one more test, for -Q.
27056
27057 2015-05-30 Dmitry Gutov <dgutov@yandex.ru>
27058
27059 Use list for the tags completion table, not obarray
27060 * lisp/progmodes/etags.el (etags-tags-completion-table): Return a
27061 list instead of an obarray
27062 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00876.html).
27063 (tags-completion-table): Combine those lists.
27064 (tags-completion-table): Update the docstring.
27065
27066 2015-05-30 Eli Zaretskii <eliz@gnu.org>
27067
27068 Restore EOL format testing in etags
27069 * test/etags/ETAGS.good_1, test/etags/ETAGS.good_2:
27070 * test/etags/ETAGS.good_3, test/etags/ETAGS.good_4:
27071 * test/etags/ETAGS.good_5, test/etags/CTAGS.good: Adjust to
27072 test-case changes below.
27073 * test/etags/html-src/algrthms.html: Convert back to DOS EOL format.
27074 * test/etags/cp-src/c.C (B): Add back stray CR character.
27075 * test/etags/c-src/dostorture.c: Add back.
27076 * test/etags/Makefile (CSRC): Add back c-src/dostorture.c.
27077
27078 2015-05-30 Vitaly Takmazov <vitalyster@gmail.com> (tiny change)
27079
27080 Declare Emacs on MS-Windows to be DPI-aware
27081 * nt/emacs-x86.manifest (asmv3:windowsSettings): Add dpiAware.
27082 * nt/emacs-x64.manifest (asmv3:windowsSettings): Add dpiAware.
27083 This avoids Windows entering compatibility mode for Emacs,
27084 which causes fonts to look less nice.
27085
27086 2015-05-30 Michael Albinus <michael.albinus@gmx.de>
27087
27088 Improve Tramp traces
27089 * lisp/net/trampver.el (tramp-repository-get-version): New defun.
27090 * lisp/net/tramp.el (tramp-debug-message): Use it.
27091
27092 2015-05-30 Paul Eggert <eggert@cs.ucla.edu>
27093
27094 backup-buffer minor reworking of internals
27095 * lisp/files.el (backup-buffer): Rework to avoid a couple of
27096 unused locals inadvertently introduced in the previous change.
27097
27098 backup-buffer now reports .emacs.d/%backup% ills
27099 * lisp/files.el (backup-buffer): If the write to .emacs.d/%backup%
27100 fails due to disk space exhaustion or whatever, do not pretend
27101 that it succeeded. More generally, do a better job of checking
27102 for I/O failures, and limit the scope of the condition-case to
27103 just the operations where file errors should be caught and ignored
27104 (Bug#20595). Also, don't bother trying to delete later backups if
27105 an earlier deletion fails, as this is a sign of trouble and it's
27106 better to stop when there's trouble.
27107
27108 copy-file now truncates output after writing
27109 * src/fileio.c (Fcopy_file): Truncate output after writing rather
27110 than before. This is more likely to work than truncation before
27111 writing, if the file system is out of space or the user is over
27112 disk quota (Bug#20595). Also, check for read errors.
27113
27114 2015-05-29 Artur Malabarba <bruce.connor.am@gmail.com>
27115
27116 * lisp/emacs-lisp/package.el (package-load-all-descriptors):
27117 Don't load descriptors from directories above the package directories.
27118
27119 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
27120
27121 Merge from gnulib
27122 This incorporates the following (Bug#20681):
27123 2015-05-29 acl-permissions: Fix build on Mac OS X and older AIX
27124 2015-05-29 acl-permissions: Fix build on Solaris and Cygwin
27125 * lib/set-permissions.c: Copy from gnulib.
27126
27127 2015-05-29 Michael Albinus <michael.albinus@gmx.de>
27128
27129 Improve Tramp traces
27130 * lisp/net/tramp.el (tramp-call-process-region): New defun.
27131 * lisp/net/tramp-sh.el (tramp-get-inline-coding): Use it.
27132
27133 2015-05-29 Glenn Morris <rgm@gnu.org>
27134
27135 * test/automated/vc-tests.el: Try enabling tests on hydra.nixos.org.
27136
27137 2015-05-29 Wolfgang Jenkner <wjenkner@inode.at>
27138
27139 * src/xfns.c (x_set_menu_bar_lines): Fix calls to x_clear_area.
27140 The signature was changed in the cairo branch, merged on 2015-05-23.
27141 This oversight broke compiling only the non-toolkit X version.
27142
27143 2015-05-29 Samer Masterson <samer@samertm.com>
27144
27145 * doc/lispref/os.texi: Update initial-buffer-choice docs.
27146
27147 2015-05-29 Glenn Morris <rgm@gnu.org>
27148
27149 * test/automated/vc-tests.el (vc-test-rcs04-checkout-model):
27150 Mark as an expected failure.
27151
27152 2015-05-29 Paul Eggert <eggert@cs.ucla.edu>
27153
27154 Change package test to look for curved quotes
27155 * test/automated/package-test.el (package-test-describe-package)
27156 (package-test-signed): Search for curved single quotes as well as
27157 for grave accent and apostrophe.
27158
27159 2015-05-28 Katsumi Yamaoka <yamaoka@jpl.org>
27160
27161 * lisp/gnus/gnus-art.el (gnus-button-alist): Re-revert last change.
27162 cf. <http://news.gmane.org/group/gmane.emacs.devel/thread=186896>
27163
27164 2015-05-28 Samer Masterson <samer@samertm.com>
27165
27166 Show files when `initial-buffer-choice' is non-nil
27167 * lisp/startup.el (command-line-1): When Emacs is given a file as an
27168 argument and `initial-buffer-choice' is non-nil, display both the file
27169 and `initial-buffer-choice'. For more than one file, show
27170 `initial-buffer-choice' and *Buffer List*. Refactor display-changing
27171 commands out of the command line arg parser.
27172 (initial-buffer-choice): Clarify docstring.
27173
27174 2015-05-28 Eli Zaretskii <eliz@gnu.org>
27175
27176 Fix last commit
27177 * nt/gnulib.mk (libgnu_a_SOURCES): Add get-permissions.c back.
27178 (gnulib module qcopy-acl): Add back, as it is harmless. This
27179 minimizes differences wrt lib/gnulib.mk.
27180
27181 Fix the MS-Windows build as followup to gnulib update
27182 * nt/gnulib.mk (libgnu_a_SOURCES): Remove get-permissions.c and
27183 set-permissions.c, as they don't compile on MinGW.
27184 (gnulib module qcopy-acl): Remove, as it needs set-permissions.c.
27185
27186 2015-05-28 Paul Eggert <eggert@cs.ucla.edu>
27187
27188 Revert my change to gnus-art.el
27189 * lisp/gnus/gnus-art.el (gnus-button-alist): Revert last change.
27190 It wasn't that important, and it caused a Gnus build to fail. See:
27191 http://www.randomsample.de:4456/builders/emacs-devel/builds/734
27192
27193 New minor mode Electric Quote
27194 This lets you easily insert quotes ‘like this’ by typing
27195 quotes `like this', and similarly you can easily insert
27196 quotes “like this” by typing quotes ``like this'' (Bug#20545).
27197 * doc/emacs/basic.texi (Inserting Text):
27198 * doc/emacs/modes.texi (Minor Modes):
27199 * etc/NEWS: Document it.
27200 * doc/emacs/text.texi (Quotation Marks): New section.
27201 * lisp/electric.el (electric-quote-comment)
27202 (electric-quote-string, electric-quote-paragraph):
27203 New custom vars.
27204 (electric--insertable-p)
27205 (electric-quote-post-self-insert-function): New functions.
27206 (electric-quote-mode, electric-quote-local-mode): New minor modes.
27207 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
27208 Add curved single quotes to electric-pair-text-pairs.
27209 Set electric-quote-string in this buffer.
27210
27211 A few more doc string fixes (Bug#20385)
27212
27213 Accept curved quotes in doc strings
27214 * lisp/info-look.el (info-lookup-guess-custom-symbol):
27215 (info-lookup-alist): Treat ‘’ like `' when parsing help buffers etc.
27216
27217 Generate curved quotes in pseudo-info nodes
27218 * lisp/info.el (Info-virtual-index-find-node)
27219 (Info-virtual-index, Info-apropos-find-node, info-apropos):
27220 Quote ‘like this’, not `like this', when generating pseudo-info nodes.
27221
27222 Fix minor quoting problems in doc strings
27223 Most of these fixes involve escaping grave accents that are
27224 actually intended to be grave accents, not left quotes.
27225 (Bug#20385)
27226
27227 Support curved quotes in doc strings
27228 Emacs's traditional doc string style has been to quote symbols
27229 `like this'. This worked well on now-obsolete terminals where
27230 ` and ' were symmetric quotes, but nowadays curved quotes
27231 ‘like this’ look better. Support quoting the new way too.
27232 (Bug#20385)
27233 * doc/lispref/tips.texi (Documentation Tips): Symbols can be quoted
27234 ‘like-this’ as well as `like-this'.
27235 * etc/NEWS: Mention this.
27236 * lisp/cedet/mode-local.el (overload-docstring-extension)
27237 (mode-local-print-binding, mode-local-describe-bindings-2):
27238 * lisp/cus-theme.el (describe-theme-1):
27239 * lisp/descr-text.el (describe-text-properties-1, describe-char):
27240 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
27241 * lisp/emacs-lisp/cl-generic.el (cl--generic-describe):
27242 * lisp/emacs-lisp/eieio-opt.el (eieio-help-class)
27243 (eieio-help-constructor):
27244 * lisp/emacs-lisp/package.el (describe-package-1):
27245 * lisp/faces.el (describe-face):
27246 * lisp/help-fns.el (help-fns--key-bindings)
27247 (help-fns--compiler-macro, help-fns--parent-mode, help-fns--obsolete):
27248 (help-fns--interactive-only, describe-function-1):
27249 (describe-variable):
27250 * lisp/help.el (describe-mode):
27251 * lisp/international/mule-cmds.el (describe-input-method)
27252 (describe-language-environment):
27253 * lisp/international/mule-diag.el (describe-character-set)
27254 (print-coding-system-briefly, list-input-methods)
27255 (list-input-methods-1):
27256 Insert curved quotes rather than grave accent and apostrophe.
27257 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
27258 * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine)
27259 (checkdoc-proper-noun-region-engine):
27260 * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2)
27261 (lisp-cl-font-lock-keywords-2):
27262 * lisp/finder.el (finder-font-lock-keywords):
27263 * lisp/gnus/gnus-art.el (gnus-button-alist):
27264 * lisp/help-fns.el (help-do-arg-highlight)
27265 (describe-function-1, describe-variable):
27266 * lisp/help-mode.el (help-xref-symbol-regexp)
27267 (help-xref-info-regexp, help-xref-url-regexp):
27268 * lisp/help.el (describe-mode):
27269 * lisp/international/mule-cmds.el (help-xref-mule-regexp-template):
27270 * lisp/wid-edit.el (widget-documentation-link-regexp):
27271 Parse symbols quoted ‘like-this’ as well as `like-this'.
27272 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
27273 Add "‘" and "’" to electric-pair-text-pairs.
27274 (elisp--form-quoted-p): Also allow "‘" as a quoting char.
27275 (elisp-completion-at-point, elisp--preceding-sexp):
27276 Also treat "‘" and "’" as quoting chars.
27277
27278 substitute-command-keys now curves quotes
27279 So, for example, it turns "`abc'" into "‘abc’" (Bug#20385).
27280 * doc/lispref/help.texi (Keys in Documentation):
27281 * etc/NEWS: Document this.
27282 * src/doc.c (Fsubstitute_command_keys): Implement it.
27283
27284 2015-05-28 Glenn Morris <rgm@gnu.org>
27285
27286 * lisp/mail/rmailsum.el (rmail-summary-by-recipients)
27287 (rmail-summary-by-topic, rmail-summary-by-senders):
27288 No longer strip leading/trailing whitespace.
27289
27290 * lisp/progmodes/f90.el (f90-type-def-re): Add "type, extends".
27291 (f90-no-block-limit): Add "enum". (Bug#20680)
27292 * test/automated/f90.el (f90-test-bug20680, f90-test-bug20680b):
27293 New tests.
27294
27295 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
27296
27297 * lisp/isearch.el (isearch--current-buffer): Give a default value.
27298 Un-revert changes mistakenly dropped by f9fabb2b.
27299
27300 2015-05-27 Paul Eggert <eggert@cs.ucla.edu>
27301
27302 Merge from gnulib
27303 This incorporates:
27304 2015-05-27 qacl: Reimplement qset_acl and qcopy_acl (Bug#20666)
27305 2015-05-27 file-has-acl: Split feature tests again (Bug#20667)
27306 2015-05-27 string: fix build failure on BSD/OSX with FORTIFY_SOURCE
27307 2015-05-26 stdio: limit __gnu_printf__ witness to gcc 4.4+
27308 2015-05-26 inttypes: force correct mingw PRIdMAX even without <stdio.h>
27309 2015-05-26 stdio: fix probe on mingw under gcc 5.1
27310 * admin/merge-gnulib (GNULIB_MODULES):
27311 Replace qacl with qcopy-acl, since we don't need the rest of qacl.
27312 * doc/misc/texinfo.tex, lib/acl-internal.c, lib/acl-internal.h:
27313 * lib/inttypes.in.h, lib/qcopy-acl.c, lib/qset-acl.c:
27314 * lib/string.in.h, m4/acl.m4, m4/stdio_h.m4:
27315 Get latest versions from gnulib.
27316 * lib/get-permissions.c, lib/set-permissions.c: New files.
27317 * lib/gnulib.mk, m4/gnulib-comp.m4:
27318 Regenerate.
27319 * nt/gnulib.mk: Merge lib/gnulib.mk changes by hand.
27320
27321 2015-05-27 Dmitry Gutov <dgutov@yandex.ru>
27322
27323 * lisp/vc/vc-dispatcher.el (vc-setup-buffer): Delete the old
27324 process here.
27325 (vc-do-command): Rather than here (bug#20608).
27326
27327 2015-05-27 Ivan Shmakov <ivan@siamics.net>
27328
27329 Avoid gratuitous delete-dups in face-at-point
27330 * lisp/faces.el (face-at-point): Do not compute the properly
27331 ordered, duplicate-free list if only a single value is
27332 requested anyway. (Bug#20519)
27333
27334 Show the exact C-x 8 RET invocation in describe-char
27335 * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET
27336 invocation instead of a template. (Bug#20522)
27337
27338 2015-05-27 Artur Malabarba <bruce.connor.am@gmail.com>
27339
27340 * lisp/emacs-lisp/package.el: Don't erase tags on refresh.
27341 (package-menu--post-refresh): Call `tabulated-list-print' with the
27342 UPDATE argument. This only affects the refresh action, the revert
27343 action still erases tags.
27344 (package-menu-get-status): Change `assq' to `assoc'.
27345 (package-menu--mark-upgrades-1): New function.
27346 (package-menu--mark-upgrades-pending): New variable.
27347 (package-menu-mark-upgrades): Use them to delay marking until
27348 after refresh is done.
27349 (package-menu--post-refresh): Call mark-upgrades-1 if
27350 mark-upgrades-pending is non-nil.
27351
27352 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
27353
27354 * lisp/net/tramp.el (tramp-handle-make-auto-save-file-name):
27355 Fix typo in "Improve tramp-handle-make-auto-save-file-name"
27356 (commit 3953c4be2816537be95520605d45b866dc731f4b).
27357
27358 2015-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
27359
27360 * lisp/isearch.el (isearch--current-buffer): New var.
27361 (isearch-update): Set cursor-sensor-inhibit here.
27362 (isearch-done): Unset cursor-sensor-inhibit in the right buffer
27363 (bug#20532).
27364
27365 Change inhibit-point-motion-hooks to t
27366 * src/textprop.c (syms_of_textprop): Default Vinhibit_point_motion_hooks
27367 to t and document it as obsolete.
27368
27369 2015-05-27 Eli Zaretskii <eliz@gnu.org>
27370
27371 Support ZIP files that use Zip64 extensions
27372 * lisp/arc-mode.el (archive-zip-summarize): Handle the new ZIP
27373 format of central directory offsets used by Zip64 extensions.
27374 (Bug#20665)
27375
27376 2015-05-27 Michael Albinus <michael.albinus@gmx.de>
27377
27378 New test tramp-test30-make-auto-save-file-name
27379 * test/automated/tramp-tests.el
27380 (tramp-test30-make-auto-save-file-name): New test.
27381 (tramp-test31-special-characters)
27382 (tramp-test31-special-characters-with-stat)
27383 (tramp-test31-special-characters-with-perl)
27384 (tramp-test31-special-characters-with-ls, tramp-test32-utf8)
27385 (tramp-test32-utf8-with-stat, tramp-test32-utf8-with-perl)
27386 (tramp-test32-utf8-with-ls, tramp-test33-asynchronous-requests)
27387 (tramp-test34-recursive-load, tramp-test35-unload): Rename.
27388
27389 Improve tramp-handle-make-auto-save-file-name
27390 * lisp/net/tramp.el (tramp-auto-save-directory): Add :tags.
27391 (tramp-handle-make-auto-save-file-name): Let native
27392 `make-auto-save-file-name' use `auto-save-file-name-transforms',
27393 if `tramp-auto-save-directory' is not set.
27394
27395 2015-05-27 Glenn Morris <rgm@gnu.org>
27396
27397 No longer set dired-directory in eshell. (Bug#16477)
27398 * lisp/eshell/esh-mode.el (eshell-mode):
27399 * lisp/eshell/em-dirs.el (eshell/cd): No longer set dired-directory.
27400
27401 * lisp/mail/sendmail.el (mail-position-on-field): Doc fix.
27402
27403 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784)
27404 * lisp/progmodes/cc-mode.el (c-mode-help-address):
27405 Change to submit@debbugs.
27406 (c-mode-bug-package): New constant.
27407 (mail-position-on-field): Declare.
27408 (c-submit-bug-report): Insert X-Debbugs-Package header.
27409 * doc/misc/cc-mode.texi (Mailing Lists and Bug Reports):
27410 Mention debbugs.gnu.org.
27411
27412 2015-05-26 Glenn Morris <rgm@gnu.org>
27413
27414 * lisp/mail/rmailsum.el: Commas no longer separate regexps. (Bug#19026)
27415 (rmail-summary-by-recipients, rmail-summary-by-topic)
27416 (rmail-summary-by-senders): No longer use mail-comma-list-regexp.
27417 * doc/emacs/rmail.texi (Rmail Make Summary): Update for this change.
27418
27419 2015-05-26 Paul Eggert <eggert@cs.ucla.edu>
27420
27421 Handle curved quotes in info files
27422 * lisp/calc/calc-help.el (calc-describe-thing):
27423 * lisp/info.el (Info-find-index-name)
27424 (Info-try-follow-nearest-node, Info-fontify-node):
27425 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
27426 In info files, process quotes ‘like this’ the same way we process
27427 quotes `like this'. This catches a few places we missed earlier.
27428
27429 2015-05-26 Dmitry Gutov <dgutov@yandex.ru>
27430
27431 xref-prompt-for-identifier: Use a list value
27432 * lisp/progmodes/xref.el (xref-prompt-for-identifier): Allow list
27433 value, to be interpreted as a list of commands.
27434 (xref--prompt-p): New function.
27435 (xref--read-identifier): Use it.
27436
27437 2015-05-26 Eli Zaretskii <eliz@gnu.org>
27438
27439 Teach MS-Windows font back-end return per-glyph ascent/descent
27440 * src/w32font.h (struct w32_metric_cache): Add ascent and descent
27441 values.
27442 * src/w32font.c (w32font_text_extents): Compute, cache, and
27443 accumulate per-glyph ascent and descent values, instead of copying
27444 global values from the font. If the values are not available from
27445 the font data, i.e., non-TTF fonts, fall back on font-global values.
27446 (compute_metrics): Compute and return per-glyph ascent and descent
27447 values, if returned by GetGlyphOutlineW, falling back on
27448 font-global values. (Bug#20628)
27449 * src/w32term.c (w32_draw_rectangle): Add 1 pixel to width and
27450 height of rectangle to be drawn, to be compatible with
27451 XDrawRectangle. Fixes glyphless-char display as hex codes in a
27452 box, when per-glyph ascent/descent values are used.
27453
27454 2015-05-26 Artur Malabarba <bruce.connor.am@gmail.com>
27455
27456 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
27457 Don't sort if sorter is nil.
27458
27459 2015-05-26 Michael Albinus <michael.albinus@gmx.de>
27460
27461 Fix Bug#20621
27462 * lisp/net/tramp-sh.el (tramp-set-auto-save): Remove it. There
27463 are major modes which set `auto-save-mode' on their own rules;
27464 Tramp shall not overwrite such settings.
27465
27466 2015-05-26 Glenn Morris <rgm@gnu.org>
27467
27468 * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork.
27469 (desktop-load-file): Guess that "foobar" defines "foobar-mode".
27470 (desktop-buffer-mode-handlers, desktop-minor-mode-handlers):
27471 Doc updates.
27472 (vc-dir-mode): Remove unnecessary autoload.
27473
27474 2015-05-25 Philipp Stephani <phst@google.com>
27475
27476 * lisp/term/xterm.el: Add gui-get-selection support via OSC-52.
27477 (xterm--extra-capabilities-type): Add `getSelection'.
27478 (xterm--query): Add `no-async' argument.
27479 (xterm--init-activate-get-selection): New function.
27480 (terminal-init-xterm): Use it.
27481 (xterm--init-modify-other-keys): Rename from
27482 terminal-init-xterm-modify-other-keys.
27483 (xterm--init-bracketed-paste-mode): Rename from
27484 terminal-init-xterm-bracketed-paste-mode.
27485 (xterm--init-activate-set-selection): Rename from
27486 terminal-init-xterm-activate-set-selection.
27487 (xterm--selection-char): New function.
27488 (gui-backend-set-selection): Use it. Use the &context to only apply
27489 this method in terminals where we enabled the feature.
27490 (gui-backend-get-selection): New method.
27491
27492 2015-05-25 Daniel Colascione <dancol@dancol.org>
27493
27494 * lisp/progmodes/cc-langs.el (c-constant-kwds): Add C-language
27495 keyword constants to C++.
27496
27497 2015-05-25 Paul Eggert <eggert@cs.ucla.edu>
27498
27499 Make TAGS files more portable to MS-Windows
27500 * etc/NEWS: Document this.
27501 * lib-src/etags.c (readline_internal) [DOS_NT]:
27502 Don't treat CRs differently from GNUish hosts.
27503 * lisp/progmodes/etags.el (etags-goto-tag-location):
27504 Adjust STARTPOS to account for the skipped CRs in dos-style files.
27505
27506 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
27507
27508 Improve fix of bug#20634 in tramp-sh.el
27509
27510 2015-05-25 Eli Zaretskii <eliz@gnu.org>
27511
27512 Fix a typo in last commit
27513 * lib-src/etags.c (C_entries): Fix a typo.
27514 * test/etags/ETAGS.good_1:
27515 * test/etags/ETAGS.good_2:
27516 * test/etags/ETAGS.good_3:
27517 * test/etags/ETAGS.good_4:
27518 * test/etags/ETAGS.good_5:
27519 * test/etags/CTAGS.good: Update due to the change in etags.c.
27520
27521 Fix tagging of class members in C-like OO languages
27522 * lib-src/etags.c (longopts): Add new option --class-qualify and
27523 its shorthand -Q.
27524 (print_help): Add help text for --class-qualify.
27525 (main): Add handling of -Q.
27526 (consider_token, C_entries) <omethodparm>: Append argument types
27527 to Objective C methods only if --class-qualify was specified.
27528 Qualify C++, Objective C, and Java class members with their class
27529 names only if --class-qualify was specified.
27530 (C_entries): If --class-qualify was not specified, remove the
27531 namespace and class qualifiers from tag names of C++ methods.
27532 This allows to use etags.el as xref back-end without the
27533 tag-symbol-match-p method, which greatly increases the number of
27534 potentially false positives. (Bug#20629)
27535 * doc/man/etags.1: Update to document the new --class-qualify
27536 option.
27537 * test/etags/ETAGS.good_1:
27538 * test/etags/ETAGS.good_2:
27539 * test/etags/ETAGS.good_3:
27540 * test/etags/ETAGS.good_4:
27541 * test/etags/ETAGS.good_5:
27542 * test/etags/CTAGS.good: Update due to changes in etags.c.
27543
27544 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
27545
27546 (cl-generic-define-method): Side effects are evil (bug#20644)
27547 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method): Don't reuse
27548 cons-cells that might be used as keys in an `equal' hash-table.
27549
27550 2015-05-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
27551
27552 Make erc timestamps visible again
27553 * lisp/erc/erc-stamp.el (erc-munge-invisibility-spec):
27554 Make timestamps visible again (if requested).
27555
27556 2015-05-25 Eli Zaretskii <eliz@gnu.org>
27557
27558 Fix last change in etags.c that broke tagging compresed files
27559 * lib-src/etags.c (process_file_name) [MSDOS || DOS_NT]: Fix
27560 quoting of decompression shell command for MS-Windows/MS-DOS.
27561
27562 2015-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
27563
27564 * lisp/emacs-lisp/cl-macs.el (cl-tagbody): Scope cl--tagbody-alist.
27565 (Bug#20639)
27566
27567 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
27568
27569 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer):
27570 Fix typo in "Inhibit `epa-file-handler' in Tramp"
27571 (commit 89035e247591c8d688fce922b7079881aa110f33).
27572
27573 2015-05-25 Orivej Desh <orivej@gmx.fr> (tiny change)
27574
27575 Fix IPv6 addresses in Tramp
27576 * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
27577 Add square brackets around host name.
27578
27579 2015-05-25 Michael Albinus <michael.albinus@gmx.de>
27580
27581 Inhibit `epa-file-handler' in Tramp (Bug#20634)
27582 * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
27583 (tramp-sh-handle-insert-file-contents-literally): Inhibit also
27584 `epa-file-handler'.
27585
27586 2015-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
27587
27588 * lisp/emacs-lisp/pcase.el: Use PAT rather than UPAT in docstring.
27589 (pcase-let): Document the behavior in case the pattern doesn't match.
27590
27591 2015-05-24 Artur Malabarba <bruce.connor.am@gmail.com>
27592
27593 * lisp/emacs-lisp/tabulated-list.el: New optional print method.
27594 (tabulated-list-print): New optional argument, UPDATE. If
27595 non-nil, the list is printed by only adding and deleting the
27596 changed entries, instead of erasing the whole buffer. This method
27597 is much faster when few or no entries have changed.
27598 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
27599 * etc/NEWS: Document it.
27600
27601 * lisp/emacs-lisp/tabulated-list.el: Improve printing.
27602 (tabulated-list--get-sorter): New function.
27603 (tabulated-list-print): Restore window-line when remember-pos is
27604 passed and optimize away the `nreverse'.
27605
27606 2015-05-24 Paul Eggert <eggert@cs.ucla.edu>
27607
27608 Simpilify etags TEX mode scanning
27609 * lib-src/etags.c (TEX_mode, TEX_esc, TEX_opgrp, TEX_clgrp):
27610 Remove static vars.
27611 (TeX_commands): Deduce escapes here instead.
27612 (TEX_LESC, TEX_SESC, TEX_mode): Remove; all uses removed.
27613 This removes the need for a reset_input call.
27614
27615 Improve etags I/O error reporting
27616 * lib-src/etags.c:
27617 Don't include sys/types.h and sys/stat.h; no longer needed.
27618 (infilename): New static var.
27619 (process_file_name): Don't call 'stat'. Instead, just open the
27620 file for reading and report any errors. Don't bother making
27621 a copy of the file argument; it's not needed. Be more careful to
27622 use the failing errno when reporting an error.
27623 Quote the real name better (though no perfectly)
27624 when passing it to the shell.
27625 (reset_input): New function, which reports I/O errors.
27626 All uses of 'rewind' changed to use this function.
27627 (perhaps_more_input): New function, which also checks for
27628 I/O errors. All uses of 'feof' changed to use this function.
27629 (analyze_regex): Report an error if fclose fails.
27630 (readline_internal): Report an error if getc fails.
27631 (etags_mktmp): Return an error if close fails.
27632
27633 etags.c: avoid side effects in 'if'
27634 * lib-src/etags.c (process_file_name, Perl_functions)
27635 (TEX_decode_env): Hoist side effects into previous statement.
27636
27637 .gitignore tweaks
27638 * .gitignore: Ignore all *.stamp files. Sort.
27639 Ignore [0-9]*.txt (commonly used name for git patches)
27640 and /vc-dwim-log-* (vc-dwim temporary).
27641
27642 2015-05-24 Eli Zaretskii <eliz@gnu.org>
27643
27644 Fix last change in etags.c, which failed the test suite
27645 * lib-src/etags.c (intoken): Add '$' to the set, as it was there
27646 before the last change.
27647
27648 2015-05-23 Glenn Morris <rgm@gnu.org>
27649
27650 Remove charset map files from repository, generate in first bootstrap
27651 * admin/charsets/Makefile.in (${srcdir}/charsets.stamp): New.
27652 (all): Create the stamp file.
27653 (extraclean): Delete the stamp file.
27654 * src/Makefile.in (lispintdir, charsets): New variables.
27655 (${lispintdir}/cp51932.el, ${lispintdir}/eucjp-ms.el, ${charsets}):
27656 New rules.
27657 (emacs$(EXEEXT), temacs$(EXEEXT)): Depend on $charsets.
27658 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
27659 * etc/charsets/*.map: Remove from repository.
27660
27661 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
27662
27663 Cleanup etags.c to use locale-independent code
27664 Although this doesn't alter behavior (as etags doesn't use
27665 setlocale), the new version is more clearly locale-independent and
27666 the executable is a bit smaller on my platform.
27667 * lib-src/etags.c: Include <limits.h>, for UCHAR_MAX.
27668 Include <c-ctype.h> instead of <ctype.h>.
27669 (CHARS, CHAR, init, _wht, _nin, _itk, _btk, _etk, white, nonam, endtk)
27670 (begtk, midtk):
27671 Remove; no longer needed.
27672 (iswhite, ISALNUM, ISALPHA, ISDIGIT, ISLOWER, lowcase): Remove.
27673 All callers changed to use c_isspace, c_isalnum, c_isalpha, c_isdigit,
27674 c_islower, c_tolower, respectively.
27675 (notinname, begtoken, intoken, endtoken): Rewrite as functions
27676 instead of macros, and initialize the tables at compile-time
27677 rather than at run-time.
27678
27679 Put default action first in src/Makefile
27680 * src/Makefile.in (all): Put this rule before lisp.mk.
27681 That way, plain 'make' works in the src directory again.
27682
27683 2015-05-23 Glenn Morris <rgm@gnu.org>
27684
27685 * Makefile.in: Fix extraclean rule.
27686 (extraclean_dirs): New.
27687 (extraclean): Use it.
27688
27689 2015-05-23 Eli Zaretskii <eliz@gnu.org>
27690
27691 Avoid compiler warning in image.c on MS-Windows
27692 * src/w32term.h (x_query_color): Add prototype, to avoid compiler
27693 warning in image.c.
27694
27695 2015-05-23 Glenn Morris <rgm@gnu.org>
27696
27697 Fix --without-toolkit-scroll-bars builds.
27698 * src/xterm.c (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]:
27699 Add new argument to x_clear_area1.
27700 (XTset_horizontal_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
27701 Update x_clear_area arguments.
27702
27703 * admin/charsets/glibc/: New directory, imported from glibc 2.21.
27704 * admin/charsets/Makefile.in (GLIBC_CHARMAPS):
27705 Change to included version.
27706 (LOCAL, local, totalclean): Remove.
27707 (extraclean): Delete all generated files.
27708
27709 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
27710
27711 * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume
27712 CVS/Entries exists.
27713
27714 * lisp/progmodes/xref.el (xref-find-apropos): Use read-string.
27715
27716 * lisp/progmodes/etags.el (tags-completion-at-point-function):
27717 Don't trust the find-tag function.
27718
27719 2015-05-23 Paul Eggert <eggert@cs.ucla.edu>
27720
27721 Pacify --enable-gcc-warnings
27722 * src/frame.h (x_query_color): Remove redundant extern decl.
27723 * src/ftcrfont.c (ftcrfont_glyph_extents, ftcrfont_list)
27724 (ftcrfont_match, ftcrfont_open, ftcrfont_close)
27725 (ftcrfont_text_extents, ftcrfont_draw):
27726 * src/xterm.c (x_set_window_size_1, *x_color_cells, x_update_end)
27727 (XTframe_up_to_date, x_clear_area1, x_clear_frame)
27728 (x_ins_del_lines, frame_highlight, frame_unhighlight)
27729 (x_new_focus_frame, x_focus_changed, XTframe_rehighlight)
27730 (x_draw_hollow_cursor, x_draw_bar_cursor, x_flush, x_update_begin)
27731 (x_update_window_begin, x_connection_closed)
27732 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
27733 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
27734 (*x_gc_get_ext_data, x_extension_initialize)
27735 (x_cr_accumulate_data):
27736 Remove redundant static decl. Many of these GCC doesn't complain
27737 about, but we might as well clean out the duplication while we're
27738 in the neighborhood.
27739 * src/xterm.c (x_fill_trapezoid_for_relief):
27740 Remove decl of nonexistent function.
27741
27742 2015-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
27743
27744 Replace gui-method macros with cl-generic with &context
27745 * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
27746 (gui-method-declare, gui-call): Remove.
27747 (frame-creation-function): Use cl-defgeneric.
27748 (make-frame): Adjust callers.
27749 * lisp/menu-bar.el (menu-bar-edit-menu):
27750 Use gui-backend-selection-exists-p.
27751 * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
27752 (gui-backend-get-selection): New cl-generic to replace
27753 gui-get-selection method.
27754 (gui-backend-set-selection): New cl-generic to replace
27755 gui-set-selection method.
27756 (gui-selection-owner-p): New cl-generic to replace
27757 gui-selection-owner-p method.
27758 (gui-backend-selection-exists-p): New cl-generic to replace
27759 gui-selection-exists-p method. Adjust all callers.
27760 * lisp/server.el (server-create-window-system-frame): Don't ignore
27761 window-system spec even when unsupported.
27762 * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
27763 * lisp/startup.el (handle-args-function, window-system-initialization):
27764 Use cl-defgeneric.
27765 (command-line): Adjust calls accordingly.
27766 * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
27767 a window-system-initialization method.
27768 (handle-args-function, frame-creation-function): Use cl-defmethod.
27769 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
27770 (gui-get-selection): Use cl-defmethod on the new functions instead.
27771 * lisp/term/pc-win.el (w16-get-selection-value): Turn into
27772 a gui-backend-get-selection method.
27773 (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
27774 Use cl-defmethod on the new functions instead.
27775 (msdos-window-system-initialization): Turn into
27776 a window-system-initialization method.
27777 (frame-creation-function, handle-args-function): Use cl-defmethod.
27778 * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
27779 a window-system-initialization method.
27780 (handle-args-function, frame-creation-function): Use cl-defmethod.
27781 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
27782 (gui-get-selection): Use cl-defmethod on the new functions instead.
27783 * lisp/term/x-win.el (x-window-system-initialization): Turn into
27784 a window-system-initialization method.
27785 (handle-args-function, frame-creation-function): Use cl-defmethod.
27786 (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
27787 (gui-get-selection): Use cl-defmethod on the new functions instead.
27788 * lisp/term/xterm.el (xterm--set-selection): Turn into
27789 a gui-backend-set-selection method.
27790 * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
27791 (Fns_selection_owner_p): Remove unused arg `terminal'.
27792 (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
27793
27794 2015-05-23 Eli Zaretskii <eliz@gnu.org>
27795
27796 Revert "Fix etags Bug#20629 that broke C++ support"
27797 This reverts commit 13dd9d4f7e75d2c78aa5537cef09de03663e9748.
27798
27799 2015-05-23 Jan D <jan.h.d@swipnet.se>
27800
27801 Fix etags Bug#20629 that broke C++ support
27802 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
27803 Revert commit from Sun May 10 (Bug#20629).
27804
27805 Merge branch 'cairo'.
27806 Main work done by YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>.
27807 Small fixes and image work by Jan D. <jan.h.d@swipnet.se>.
27808
27809 Merge branch 'master' into cairo
27810
27811 Fixes to compile cairo branch without cairo
27812 * src/gtkutil.c (xg_update_scrollbar_pos): x_clear_area takes frame as
27813 first argument.
27814 * src/xterm.c (handle_one_xevent): Surround x_cr_destroy_surface with
27815 USE_CAIRO.
27816
27817 2015-05-23 Artur Malabarba <bruce.connor.am@gmail.com>
27818
27819 * lisp/emacs-lisp/package.el: Always update selected-packages.
27820 (package--update-selected-packages): New function.
27821 (package-menu-execute): Use it before starting the transaction,
27822 this way the list of selected packages is updated even when the
27823 transaction fails.
27824 (package-menu--perform-transaction): Don't edit selected-packages.
27825
27826 2015-05-23 Eli Zaretskii <eliz@gnu.org>
27827
27828 Fix etags reading of compressed files
27829 * lib-src/etags.c (O_CLOEXEC) [WINDOWSNT]: Define.
27830 Include fcntl.h, for O_CLOEXEC.
27831 (process_file_name): Don't use 'popen', whose streams cannot be
27832 rewound. Instead, uncompress the file to a temporary file,
27833 created by 'etags_mktmp', and read from that as usual.
27834 (etags_mktmp): New function.
27835 * test/etags/ETAGS.good_1:
27836 * test/etags/ETAGS.good_2:
27837 * test/etags/ETAGS.good_3:
27838 * test/etags/ETAGS.good_4:
27839 * test/etags/ETAGS.good_5: Update to be consistent with latest
27840 changes in etags.c regarding reading compressed files.
27841
27842 Improve documentation of 'set-fontset-font'
27843 * doc/lispref/display.texi (Fontsets): Document the value of nil
27844 for the 3rd argument of 'set-fontset-font'.
27845
27846 Fix documentation of forward-line
27847 * src/cmds.c (Fforward_line): Clarify the return value if the line
27848 at end of accessible portion of the buffer has no newline.
27849 * doc/lispref/positions.texi (Text Lines): Document what happens
27850 if the line at end of accessible portion of buffer has no newline.
27851 (Bug#20587)
27852
27853 2015-05-22 Glenn Morris <rgm@gnu.org>
27854
27855 * admin/charsets/Makefile.in (TRANS_TABLE): Add short aliases.
27856
27857 * admin/charsets/mapconv (LC_ALL): Set to C.
27858
27859 * Makefile.in: Add admin/charsets into top-level clean rules.
27860 (clean): Add admin/charsets.
27861 (maybeclean_dirs): New variable.
27862 (distclean, bootstrap-clean, maintainer-clean): Use $maybeclean_dirs.
27863
27864 * admin/charsets/Makefile.in (LOCAL, local): Fix members.
27865
27866 2015-05-22 Artur Malabarba <bruce.connor.am@gmail.com>
27867
27868 * lisp/emacs-lisp/package.el (package-selected-packages): Fix doc.
27869
27870 2015-05-22 Glenn Morris <rgm@gnu.org>
27871
27872 Generate admin/charsets Makefile via configure, and make more portable
27873 * configure.ac (SUBDIR_MAKEFILES): Add admin/charsets/Makefile.
27874 (admin/charsets/Makefile): Generate it.
27875 * admin/charsets/Makefile.in: Rename from Makefile.
27876 (AWK, srcdir, top_srcdir, AM_DEFAULT_VERBOSITY):
27877 New variables, set by configure.
27878 (charsetdir, lispintdir, mapfiledir, AM_V_GEN, am__v_GEN_)
27879 (am__v_GEN_0, am__v_GEN_1, AM_V_at, am__v_at_, am__v_at_0)
27880 (am__v_at_1, LOCAL, mapconv, run_mapconv, big5, compact, cp51932)
27881 (cp932, eucjp_ms, gb180302, gb180304, kuten): New variables.
27882 (TRANS_TABLE, CHARSETS): Add directory prefix to value.
27883 (all): Declare PHONY.
27884 (local): New PHONY target.
27885 (map_template): New template. Use to define short PHONY aliases.
27886 (*.map): Add directory prefixes to targets and prerequisites.
27887 Respect make verbosity.
27888 (JISC6226.map): Replace non-portable sed append without newline.
27889 (install): Remove rule.
27890 (clean): Only delete temporary sedscript.
27891 (bootstrap-clean, distclean, maintainer-clean, extraclean)
27892 (totalclean): New PHONY rules.
27893 * admin/charsets/mapconv (BASE): Replace basename with expr.
27894 (FILE): Add "mapfiles" subdirectory.
27895 (AWK): New variable. Use throughout in place of "awk".
27896 (main): Use "gunzip -c" in place of "zcat".
27897 Don't leave whitespace before "p", for older sed.
27898 * admin/charsets/mapfiles/PTCP154: Add final newline,
27899 to make older sed versions happy.
27900
27901 2015-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
27902
27903 * lisp/autorevert.el: Use lexical-binding. Fix hook usage.
27904 (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
27905 (auto-revert-notify-watch-descriptor): Use defvar-local.
27906 (find-file-hook, auto-revert-tail-mode)
27907 (auto-revert-notify-add-watch): Use setq-local.
27908 (auto-revert-notify-add-watch): Don't call make-local-variable on
27909 kill-buffer-hook (bug#20601).
27910
27911 2015-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
27912
27913 Change defgeneric so it doesn't completely redefine the function
27914 * lisp/emacs-lisp/cl-generic.el (cl-generic-define): Don't throw away
27915 previously defined methods.
27916 (cl-generic-define-method): Let-bind purify-flag instead of
27917 using `fset'.
27918 (cl--generic-prefill-dispatchers): Only define during compilation.
27919 (cl-method-qualifiers): Remove redundant alias.
27920 (help-fns-short-filename): Silence byte-compiler.
27921 * test/automated/cl-generic-tests.el:
27922 Adjust to new defgeneric semantics.
27923
27924 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
27925
27926 * lisp/emacs-lisp/package.el (package-menu-execute):
27927 Remove reference to remove-dups.
27928
27929 2015-05-21 kwhite <kwhite@gnu.org>
27930
27931 * lisp/erc/erc.el: Hide network/channel messages.
27932 (erc-network-hide-list, erc-channel-hide-list): New lists to define
27933 message types per network/channel.
27934 (erc-add-targets): New function to parse list of targets.
27935 (erc-hide-current-message-p): Modify to check for new targets.
27936
27937 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
27938
27939 Don't quote nil and t in doc strings
27940 This is as per "Tips for Documentation Strings" in the elisp manual.
27941 For consistency, do the same in diagnostics and comments.
27942
27943 2015-05-21 Eli Zaretskii <eliz@gnu.org>
27944
27945 Fix a minor problem with mouse-face on mode line
27946 * src/xdisp.c (note_mode_line_or_margin_highlight): Reset the
27947 mouse face also if the mouse pointer hovers above mode-line glyphs
27948 that don't come from any Lisp string. (Bug#20620)
27949
27950 2015-05-21 Artur Malabarba <bruce.connor.am@gmail.com>
27951
27952 * lisp/emacs-lisp/package.el: Fix selected-package logic.
27953 (package-menu-execute): Mark as selected all non-upgrade packages
27954 being installed.
27955 (package-menu--perform-transaction): Don't mark anything.
27956
27957 * lisp/emacs-lisp/package.el: Mode-line progress report.
27958 (package-menu--transaction-status): New variable.
27959 (package-menu-mode, package-menu--perform-transaction): Use it.
27960
27961 * lisp/emacs-lisp/package.el: Better transaction messages.
27962 (package-menu--partition-transaction): New function.
27963 (package-menu--prompt-transaction-p, package-menu-execute):
27964 Use it.
27965 (package-menu--perform-transaction): Don't do any messaging.
27966
27967 * lisp/emacs-lisp/package.el: Revert async package transactions.
27968 (package-menu-async): Update doc.
27969 (package-install-from-archive, package-download-transaction)
27970 (package-install, package-menu--perform-transaction)
27971 (package-menu-execute): Remove asynchronous functionality.
27972
27973 2015-05-21 Paul Eggert <eggert@cs.ucla.edu>
27974
27975 Revert doc string changes to f90.el
27976 Problem reported by Glenn Morris in:
27977 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00596.html
27978 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
27979 Revert recent changes to doc strings, as it's intended that they
27980 use grave accent, not quote.
27981
27982 2015-05-20 Bozhidar Batsov <bozhidar@batsov.com>
27983
27984 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p):
27985 Improve parameter name.
27986
27987 * lisp/emacs-lisp/subr-x.el (hash-table-empty-p): New inline function.
27988
27989 2015-05-20 Paul Eggert <eggert@cs.ucla.edu>
27990
27991 Don't require help-fns when not needed
27992 * lisp/emacs-lisp/autoload.el, lisp/emacs-lisp/advice.el:
27993 * lisp/emacs-lisp/elint.el:
27994 Don't require help-fns at the top level
27995 * lisp/emacs-lisp/advice.el (ad-arglist):
27996 * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
27997 Don't require help-fns. (Bug#17001)
27998
27999 2015-05-20 Eli Zaretskii <eliz@gnu.org>
28000
28001 Fix slash collapsing in etags on MS-Windows
28002 * lib-src/etags.c (canonicalize_filename) [DOS_NT]: Separate the
28003 MS-Windows code from the Posix code, and support collapsing both
28004 forward- and back-slashes on MS-Windows. Fixes a regression found
28005 by the test suite.
28006
28007 Improve documentation of glyphless-char-display
28008 * doc/lispref/display.texi (Glyphless Chars): Improve
28009 documentation of glyphless character display.
28010
28011 Fix "acronym" display of glyphless characters on w32
28012 * src/w32term.c (x_draw_glyphless_glyph_string_foreground): Don't
28013 ignore "acronym" substitutes of 1 character for glyphless characters.
28014
28015 2015-05-20 Oleh Krehel <ohwoeowho@gmail.com>
28016
28017 Add an automated test for let-when-compile
28018 * test/automated/subr-tests.el (let-when-compile): New test.
28019
28020 Add let-when-compile macro instead of using pcase-let
28021 * lisp/subr.el (let-when-compile): New let-like macro that makes its
28022 bindings known to macros like `eval-when-compile' in the body.
28023 * lisp/emacs-lisp/lisp-mode.el: Change the top-level `pcase-let' to
28024 a `let-when-compile'. Also comment out the unused lexical var
28025 `el-kws-re'.
28026 The change greatly improves readability, while providing almost the
28027 same (even shorter) byte code: instead of pre-evaluating 10 variables,
28028 tossing them into a list, and destructuring that list a full screen
28029 page later, the variables are simply bound as they are evaluated,
28030 wrapped individually in `eval-when-compile'.
28031
28032 2015-05-20 Artur Malabarba <bruce.connor.am@gmail.com>
28033
28034 * lisp/emacs-lisp/package.el: "Delete" button in Help buffer.
28035 (package-delete-button-action): New function.
28036 (describe-package-1): Add Delete button.
28037
28038 * lisp/emacs-lisp/package.el: Better dependency description.
28039 (package--used-elsewhere-p): New optional arg, ALL, and return
28040 package-desc objects instead of names.
28041 (package-delete): Update accordingly.
28042 (describe-package-1): Describe which packages require the package.
28043
28044 2015-05-20 Martin Rudalics <rudalics@gmx.at>
28045
28046 Fix handling and doc-string of FRAME arg of `other-buffer' (Bug#20533)
28047 * src/buffer.c (Fother_buffer): Argument FRAME must denote a live frame.
28048 Fix doc-string.
28049
28050 Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
28051 * lisp/window.el (switch-to-buffer-in-dedicated-window): New option.
28052 (switch-to-buffer): If the selected window is strongly dedicated
28053 to its buffer, signal error before prompting for buffer name.
28054 Handle `switch-to-buffer-in-dedicated-window'.
28055 * doc/lispref/windows.texi (Switching Buffers):
28056 Document `switch-to-buffer-in-dedicated-window'.
28057
28058 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
28059
28060 Prefer "this" to “this” in doc strings
28061 This mostly just straightens quotes introduced in my previous patch.
28062 Suggested by Dmitry Gutov in:
28063 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html
28064 * lisp/faces.el, lisp/gnus/gnus-group.el, lisp/ldefs-boot.el:
28065 * lisp/mail/supercite.el, lisp/net/tramp.el, lisp/recentf.el:
28066 * lisp/textmodes/artist.el, lisp/textmodes/rst.el:
28067 * lisp/textmodes/tildify.el, lisp/vc/ediff-util.el:
28068 * lisp/vc/log-edit.el, lisp/xt-mouse.el:
28069 Prefer straight double quotes to curved double quotes in doc strings.
28070
28071 Fix minor quoting problems in doc strings
28072 These were glitches regardless of how or whether we tackle the
28073 problem of grave accent in doc strings.
28074 * lisp/calc/calc-aent.el (math-restore-placeholders):
28075 * lisp/ido.el (ido-ignore-buffers, ido-ignore-files):
28076 * lisp/leim/quail/cyrillic.el ("bulgarian-alt-phonetic"):
28077 * lisp/leim/quail/hebrew.el ("hebrew-new")
28078 ("hebrew-biblical-sil"):
28079 * lisp/leim/quail/thai.el ("thai-kesmanee"):
28080 * lisp/progmodes/idlw-shell.el (idlwave-shell-file-name-chars):
28081 Used curved quotes to avoid ambiguities like ‘`''’ in doc strings.
28082 * lisp/calendar/calendar.el (calendar-month-abbrev-array):
28083 * lisp/cedet/semantic/mru-bookmark.el (semantic-mrub-cache-flush-fcn):
28084 * lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
28085 * lisp/cedet/semantic/tag.el (semantic-tag-copy)
28086 (semantic-tag-components):
28087 * lisp/cedet/srecode/cpp.el (srecode-semantic-handle-:cpp):
28088 * lisp/cedet/srecode/texi.el (srecode-texi-texify-docstring):
28089 * lisp/emacs-lisp/byte-opt.el (byte-optimize-all-constp):
28090 * lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
28091 * lisp/emacs-lisp/generator.el (iter-next):
28092 * lisp/gnus/gnus-art.el (gnus-treat-strip-list-identifiers)
28093 (gnus-article-mode-syntax-table):
28094 * lisp/net/rlogin.el (rlogin-directory-tracking-mode):
28095 * lisp/net/soap-client.el (soap-wsdl-get):
28096 * lisp/net/telnet.el (telnet-mode):
28097 * lisp/org/org-compat.el (org-number-sequence):
28098 * lisp/org/org.el (org-remove-highlights-with-change)
28099 (org-structure-template-alist):
28100 * lisp/org/ox-html.el (org-html-link-org-files-as-html):
28101 * lisp/play/handwrite.el (handwrite-10pt, handwrite-11pt)
28102 (handwrite-12pt, handwrite-13pt):
28103 * lisp/progmodes/f90.el (f90-mode, f90-abbrev-start):
28104 * lisp/progmodes/idlwave.el (idlwave-mode, idlwave-check-abbrev):
28105 * lisp/progmodes/verilog-mode.el (verilog-tool)
28106 (verilog-string-replace-matches, verilog-preprocess)
28107 (verilog-auto-insert-lisp, verilog-auto-insert-last):
28108 * lisp/textmodes/makeinfo.el (makeinfo-options):
28109 * src/font.c (Ffont_spec):
28110 Fix minor quoting problems in doc strings, e.g., missing quote,
28111 ``x'' where `x' was meant, etc.
28112 * lisp/erc/erc-backend.el (erc-process-sentinel-2):
28113 Fix minor quoting problem in other string.
28114 * lisp/leim/quail/ethiopic.el ("ethiopic"):
28115 * lisp/term/tvi970.el (tvi970-set-keypad-mode):
28116 Omit unnecessary quotes.
28117 * lisp/faces.el (set-face-attribute, set-face-underline)
28118 (set-face-inverse-video, x-create-frame-with-faces):
28119 * lisp/gnus/gnus-group.el (gnus-group-nnimap-edit-acl):
28120 * lisp/mail/supercite.el (sc-attribs-%@-addresses)
28121 (sc-attribs-!-addresses, sc-attribs-<>-addresses):
28122 * lisp/net/tramp.el (tramp-methods):
28123 * lisp/recentf.el (recentf-show-file-shortcuts-flag):
28124 * lisp/textmodes/artist.el (artist-ellipse-right-char)
28125 (artist-ellipse-left-char, artist-vaporize-fuzziness)
28126 (artist-spray-chars, artist-mode, artist-replace-string)
28127 (artist-put-pixel, artist-text-see-thru):
28128 * lisp/vc/ediff-util.el (ediff-submit-report):
28129 * lisp/vc/log-edit.el (log-edit-changelog-full-paragraphs):
28130 Use double-quotes rather than TeX markup in doc strings.
28131 * lisp/skeleton.el (skeleton-pair-insert-maybe):
28132 Reword to avoid the need for grave accent and apostrophe.
28133 * lisp/xt-mouse.el (xterm-mouse-tracking-enable-sequence):
28134 Don't use grave and acute accents to quote.
28135
28136 2015-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
28137
28138 * lisp/emacs-lisp/generator.el (cps--gensym, cps--transform-1):
28139 Silence compiler.
28140
28141 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
28142
28143 Try to port new etags tests to MS-Windows
28144 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
28145 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
28146 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
28147 Adjust to test-case changes below.
28148 * test/etags/Makefile (CSRC): Remove dostorture.c.
28149 Whatever it was trying to test, wasn't working portably.
28150 (LC_ALL): Remove. Apparently there wasn't an encoding problem,
28151 just a line-ending problem.
28152 * test/etags/c-src/dostorture.c: Remove.
28153 * test/etags/cp-src/c.C: Remove stray CR.
28154 * test/etags/html-src/algrthms.html: Remove trailing CRs.
28155 State UTF-8 as the encoding. The file is ASCII so it doesn't matter,
28156 but if someone edits it later it should stay UTF-8-compatible.
28157
28158 2015-05-19 Eli Zaretskii <eliz@gnu.org>
28159
28160 Fix display of overlapping window-specific overlays
28161 * src/keyboard.c (adjust_point_for_property): When adjusting point
28162 due to display strings, ignore overlays that are specific to
28163 windows other than the currently selected one.
28164 * src/xdisp.c (handle_single_display_spec): If the display
28165 property comes from an overlay, arrange for buffer iteration to
28166 resume only after the end of that overlay. (Bug#20607)
28167
28168 2015-05-19 Dmitry Gutov <dgutov@yandex.ru>
28169
28170 New command icomplete-force-complete-and-exit
28171 * lisp/icomplete.el (icomplete-force-complete-and-exit):
28172 New command
28173 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00461.html)
28174 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00516.html).
28175 (icomplete-minibuffer-map): Bind C-j to it.
28176 (icomplete-forward-completions, icomplete-backward-completions):
28177 Mention the new command in the docstring.
28178 * lisp/minibuffer.el (minibuffer-force-complete-and-exit):
28179 Revert the previous fix for bug#17545.
28180
28181 2015-05-19 Martin Rudalics <rudalics@gmx.at>
28182
28183 Fix last commit
28184
28185 In Elisp manual explain how to override window manager positioning
28186 (Bug#20552)
28187 * doc/lispref/frames.texi (Position Parameters): Give example of
28188 how to override a window manager positioning decision.
28189
28190 Clarify concept of "surrogate minibuffer frames" (Bug#20538)
28191 * src/frame.c (Fdelete_frame): In doc-string mention that frame
28192 can't be deleted if it has a surrogate minibuffer.
28193 * doc/lispref/frames.texi (Minibuffers and Frames)
28194 (Deleting Frames): Explain "surrogate minibuffer frames".
28195
28196 * src/w32heap.c (DUMPED_HEAP_SIZE): Bump to 19/12 MB.
28197
28198 2015-05-18 Glenn Morris <rgm@gnu.org>
28199
28200 Add option to ignore commit lines matching a pattern in ChangeLog
28201 * build-aux/gitlog-to-changelog: Add --ignore-line option.
28202 * build-aux/gitlog-to-emacslog: Ignore lines matching '^; '.
28203
28204 2015-05-18 Paul Eggert <eggert@cs.ucla.edu>
28205
28206 Don't skip new etags tests on non-UTF-8 hosts
28207 Problem reported by Eli Zaretskii for MS-Windows.
28208 * test/etags/Makefile (UTF8_LOCALE, UTF8_ENCODING): Remove.
28209 (LC_ALL): Set to C if the current locale isn't UTF-8.
28210 (.PHONY): Remove ediff_1 thru ediff_5.
28211 (check): Always run.
28212
28213 2015-05-18 Glenn Morris <rgm@gnu.org>
28214
28215 * lisp/calculator.el (calculator-funcall):
28216 * lisp/textmodes/artist.el (artist-spray-random-points):
28217 Use standard degree/radian conversion utilities.
28218
28219 Further lisp-complete-symbol related cleanup.
28220 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol):
28221 Unadvertise non-functional argument. Replace obsolete alias.
28222
28223 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
28224
28225 Add a test case for Maven warning ouput
28226 * test/automated/compile-tests.el
28227 (compile-tests--test-regexps-data): Add a case for Maven warning
28228 ouput.
28229 (compile--test-error-line): Check the compilation message type, if
28230 it's specified in the test data.
28231
28232 2015-05-18 Paul Pogonyshev <pogonyshev@gmail.com>
28233
28234 Update Maven compilation-mode entry to distinguish warnings
28235 * lisp/progmodes/compile.el
28236 (compilation-error-regexp-alist-alist): Update Maven entry to
28237 distinguish warnings (bug#20556).
28238
28239 2015-05-18 Przemysław Wojnowski <esperanto@cumego.com>
28240
28241 * test/automated/sgml-mode-tests.el: New file.
28242
28243 2015-05-18 Dmitry Gutov <dgutov@yandex.ru>
28244
28245 Improve handling of the first Git revision
28246 * lisp/vc/log-view.el (log-view-toggle-entry-display): When
28247 there's no next entry, delete until the end of the buffer.
28248 (log-view-end-of-defun-1): Stop at eob.
28249 * lisp/vc/vc-annotate.el
28250 (vc-annotate-show-diff-revision-at-line-internal): Don't give up
28251 when previous-revision is nil.
28252 * lisp/vc/vc-git.el (vc-git-expanded-log-entry): End the arguments
28253 with `--' to avoid ambiguity.
28254 (vc-git-annotate-extract-revision-at-line): Exclude `^' from the
28255 returned revision string.
28256 (vc-git-annotate-time): Expect `^' before the first revision.
28257 * lisp/vc/vc-git.el (vc-git-diff): Diff against an empty tree if
28258 REV1 is nil, and REV2 is not.
28259 * lisp/vc/vc.el: Update the description of the `diff' function.
28260
28261 2015-05-18 Oleh Krehel <ohwoeowho@gmail.com>
28262
28263 Allow checkdoc to be called in batch
28264 * lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `noninteractive'
28265 is non-nil, echo the error with `warn'.
28266 How it can be used in -batch:
28267 (with-current-buffer (find-file "checkdoc.el")
28268 (checkdoc-current-buffer t))
28269
28270 2015-05-18 Glenn Morris <rgm@gnu.org>
28271
28272 * lisp/calendar/solar.el (solar-ecliptic-coordinates): Use float-pi.
28273
28274 2015-05-17 Paul Eggert <eggert@cs.ucla.edu>
28275
28276 * admin/notes/unicode: New section "binary files".
28277
28278 Change new etags test to use UTF-8 encoding
28279 * test/etags/CTAGS.good, test/etags/ETAGS.good_1:
28280 * test/etags/ETAGS.good_2, test/etags/ETAGS.good_3:
28281 * test/etags/ETAGS.good_4, test/etags/ETAGS.good_5:
28282 * test/etags/html-src/index.shtml, test/etags/html-src/software.html:
28283 * test/etags/html-src/softwarelibero.html:
28284 Switch to UTF-8 encoding.
28285 * test/etags/Makefile (SRCS): Adjust to switch to UTF-8.
28286 Remove Makefile, as it's too incestuous to have the test input
28287 include the build procedure.
28288 (UTF8_LOCALE, UTF_ENCODING): New macros.
28289 (LC_ALL): If possible, set to a UTF-8 encoding if not already UTF-8.
28290 (check): Skip if not UTF-8.
28291 (.PHONY): New rule.
28292 (FRC): Remove, as superseded by .PHONY. All uses removed.
28293 (regexfile): Prefer printf to echo when outputting oddball chars.
28294 (.PRECIOUS): Remove, as these files are not built.
28295
28296 Rename 'foo-gzipped' to 'foo.gz'
28297 * test/automated/data/decompress/foo.gz:
28298 Rename from test/automated/data/decompress/foo-gzipped,
28299 to make it easier for other tools to tell that it's compressed.
28300 * test/automated/zlib-tests.el (zlib--decompress):
28301 Adjust to renamed file.
28302
28303 2015-05-17 Dmitry Gutov <dgutov@yandex.ru>
28304
28305 Set up default-directory
28306 * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Remove duplicate
28307 binding for `v'.
28308 (vc-annotate-show-changeset-diff-revision-at-line): Set up an
28309 appropriate value for default-directory.
28310
28311 2015-05-17 Samer Masterson <samer@samertm.com>
28312
28313 * lisp/eshell/em-term.el (eshell-term-sentinel):
28314 No-op by default, only kills term buffer if
28315 `eshell-destroy-buffer-when-process-dies' is non-nil. (Bug#18108)
28316 (eshell-destroy-buffer-when-process-dies): New custom to preserve
28317 previous behavior.
28318
28319 eshell: Introduce new buffer syntax
28320 The new buffer syntax '#<buffer-name>' is equivalent to '#<buffer
28321 buffer-name>'. Remove `eshell-buffer-shorthand', as it is no longer
28322 needed (Bug#19319).
28323 * lisp/eshell/esh-io.el (eshell-buffer-shorthand): Remove.
28324 (eshell-get-target): Remove shorthand-specific code.
28325 * lisp/eshell/esh-arg.el (eshell-parse-special-reference): Parse
28326 '#<buffer-name>'.
28327
28328 2015-05-17 Jan D <jan.h.d@swipnet.se>
28329
28330 Merge branch 'master' into cairo
28331
28332 2015-04-26 Jan D <jan.h.d@swipnet.se>
28333
28334 Merge branch 'master' into cairo
28335
28336 Add PBM support for cairo
28337 * src/image.c (xcolor_to_argb32): New function.
28338 (get_spec_bg_or_alpha_as_argb): Call xcolor_to_argb32.
28339 (pbm_load, png_load_body, jpeg_load_body, gif_load): Only use
28340 XImagePtr if ! USE_CAIRO.
28341 (pbm_load): Add cairo support.
28342
28343 2015-04-12 Jan D <jan.h.d@swipnet.se>
28344
28345 * src/xterm.c (x_free_cr_resources): Rename from x_prepare_for_xlibdraw.
28346 (x_cr_draw_frame, x_cr_export_frames, x_shift_glyphs_for_insert)
28347 (x_free_frame_resources): Rename x_prepare_for_xlibdraw to
28348 x_free_cr_resources.
28349
28350 Handle specified bg in images. Use generic libpng code for PNGs.
28351 * src/image.c (get_spec_bg_or_alpha_as_argb)
28352 (create_cairo_image_surface): New functions when USE_CAIRO.
28353 (xpm_load): Call the above functions. Handle XPM without mask
28354 when USE_CAIRO.
28355 (png_load_body): Handle USE_CAIRO case.
28356 (png_load): Remove USE_CAIRO specific fuction, modify png_load_body
28357 instead.
28358 (jpeg_load_body): Call create_cairo_image_surface.
28359 (gif_load, svg_load_image): Handle specified background, call
28360 create_cairo_image_surface.
28361 * src/xterm.c (x_draw_image_glyph_string): Add missing USE_CAIRO.
28362
28363 2015-04-11 Jan D <jan.h.d@swipnet.se>
28364
28365 Support GIF and TIFF with cairo
28366 * configure.ac: Allow jpeg with cairo.
28367 Allow tiff and gif with cairo.
28368 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
28369 (tiff_load): Create cairo image surface if USE_CAIRO.
28370 (gif_load): Ditto.
28371
28372 Support JPEG with USE_CAIRO
28373 * configure.ac: Allow jpeg with cairo.
28374 * src/image.c (jpeg_load_body): Create cairo image surface if USE_CAIRO.
28375
28376 2015-04-05 Jan D <jan.h.d@swipnet.se>
28377
28378 Support RSVG and cairo
28379 * configure.ac: Allow rsvg with cairo. Move back HAVE_RSVG.
28380 * src/dispextern.h (struct image): Add cr_data2 if cairo.
28381 * src/image.c: #undef COLOR_TABLE_SUPPORT when USE_CAIRO.
28382 (x_clear_image): Free cr_data and cr_data2 if set.
28383 (xpm_load): Assign data to cr_data2.
28384 (svg_load_image): Convert from GdkPixbuf to CAIRO_FORMAT_ARGB32.
28385
28386 2015-04-03 Jan D <jan.h.d@swipnet.se>
28387
28388 Introduce limited Xpm support (32 bit ZPixmap) for Cairo
28389 * configure.ac (HAVE_RSVG): Move after cairo.
28390 (USE_CAIRO): Disable rsvg, don't disable Xpm.
28391 * src/image.c (prepare_image_for_display): Don't load if USE_CAIRO.
28392 (x_clear_image): If USE_CAIRO, also free possible img->ximg->obdata and
28393 don't return early.
28394 (ALLOC_XPM_COLORS): Don't define when USE_CAIRO.
28395 (xpm_load): Convert simple Xpms (32 bit ZPixmap) to CAIRO_FORMAT_ARGB32
28396 and create a surface.
28397
28398 Tool tips for menus did not show any text.
28399 * src/xterm.c (x_update_begin): Don't create any surface for non-visible
28400 tip frames, the geometry may be wrong.
28401
28402 Merge branch 'master' into cairo, fixes tooltips not shown.
28403
28404 Merge branch 'master' into cairo
28405
28406 Add CAIRO_CFLAGS to lwlib/Makefile.in
28407 * Makefile.in (CAIRO_CFLAGS): Add.
28408
28409 2015-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
28410
28411 * src/ftcrfont.c (ftcrfont_draw): Don't flush when drawing to screen.
28412
28413 2015-02-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
28414
28415 Draw outermost line using black relief and erase corners also for cairo.
28416 * src/xterm.c [USE_CAIRO]: Include math.h.
28417 (enum corners) [USE_CAIRO]: New enum.
28418 (x_erase_corners_for_relief) [USE_CAIRO]: New function.
28419 (x_draw_relief_rect) [USE_CAIRO]: Use it. If box width is larger
28420 than 1, draw the outermost line using the black relief.
28421
28422 * src/xterm.c (x_fill_trapezoid_for_relief):
28423 Remove unnecessary cairo_close_path.
28424
28425 2015-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
28426
28427 * src/xterm.c (x_draw_relief_rect) [USE_CAIRO]: Reset clipping.
28428
28429 * src/xterm.c (x_draw_stretch_glyph_string):
28430 Call x_reset_clip_rectangles instead of XSetClipMask.
28431
28432 Use int instead of unsigned int for width and height args.
28433 * src/xterm.c (x_cr_draw_image, x_fill_rectangle, x_draw_rectangle)
28434 (x_fill_trapezoid_for_relief): Use int instead of unsigned int for
28435 width and height args.
28436
28437 Modernize k&r cairo-related function declarations.
28438 * src/gtkutil.c (xg_page_setup_dialog, xg_get_page_setup, draw_page)
28439 (xg_print_frames_dialog): Modernize k&r declarations.
28440 * src/xfns.c (Fx_export_frames, Fx_page_setup_dialog, Fx_get_page_setup)
28441 (Fx_print_frames_dialog): Modernize k&r declarations.
28442 * src/xterm.c (x_gc_get_ext_data, x_extension_initialize)
28443 (x_begin_cr_clip, x_end_cr_clip, x_set_cr_source_with_gc_foreground)
28444 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
28445 (x_cr_destroy_fringe_bitmap, x_cr_draw_frame, x_cr_accumulate_data)
28446 (x_cr_destroy, x_cr_export_frames, x_prepare_for_xlibdraw)
28447 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
28448 (x_draw_rectangle, x_clear_window, x_fill_trapezoid_for_relief)
28449 (x_clear_area): Modernize k&r declarations.
28450
28451 Implement wave-style variant of underlining for cairo.
28452 * src/xterm.c (x_draw_horizontal_wave) [USE_CAIRO]: New function.
28453 (x_draw_underwave) [USE_CAIRO]: Use it.
28454
28455 * src/xterm.c (x_draw_window_divider): Use x_fill_rectangle
28456 instead of XFillRectangle.
28457
28458 2015-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
28459
28460 Fix fringe bitmap initialization for cairo
28461 * src/fringe.c (init_fringe_bitmap) [USE_CAIRO]: Adjust bitmap
28462 data for cairo image surface.
28463 * src/xterm.c (x_cr_define_fringe_bitmap):
28464 Call cairo_surface_mark_dirty.
28465
28466 2015-02-11 Jan D <jan.h.d@swipnet.se>
28467
28468 Add cairo drawing
28469 * configure.ac (with-cairo): New option.
28470 (USE_CAIRO): Default to yes for Gtk+ 3. Add code to test for cairo,
28471 set CAIRO_CFLAGS, CAIRO_LIBS. Add ftcrfonto to FONT_OBJ if cairo.
28472 Output "Does Emacs use cairo?".
28473 * lisp/version.el (emacs-version): Add cairo version.
28474 * src/Makefile.in (CAIRO_CFLAGS, CAIRO_LIBS): New variables.
28475 (FONT_OBJ): Add comment about ftcrfont.
28476 (ALL_CFLAGS): Add CAIRO_CFLAGS.
28477 (LIBES): Add CAIRO_LIBS.
28478 * src/dispextern.h (struct image): Add cr_data for cairo.
28479 (x_cr_init_fringe): Declare.
28480 * src/font.c (syms_of_font): Call syms_of_ftcrfont for cairo.
28481 * src/font.h (ftcrfont_driver, syms_of_ftcrfont): Declare
28482 * src/fringe.c (x_cr_init_fringe): New function name that shares code
28483 with w32_init_fringe.
28484 * src/ftcrfont.c: New font driver for cairo, based on the ftfont driver.
28485 * src/ftfont.c (ftfont_info_size); New global variable.
28486 (ftfont_open2): New extern function almost the same as old ftfont_open,
28487 but takes the font_object as argument.
28488 (ftfont_open): Build font object and call ftfont_open2.
28489 * src/ftfont.h (ftfont_open2, ftfont_info_size): Declare.
28490 * src/gtkutil.c (xg_clear_under_internal_border)
28491 (xg_update_scrollbar_pos, xg_update_horizontal_scrollbar_pos):
28492 Only queue_draw if not cairo. Change args to x_clear_area.
28493 (xg_get_font): Use Qftcr when using cairo, Qxft otherwise.
28494 (xg_page_setup_dialog, xg_get_page_setup, draw_page)
28495 (xg_print_frames_dialog): New functions for printing.
28496 * src/gtkutil.h (xg_page_setup_dialog, xg_get_page_setup)
28497 (xg_print_frames_dialog): Declare.
28498 * src/image.c: Add defined (USE_CAIRO) for PNG.
28499 Add !defined USE_CAIRO for W32 PNG code.
28500 (x_clear_image): If cairo, destroy the surface in cr_data.
28501 (png_load): Add new cairo compatible implementation.
28502 (lookup_image_type): Add defined (USE_CAIRO) for define png_type.
28503 * src/xfns.c: New section Printing.
28504 (x-export-frames, x-page-setup-dialog, x-get-page-setup)
28505 (x-print-frames-dialog): New printing functions.
28506 (Fx_create_frame, x_create_tip_frame): Register ftcrfont if cairo.
28507 (syms_of_xfns): Defsym Qorientation, Qtop_margin, Qbottom_margin,
28508 Qportrait, Qlandscape, Qreverse_portrait, Qreverse_landscape).
28509 (syms_of_xfns): Provide cairo and defvar cairo-version-string.
28510 defsubr Sx_page_setup_dialog, Sx_get_page_setup, Sx_print_frames_dialog.
28511 * src/xterm.c (x_clear_area1, x_prepare_for_xlibdraw)
28512 (x_set_clip_rectangles, x_reset_clip_rectangles, x_fill_rectangle)
28513 (x_draw_rectangle, x_fill_trapezoid_for_relief, x_clear_window)
28514 (x_gc_get_ext_data, x_extension_initialize, x_cr_accumulate_data):
28515 Declare.
28516 (FRAME_CR_CONTEXT, FRAME_CR_SURFACE): New macros.
28517 (max_fringe_bmp, fringe_bmp): New variables.
28518 (x_gc_get_ext_data, x_extension_initialize)
28519 (x_cr_destroy_surface, x_begin_cr_clip, x_end_cr_clip)
28520 (x_set_cr_source_with_gc_foreground)
28521 (x_set_cr_source_with_gc_background, x_cr_define_fringe_bitmap)
28522 (x_cr_destroy_fringe_bitmap, x_cr_draw_image, x_cr_draw_frame)
28523 (x_cr_accumulate_data, x_cr_destroy, x_cr_export_frames)
28524 (x_prepare_for_xlibdraw, x_set_clip_rectangles)
28525 (x_reset_clip_rectangles, x_fill_rectangle, x_draw_rectangle)
28526 (x_clear_window, x_fill_trapezoid_for_relief): New functions.
28527 (x_update_begin): Create cairo surface if needed.
28528 (x_draw_vertical_window_border): Call x_fill_rectangle for cairo.
28529 (x_update_end): Paint cairo drawing surface to xlib surface.
28530 (x_clear_under_internal_border, x_after_update_window_line): Adjust
28531 arguments to x_clear_area.
28532 (x_draw_fringe_bitmap): Call x_fill_rectangle. Get GC values and
28533 call x_cr_draw_image for cairo. Call x_reset_clip_rectangles instead
28534 of XSetClipMask.
28535 (x_set_glyph_string_clipping)
28536 (x_set_glyph_string_clipping_exactly): Use x_set_clip_rectangles
28537 instead of XSetClipRectangles.
28538 (x_clear_glyph_string_rect, x_draw_glyph_string_background):
28539 Use x_fill_rectangle instead of XFillRectangle.
28540 (x_draw_glyph_string_foreground)
28541 (x_draw_composite_glyph_string_foreground)
28542 (x_draw_glyphless_glyph_string_foreground): Use x_draw_rectangle
28543 instead of XDrawRectangle.
28544 (x_draw_relief_rect): Add code for USE_CAIRO.
28545 Call x_reset_clip_rectangles instead of XSetClipMask.
28546 (x_draw_box_rect): x_set_clip_rectangles instead of XSetClipRectangles,
28547 x_fill_rectangle instead of XFillRectangle, x_reset_clip_rectangles
28548 instead of XSetClipMask.
28549 (x_draw_image_foreground, x_draw_image_foreground_1):
28550 x_draw_rectangle instead of XDrawRectangle.
28551 (x_draw_glyph_string_bg_rect): x_fill_rectangle instead of
28552 XFillRectangle.
28553 (x_draw_image_glyph_string): If img has cr_data, use it as
28554 a cairo surface.
28555 (x_draw_stretch_glyph_string): x_set_clip_rectangles instead of
28556 XSetClipRectangles, x_fill_rectangle instead of XFillRectangle.
28557 (x_draw_glyph_string): x_fill_rectangle instead of XFillRectangle.,
28558 x_reset_clip_rectangles instead of XSetClipMask.
28559 (x_shift_glyphs_for_insert): Call x_prepare_for_xlibdraw.
28560 (x_clear_area1): New function that calls XClearArea.
28561 (x_clear_area): Takes frame as parameter, calls x_clear_area1 for
28562 non-cairo.
28563 (x_clear_frame): x_clear_window instead of XClearWindow.
28564 (x_scroll_run): Set frame garbaged if cairo.
28565 (XTmouse_position): Initialize *part to 0.
28566 (x_scroll_bar_create): Adjust arguments to x_clear_area.
28567 (x_scroll_bar_set_handle): x_clear_area1 instead of x_clear_area,
28568 x_fill_rectangle instead of XFillRectangle.
28569 (XTset_vertical_scroll_bar, XTset_horizontal_scroll_bar): Adjust
28570 arguments to x_clear_area.
28571 (x_scroll_bar_expose): x_draw_rectangle instead of XDrawRectangle.
28572 (handle_one_xevent): Adjust arguments to x_clear_area.
28573 Destroy cairo surface for frame if ConfigureNotify.
28574 (x_clip_to_row): x_set_clip_rectangles instead of XSetClipRectangles.
28575 (x_draw_hollow_cursor): x_draw_rectangle instead of XDrawRectangle,
28576 x_reset_clip_rectangles instead of XSetClipMask.
28577 (x_draw_bar_cursor): x_fill_rectangle instead of XFillRectangle,
28578 x_reset_clip_rectangles instead of XSetClipMask.
28579 (x_clear_frame_area): Adjust arguments to x_clear_area.
28580 (x_free_frame_resources): Call x_prepare_for_xlibdraw.
28581 (x_term_init): Call x_extension_initialize if cairo.
28582 (x_redisplay_interface): Add x_cr_define_fringe_bitmap,
28583 x_cr_destroy_fringe_bitmap for cairo.
28584 (x_initialize): Call x_cr_init_fringe for cairo.
28585 * src/xterm.h: Add include of cairo header files.
28586 (x_bitmap_record): Add img if cairo.
28587 (x_gc_ext_data): New struct for cairo.
28588 (x_display_info): Add ext_codes for cairo.
28589 (x_output): Add cr_context and cr_surface for cairo.
28590 (x_clear_area): Change arguments from Display*/Window to frame pointer.
28591 (x_query_color, x_begin_cr_clip, x_end_cr_clip)
28592 (x_set_cr_source_with_gc_foreground, x_set_cr_source_with_gc_background)
28593 (x_cr_draw_frame, x_cr_export_frames): Declare.
28594
28595 2015-05-17 Johan Bockgård <bojohan@gnu.org>
28596
28597 Fix integer-valued `mouse-highlight' (Bug#20590)
28598 * src/xterm.c (handle_one_xevent) [USE_GTK]: Fix ifdef scope.
28599
28600 2015-05-17 Eli Zaretskii <eliz@gnu.org>
28601
28602 MS-Windows followup for ASCIIfication of curved quotes
28603 * lisp/term/w32console.el (terminal-init-w32console): Repeat the
28604 test for curved quotes being displayable, after switching the
28605 terminal encoding. (Bug#20545)
28606
28607 2015-05-17 Jan D <jan.h.d@swipnet.se>
28608
28609 Add comment that x_shift_glyphs_for_insert is never called
28610 * src/xterm.c (x_shift_glyphs_for_insert, x_redisplay_interface):
28611 Add comment that this function is never called.
28612
28613 2015-05-16 Glenn Morris <rgm@gnu.org>
28614
28615 * src/lisp.mk: Remove from repository and generate at build-time.
28616 * src/Makefile.in (lisp.mk): New rule to generate from loadup.el.
28617 (shortlisp_filter): New variable.
28618 (emacs$(EXEEXT), $(etc)/DOC): Depend on lisp.mk.
28619 (distclean): Remove lisp.mk.
28620 * Makefile.in ($(MAKEFILE_NAME)): No longer depend on src/lisp.mk.
28621 * lisp/loadup.el: Tweak layout to make it easier to parse.
28622 * make-dist: Do not distribute src/lisp.mk.
28623
28624 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
28625
28626 Display shorter dates in Git annotate output
28627 * lisp/vc/vc-git.el (vc-git-annotate-command): Use the short date
28628 format (when not overridden with vc-git-annotate-switches).
28629 (vc-git-annotate-time): Support the short format, as well as ISO
28630 8601 that has been used until now (bug#5428).
28631
28632 2015-05-16 Paul Eggert <eggert@cs.ucla.edu>
28633
28634 ASCIIfy curved quotes on displays lacking them
28635 * lisp/international/mule-cmds.el (set-locale-environment):
28636 If curved quotes don't work, display straight ASCII approximations
28637 (Bug#20545).
28638
28639 2015-05-16 Glenn Morris <rgm@gnu.org>
28640
28641 Small src/Makefile simplification
28642 * src/lisp.mk (shortlisp): Rename from lisp, remove $lispsource prefix.
28643 * src/Makefile.in (lisp): Derive from shortlisp.
28644 ($(etc)/DOC): Use $shortlisp rather than parsing lisp.mk.
28645
28646 2015-05-16 Eli Zaretskii <eliz@gnu.org>
28647
28648 * lisp/help-mode.el (help-go-forward): Doc fix.
28649 (Bug#20577)
28650
28651 * doc/lispref/debugging.texi (Profiling): Improve indexing.
28652 (Bug#20576)
28653
28654 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
28655
28656 * lisp/vc/vc-git.el (vc-git-resolve-when-done): Use `unless' to
28657 have one fewer `not'.
28658
28659 * lisp/vc/vc-git.el (vc-git-diff-switches)
28660 (vc-git-annotate-switches, vc-git-resolve-conflicts)
28661 (vc-git-program, vc-git-root-log-format): Remove the redundant
28662 :group declarations.
28663
28664 2015-05-16 Nicolas Petton <nicolas@petton.fr>
28665
28666 Removes the predicate from lisp-complete-symbol (Bug#20456)
28667 * lisp/emacs-lisp/lisp.el (lisp-complete-symbol): Do not use predicate
28668 and remove it from the docstring.
28669
28670 2015-05-16 Dmitry Gutov <dgutov@yandex.ru>
28671
28672 Add new option vc-git-resolve-conflicts
28673 * lisp/vc/vc-git.el (vc-git-resolve-conflicts): New variable.
28674 (vc-git-find-file-hook): Add to after-save-hook only when the
28675 above is non-nil.
28676 (vc-git-resolve-when-done): Update to honor the new variable.
28677 (Bug#20292)
28678
28679 2015-05-16 Artur Malabarba <bruce.connor.am@gmail.com>
28680
28681 * lisp/emacs-lisp/tabulated-list.el: Don't error on null header-string.
28682 (tabulated-list-init-header): Document new behavior.
28683 (tabulated-list-print-fake-header): Do nothing if
28684 `tabulated-list--header-string' is nil.
28685 (tabulated-list--header-string): Add a docstring.
28686 * doc/lispref/modes.texi (Tabulated List Mode): Document it.
28687 * etc/NEWS: Document it.
28688
28689 2015-05-15 Leo Liu <sdl.web@gmail.com>
28690
28691 Revert "Fix cps--gensym"
28692 * lisp/emacs-lisp/generator.el (cps--gensym): Revert commit
28693 fbda511ab8069d0115eafca411a43353b85431b1 on 2015-05-14.
28694
28695 2015-05-15 Glenn Morris <rgm@gnu.org>
28696
28697 Replace AC_SUBST_FILE in configure with include in Makefiles
28698 * configure.ac (DEPDIR, MKDEPDIR, deps_frag, lwlib_deps_frag)
28699 (oldxmenu_deps_frag, lisp_frag): Remove output variables/files.
28700 (AUTO_DEPEND): New output variable.
28701 * lwlib/Makefile.in (AUTO_DEPEND): New, set by configure.
28702 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
28703 (lwlib_deps_frag): Replace by conditional include.
28704 * lwlib/autodeps.mk: Remove file.
28705 * oldXMenu/Makefile.in (AUTO_DEPEND): New, set by configure.
28706 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
28707 (oldxmenu_deps_frag): Replace by conditional include.
28708 * oldXMenu/autodeps.mk: Remove file.
28709 * src/Makefile.in (AUTO_DEPEND): New, set by configure.
28710 (DEPFLAGS, MKDEPDIR): Set directly via conditional.
28711 (lisp_frag): Replace by an include.
28712 (deps_frag): Replace by conditional include.
28713 * src/autodeps.mk: Remove file.
28714
28715 Tweak japanese.el's loading of dependencies
28716 * lisp/loadup.el: Explicitly load cp51932 and eucjp-ms.
28717 * lisp/language/japanese.el: Use require rather than load.
28718 * lisp/international/cp51932.el, lisp/international/eucjp-ms.el:
28719 Provide a feature.
28720 * admin/charsets/eucjp-ms.awk, admin/charsets/cp51932.awk:
28721 Provide a feature in the generated file.
28722
28723 2015-05-15 Jan D <jan.h.d@swipnet.se>
28724
28725 Fix NS warnings
28726 * src/nsmenu.m (ns_popup_dialog)
28727 * src/nsimage.m (initFromXBM:width:height:fg:bg:)
28728 * src/nsfns.m (Fx_create_frame): Remove unused variables.
28729 (Fns_read_file_name): Initialize fname, remove ret.
28730 * src/nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
28731 (ns_get_color, ns_set_horizontal_scroll_bar, keyDown):
28732 Remove unused variable.
28733 (init): Add parantesis in if.
28734 (ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
28735
28736 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
28737
28738 Fix a enum conversion warning in macfont.m
28739 * src/macfont.h (CharacterCollection): Typedef to NSCharacterCollection.
28740 (MAC_CHARACTER_COLLECTION_*): Use the NS variants.
28741
28742 2015-05-15 Eli Zaretskii <eliz@gnu.org>
28743
28744 * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
28745 Support Aspell dictionaries with names like "de-alt". (Bug#20581)
28746
28747 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
28748
28749 * lisp/cus-start.el: Add ns-confirm-quit.
28750
28751 Fix warnings on OSX 10.10
28752 * src/nsfns.m (MODAL_OK_RESPONSE): New define for different
28753 OSX versions.
28754 (Fns_read_file_name): Check against MODAL_OK_RESPONSE.
28755 (compute_tip_xy): Use convertRectToScreen for OSX >= 10.7
28756 * src/nsmenu.m (initWithContentRect:styleMask:backing:defer:)
28757 * src/nsimage.m (allocInitFromFile, setPixmapData): Only call
28758 setScalesWhenResized for OSX < 10.6.
28759 * src/nsterm.h (EmacsScroller): Declare scrollerWidth.
28760 * src/nsterm.m (ns_copy_bits): New function that does not use
28761 deprecated NSCopyBits.
28762 (ns_scroll_run, ns_shift_glyphs_for_insert): Call ns_copy_bits.
28763 (runAlertPanel): New function.
28764 (applicationShouldTerminate:): Call runAlertPanel.
28765 (initFrameFromEmacs, toggleFullScreen:): Only call
28766 useOptimizedDrawing for OSX < 10.10.
28767 (initFrameFromEmacs:): Only call allocateGState for OSX < 10.10.
28768 (windowWillUseStandardFrame:defaultFrame:): Cast arg to abs to int.
28769 (draggingEntered:): Returns NSDragOperation.
28770 (scrollerWidth): Use scrollerWidthForControlSize for OSX >= 10.7.
28771
28772 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
28773
28774 * lisp/emacs-lisp/package.el: Don't ensure-init during startup.
28775 (package--init-file-ensured): New variable.
28776 (package-initialize, package--ensure-init-file): Use it.
28777
28778 2015-05-15 Jan Djärv <jan.h.d@swipnet.se>
28779
28780 Honor :fore/background for XBM on NS (Bug#14969)
28781 * src/nsterm.h (EmacsImage): Add xbm_fg, remove initFromSkipXBM,
28782 initFromXBM takes bg, fg args, remove flip arg.
28783 (ns_image_from_XBM): Add bg, fg args.
28784 * src/image.c (x_create_bitmap_from_data)
28785 (Create_Pixmap_From_Bitmap_Data): ns_image_from_XBM takes bg, fg args.
28786 * src/nsimage.m (ns_image_from_XBM): Add fg, bg args, pass to
28787 initFromXBM. Remove flip arg.
28788 (initFromSkipXBM): Move code to initFromXBM.
28789 (initFromXBM): Actually set fg and bg, instead of playing alpha games.
28790 Use fg, bg from args (Bug#14969). Remove if (length) section, was
28791 always false.
28792 Remove bit flipping (bitPat, swt), generated incorrect images when
28793 width/height wasn't a multiple of 8.
28794 (setXBMColor:): Modify planes by comparing to saved xbm_fg.
28795 * src/nsterm.m (ns_draw_fringe_bitmap): initFromXBM takes fg, bg args,
28796 remove flip arg.
28797
28798 2015-05-15 Artur Malabarba <bruce.connor.am@gmail.com>
28799
28800 * lisp/emacs-lisp/package.el: Be more careful with the init file.
28801 (package--ensure-init-file): Check that user-init-file is set,
28802 exists, is readable, and is writable. (Bug#20584)
28803 Also expand the docstring.
28804
28805 2015-05-14 Wilson Snyder <wsnyder@wsnyder.org>
28806
28807 Sync with upstream verilog-mode revision 6232468
28808 * lisp/progmodes/verilog-mode.el
28809 (verilog-font-lock-grouping-keywords-face)
28810 (verilog-highlight-grouping-keywords): Fix use of face when
28811 `verilog-highlight-grouping-keywords' set. Reported by Jeff Pompa.
28812 (verilog-auto-reset): Fix AUTORESET to ignore member resets if
28813 parent is reset, bug906. Reported by Ken Schmidt.
28814 (verilog-auto-inout-module): Add fourth regexp argument to
28815 AUTOINOUTMODULE and AUTOINOUTCOMP for signals to not match, bug856.
28816 Reported by John Tillema.
28817 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
28818 modport if signal attachment is itself a modport. Reported by
28819 Matthew Lovell.
28820 (verilog-auto-reset, verilog-auto-sense-sigs): Fix AUTORESET with
28821 always_comb and always_latch, bug844. Reported by Greg Hilton.
28822 (verilog-at-constraint-p, verilog-beg-of-statement-1): Fix hanging
28823 with many curly-bracket pairs, bug663.
28824 (verilog-set-auto-endcomments): Fix end comments for functions of
28825 type void, etc. Reported by Alex Reed.
28826 (verilog-do-indent): Fix electric tab deleting form-feeds. Note
28827 caused by indent-line-to deleting tabls pre 24.5.
28828 (verilog-nameable-item-re): Fix nameable items that can have an
28829 end-identifier to include endchecker, endgroup, endprogram,
28830 endproperty, and endsequence. Reported by Alex Reed.
28831 (verilog-label-be): When auto-commenting a buffer, consider
28832 auto-comments on all known keywords (not just a subset thereof).
28833 Reported by Alex Reed.
28834 (verilog-auto-end-comment-lines-re)
28835 (verilog-end-block-ordered-re, verilog-set-auto-endcomments):
28836 Automatically comment property/endproperty blocks to match other
28837 similar blocks like sequence/endsequence, function/endfunction, etc.
28838 Reported by Alex Reed.
28839 (verilog-set-auto-endcomments): Detect the function- or task-name
28840 when auto-commenting blocks that lack an explicit portlist.
28841 Reported by Alex Reed.
28842 (verilog-auto, verilog-auto-insert-last): Add AUTOINSERTLAST to
28843 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
28844 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
28845 is nil, fix indenting initial/final to match always statements,
28846 bug825. Reported by Tim Clapp.
28847 (verilog-extended-complete-re): Fix indentation of DPI-C imports
28848 with c_identifiers, and DPI-C imports, bug557. Reported by ZeDong
28849 Mao and Jason Forkey.
28850 (verilog-read-decls): Fix parsing typed interfaces. Fix
28851 AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
28852 Fix localparam not being ignored in AUTOINSTPARAM,
28853 bug889. Reported by Shannon Hill.
28854 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY,
28855 bug793. Reported by Pierre-David Pfister.
28856 (verilog-auto-arg-format, verilog-auto-arg-ports):
28857 Add verilog-auto-arg-format to support newlines in AUTOARG.
28858 Reported by Jie Xiao.
28859 (verilog-batch-execute-func): Do not batch re-auto files loaded by
28860 Local Variables. Fix printing "no changes to be saved" with
28861 verilog-batch. Reported by Dan Dever.
28862 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
28863 interface-only modules, bug721. Reported by Dean Hoyt.
28864 Author: Alex Reed <acreed4@gmail.com>
28865 * lisp/progmodes/verilog-mode.el (verilog-beg-of-statement):
28866 Don't treat '<keyword>:<identifier>' as the start of a labeled
28867 statement, bug905. Reported by Enzo Chi.
28868 (verilog-directive-re, verilog-compiler-directives)
28869 (verilog-keywords): Match full set of IEEE 2012-1800 compiler
28870 directives (plus some extras) when determining indentation, bug
28871 901. Reported by Bernd Beuster.
28872 (verilog-at-constraint-p): Fix indentation of coverpoint bins if
28873 iff expression doesn't start with word-character, bug900.
28874 (verilog-optional-signed-range-re, verilog-optional-signed-re):
28875 Fix incorrect indentation/alignment of unsigned declarations,
28876 bug897.
28877 (verilog-looking-back, verilog-in-attribute-p): Fix labeling of
28878 always constructs, bug895.
28879 (verilog-calc-1): Fix verilog-mode constraint indentation, bug324.
28880 Reported by Eric Mastromarchi.
28881 (verilog-beg-of-statement): Fix indenting for some forms of
28882 constraintsm bug433. Reported by Brad Parker. Fix indentation of
28883 continued assignment incorrect if first line ends with ']', bug437.
28884 Reported by Dan Dever. Fix indention of cover inside an
28885 ifdef, bug 862. Reported by Bernd Beuster. Fix labeling do-while
28886 blocks, bug842.
28887 (verilog-preprocessor-re): Fix fork/end UNMATCHED warning, bug859.
28888 Reported by Kaushal Modi.
28889 (verilog-set-auto-endcomments): Fix endlabel end comments, bug888.
28890 (verilog-backward-token): Fix indenting sensitivity lists with
28891 named events, bug840. Reed.
28892 (verilog-no-indent-begin-re): Fix `verilog-indent-begin-after-if'
28893 nil not honoring 'forever', 'foreach', and 'do' keywords.
28894
28895 2015-05-14 Paul Eggert <eggert@cs.ucla.edu>
28896
28897 Check for invalid GTK+ monitor scales
28898 * src/gtkutil.c (xg_get_gdk_scale): Return 1 for invalid scales,
28899 INT_MAX for too-large scales. All callers changed to assume the
28900 result is valid (Bug#20432).
28901 (xg_frame_set_char_size, xg_update_scrollbar_pos):
28902 Calculate scale only if needed.
28903 Show ASCII approximations instead.
28904
28905 2015-05-14 Eli Zaretskii <eliz@gnu.org>
28906
28907 Fix daemon crashes when linum-mode is turned on early on
28908 * src/window.c (Fwindow_end): Don't try calling display engine
28909 functions on initial-frame frame. (Bug#20565)
28910
28911 Fix selective diff browsing in Ediff
28912 * lisp/vc/ediff-util.el (ediff-focus-on-regexp-matches):
28913 Go to the beginning of the region before searching for the
28914 ediff-regexp-focus-* regexps. (Bug#20568)
28915
28916 2015-05-14 Jan D <jan.h.d@swipnet.se>
28917
28918 Fixes bug#20142
28919 * src/gtkutil.c (delete_cb): Don't send delete event here, it does
28920 arrive in the main loop, even for Gtk 3 (Bug#20142).
28921
28922 Don't access display after i/o error (Bug#19147).
28923 * src/xterm.c (x_connection_closed): Add third arg ioerror.
28924 If ioerror, set display to 0 (Bug#19147).
28925 (x_error_quitter): Call x_connection_closed with third arg false.
28926 (x_io_error_quitter): Call x_connection_closed with third arg true.
28927
28928 Handle GTK_SCALE, fixes Bug#20432.
28929 * src/gtkutil.c (xg_get_gdk_scale): New function.
28930 (xg_frame_set_char_size)
28931 (x_wm_set_size_hint, xg_get_default_scrollbar_width)
28932 (xg_get_default_scrollbar_height)
28933 (xg_update_horizontal_scrollbar_pos): Take GTK_SCALE in to account
28934 when setting sizes (Bug#20432).
28935
28936 2015-05-13 Leo Liu <sdl.web@gmail.com>
28937
28938 * lisp/emacs-lisp/generator.el (cps--gensym): Fix.
28939
28940 2015-05-13 Glenn Morris <rgm@gnu.org>
28941
28942 Fix bootstrap (void function cl-member).
28943 * lisp/emacs-lisp/cl-lib.el: Load cl-seq if no cl-loaddefs file.
28944 * lisp/emacs-lisp/cl-seq.el: Provide a feature.
28945
28946 2015-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
28947
28948 * lisp/loadup.el ("emacs-lisp/cl-generic"): Preload
28949 * src/lisp.mk (lisp): Add emacs-lisp/cl-generic.elc.
28950 * lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
28951 Avoid defalias for closures which are not immutable.
28952 (cl--generic-prefill-dispatchers): New macro. Use it to prefill
28953 the dispatchers table with various entries.
28954 * lisp/emacs-lisp/ert.el (emacs-lisp-mode-hook):
28955 * lisp/emacs-lisp/seq.el (emacs-lisp-mode-hook): Use add-hook.
28956
28957 2015-05-13 Eli Zaretskii <eliz@gnu.org>
28958
28959 Improve tagging of C bindings in DEFVAR_*
28960 * src/Makefile.in (TAGS): Add --regex options to tag the C binding
28961 from DEFVAR_*.
28962
28963 2015-05-13 Paul Eggert <eggert@cs.ucla.edu>
28964
28965 * src/editfns.c (Fformat): Fix use-after-free bug (Bug#20548).
28966
28967 2015-05-12 Glenn Morris <rgm@gnu.org>
28968
28969 * lisp/progmodes/tcl.el (tcl-filter):
28970 Handle comint-prompt-read-only like gud.el does. (Bug#20549)
28971
28972 Add basic VC push support
28973 * lisp/vc/vc.el (vc-push): New autoloaded command.
28974 * lisp/vc/vc-hooks.el (vc-prefix-map, vc-menu-map): Add vc-push.
28975 * lisp/vc/vc-bzr.el (vc-bzr--pushpull): New, factored from vc-bzr-pull.
28976 (vc-bzr-pull): Reimplement using vc-bzr--pushpull.
28977 (vc-bzr-push): New.
28978 * lisp/vc/vc-git.el (vc-git--pushpull): New, factored from vc-git-pull.
28979 (vc-git-pull): Reimplement using vc-git--pushpull.
28980 (vc-git-push): New.
28981 * lisp/vc/vc-hg.el (vc-hg--pushpull): New, factored from vc-hg-pull.
28982 (vc-hg-pull, vc-hg-push): Reimplement using vc-hg--pushpull.
28983 * doc/emacs/maintaining.texi (Pulling / Pushing):
28984 Rename from "VC Pull". Mention pushing.
28985 (VC With A Merging VCS, VC Change Log): Update xrefs.
28986 (Branches): Update menu.
28987 * doc/emacs/emacs.texi: Update menu.
28988 * etc/NEWS: Mention this.
28989
28990 2015-05-12 Nicolas Petton <nicolas@petton.fr>
28991
28992 Improve the seq pcase pattern and the `seq-let' macro
28993 * lisp/emacs-lisp/seq.el: The pcase pattern now matches only if the
28994 object is a sequence, and binds each element of ARGS to the
28995 corresponding element of the sequence.
28996
28997 2015-05-12 Eli Zaretskii <eliz@gnu.org>
28998
28999 Fix tags created from DEFVAR_* declarations in C
29000 * src/Makefile.in (TAGS): Improve the --regex argument to etags,
29001 to make tags extracted from DEFVAR_* declarations more accurate.
29002
29003 Add a test suite for etags
29004 * test/etags/: New test suite, adapted from
29005 http://fly.isti.cnr.it/pub/software/unix/etags-regression-test.tar.bz2,
29006 whose original author is Francesco Potortì <pot@gnu.org>.
29007
29008 Fix tagging of symbols in C enumerations
29009 * lib-src/etags.c (consider_token): Don't tag symbols in
29010 expressions that assign values to enum constants. See
29011 http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00291.html
29012 for details.
29013 (C_entries): Reset fvdef to fvnone after processing a preprocessor
29014 conditional and after a comma outside of parentheses.
29015
29016 2015-05-12 Glenn Morris <rgm@gnu.org>
29017
29018 * lisp/url/url-handlers.el (url-file-name-completion)
29019 (url-file-name-all-completions): Silence compiler.
29020
29021 * lisp/emacs-lisp/chart.el (chart-axis-draw): Replace obsolete alias.
29022
29023 * lisp/play/dunnet.el (dun-dos-boot-msg): Fix time. (Bug#20554)
29024
29025 2015-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
29026
29027 * lisp/emacs-lisp/cl-generic.el: Add dispatch on &context arguments
29028 (cl--generic-mandatory-args): Remove.
29029 (cl--generic-split-args): New function.
29030 (cl-generic-define, cl--generic-lambda): Use it.
29031 (cl-generic-define-method): Use it as well, and add support for
29032 context args.
29033 (cl--generic-get-dispatcher): Handle &context dispatch.
29034 (cl--generic-cache-miss): `dispatch-arg' can now be a
29035 context expression.
29036 (cl--generic-dispatchers): Pre-fill.
29037 * test/automated/cl-generic-tests.el (sm-generic-test-12-context):
29038 New test.
29039
29040 2015-05-11 Glenn Morris <rgm@gnu.org>
29041
29042 * make-dist: Abort if "make ChangeLog" fails. Add "--no-changelog".
29043
29044 2015-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
29045
29046 * lisp/term/xterm.el: Fix xterm-paste handling for rxvt
29047 * lisp/term/rxvt.el: Require term/xterm.
29048 (rxvt-function-map): Use xterm-rxvt-function-map.
29049 (rxvt-standard-colors): Move before first use.
29050 (terminal-init-rxvt): Use xterm--push-map and
29051 xterm-register-default-colors.
29052 (rxvt-rgb-convert-to-16bit, rxvt-register-default-colors): Remove.
29053 * lisp/term/xterm.el (xterm-rxvt-function-map): New var.
29054 Move shared bindings between rxvt and xterm to it.
29055 (xterm-function-map): Use it. Move the xterm-paste binding to
29056 xterm-rxvt-function-map (bug#20444).
29057 (xterm-standard-colors): Move before first use.
29058 (xterm--push-map): New function.
29059 (xterm-register-default-colors): Take standard colors as argument.
29060 (terminal-init-xterm): Use it. Adjust call to
29061 xterm-register-default-colors.
29062
29063 2015-05-11 Glenn Morris <rgm@gnu.org>
29064
29065 * lisp/term/x-win.el: Quieten --without-x compilation.
29066 (x-own-selection-internal, x-disown-selection-internal)
29067 (x-selection-owner-p, x-selection-exists-p, x-get-selection-internal):
29068 Declare.
29069
29070 * Makefile.in (emacslog): Remove srcdir.
29071 (ChangeLog): Update for the above.
29072
29073 2015-05-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
29074
29075 python.el: better limit for looking-back calls
29076 * lisp/progmodes/python.el (python-shell-accept-process-output):
29077 Use last comint prompt start as limit for looking-back.
29078
29079 2015-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
29080
29081 CEDET (srecode-insert-fcn): Fix use of oref on a class
29082 * lisp/cedet/srecode/insert.el (srecode-insert-fcn): Fix use of oref
29083 on a class. Reported by Pierre Lorenzon.
29084 (srecode-template-inserter-point): Remove declaration.
29085
29086 CEDET (srecode-create-dictionary): Avoid obsolete object name
29087 * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary):
29088 Don't use a symbol as an object name. Reported by Pierre Lorenzon.
29089
29090 2015-05-10 Paul Eggert <eggert@cs.ucla.edu>
29091
29092 C-x 8 shorthands for curved quotes, Euro, etc.
29093 Although C-x 8 lets you insert arbitrary Unicode characters,
29094 it's awkward to use this to insert commonly used symbols such as curved
29095 quotes, the Euro symbol, etc. This patch adds simpler sequences for
29096 characters commonly found in English text and in basic math.
29097 For example, assuming the Alt key works on your keyboard and iso-transl
29098 is loaded, one can now type "A-[" instead of "A-RET LEFT SIN TAB RET"
29099 to get the character "‘" (U+2018 LEFT SINGLE QUOTATION MARK).
29100 (Bug#20499)
29101 * doc/emacs/mule.texi (Unibyte Mode):
29102 A few other printing characters now work too.
29103 * etc/NEWS: Document this.
29104 * lisp/international/iso-transl.el (iso-transl-char-map):
29105 Also support the following characters:
29106 ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″ € № ← → ↔ − ≈ ≠ ≤ ≥
29107
29108 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
29109
29110 Add xref-find-regexp
29111 * lisp/progmodes/xref.el (xref-find-function): Describe the
29112 `matches' action.
29113 (xref-find-regexp): New command, using it.
29114 (xref-collect-references): Rename to xref-collect-matches.
29115 (xref--collect-reference): Rename to xref--collect-match.
29116 (xref-collect-matches, xref--collect-match): Accept new argument,
29117 KIND. Update accordingly.
29118 (xref--regexp-to-extended): New function.
29119 * lisp/progmodes/elisp-mode.el (elisp-xref-find): Support the
29120 `matches' action.
29121 (elisp--xref-find-matches): Accept new argument. Resolve a FIXME.
29122 * lisp/progmodes/etags.el (etags-xref-find):
29123 Support the `matches' action.
29124 (etags--xref-find-matches): New function.
29125
29126 2015-05-10 Glenn Morris <rgm@gnu.org>
29127
29128 * Makefile.in: Fixes for recent change-history changes.
29129 (change-history-nocommit): Update footer regexp.
29130 Ensure output script stays executable.
29131
29132 2015-05-10 Nicolas Petton <nicolas@petton.fr>
29133
29134 New version of `seq-let' based on a pcase pattern
29135 * lisp/emacs-lisp/seq.el (seq-let): Define the macro in terms of a
29136 pcase pattern if `pcase-defmacro' is defined (Emacs>=25.1).
29137
29138 2015-05-10 Przemysław Wojnowski <esperanto@cumego.com>
29139
29140 Add basic HTML5 tags and a template
29141 * lisp/textmodes/sgml-mode.el: Basic HTML5 support.
29142 (html-tag-alist): Add HTML5 tags.
29143 (html-tag-help): Add new tags descriptions.
29144 (html-navigational-links): Template for nav links.
29145 (html-html5-template): Template for a HTML5 page.
29146
29147 2015-05-10 Dmitry Gutov <dgutov@yandex.ru>
29148
29149 semantic/symref/grep: Don't use word boundaries
29150 * lisp/cedet/semantic/symref/grep.el
29151 (semantic-symref-perform-search): Instead of wrapping input in
29152 word boundaries, check that the characters before and after are
29153 not word constituents.
29154
29155 semantic/symref/grep: Support regexp search
29156 * lisp/cedet/semantic/symref.el
29157 (semantic-symref-hit-to-tag-via-buffer): Don't regexp-quote when
29158 the search type is regexp.
29159 * lisp/cedet/semantic/symref/grep.el
29160 (semantic-symref-perform-search): Support the regexp search type.
29161 Pass -E to Grep when it's used.
29162
29163 semantic-symref-regexp: Allow to input an arbitrary string
29164 * lisp/cedet/semantic/symref/list.el (semantic-symref-regexp):
29165 Allow to input an arbitrary string interactively.
29166
29167 Remove tag-symbol-match-p from etags-xref-find-definitions-tag-order
29168 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
29169 Remove tag-symbol-match-p from the default value
29170 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00292.html).
29171
29172 Declare find-tag obsolete
29173 * lisp/progmodes/etags.el (find-tag): Declare obsolete in favor of
29174 xref-find-definitions.
29175
29176 2015-05-10 Jan D <jan.h.d@swipnet.se>
29177
29178 Draw composite string correctly (Bug#20537)
29179 * src/nsterm.m (ns_draw_composite_glyph_string_foreground):
29180 New function.
29181 (ns_draw_glyph_string): Call it.
29182
29183 2015-05-09 Eli Zaretskii <eliz@gnu.org>
29184
29185 Avoid infloop in ERC
29186 * lisp/simple.el (line-move-to-column): Ignore field boundaries
29187 while computing line beginning position. (Bug#20498)
29188
29189 2015-05-08 Glenn Morris <rgm@gnu.org>
29190
29191 * Makefile.in (ChangeLog): No longer pass "srcprefix"; cd instead.
29192 * build-aux/gitlog-to-emacslog: Check called from right directory.
29193 (srcprefix): Remove.
29194
29195 * build-aux/gitlog-to-emacslog: Get rid of "distprefix".
29196 * Makefile.in (ChangeLog): No longer pass "distprefix".
29197 * make-dist: Update "make ChangeLog" syntax for the above change.
29198
29199 * build-aux/gitlog-to-emacslog: Don't hard-code "ChangeLog.2".
29200 * Makefile.in (ChangeLog): Pass -n to gitlog-to-emacslog.
29201
29202 * build-aux/gitlog-to-emacslog: Add "for earlier changes" to footer.
29203
29204 Add command-line option-parsing to gitlog-to-emacslog
29205 * build-aux/gitlog-to-emacslog: Add command-line options.
29206 By default, refuse to remove an existing output file.
29207 * Makefile.in (CHANGELOG): Update default.
29208 (ChangeLog): Do not test for existing file.
29209 (change-history-nocommit): Ensure temp file does not exist.
29210
29211 Quieten --without-x compilation
29212 * lisp/term/common-win.el: Provide a feature.
29213 * lisp/term/x-win.el (term/common-win): Require it.
29214
29215 * lisp/dired-aux.el (dired-do-print): Require lpr.
29216
29217 Quieten compilation, eg in --without-x builds
29218 * lisp/dired-aux.el (lpr-printer-switch):
29219 * lisp/frame.el (tool-bar-height):
29220 * lisp/linum.el (font-info):
29221 * lisp/window.el (font-info, overflow-newline-into-fringe)
29222 (tool-bar-height):
29223 * lisp/emacs-lisp/package-x.el (tar-data-buffer):
29224 * lisp/gnus/gnus-util.el (iswitchb-mode):
29225 * lisp/mail/rmailmm.el (libxml-parse-html-region):
29226 * lisp/net/nsm.el (gnutls-peer-status)
29227 (gnutls-peer-status-warning-describe):
29228 * lisp/net/shr.el (libxml-parse-xml-region):
29229 * lisp/url/url-http.el (gnutls-peer-status): Declare.
29230
29231 2015-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
29232
29233 CEDET (srecode-pop, srecode-peek): Don't use `subclass'
29234 * lisp/cedet/srecode/insert.el (srecode-pop, srecode-peek): Don't use
29235 `subclass' since they're never called with a class.
29236 (srecode-insert-method, srecode-insert-subtemplate): Avoid obsolete
29237 srecode-dictionary-child-p.
29238
29239 2015-05-08 Nicolas Richard <theonewiththeevillook@yahoo.fr>
29240
29241 * lisp/help.el (help--binding-locus): Document argument POSITION.
29242 (Bug#20530)
29243
29244 2015-05-08 Paul Eggert <eggert@cs.ucla.edu>
29245
29246 Merge from gnulib
29247 * doc/misc/texinfo.tex: Get latest version.
29248
29249 2015-05-08 Oleh Krehel <ohwoeowho@gmail.com>
29250
29251 ffap.el (ffap-read-file-or-url): Fix completing-read call
29252 * lisp/ffap.el (ffap-read-file-or-url): The HIST argument of
29253 `completing-read' should be a symbol.
29254
29255 2015-05-08 Eli Zaretskii <eliz@gnu.org>
29256
29257 Verify file modifications by other programs
29258 * src/filelock.c (lock_file): Check whether the file was modified
29259 since it was visited even if 'create-lockfiles' is nil. (Bug#18828)
29260
29261 Fix keyboard macros that include function keys
29262 * src/keyboard.c (read_char_minibuf_menu_prompt): Record function
29263 keys in the macro before returning. (Bug#20454)
29264
29265 2015-05-08 Glenn Morris <rgm@gnu.org>
29266
29267 * build-aux/gitlog-to-changelog: Treat "Tiny-change" like
29268 "Copyright-paperwork-exempt". (Bug#20324)
29269
29270 * lisp/vc/log-edit.el: Handle "(tiny change)". (Bug#20324)
29271 (log-edit-rewrite-tiny-change): New variable.
29272 (log-edit-insert-changelog): Maybe add "Copyright-paperwork-exempt".
29273 (log-edit-changelog-ours-p): Set log-edit-author to a cons.
29274 * etc/NEWS: Mention this.
29275
29276 * lisp/calc/calc.el (math-zerop): Declare.
29277
29278 * lisp/emacs-lisp/eieio-opt.el (help-fns-short-filename): Declare.
29279
29280 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
29281
29282 * lisp/emacs-lisp/subr-x.el (if-let): Fix debug spec.
29283 Support the case when BINDINGS is a single tuple. (Bug#20525)
29284
29285 * etc/NEWS: Fix typo in previous commit
29286 (14bb519f1034ddb38ce375cbad7095d9b07f8b26).
29287
29288 2015-05-07 Jan D <jan.h.d@swipnet.se>
29289
29290 * configure.ac: Warn for multiple display crash for all Gtk+ versions.
29291 Output URL to Gtk+ bug (Bug#20452).
29292
29293 * lisp/term/ns-win.el (ns-paste-secondary): Use gui-get-selection.
29294
29295 2015-05-07 Artur Malabarba <bruce.connor.am@gmail.com>
29296
29297 * lisp/emacs-lisp/package.el: New "external" package status.
29298 An external package is any installed package that's not built-in
29299 and not from `package-user-dir', which usually means it's from an
29300 entry in `package-directory-list'. They are treated much like
29301 built-in packages, in that they cannot be through the Package Menu
29302 deleted and are not considered for upgrades.
29303 (package-desc-status): Identify if a package is installed outside
29304 `package-user-dir'.
29305 (package-menu--print-info-simple)
29306 (package-menu--status-predicate): Add support for it.
29307 * etc/NEWS: Document it.
29308
29309 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
29310
29311 * lisp/mail/rmail.el: Use lexical-binding.
29312 (rmail-bury): Remove unused var `buffer-to-bury'.
29313 (rmail-get-new-mail): Remove unused vars `opoint' and `success'.
29314 (rmail-parse-url): Remove unused var `proto', `user', and `host'.
29315 (rmail-unrmail-new-mail-maybe): Remove unused var `new-file'.
29316 (rmail-insert-inbox-text): Remove unused var `movemail'.
29317 (rmail-add-mbox-headers): Remove unused var `limit'.
29318 (rmail-undelete-previous-message): Remove unused var `value'.
29319 (rmail-reply): Remove unused vars `resent-to', `resent-cc',
29320 `resent-reply-to'.
29321 (rmail-mime-mbox-buffer, rmail-mime-view-buffer): Declare.
29322 (rmail-restore-desktop-buffer): Rename arguments.
29323
29324 2015-05-06 Glenn Morris <rgm@gnu.org>
29325
29326 * Makefile.in (change-history-commit): Add missing piece of previous.
29327
29328 Avoid unnecessary bumping of Makefile.in's timestamp
29329 * Makefile.in (gen_origin): Move to gitlog-to-emacslog.
29330 (emacslog): New variable.
29331 (ChangeLog): Use $emacslog. Don't pass $gen_origin.
29332 (unchanged-history-files): Use $emacslog rather than Makefile.in.
29333 (change-history-nocommit): Store hash in $emacslog.
29334 * build-aux/gitlog-to-emacslog (gen_origin): Move default here.
29335 * admin/update_autogen (changelog_files): Update for the above.
29336
29337 * Makefile.in: Don't always insist on removing existing "ChangeLog".
29338 (CHANGELOG): New variable.
29339 (no-ChangeLog): Remove.
29340 (ChangeLog): Replace "no-ChangeLog"; pass output file to script.
29341 (change-history-nocommit): Use a temp file rather than insisting
29342 on deletion of any existing "ChangeLog".
29343
29344 * build-aux/gitlog-to-emacslog: Allow specification of output.
29345
29346 * admin/update_autogen: Add option to update ChangeLog.
29347 (usage): Mention -H.
29348 (changelog_flag, changelog_n, changelog_files): New variables.
29349 (main): Check for -H, and maybe run change-history-nocommit.
29350
29351 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
29352
29353 * lisp/subr.el (delete-dups): Pre-size the hashtable.
29354
29355 * lisp/emacs-lisp/cl.el (define-modify-macro): Make sure
29356 cl--arglist-args is defined (bug#20517).
29357
29358 2015-05-06 Glenn Morris <rgm@gnu.org>
29359
29360 * Makefile.in (change-history-nocommit): New.
29361
29362 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
29363
29364 * lisp/cedet/pulse.el (pulse-momentary-unhighlight): Only cancel
29365 timer when it is non-nil
29366 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00223.html).
29367
29368 2015-05-06 Glenn Morris <rgm@gnu.org>
29369
29370 Quieten CEDET compilation
29371 * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag):
29372 Invert fboundp test to quieten on current Emacs.
29373 * lisp/cedet/ede/config.el (ede-shell-run-something)
29374 (semanticdb-file-table-object, semanticdb-needs-refresh-p)
29375 (semanticdb-refresh-table): Declare.
29376 (ede-preprocessor-map): Require semantic/db.
29377
29378 Quieten cc-mode compilation
29379 * lisp/progmodes/cc-awk.el (c-forward-sws):
29380 * lisp/progmodes/cc-cmds.el (c-forward-subword, c-backward-subword):
29381 Declare.
29382
29383 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
29384
29385 * lisp/subr.el (delete-dups): Avoid nreverse.
29386
29387 2015-05-06 Artur Malabarba <bruce.connor.am@gmail.com>
29388
29389 * lisp/subr.el (delete-dups): Make it destructive again.
29390
29391 2015-05-06 Paul Eggert <eggert@cs.ucla.edu>
29392
29393 * doc/lispref/sequences.texi (Sequence Functions): Fix quoting.
29394
29395 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
29396
29397 * lisp/emacs-lisp/testcover.el: Don't use edebug--read (bug#20487).
29398 * lisp/emacs-lisp/testcover.el: Use lexical-binding.
29399 (testcover--read): Rename from testcover-read. Change calling
29400 convention. Use edebug-read-and-maybe-wrap-form now that edebug-read
29401 is gone.
29402 (testcover-start): Use add-function. Move edebug-all-defs binding to
29403 testcover--read.
29404 (testcover-this-defun): Tighten scope of edebug-all-defs binding.
29405 (testcover-mark): Remove unused var `item'.
29406 * src/lread.c (syms_of_lread): Default load-read-function to `read'.
29407
29408 2015-05-06 Oleh Krehel <ohwoeowho@gmail.com>
29409
29410 * lisp/subr.el (delete-dups): When there are more than 100 candidates,
29411 use a hash table. This can result in ~500 times speed-up for typical
29412 collections of size 5000, like that of `load-library'.
29413
29414 2015-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
29415
29416 CEDET: Avoid `oref' on classes in a few more cases
29417 * lisp/cedet/ede/generic.el (ede-find-target):
29418 * lisp/cedet/ede.el (ede-project-forms-menu): Avoid `oref' on classes.
29419 * lisp/cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Remove unused
29420 var `prefix'.
29421
29422 * lisp/cedet/semantic/symref/grep.el: Fix unused var warnings.
29423 (grepflags, greppattern): Declare.
29424 (semantic-symref-perform-search): Remove unused var `pat'.
29425
29426 CEDET (srecode-compile-inserter): Avoid `oref' on classes
29427 * lisp/cedet/srecode/compile.el (srecode-compile-inserter):
29428 Avoid `oref' on classes (bug#20491).
29429 (srecode-compile-split-code): Remove unused var `key'.
29430
29431 2015-05-06 Dmitry Gutov <dgutov@yandex.ru>
29432
29433 Clean up pulse.el a little
29434 * lisp/cedet/pulse.el (pulse): Remove.
29435 (pulse-momentary-timer): Save instead of the stop time.
29436 (pulse-momentary-highlight-overlay):
29437 Call pulse-momentary-unhighlight first thing.
29438 Treat pulse-momentary-overlay as a single value, not a list.
29439 Save the created timer. Only pass the stop time to the timer.
29440 (pulse-tick): Update accordingly.
29441 (pulse-momentary-unhighlight): Treat pulse-momentary-overlay as a
29442 single value. Cancel the timer.
29443
29444 2015-05-06 Tassilo Horn <tsdh@gnu.org>
29445
29446 * lisp/textmodes/reftex-cite.el (reftex-format-bib-entry):
29447 Support the biblatex journaltitle field.
29448
29449 2015-05-05 Glenn Morris <rgm@gnu.org>
29450
29451 Minor declare-function improvement
29452 * lisp/emacs-lisp/bytecomp.el
29453 (byte-compile-macroexpand-declare-function):
29454 Handle declarations after calls. (Bug#20509)
29455
29456 * lisp/progmodes/js.el (js--optimize-arglist): Remove declaration.
29457
29458 * lisp/w32-fns.el (w32-shell-name): Silence compiler.
29459
29460 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
29461
29462 Pulse using a timer
29463 * lisp/cedet/pulse.el (pulse-momentary-stop-time): New variable.
29464 (pulse-momentary-highlight-overlay): Set up the timer instead of
29465 calling `pulse'
29466 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/).
29467 (pulse-tick): New function.
29468 (pulse-momentary-unhighlight): Cut off the stop time.
29469 (pulse-delay): Update the docstring WRT to not using sit-for.
29470
29471 Add semantic/symref/grep file patterns for ruby-mode
29472 * lisp/cedet/semantic/symref/grep.el
29473 (semantic-symref-filepattern-alist): Add patterns for ruby-mode.
29474 Clarify the docstring.
29475
29476 Don't require match
29477 * lisp/progmodes/xref.el (xref--read-identifier): Don't require
29478 match. That doesn't work for every command, and some identifier
29479 completion tables are bound to be imperfect anyway.
29480
29481 2015-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
29482
29483 * lisp/cedet/semantic/grammar.el: Fix compiler warnings (bug#20505).
29484 (semantic-grammar--template-expand): New function.
29485 (semantic-grammar-header, semantic-grammar-footer): Use it.
29486 (semantic-grammar--lex-block-specs): Remove unused var `block-spec'.
29487 (semantic-grammar-file-regexp): Refine regexp.
29488 (semantic-grammar-eldoc-get-macro-docstring):
29489 Use elisp-get-fnsym-args-string when available.
29490 (semantic-idle-summary-current-symbol-info): Use new elisp-* names
29491 instead of the old eldoc-* names.
29492 * lisp/emacs-lisp/eldoc.el (eldoc-docstring-format-sym-doc): Move back
29493 from elisp-mode.el. Tweak calling convention.
29494 * lisp/progmodes/elisp-mode.el (package-user-dir): Declare.
29495 (elisp-get-fnsym-args-string): Add `prefix' argument. Rename from
29496 elisp--get-fnsym-args-string.
29497 (elisp--highlight-function-argument): Add `prefix' arg.
29498 (elisp-get-var-docstring): Rename from elisp--get-var-docstring.
29499 (elisp--docstring-format-sym-doc): Move back to eldoc.el.
29500
29501 2015-05-05 Glenn Morris <rgm@gnu.org>
29502
29503 * lisp/help-fns.el (describe-function-1):
29504 Handle builtins with advertised calling conventions. (Bug#20479)
29505
29506 2015-05-05 Nicolas Petton <nicolas@petton.fr>
29507
29508 Merge branch 'seq-let'
29509
29510 Update `seq-let' documentation
29511 * doc/lispref/sequences.texi: Update the documentation of `seq-let'
29512 with the support of `&rest'.
29513
29514 Add support for &rest in `seq-let'
29515 * lisp/emacs-lisp/seq.el (seq--make-bindings): Add support for `&rest'
29516 in the argument list.
29517 * test/automated/seq-tests.el: Add a test for parsing and binding
29518 `&rest' in `seq-let'.
29519
29520 2015-05-05 Pierre Lorenzon <devel@pollock-nageoire.net> (tiny change)
29521
29522 * lisp/emacs-lisp/eieio-custom.el (eieio-object-value-get):
29523 Add missing increment (Bug#20467).
29524 (eieio-object-value-create): Adjust to new slots representation
29525 (Bug#20467).
29526 (eieio-object-value-create): Fix missed adjustment to new
29527 representation of slots metadata.
29528
29529 2015-05-05 Nicolas Petton <nicolas@petton.fr>
29530
29531 * lisp/emacs-lisp/seq.el (seq--make-bindings): Improve the docstring.
29532
29533 2015-05-05 Dmitry Gutov <dgutov@yandex.ru>
29534
29535 Work around "Attempt to modify read-only object"
29536 * lisp/progmodes/elisp-mode.el (elisp--xref-format): Extract from
29537 elisp--xref-find-definitions, to work around "Attempt to modify
29538 read-only object" error.
29539
29540 Only skip some variables that have function counterparts
29541 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
29542 Only skip minor-mode-named variable if it's defined in a Lisp
29543 file, and it's in minor-mode-list (bug#20506).
29544 * test/automated/elisp-mode-tests.el
29545 (elisp-xref-finds-both-function-and-variable)
29546 (elisp-xref-finds-only-function-for-minor-mode): New tests.
29547
29548 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
29549
29550 * lisp/progmodes/xref.el (xref--location-at-point): Revert the
29551 previous change.
29552 (xref--insert-xrefs): Buttonize the whole line, including the
29553 number at the beginning.
29554
29555 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
29556 Make sure we're inside the let bindings.
29557 * test/automated/elisp-mode-tests.el
29558 (elisp-completes-functions-after-let-bindings): New test.
29559
29560 2015-05-04 Glenn Morris <rgm@gnu.org>
29561
29562 * lisp/cedet/semantic/grammar.el (eldoc-function-argstring)
29563 (eldoc-docstring-format-sym-doc, eldoc-last-data-store)
29564 (eldoc-get-fnsym-args-string, eldoc-get-var-docstring):
29565 Remove outdated declarations.
29566
29567 Replace instances of "(eval-when-compile (autoload ...))"
29568 * lisp/gnus/gnus-art.el (nneething-get-file-name):
29569 Declare rather than autoload.
29570 * lisp/gnus/gnus-async.el (gnus-html-prefetch-images):
29571 Remove pointless autoload.
29572 * lisp/gnus/gnus-sync.el (gnus-group-topic): Autoload at run-time.
29573 (gnus-topic-create-topic, gnus-topic-enter-dribble):
29574 Declare rather than autoload.
29575 * lisp/gnus/mm-archive.el (gnus-recursive-directory-files)
29576 (mailcap-extension-to-mime): Autoload at run-time.
29577 * lisp/gnus/mm-util.el (latin-unity-massage-name)
29578 (latin-unity-maybe-remap, latin-unity-representations-feasible-region)
29579 (latin-unity-representations-present-region):
29580 Declare rather than autoload.
29581 * lisp/gnus/mml-smime.el (epg-make-context)
29582 (epg-passphrase-callback-function): Autoload at run-time.
29583 (epg-context-set-signers, epg-context-result-for)
29584 (epg-new-signature-digest-algorithm)
29585 (epg-verify-result-to-string, epg-list-keys, epg-verify-string)
29586 (epg-sign-string, epg-encrypt-string)
29587 (epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
29588 (epg-configuration, epg-expand-group, epa-select-keys):
29589 Declare rather than autoload.
29590 * lisp/gnus/nnir.el (nnimap-change-group, nnimap-make-thread-query):
29591 Autoload at run-time.
29592 (gnus-group-topic-name, nnimap-buffer, nnimap-command)
29593 (gnus-registry-get-id-key, gnus-registry-action):
29594 Declare rather than autoload.
29595 * lisp/gnus/nnmail.el (mail-send-and-exit): Autoload at run-time.
29596 * lisp/gnus/spam.el (spam-stat-buffer-change-to-non-spam)
29597 (spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
29598 (spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
29599 (spam-stat-split-fancy): Remove pointless autoloads.
29600 * lisp/net/mairix.el: Load gnus-util when compiling.
29601 (gnus-group-read-ephemeral-group, gnus-summary-toggle-header)
29602 (message-field-value): Declare rather than autoload.
29603 (mairix-gnus-ephemeral-nndoc, mairix-gnus-fetch-field):
29604 Check gnus-alive-p is fbound.
29605 (vm-quit, vm-visit-folder, vm-select-folder-buffer)
29606 (vm-check-for-killed-summary, vm-error-if-folder-empty)
29607 (vm-get-header-contents, vm-select-marked-or-prefixed-messages):
29608 Declare rather than autoload.
29609
29610 * lisp/gnus/mm-view.el (epg-decrypt-string): Autoload.
29611
29612 * lisp/gnus/mml-smime.el (epg-key-sub-key-list)
29613 (epg-sub-key-capability, epg-sub-key-validity): Fix declarations.
29614
29615 * lisp/progmodes/elisp-mode.el (xref-collect-references): Declare.
29616
29617 * lisp/emacs-lisp/debug.el (help-xref-interned): Update declaration.
29618
29619 * lisp/allout.el (epg-user-id-string, epg-key-user-id-list):
29620 * lisp/emacs-lisp/package.el (epg-signature-status):
29621 Fix declarations.
29622
29623 * lisp/play/gametree.el (gametree-show-children-and-entry)
29624 (gametree-apply-layout, gametree-mouse-show-subtree)
29625 (gametree-mouse-hide-subtree): Replace obsolete outline aliases.
29626
29627 * lisp/emacs-lisp/check-declare.el (check-declare-verify):
29628 Handle cl-defgeneric, cl-defmethod.
29629
29630 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
29631
29632 * lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions):
29633 Highlight both type and symbol name.
29634
29635 Insert, highlight and align line numbers in xref output
29636 * lisp/progmodes/etags.el (xref-location-line): Specialize for
29637 xref-etags-location.
29638 * lisp/progmodes/xref.el (xref-location-line): New generic method.
29639 (xref-file-location): Add reader for the line slot.
29640 (xref--location-at-point): Skip to the `xref-location' property.
29641 (xref--collect-reference): Drop the line number from description.
29642 (xref--insert-xrefs): Insert, highlight and align line numbers.
29643
29644 2015-05-04 Daniel Colascione <dancol@dancol.org>
29645
29646 * lisp/simple.el (save-mark-and-excursion--save)
29647 (save-mark-and-excursion--restore): Fix previous commit
29648 (255a011f0ecf004b31c59945b10154b10fac3af1).
29649
29650 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
29651
29652 Don't pulse the indentation, or the newline
29653 * lisp/cedet/pulse.el (pulse-lighten-highlight)
29654 (pulse-reset-face): Fall back to the inherited background
29655 attribute in FACE.
29656 (pulse-momentary-highlight-region): Add autoload cookie.
29657 * lisp/progmodes/xref.el (xref--maybe-pulse): Don't highlight the
29658 indentation, or the newline, if the line's non-empty
29659 (http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00118.html).
29660
29661 2015-05-04 Daniel Colascione <dancol@dancol.org>
29662
29663 Add `save-mark-and-excursion', which has the old
29664 `save-excursion' behavior
29665 * doc/lispref/positions.texi (Excursions):
29666 Document `save-mark-and-excursion'.
29667 * lisp/font-lock.el (font-lock-fontify-block):
29668 Use `save-mark-and-excursion' instead of `save-excursion',
29669 restoring Emacs 24 behavior.
29670 * lisp/simple.el (save-mark-and-excursion--save)
29671 (save-mark-and-excursion--restore): New functions.
29672 (save-mark-and-excursion): New user macro.
29673 * src/editfns.c (Fsave_excursion): Mention `save-mark-and-excursion'
29674 in `save-excursion' documentation.
29675
29676 2015-05-04 Dmitry Gutov <dgutov@yandex.ru>
29677
29678 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
29679 Classify lone symbol inside let varlist as variable.
29680 * test/automated/elisp-mode-tests.el
29681 (completest-variables-in-let-bindings): New test.
29682
29683 Add xref-pulse-on-jump
29684 * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line):
29685 Add autoload cookie.
29686 * lisp/progmodes/xref.el (xref-pulse-on-jump): New option.
29687 (xref--maybe-pulse): New function.
29688 (xref-pop-marker-stack, xref--pop-to-location)
29689 (xref--display-position): Use it.
29690 (xref--location-at-point): Use back-to-indentation.
29691
29692 2015-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
29693
29694 lisp/org/org-{macs,list}.el: Fix lexical warnings
29695 * lisp/org/org-list.el (org-list-struct): Remove unused var `ind'.
29696 (org-list-get-next-item, org-list-get-prev-item)
29697 (org-list-get-children): Mark unused arg `struct'.
29698 (org-list-use-alpha-bul-p): Remove unused var `bul'.
29699 (org-toggle-checkbox): Mark unused var.
29700 (org-update-checkbox-count): Remove unused var `box-num'.
29701 (org-adapt-indentation): Declare.
29702 (org-list-parse-list): Declare var instead of adding a dummy duplicate.
29703 (org-list-send-list): Remove unused var `txt'.
29704 (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
29705 (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.
29706 * lisp/org/org-macs.el: Use `declare'.
29707 (org-with-limited-levels): Declare dyn-bound vars.
29708
29709 2015-05-04 Eli Zaretskii <eliz@gnu.org>
29710
29711 Fix minor issues with CEDET on MS-Windows
29712 * lisp/cedet/semantic/symref/idutils.el
29713 (semantic-symref-parse-tool-output-one-line): Fix the search
29714 regexp to match MS-Windows file names with drive letters.
29715 (Bug#19468)
29716 * lisp/cedet/semantic/symref/grep.el
29717 (semantic-symref-grep-use-template): Remove "--color=always" from
29718 Grep switches on MS-Windows.
29719 (semantic-symref-grep-shell): Use shell-file-name as the default
29720 value, so this works not only on Posix platforms.
29721 (semantic-symref-perform-search): Use shell-quote-argument instead
29722 of literal '..' for portable quoting of Grep command-line
29723 argument. Use shell-command-switch instead of a literal "-c".
29724 * lisp/cedet/semantic/bovine/gcc.el
29725 (semantic-gcc-get-include-paths): Use file-name-absolute-p to test
29726 for an absolute file name in a portable way.
29727
29728 2015-05-04 Artur Malabarba <bruce.connor.am@gmail.com>
29729
29730 * lisp/emacs-lisp/package.el: Remove `package--silence' variable.
29731 (package-import-keyring, package-refresh-contents)
29732 (package-compute-transaction, package--save-selected-packages)
29733 (package-install-from-archive, package-delete)
29734 (package-menu--perform-transaction): Use `inhibit-message' instead.
29735 (package--compile): Set `warning-minimum-level' to :error.
29736
29737 2015-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
29738
29739 * lisp/term/screen.el (xterm-screen-extra-capabilities): New custom.
29740 (terminal-init-screen): Use it (bug#20356).
29741 * lisp/term/xterm.el: Provide `term/xterm' instead of `xterm'.
29742 (xterm--extra-capabilities-type): New const.
29743 (xterm-extra-capabilities): Use it.
29744 (xterm--version-handler): Lower the pseudo-version for `screen'.
29745
29746 2015-05-03 Dmitry Gutov <dgutov@yandex.ru>
29747
29748 * lisp/progmodes/xref.el (xref--insert-xrefs): Tweak the faces.
29749 Always insert a newline at the end (to avoid mouse-face background
29750 tail at the last line).
29751
29752 elisp-completion-at-point: Prioritize being quoted over funpos
29753 * lisp/progmodes/elisp-mode.el (elisp-completion-at-point):
29754 Only consider function position when not inside quoted form
29755 (bug#20425).
29756 * test/automated/elisp-mode-tests.el: New file.
29757
29758 Stop vc-print-log from jumping to the top
29759 * lisp/vc/vc.el (vc-print-log-internal): Pass nil
29760 GOTO-LOCATION-FUNC to vc-log-internal-common when WORKING-REVISION
29761 is not specified.
29762 (vc-incoming-outgoing-internal): Always pass nil.
29763 (vc-log-internal-common): When GOTO-LOCATION-FUNC is nil, don't
29764 call it, and don't set vc-sentinel-movepoint (bug#15322).
29765 (vc-print-root-log): Don't fetch the root working revision, nor
29766 pass it to vc-print-log-internal.
29767
29768 2015-05-02 Michael Vehrs <Michael.Burschik@gmx.de>
29769
29770 Fix display of keyboard layouts for right-to-left scripts
29771 * lisp/international/quail.el (quail-insert-kbd-layout):
29772 Force left-to-right paragraph direction.
29773
29774 2015-05-02 K. Handa <handa@gnu.org>
29775
29776 * src/cmds.c (internal_self_insert): When we insert spaces for
29777 padding, set point before the padding spaces, not after them.
29778
29779 2015-05-02 Nicolas Petton <nicolas@petton.fr>
29780
29781 * lisp/emacs-lisp/seq.el (seq-p): New alias to `sequencep'.
29782
29783 2015-05-02 Dmitry Gutov <dgutov@yandex.ru>
29784
29785 Fix etags-xref-find for references
29786 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references):
29787 Use `cl-mapcan'.
29788 * lisp/progmodes/etags.el (etags-xref-find): Ditto. Prompt for
29789 directory if no tags tables are loaded (bug#19468).
29790
29791 2015-05-02 Philipp Stephani <phst@google.com>
29792
29793 Update the options in whitespace-style defcustom
29794 * lisp/whitespace.el (whitespace-style): Use `set' instead of a
29795 `repeat' because the option is really set-like. Add missing
29796 options. Reorder options to match the order in the
29797 documentation. (Bug#20346)
29798
29799 2015-05-02 Eli Zaretskii <eliz@gnu.org>
29800
29801 Fix error diagnostics of c-macro-expand
29802 * lisp/progmodes/cmacexp.el (c-macro-expansion): Don't bail out
29803 too early if no start-marker string was found -- that generally
29804 means cpp exited abnormally, and we still want to show its error
29805 messages to the user.
29806
29807 Don't require Texinfo 5.0 for Emacs documentation
29808 * doc/emacs/docstyle.texi: Use "@set txicodequoteundirected" and
29809 "@set txicodequotebacktick" instead of "@codequotebacktick on" and
29810 "@codequoteundirected on", respectively, to avoid requiring
29811 Texinfo 5.x for Emacs documentation.
29812
29813 2015-05-01 Simen Heggestøyl <simenheg@gmail.com>
29814
29815 * lisp/files.el (pwd):
29816 When called with a prefix argument, insert the current default
29817 directory at point.
29818
29819 2015-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
29820
29821 * lisp/isearch.el (isearch-mode-map): Allow backspace remapping
29822 * lisp/isearch.el (isearch-mode-map): Don't inhibit
29823 function-key-map remapping for backspace (bug#20466).
29824
29825 2015-05-01 Dmitry Gutov <dgutov@yandex.ru>
29826
29827 Implement xref-find-references in etags and elisp-mode
29828 * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): New function.
29829 (elisp-xref-find): Use it.
29830 * lisp/progmodes/etags.el (etags-xref-find): Use `xref-collect-references'.
29831 * lisp/progmodes/xref.el (xref-collect-references):
29832 (xref--collect-reference): New functions.
29833
29834 2015-05-01 Paul Eggert <eggert@cs.ucla.edu>
29835
29836 Prefer plain characters to Texinfo circumlocutions
29837 For example, prefer 'François' to 'Fran\c{c}ois', 'Fran\c cois',
29838 'Fran@,{c}ois' or 'Francois' (all of which were used!) in Texinfo sources.
29839
29840 Fix single-quoting style in PDF manuals
29841 The PDF versions of the GNU manuals used curved single quotes to
29842 represent grave accent and apostrophe, which made it a pain to cut
29843 and paste code examples from them. Fix the PDF versions to use
29844 grave accent and apostrophe for Lisp source code, keystrokes, etc.
29845 This change does not affect the info files, nor does it affect
29846 ordinary uses of curved single quotes in PDF.
29847 * doc/emacs/docstyle.texi: New file, which specifies treatment for
29848 grave accent and apostrophe, as well as the document encoding.
29849 * doc/emacs/emacs-xtra.texi, doc/emacs/emacs.texi:
29850 * doc/lispintro/emacs-lisp-intro.texi:
29851 * doc/lispref/back.texi, doc/lispref/book-spine.texi:
29852 * doc/lispref/elisp.texi, doc/lispref/lay-flat.texi:
29853 * doc/misc/ada-mode.texi, doc/misc/auth.texi:
29854 * doc/misc/autotype.texi, doc/misc/bovine.texi, doc/misc/calc.texi:
29855 * doc/misc/cc-mode.texi, doc/misc/cl.texi, doc/misc/dbus.texi:
29856 * doc/misc/dired-x.texi, doc/misc/ebrowse.texi, doc/misc/ede.texi:
29857 * doc/misc/ediff.texi, doc/misc/edt.texi, doc/misc/efaq-w32.texi:
29858 * doc/misc/efaq.texi, doc/misc/eieio.texi, doc/misc/emacs-gnutls.texi:
29859 * doc/misc/emacs-mime.texi, doc/misc/epa.texi, doc/misc/erc.texi:
29860 * doc/misc/ert.texi, doc/misc/eshell.texi, doc/misc/eudc.texi:
29861 * doc/misc/eww.texi, doc/misc/flymake.texi, doc/misc/forms.texi:
29862 * doc/misc/gnus-coding.texi, doc/misc/gnus-faq.texi:
29863 * doc/misc/gnus.texi, doc/misc/htmlfontify.texi:
29864 * doc/misc/idlwave.texi, doc/misc/ido.texi, doc/misc/info.texi:
29865 * doc/misc/mairix-el.texi, doc/misc/message.texi, doc/misc/mh-e.texi:
29866 * doc/misc/newsticker.texi, doc/misc/nxml-mode.texi:
29867 * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/pcl-cvs.texi:
29868 * doc/misc/pgg.texi, doc/misc/rcirc.texi, doc/misc/reftex.texi:
29869 * doc/misc/remember.texi, doc/misc/sasl.texi, doc/misc/sc.texi:
29870 * doc/misc/semantic.texi, doc/misc/ses.texi, doc/misc/sieve.texi:
29871 * doc/misc/smtpmail.texi, doc/misc/speedbar.texi:
29872 * doc/misc/srecode.texi, doc/misc/todo-mode.texi, doc/misc/tramp.texi:
29873 * doc/misc/url.texi, doc/misc/vhdl-mode.texi, doc/misc/vip.texi:
29874 * doc/misc/viper.texi, doc/misc/widget.texi, doc/misc/wisent.texi:
29875 * doc/misc/woman.texi:
29876 Use it instead of '@documentencoding UTF-8', to lessen the need for
29877 global changes like this in the future.
29878 * doc/emacs/Makefile.in (EMACS_XTRA):
29879 * doc/lispintro/Makefile.in (srcs):
29880 * doc/lispref/Makefile.in (srcs):
29881 Add dependency on docstyle.texi.
29882 * doc/misc/Makefile.in (style): New macro.
29883 (${buildinfodir}/%.info, %.dvi, %.pdf, %.html)
29884 (${buildinfodir}/ccmode.info, ${buildinfodir}/efaq%.info, gnus_deps):
29885 Use it.
29886
29887 2015-05-01 Glenn Morris <rgm@gnu.org>
29888
29889 * test/automated/cl-lib-tests.el (cl-lib-adjoin-test): Fix it.
29890
29891 * lisp/emacs-lisp/pcase.el (get-edebug-spec, edebug-match)
29892 (help-fns--signature): Declare.
29893
29894 * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Require help-fns.
29895
29896 2015-05-01 Nicolas Petton <nicolas@petton.fr>
29897
29898 New macro seq-let, providing destructuring support to seq.el
29899 * lisp/emacs-lisp/seq.el (seq-let): New macro. `seq-let' is similar
29900 to `cl-destructuring-bind' but works on all sequence types supported
29901 by `seq.el'. Bump version number to 1.6.
29902 * test/automated/seq-tests.el: Add tests for seq-let.
29903 * doc/lispref/sequences.texi: Add documentation for seq-let.
29904
29905 2015-05-01 Pontus Michael <m.pontus@gmail.com>
29906
29907 * lisp/simple.el (blink-matching-open): Better behavior in minibuffer.
29908
29909 2015-05-01 Glenn Morris <rgm@gnu.org>
29910
29911 * lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
29912
29913 2015-05-01 Artur Malabarba <bruce.connor.am@gmail.com>
29914
29915 * lisp/emacs-lisp/bytecomp.el: Revert "Silence noninteractive compilations"
29916 This reverts commit 9a7ddde977378cb5276a81476ae458889c403267.
29917 This reverts commit 3c0ea587daf8b17960b90603a70e3ac4057d883d.
29918 With message: "* lisp/emacs-lisp/bytecomp.el: Use `inhibit-message'".
29919 (Bug#20445).
29920
29921 2015-05-01 K. Handa <handa@gnu.org>
29922
29923 * lisp/international/mule-cmds.el (input-method-use-echo-area):
29924 Change :type to 'boolean.
29925
29926 2015-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
29927
29928 Start using proportional fonts in eww by default
29929 * lisp/net/shr.el (shr-use-fonts): Switch the default to t, since
29930 it seems to work well.
29931
29932 Fix links in tables in shr
29933 * lisp/net/shr.el: Remove `shr-inhibit-decoration', because that
29934 makes (some) links in tables not work.
29935
29936 2015-05-01 Jan D <jan.h.d@swipnet.se>
29937
29938 * lisp/term/ns-win.el (ns-get-cut-buffer-internal): Remove this alias.
29939
29940 2015-04-30 Glenn Morris <rgm@gnu.org>
29941
29942 * lisp/emacs-lisp/ert.el (ert--special-operator-p):
29943 Update for 2015-02-08 change to indirect-function.
29944
29945 * lisp/term/ns-win.el (ns-get-selection-internal):
29946 Remove declaration for function deleted 2014-10-21.
29947
29948 * lisp/dom.el: Load subr-x when compiling, for when-let.
29949
29950 Silence some compilation warnings
29951 * lisp/emacs-lisp/check-declare.el (compilation-forget-errors):
29952 * lisp/emulation/cua-base.el (delete-active-region):
29953 * lisp/net/net-utils.el (w32-get-console-output-codepage):
29954 * lisp/term/ns-win.el (ns-own-selection-internal)
29955 (ns-disown-selection-internal, ns-selection-owner-p)
29956 (ns-selection-exists-p, ns-get-selection):
29957 Declare for compiler.
29958
29959 Function declaration updates prompted by 'make check-declare'
29960 * lisp/emacs-lisp/package.el (lm-homepage):
29961 * lisp/gnus/gnus-util.el (iswitchb-read-buffer):
29962 * lisp/gnus/mm-decode.el (libxml-parse-html-region):
29963 * lisp/gnus/mml.el (libxml-parse-html-region):
29964 * lisp/gnus/nnrss.el (libxml-parse-html-region):
29965 * lisp/net/eww.el (libxml-parse-html-region):
29966 * lisp/net/shr.el (libxml-parse-html-region):
29967 * lisp/vc/vc-bzr.el (vc-annotate-convert-time):
29968 * lisp/vc/vc-cvs.el (vc-annotate-convert-time):
29969 * lisp/vc/vc-git.el (vc-annotate-convert-time):
29970 * lisp/vc/vc-hg.el (vc-annotate-convert-time):
29971 * lisp/vc/vc-mtn.el (vc-annotate-convert-time):
29972 * lisp/vc/vc-rcs.el (vc-annotate-convert-time):
29973 Update declaration.
29974
29975 Remove compatibility code for 20-year old function renaming
29976 * lisp/progmodes/idlw-shell.el (idlwave-shell-comint-filter):
29977 Make it an obsolete alias.
29978 (idlwave-shell-filter): Change all uses to comint-output-filter.
29979
29980 2015-04-30 Tassilo Horn <tsdh@gnu.org>
29981
29982 Add ace-window face config
29983 * etc/themes/tsdh-light-theme.el (tsdh-light): Add ace-window face
29984 configuration.
29985
29986 2015-04-30 Paul Eggert <eggert@cs.ucla.edu>
29987
29988 Unclutter 'make doc' output a bit
29989 * Makefile.in ($(DOCS), $(INSTALL_DOC), $(UNINSTALL_DOC)):
29990 Use make subst rather than sh IFS to split target string apart.
29991 This makes 'make' output easier to follow.
29992
29993 Merge from gnulib
29994 * doc/misc/texinfo.tex: Update from gnulib.
29995
29996 2015-04-30 Artur Malabarba <bruce.connor.am@gmail.com>
29997
29998 * lisp/emacs-lisp/package.el: Some speed optimizations on menu refresh.
29999 (package-menu--print-info): Obsolete.
30000 (package-menu--print-info-simple): New function.
30001 (package-menu--refresh): Use it, simplify code, and improve
30002 performance.
30003 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
30004 Tiny performance improvement.
30005
30006 * lisp/emacs-lisp/package.el (package--message): inhibit-message.
30007
30008 2015-04-29 Paul Eggert <eggert@cs.ucla.edu>
30009
30010 Omit -Wstrict-overflow workaround in GCC 5
30011 * src/process.c: Remove workaround for GCC -Wstrict-overflow bug
30012 if it's GCC 5 or later, as the bug appears to be fixed in GCC 5.1.
30013
30014 Merge from gnulib
30015 This incorporates:
30016 2015-04-29 extern-inline: no need for workaround in GCC 5.1
30017 2015-04-26 file-has-acl: port to CentOS 6
30018 * m4/acl.m4, m4/extern-inline.m4: Update from gnulib.
30019
30020 2015-04-29 Helmut Eller <eller.helmut@gmail.com>
30021
30022 Set next-error-* in xref--xref-buffer-mode
30023 * lisp/progmodes/xref.el (xref--xref-buffer-mode):
30024 Set `next-error-function' and `next-error-last-buffer'.
30025 (xref--next-error-function): New function.
30026 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01311.html)
30027
30028 2015-04-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
30029
30030 python.el: Fix warnings on looking-back calls missing LIMIT
30031 * lisp/progmodes/python.el (python-shell-accept-process-output):
30032 Pass LIMIT arg to looking-back.
30033
30034 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
30035
30036 * lisp/emacs-lisp/package.el: Use pushnew for downloads in progress.
30037 (package--download-and-read-archives): Use pushnew instead of
30038 append. If something terrible happened during a previous
30039 download, simply refreshing should now make things work again.
30040
30041 2015-04-29 Dmitry Gutov <dgutov@yandex.ru>
30042
30043 Introduce etags-xref-find-definitions-tag-order
30044 * lisp/progmodes/etags.el (etags-xref-find-definitions-tag-order):
30045 New variable.
30046 (etags--xref-find-definitions): Use it (bug#19468).
30047
30048 2015-04-29 Eli Zaretskii <eliz@gnu.org>
30049
30050 PATH- and completion-related fixes in Eshell on MS-Windows
30051 * lisp/eshell/esh-ext.el (eshell-search-path): When running on
30052 MS-Windows, prepend "." to list of directories produced from PATH,
30053 as Windows always implicitly searches the current directory first.
30054 (eshell-force-execution): Make it have a non-nil default value on
30055 MS-Windows and MS-DOS.
30056 * lisp/eshell/em-cmpl.el (eshell-complete-commands-list): If
30057 eshell-force-execution is non-nil, complete on readable files and
30058 directories, not only executables. When running on MS-Windows,
30059 prepend "." to list of directories produced from PATH, as Windows
30060 always implicitly searches the current directory first.
30061
30062 2015-04-29 Sam Steingold <sds@gnu.org>
30063
30064 Bury RCIRC buffers when there is no activity
30065 * lisp/net/rcirc.el (rcirc-non-irc-buffer): Remove.
30066 (rcirc-bury-buffers): New function.
30067 (rcirc-next-active-buffer): When there is no new activity, use
30068 `rcirc-bury-buffers' to hide all RCIRC buffers.
30069
30070 2015-04-29 Krzysztof Jurewicz <krzysztof.jurewicz@gmail.com> (tiny change)
30071
30072 Fix DBUS query result parsing for secrets-search-items
30073 * lisp/net/secrets.el (secrets-search-items): Fix DBUS query result
30074 parsing. The function assumed that return value of the
30075 SearchItems method called on a collection is a list of two lists,
30076 however this is true only when no collection is specified. GNOME
30077 had used to incorrectly return a list of two lists in both cases,
30078 but this was already fixed:
30079 https://bugzilla.gnome.org/show_bug.cgi?id=695115 . Also fix an
30080 incorrect information in the secrets-search-items’ docstring.
30081 (Bug#20449)
30082
30083 2015-04-29 Artur Malabarba <bruce.connor.am@gmail.com>
30084
30085 * lisp/emacs-lisp/bytecomp.el (byte-compile--message):
30086 Use `inhibit-message' instead of hiding the previous message
30087 with (message nil).
30088
30089 2015-04-29 Oleh Krehel <ohwoeowho@gmail.com>
30090
30091 Remove the deprecated INTERNAL_FIELD macro by expanding it
30092 * src/lisp.h (INTERNAL_FIELD): Remove.
30093 (DEFVAR_KBOARD): Modify accordingly.
30094 * src/alloc.c, src/buffer.c, src/buffer.h, src/category.c:
30095 * src/keyboard.c, src/keyboard.h, src/syntax.c: Adjust users.
30096 * src/buffer.c (compact_buffer): Use BVAR.
30097
30098 2015-04-29 Glenn Morris <rgm@gnu.org>
30099
30100 Replace an obsolete function alias
30101 * lisp/isearch.el (isearch-yank-x-selection):
30102 * lisp/mouse-copy.el (mouse-drag-secondary-pasting)
30103 (mouse-drag-secondary-moving):
30104 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
30105 Replace obsolete alias x-get-selection with gui-get-selection.
30106
30107 2015-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
30108
30109 * lisp/mail/rmailsum.el: Use lexical-binding.
30110
30111 2015-04-29 Glenn Morris <rgm@gnu.org>
30112
30113 * test/automated/package-test.el (package-test-update-archives-async):
30114 Skip test on hydra.nixos.org.
30115
30116 2015-04-28 Glenn Morris <rgm@gnu.org>
30117
30118 * lisp/foldout.el: Update for 2015-01-30 outline.el changes.
30119 (foldout-zoom-subtree, foldout-exit-fold, foldout-mouse-show)
30120 (foldout-mouse-hide-or-exit): Use new names for outline functions.
30121
30122 * lisp/cedet/semantic/bovine/c.el (semantic-c-do-lex-if):
30123 Update for 2014-06-26 hideif.el change.
30124
30125 * lisp/mail/rmailsum.el: Fix search for encoded subjects. (Bug#19088)
30126 (rmail--decode-and-apply): New function.
30127 (rmail-message-regexp-p-1, rmail-message-subject-p): Use it.
30128
30129 * lisp/mail/rmail.el (rmail-highlighted-headers): Fix :type.
30130
30131 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
30132
30133 * lisp/emacs-lisp/package.el: Fix priority-hiding corner case
30134 (package-menu--refresh): Delegate obsolete-hiding to
30135 `package--remove-hidden'.
30136 (package--remove-hidden): Disregard high-priority package if it is
30137 older than the installed one.
30138
30139 2015-04-28 Paul Eggert <eggert@cs.ucla.edu>
30140
30141 Update source file encoding list
30142 Update admin/notes/unicode, along with coding system cookies in
30143 other files, so that the two match each other better.
30144 * admin/notes/unicode: lisp/language/ethio-util.el and
30145 lisp/language/ethiopic.el also use utf-8-emacs.
30146 * admin/notes/hydra, doc/misc/dbus.texi, doc/misc/org.texi:
30147 * doc/misc/remember.texi, etc/refcards/cs-dired-ref.tex:
30148 * etc/refcards/cs-refcard.tex, etc/refcards/cs-survival.tex:
30149 * etc/refcards/sk-dired-ref.tex, etc/refcards/sk-refcard.tex:
30150 * etc/refcards/sk-survival.tex:
30151 Add "coding: utf-8" so that this file is not mishandled in a
30152 Latin-1 or Big-5 locale.
30153 * lisp/international/robin.el, lisp/org/ox-ascii.el:
30154 Specify utf-8, not utf-8-emacs, as these are plain UTF-8 files.
30155 * lisp/language/ethio-util.el: Fix trailer.
30156
30157 2015-04-28 Eli Zaretskii <eliz@gnu.org>
30158
30159 Fix synchronous invocation of Ispell
30160 * lisp/textmodes/ispell.el (ispell-init-process): Assign a non-nil
30161 value to ispell-process-directory before calling ispell-init-process.
30162 Don't call set-process-coding-system if ispell-async-processp is nil.
30163 (Bug#20448)
30164
30165 2015-04-28 Artur Malabarba <bruce.connor.am@gmail.com>
30166
30167 * lisp/emacs-lisp/package.el: Skip space and comments in init file
30168 (package--ensure-init-file): Insert snippet at first
30169 non-whitespace non-comments line. Respects local-vars at the top
30170 of the file.
30171
30172 2015-04-28 Glenn Morris <rgm@gnu.org>
30173
30174 * lisp/mail/rmail.el (rmail-copy-headers):
30175 Handle rmail-nonignored-headers being nil. (Bug#18878)
30176
30177 * lisp/subr.el (delay-mode-hooks): Fix doc typo.
30178
30179 * lisp/vc/vc-bzr.el (vc-bzr-after-dir-status):
30180 Don't get confused by a bzrlib version mismatch warning.
30181
30182 2015-04-27 Thomas Fitzsimmons <fitzsim@fitzsim.org>
30183
30184 Change default location of EUDC options file
30185 * etc/NEWS: Document change to EUDC options file's default location.
30186 * lisp/net/eudc-vars.el (eudc-options-file): Use
30187 `locate-user-emacs-file' to change default options file location.
30188
30189 2015-04-27 Glenn Morris <rgm@gnu.org>
30190
30191 * test/automated/package-test.el (package-test-update-archives-async):
30192 Try to handle the test server script dying.
30193
30194 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
30195
30196 * lisp/saveplace.el (save-place-mode): New minor mode.
30197 (save-place): Redefine as an obsolete alias.
30198
30199 * lisp/midnight.el: Make it a minor mode. Allow predicates.
30200 * lisp/midnight.el: Use lexical-binding.
30201 (midnight-mode): Make it a proper minor mode.
30202 (midnight-buffer-display-time): Make arg non-optional.
30203 (midnight-find): Remove.
30204 (clean-buffer-list-kill-never-regexps)
30205 (clean-buffer-list-kill-regexps): Tweak type for new function choice.
30206 (clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
30207 contain functions.
30208 (clean-buffer-list): Use cl-find.
30209 Allow clean-buffer-list-kill-never-regexps to contain functions.
30210
30211 2015-04-27 Nicolas Petton <nicolas@petton.fr>
30212
30213 Bump version of seq.el to 1.5
30214 * lisp/emacs-lisp/seq.el (seq-doseq): Remove undocumented return value
30215 from seq-doseq. Bump version number of seq.el.
30216
30217 2015-04-27 Glenn Morris <rgm@gnu.org>
30218
30219 * lisp/mail/rmail.el (rmail-reply):
30220 Decode subject before matching "Re:" prefix. (Bug#20396)
30221
30222 2015-04-27 Artur Malabarba <bruce.connor.am@gmail.com>
30223
30224 * lisp/emacs-lisp/package.el: Small improvements
30225 (package--with-work-buffer-async): More informative error.
30226 (package-install-user-selected-packages): Rename to
30227 `package-install-selected-packages'.
30228
30229 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
30230
30231 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last
30232 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Fix last change.
30233 (eieio--class-make): Remove leftover `tag'.
30234
30235 2015-04-27 Glenn Morris <rgm@gnu.org>
30236
30237 * lisp/gnus/message.el (gnus-extract-address-components):
30238 Remove bogus declaration that was masking previous problem.
30239
30240 2015-04-27 Nicolas Graner <nicolas.graner@u-psud.fr> (tiny change)
30241
30242 * lisp/gnus/message.el (message-insert-formatted-citation-line):
30243 Fix typo. (Bug#20318)
30244
30245 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
30246
30247 * lisp/emacs-lisp/eieio-core.el (eieio-defclass-internal): Reuse oldc.
30248
30249 * lisp/textmodes/reftex-toc.el: Improve multi-frame behavior
30250 * lisp/textmodes/reftex-toc.el (reftex-toc-revert): Avoid displaying
30251 the buffer in yet another frame.
30252 (reftex-toc-visit-location): Make sure toc-window has focus at the end
30253 when `final' is nil.
30254 (reftex--rebuilding-toc): Defvar to avoid `boundp' and
30255 silence warnings. Use `--' to clarify that it's internal.
30256 (reftex-toc-next, reftex-toc-previous, reftex-toc-demote)
30257 (reftex-toc-promote): Clarify unused argument.
30258 (reftex--pro-or-de, reftex--start-line, reftex--mark-line):
30259 Add `reftex--' prefix. Fix all users.
30260 (reftex-toc-promote-prepare): Use _ for dummy variable.
30261 (reftex-toc-restore-region): Rename `m.
30262
30263 2015-04-27 Eli Zaretskii <eliz@gnu.org>
30264
30265 Fix a typo in bibtex.el
30266 * lisp/textmodes/bibtex.el (bibtex-insert-kill): Fix a typo from
30267 last change. (Bug#20429)
30268
30269 Fix redisplay of frame after loading new fonts
30270 * src/xdisp.c (redisplay_internal): When retrying redisplay of
30271 a frame because new fonts were loaded, disable all redisplay
30272 optimizations on that frame by calling SET_FRAME_GARBAGED.
30273 (Bug#20410)
30274
30275 2015-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
30276
30277 * lisp/info.el (Info-menu): Properly provide the `default'
30278 (Bug#20391)
30279
30280 * lisp/progmodes/elisp-mode.el (elisp--get-fnsym-args-string):
30281 Catch errors from documentation (bug#20418).
30282 (emacs-lisp-mode-abbrev-table): Remove redundant defvar.
30283
30284 2015-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
30285
30286 * lisp/emacs-lisp/package.el: Move variables to silence byte-compiler.
30287 Remove redundant ":group 'package".
30288
30289 2015-04-26 Eli Zaretskii <eliz@gnu.org>
30290
30291 Fix a typo in rmail.el
30292 * lisp/mail/rmail.el (rmail-ensure-blank-line): Fix a typo in the
30293 last commit. (Bug#20429)
30294
30295 2015-04-26 Dmitry Gutov <dgutov@yandex.ru>
30296
30297 Introduce xref-prompt-for-identifier
30298 * lisp/progmodes/xref.el (xref-prompt-for-identifier): New option.
30299 (xref--read-identifier): Use it
30300 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01205.html).
30301
30302 2015-04-26 João Távora <joaotavora@gmail.com>
30303
30304 `tex-insert-quote' after single `'' opens quotes instead of closing
30305 Without this, it's very hard to precede double quotes with the
30306 apostrophe character, i.e. insert the sequence '``
30307 (quote-backquote-backquote), commonly useful in portuguese, for
30308 instance.
30309 * lisp/textmodes/tex-mode.el (tex-insert-quote): Add ?' to the list of
30310 preceding chars making `tex-insert-quote' be in the "opening" context.
30311
30312 2015-04-25 Dmitry Gutov <dgutov@yandex.ru>
30313
30314 Pass `id' to `completing-read' as def instead of initial input
30315 * lisp/progmodes/xref.el (xref--read-identifier): Pass `id' to
30316 `completing-read' as the default value instead of initial input
30317 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg01182.html).
30318
30319 2015-04-25 Paul Eggert <eggert@cs.ucla.edu>
30320
30321 Don't freeze with unreadable processes
30322 Don't freeze if an exiting process can't be read from. (Bug#19860).
30323 This fixes a bug I introduced in
30324 2014-07-08T07:24:07Z@eggert@cs.ucla.edu
30325 "* process.c: Add sanity checks for file descriptors."
30326 Dmitry Gutov did most of the legwork in finding the problem.
30327 * src/process.c (wait_reading_process_output):
30328 Treat non-running processes that can't be read from
30329 the same as other non-running processes.
30330
30331 2015-04-25 Alan Mackenzie <acm@muc.de>
30332
30333 Fix change from 2015-04-22 "On C-y, stop some text property entries ..."
30334 * lisp/subr.el (remove-yank-excluded-properties): Put
30335 `with-silent-modifications' around only the last three lines of code.
30336
30337 2015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
30338
30339 * lisp/emacs-lisp/package.el (package-all-keywords): Don't cache
30340 (package--all-keywords): Deleted variable.
30341
30342 * etc/NEWS: Document package-hiding functionality.
30343
30344 2015-04-25 Eli Zaretskii <eliz@gnu.org>
30345
30346 * lisp/window.el (recenter-last-op): Doc fix. (Bug#20419)
30347
30348 Clarify the doc string of 'replace-regexp-in-string'
30349 * lisp/subr.el (replace-regexp-in-string): Doc fix. (Bug#20395)
30350
30351 Improve doc string of 'insert-buffer-substring'
30352 * src/editfns.c (Finsert_buffer_substring): Doc fix. (Bug#20421)
30353
30354 MS-Windows followup for the recent gnulib update
30355 * nt/gnulib.mk (libgnu_a_SOURCES): Replace file-has-acl.c with
30356 acl-internal.c.
30357
30358 2015-04-24 Paul Eggert <eggert@cs.ucla.edu>
30359
30360 Spelling fixes
30361
30362 Merge from gnulib
30363 This incorporates:
30364 2015-04-24 file-has-acl: new module, split from acl
30365 2015-04-24 manywarnings: add GCC 5.1 warnings
30366 2015-04-21 lstat: fix cross-compilation 'ln -s' problem
30367 2015-04-15 qacl: Simplify HP-UX acl_nontrivial check
30368 2015-04-15 acl: On Linux, check for acls without libacl
30369 2015-04-14 tempname: avoid unused parameter warnings (trivial)
30370 * lib/acl-internal.c: New file, from gnulib.
30371 * lib/file-has-acl.c: Remove; no longer imported from gnulib.
30372 * lib/acl-internal.h, lib/gnulib.mk, lib/qcopy-acl.c, lib/tempname.c:
30373 * m4/acl.m4, m4/gnulib-comp.m4, m4/lstat.m4, m4/manywarnings.m4:
30374 Update from gnulib.
30375
30376 Port --enable-gcc-warnings to GCC 5.1 x86-64
30377 * lib-src/ebrowse.c (dump_sym):
30378 * lib-src/hexl.c (main):
30379 * src/ccl.c (ccl_driver):
30380 * src/character.c (string_escape_byte8):
30381 * src/dbusbind.c (xd_retrieve_arg, xd_add_watch):
30382 * src/gnutls.c (Fgnutls_boot):
30383 * src/gtkutil.c (xg_check_special_colors):
30384 * src/image.c (x_build_heuristic_mask):
30385 * src/print.c (safe_debug_print, print_object):
30386 * src/term.c (produce_glyphless_glyph):
30387 * src/xdisp.c (get_next_display_element)
30388 (produce_glyphless_glyph):
30389 * src/xterm.c (x_draw_glyphless_glyph_string_foreground):
30390 Don't use a signed format to print an unsigned integer, or vice
30391 versa. GCC 5.1's new -Wformat-signedness option warns about this.
30392 * src/image.c (png_load_body, jpeg_load_body):
30393 Silence a bogus setjump diagnostic from GCC 5.1 (GCC bug 54561).
30394
30395 2015-04-24 Tassilo Horn <tsdh@gnu.org>
30396
30397 Add new faces to tsdh-light-theme
30398 * etc/themes/tsdh-light-theme.el (tsdh-light): New face
30399 definitions for Info-quoted, ace-jump-face-foreground,
30400 hl-paren-face, show-paren-match, and show-paren-mismatch.
30401
30402 2015-04-24 Nicolas Petton <nicolas@petton.fr>
30403
30404 * lisp/emacs-lisp/seq.el (seq-doseq): Fix the macro.
30405
30406 2015-04-24 Glenn Morris <rgm@gnu.org>
30407
30408 * build-aux/gitlog-to-emacslog:
30409 Use raw log format rather than wrapped one.
30410
30411 2015-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
30412
30413 * lisp/emacs-lisp/seq.el (seq-doseq): Tighten the code.
30414 (seq-doseq): Fix out-of-scope binding.
30415 Don't call `seq-length at every iteration.
30416 Reduce `if's from 3 to 2 per iteration.
30417 (emacs-lisp-mode-hook): Don't tweak in Emacs≥25.
30418
30419 2015-04-24 Glenn Morris <rgm@gnu.org>
30420
30421 * lisp/textmodes/text-mode.el (text-mode-hook):
30422 Move text-mode-hook-identify to default.
30423
30424 * lisp/mouse.el (minor-mode-menu-from-indicator):
30425 Handle non-function members of minor-mode-map-alist. (Bug#20201)
30426
30427 * lisp/help-fns.el (describe-function): More type checking.
30428 (describe-function-1): Handle changed symbol-function. (Bug#20201)
30429
30430 * build-aux/gitlog-to-emacslog: Convert "Fixes:" to "(Bug#)".
30431 (Bug#20325)
30432
30433 2015-04-24 Andreas Schwab <schwab@linux-m68k.org>
30434
30435 shr: strip leading whitespace when expanding URLs
30436 * lisp/net/shr.el (shr-expand-url): Strip leading whitespace from URL.
30437
30438 2015-04-24 Eli Zaretskii <eliz@gnu.org>
30439
30440 Clarify "co-authored" some more
30441
30442 * CONTRIBUTE: Clarify "co-authored-by". (Bug#20400)
30443
30444 Clarify doc strings of functions that search for properties
30445 * src/textprop.c (Fnext_char_property_change)
30446 (Fprevious_char_property_change)
30447 (Fnext_single_char_property_change)
30448 (Fprevious_single_char_property_change, Fnext_property_change)
30449 (Fnext_single_property_change, Fprevious_property_change)
30450 (Fprevious_single_property_change): Clarify doc strings wrt return
30451 value and the optional LIMIT argument. (Bug#20411)
30452
30453 2015-04-24 Glenn Morris <rgm@gnu.org>
30454
30455 * test/automated/message-mode-tests.el (message-mode-propertize):
30456 Handle non-writable HOME; eg on hydra.nixos.org.
30457
30458 2015-04-23 Eli Zaretskii <eliz@gnu.org>
30459
30460 Avoid starting threads by w32-shell-execute
30461 * src/w32fns.c (Fw32_shell_execute): Convert "file:///" URLs into
30462 local file names, before invoking ShellExecute. (Bug#20220)
30463
30464 2015-04-23 Martin Rudalics <rudalics@gmx.at>
30465
30466 Fix following doc-links in `widget-documentation-link-action'
30467 * lisp/wid-edit.el (widget-documentation-link-action): Make
30468 following doc-links less simplistic (Bug#20398).
30469
30470 2015-04-22 Thomas Fitzsimmons <fitzsim@fitzsim.org>
30471
30472 Improve EUDC manual
30473 * doc/misc/eudc.texi (Troubleshooting):
30474 New LDAP troubleshooting subsection.
30475
30476 2015-04-22 Paul Eggert <eggert@cs.ucla.edu>
30477
30478 Omit needless "\ " after multibyte then newline
30479 * src/print.c: Include <c-ctype.h>, for c_isxdigit.
30480 (print_object): When print-escape-multibyte is non-nil and a
30481 multibyte character is followed by a newline or formfeed, followed
30482 by a hex digit, don't output a needless "\ " before the hex digit.
30483 * test/automated/print-tests.el (print-hex-backslash): New test.
30484
30485 2015-04-22 Oleh Krehel <ohwoeowho@gmail.com>
30486
30487 Add a new `inhibit-message' variable
30488 * src/xdisp.c (syms_of_xdisp): Define a boolean `inhibit_message'.
30489 (message3): Don't call `message3_nolog' (i.e. use the Echo Area) when
30490 `inhibit_message' is non-zero.
30491 * etc/NEWS: Add an entry.
30492 * doc/lispref/display.texi: Add an entry for `inhibit-message',
30493 mention it in `message'.
30494
30495 2015-04-22 Martin Rudalics <rudalics@gmx.at>
30496
30497 Fix last fix in `display-buffer-record-window'.
30498 * lisp/window.el (display-buffer-record-window): Fix last fix.
30499
30500 2015-04-22 Eli Zaretskii <eliz@gnu.org>
30501
30502 Minor edits in CONTRIBUTE
30503 * CONTRIBUTE: Rearrange instructions about log messages.
30504 Use "Git" capitalized all over.
30505 Use 2 spaces between sentences.
30506
30507 2015-04-22 Artur Malabarba <bruce.connor.am@gmail.com>
30508
30509 * lisp/files.el (basic-save-buffer): Fix argument.
30510
30511 * lisp/cus-edit.el (custom-file): Consider init-file-had-error.
30512 In case `(and (null custom-file) init-file-had-error)' do the same
30513 thing we'd do if `(null user-init-file)', which is to either error out
30514 or return nil. This is in line with `custom-save-all' which would
30515 throw an error in that situation. (Bug#20355)
30516
30517 * lisp/emacs-lisp/package.el: Hide lower-priority packages in menu.
30518 (package-menu-hide-low-priority): New variable, see its doc.
30519 (package-archive-priorities): Update doc.
30520 (package-desc-priority): New function.
30521 (package-desc-priority-version): Use it.
30522 (package--remove-hidden): New function.
30523 (package-menu--refresh): Use it.
30524
30525 * lisp/emacs-lisp/package.el: Implement displaying obsolete packages.
30526 (package-menu--hide-obsolete): New variable.
30527 (package--remove-hidden): Use it.
30528 (package-menu-hide-obsolete): New interactive function to toggle
30529 the variable.
30530 (package--quick-help-keys): Document it.
30531 (package-menu-async): Add :version tag.
30532 (package-menu-mode-map): Bind package-menu-hide-obsolete.
30533 (package-desc-status): Indicate non-installed obsolete packages as
30534 avail-obso.
30535 (package-menu-mark-install): Allow installation of avail-obso.
30536 (package-menu--status-predicate): Sort avail-obso with available.
30537
30538 2015-04-22 Alan Mackenzie <acm@muc.de>
30539
30540 On C-y, stop some text property entries being written into buffer-undo-list
30541 * lisp/subr.el (remove-yank-excluded-properties): Enclose the code in
30542 `with-silent-modifications'.
30543
30544 2015-04-22 Martin Rudalics <rudalics@gmx.at>
30545
30546 In display-buffer-record-window record selected window if necessary
30547 * lisp/window.el (display-buffer-record-window): Store selected window
30548 if it differs from 3rd element of 'quit-restore' parameter (Bug#20353).
30549
30550 2015-04-22 Tassilo Horn <tsdh@gnu.org>
30551
30552 Fix reftex-citation bug
30553 * lisp/textmodes/reftex-cite.el (reftex-extract-bib-entries):
30554 Fix `wrong-type-argument stringp nil' error that occurs when AUCTeX
30555 integration is enabled and there are no citations in the document
30556 so far.
30557
30558 2015-04-21 Dmitry Gutov <dgutov@yandex.ru>
30559
30560 Add or reset based on the presence of MERGE_HEAD
30561 * lisp/vc/vc-git.el (vc-git-find-file-hook): Add
30562 `vc-git-resolve-when-done' to `after-save-hook' in either case.
30563 (vc-git-conflicted-files): Add a TODO.
30564 (vc-git-resolve-when-done): Depending on the presence of
30565 MERGE_HEAD, either update the resolved file in the index, or
30566 remove it from there. (Bug#20292)
30567
30568 2015-04-21 Glenn Morris <rgm@gnu.org>
30569
30570 * lisp/custom.el (custom-declare-group): No need to purecopy
30571 custom-current-group-alist members following recent change to set
30572 it to nil before dumping.
30573
30574 * build-aux/gitlog-to-emacslog: Get footer from ChangeLog.2.
30575 (Bug#20399)
30576
30577 2015-04-21 Daniel Colascione <dancol@dancol.org>
30578
30579 Unbreak no-op buffer save message
30580 * lisp/files.el (basic-save-buffer): Accept called-interactively as
30581 an argument instead of directly invoking called-interactively-p,
30582 which will always yield nil in that context.
30583
30584 2015-04-21 Alan Mackenzie <acm@muc.de>
30585
30586 CC Mode: Do nothing in before/after-change-functions for text
30587 property changes
30588 Fixes bug#20266.
30589 * lisp/progmodes/cc-mode.el (c-basic-common-init): Make
30590 yank-handled-properties buffer local, and remove 'category from it.
30591 (c-called-from-text-property-change-p): New function.
30592 (c-before-change): Don't do anything if a call of the new function
30593 returns non-nil.
30594 (c-after-change): Don't do much if a call of the new function returns
30595 non-nil.
30596 (c-extend-after-change-region): Put changes to text property 'fontified
30597 inside c-save-buffer-state.
30598
30599 2015-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
30600
30601 Fix byte-compiler warnings about looking-back
30602 * lisp/vc/log-view.el (log-view-end-of-defun-1):
30603 * lisp/textmodes/tex-mode.el (latex-forward-sexp-1):
30604 * lisp/textmodes/reftex-ref.el (reftex-goto-label):
30605 * lisp/textmodes/bibtex.el (bibtex-insert-kill):
30606 * lisp/progmodes/sh-script.el (sh--maybe-here-document):
30607 * lisp/progmodes/ruby-mode.el (ruby-end-of-defun):
30608 * lisp/progmodes/ada-mode.el (ada-in-numeric-literal-p):
30609 * lisp/org/org.el (org-insert-heading, org-sort-entries):
30610 * lisp/org/org-mouse.el (org-mouse-end-headline)
30611 (org-mouse-context-menu):
30612 * lisp/org/org-clock.el (org-clock-cancel):
30613 * lisp/man.el (Man-default-man-entry):
30614 * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text)
30615 (rmail-ensure-blank-line):
30616 * lisp/mail/footnote.el (Footnote-delete-footnote):
30617 * lisp/mail/emacsbug.el (report-emacs-bug):
30618 * lisp/info.el (Info-follow-reference, Info-fontify-node):
30619 * lisp/info-look.el (info-lookup-guess-custom-symbol):
30620 * lisp/help-fns.el (help-fns--key-bindings):
30621 * lisp/files.el (hack-local-variables):
30622 * lisp/emulation/viper-ex.el (viper-get-ex-token, ex-cmd-complete)
30623 (viper-get-ex-pat, ex-expand-filsyms, viper-get-ex-file)
30624 (viper-complete-filename-or-exit):
30625 * lisp/emulation/viper-cmd.el (viper-backward-indent):
30626 * lisp/emacs-lisp/lisp-mode.el (calculate-lisp-indent):
30627 * lisp/emacs-lisp/elint.el (elint-get-top-forms):
30628 * lisp/cus-edit.el (custom-face-edit-value-create):
30629 * lisp/calendar/todo-mode.el (todo-set-item-priority)
30630 (todo-filter-items-1, todo-convert-legacy-files)
30631 (todo-prefix-overlays): Add explicit second arg to looking-back.
30632
30633 2015-04-20 Glenn Morris <rgm@gnu.org>
30634
30635 Avoid non-nil current-load-list at startup
30636 * src/process.c (init_process_emacs): Move Fprovide statement...
30637 (syms_of_process): ... to here.
30638
30639 * lisp/loadup.el (custom-current-group-alist): Reset before dumping.
30640
30641 * lisp/startup.el (command-line) <site-run-file>: Avoid rogue value
30642 in emacs -Q.
30643
30644 2015-04-20 Ludovic Courtès <ludo@gnu.org>
30645
30646 * lisp/loadup.el (exec-path): Avoid storing build-time PATH in binary.
30647 (Bug#20330)
30648
30649 2015-04-20 Glenn Morris <rgm@gnu.org>
30650
30651 * lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
30652
30653 Tweak exec-path in uninstalled case
30654 * src/callproc.c (init_callproc): If running uninstalled, do not
30655 include eventual installation libexec directory in exec-path.
30656
30657 2015-04-20 Artur Malabarba <bruce.connor.am@gmail.com>
30658
30659 * lisp/emacs-lisp/package.el: Filter by multiple keywords and
30660 cache keywords.
30661 (package-menu-filter): Accept a list of keywords.
30662 (package--all-keywords): New variable to cache known keywords.
30663 (package-all-keywords): Populate it if necessary.
30664 (package-refresh-contents): Reset it.
30665
30666 * lisp/emacs-lisp/package.el: Make archive and status pseudo-keywords
30667 (package--has-keyword-p): Understand "arc:xxxx" and "status:xxxx"
30668 as special keywords which match agains package archive and status
30669 respectively.
30670 * etc/NEWS: Document it.
30671
30672 2015-04-20 Eli Zaretskii <eliz@gnu.org>
30673
30674 Describe and index "empty overlays".
30675 * doc/lispref/display.texi (Overlays): Improve indexing.
30676 (Managing Overlays): Describe "empty" overlays.
30677 (Overlay Properties, Finding Overlays): Add cross-reference to
30678 where empty overlays are described.
30679
30680 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
30681
30682 Spelling fixes
30683
30684 Quote 'like this' in top-level files
30685 * CONTRIBUTE, INSTALL, Makefile.in, README, configure.ac, make-dist:
30686 Prefer to single-quote 'like this' (instead of the older style
30687 `like this').
30688 * configure.ac: Fix some space-before-tab problems that 'git commit'
30689 complained about.
30690
30691 Use bool for boolean in textprop.c, undo.c
30692 * src/textprop.c (soft, hard): Now constants instead of macros.
30693 (validate_plist): Rewrite to avoid need for boolean local.
30694 (interval_has_all_properties, interval_has_some_properties)
30695 (interval_has_some_properties_list, add_properties)
30696 (remove_properties, get_char_property_and_overlay)
30697 (Fnext_single_char_property_change)
30698 (Fprevious_single_char_property_change, add_text_properties_1)
30699 (Fremove_text_properties, Fremove_list_of_text_properties)
30700 (copy_text_properties):
30701 * src/tparam.c (tparam1):
30702 * src/undo.c (record_change, record_property_change)
30703 (syms_of_undo):
30704 Use 'true' and 'false' for booleans.
30705
30706 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
30707
30708 * lisp/vc/vc-git.el (vc-git-find-file-hook):
30709 Call `smerge-start-session' even when dealing with a stash
30710 conflict (bug#20292).
30711
30712 2015-04-19 Vibhav Pant <vibhavp@gmail.com>
30713
30714 Add option to eshell/clear to clear scrollback.
30715 * lisp/eshell/esh-mode.el (eshell/clear-scrollback): New function.
30716 (eshell/clear): Add an optional SCROLLBACK argument. If non-nil,
30717 scrollback contents are cleared.
30718 * etc/NEWS: Describe change.
30719 * doc/misc/eshell.texi: Add entry for `clear'.
30720
30721 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
30722
30723 * src/widget.c (set_frame_size): Prefer 'int' to 'unsigned'
30724 where either will do.
30725
30726 2015-04-19 Steve Purcell <steve@sanityinc.com>
30727
30728 Assume package archive-contents are UTF8-encoded
30729 * lisp/emacs-lisp/package.el (package--read-archive-file):
30730 Set `coding-system-for-read' explicitly to 'utf-8 when reading the
30731 downloaded and cached archive-contents files, so that non-ASCII
30732 characters in package descriptions are displayed correctly in the
30733 `list-packages' menu. (Bug#20231)
30734
30735 2015-04-19 Dmitry Gutov <dgutov@yandex.ru>
30736
30737 Abort when looking at stashed changes
30738 * lisp/vc/vc-git.el (vc-git-find-file-hook): Abort when looking at
30739 stashed changes (bug#20292).
30740
30741 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
30742
30743 Refactor low-level printing for simplicity
30744 * src/print.c (PRINTDECLARE): Remove. Move its contents into
30745 PRINTPREPARE; doable now that we assume C99. All callers changed.
30746 (PRINTCHAR): Remove, as it adds more mystery than clarity.
30747 All callers changed.
30748 (strout): Assume that caller computes length. All callers changed.
30749 (print_c_string): New function.
30750 (write_string, write_string_1): Compute length instead of asking
30751 the caller to compute it. All callers changed.
30752 (write_string): Simplify by using write_string_1.
30753 (write_string_1): Simplify by using print_c_string.
30754 (Fterpri): Compute default val more clearly.
30755 (Fprin1_to_string, print_object):
30756 Assume C99 to avoid unnecessary nesting.
30757 (print_object): Prefer print_c_string to multiple printchar, or
30758 to calling strout with -1 length. Coalesce into sprintf when
30759 this is easy.
30760
30761 2015-04-18 Paul Eggert <eggert@cs.ucla.edu>
30762
30763 Prefer "Bug#1234" in commit messages (Bug#20325)
30764 * .dir-locals.el (log-edit-mode): Don't rewrite Bug#,
30765 as this isn't useful for Git.
30766 * CONTRIBUTE: Suggest "Bug#1234" instead of "Fixes: debbugs:1234".
30767
30768 2015-04-18 Glenn Morris <rgm@gnu.org>
30769
30770 * lisp/files.el (auto-mode-alist): Use conf mode for gitconfig, hgrc.
30771 (Bug#19506)
30772
30773 2015-04-18 Tom Willemse <tom@ryuslash.org> (tiny change)
30774
30775 * lisp/elec-pair.el (electric-pair-post-self-insert-function):
30776 Do not use `chomp' as a function. (Bug#19505)
30777
30778 2015-04-18 Glenn Morris <rgm@gnu.org>
30779
30780 * lisp/net/browse-url.el (browse-url, browse-url-at-point): Doc fixes.
30781
30782 * doc/emacs/misc.texi (Sorting): Small edit.
30783 (Bug#19896)
30784
30785 * admin/admin.el (make-manuals): Add emacs-xtra in pdf and ps.
30786
30787 2015-04-18 Simen Heggestøyl <simenheg@gmail.com>
30788
30789 css-mode.el: Support multi-line comment filling
30790 (Bug#20256)
30791 * lisp/textmodes/css-mode.el (css-fill-paragraph): Support multi-line
30792 comment filling.
30793 (css-adaptive-fill): New function.
30794 (css-mode): Set `adaptive-fill-function'.
30795 (scss-mode): Set `comment-continue'.
30796
30797 2015-04-18 Nicolas Petton <nicolas@petton.fr>
30798
30799 * lisp/emacs-lisp/seq.el (seq-concatenate, seq-into):
30800 Better error messages.
30801
30802 2015-04-18 Ivan Radanov Ivanov <ivanradanov@yahoo.co.uk> (tiny change)
30803
30804 Minor improvements in Bulgarian input methods
30805 * lisp/leim/quail/cyrillic.el (bulgarian-phonetic, bulgarian-bds):
30806 Replace U+042C with U+045D, as the former character is not used in
30807 the modern Bulgarian language.
30808 (Bug#20350)
30809
30810 2015-04-17 Thomas Fitzsimmons <fitzsim@fitzsim.org>
30811
30812 Improve EUDC manual
30813 * doc/misc/eudc.texi (LDAP Configuration): Mention simple and SASL
30814 authentication schemes. Add index items. Shorten example server
30815 name.
30816
30817 2015-04-17 Dmitry Gutov <dgutov@yandex.ru>
30818
30819 Don't show both feature and function with the same name
30820 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
30821 Don't show both feature and function with the same name.
30822
30823 (elisp--xref-identifier-location): Skip variable, if it's also
30824 a function
30825 * lisp/progmodes/elisp-mode.el (elisp--xref-identifier-location):
30826 Avoid returning both the variable and the function for the same
30827 minor mode.
30828
30829 2015-04-17 Wolfgang Jenkner <wjenkner@inode.at>
30830
30831 Fix fontification of keywords clobbered by the prompt
30832 * lisp/comint.el (comint-output-filter): Remove the uses of
30833 with-silent-modifications I introduced as part of the last change.
30834 This fixes, e.g., erratically missing highlighting when running
30835 ./configure --help; ./configure in a shell-mode buffer with
30836 compilation-shell-minor-mode turned on.
30837
30838 2015-04-17 Glenn Morris <rgm@gnu.org>
30839
30840 * admin/authors.el (authors-valid-file-names)
30841 (authors-renamed-files-alist): Additions.
30842
30843 2015-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
30844
30845 * lisp/indent.el (indent-region): Don't deactivate the mark.
30846 (Bug#20357)
30847
30848 2015-04-17 Sam Steingold <sds@gnu.org>
30849
30850 * lisp/net/rcirc.el (defun-rcirc-command): Mark `target' as ignorable.
30851
30852 2015-04-16 Leo Liu <sdl.web@gmail.com>
30853
30854 * lisp/progmodes/xref.el (xref-push-marker-stack): Add optional arg.
30855
30856 2015-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
30857
30858 * lisp/erc/erc-pcomplete.el (erc-pcomplete):
30859 Don't use `pcomplete' any more.
30860
30861 2015-04-16 Glenn Morris <rgm@gnu.org>
30862
30863 * admin/authors.el (authors-lax-changelogs): Update for erc changes.
30864
30865 2015-04-16 Eli Zaretskii <eliz@gnu.org>
30866
30867 Don't link with -ljpeg on MS-Windows, to avoid dependency on DLL
30868 * configure.ac (LIBJPEG): Leave it empty for MinGW.
30869
30870 2015-04-16 Glenn Morris <rgm@gnu.org>
30871
30872 * lisp/replace.el (query-replace-from-to-separator):
30873 Delay initialization to avoid rogue setting after startup.
30874
30875 2015-04-16 Paul Eggert <eggert@cs.ucla.edu>
30876
30877 Pre-4.6 GCC succeeds with unknown option
30878 * configure.ac (emacs_cv_prog_cc_nopie): Port to pre-4.6 GCC.
30879 (Bug#20338)
30880
30881 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
30882
30883 '[:graph:]' now excludes whitespace, not just ' '
30884 * doc/lispref/searching.texi (Char Classes):
30885 * lisp/emacs-lisp/rx.el (rx): Document [:graph:] to be [:print:]
30886 sans whitespace (not sans space).
30887 * src/character.c (graphicp): Exclude all Unicode whitespace chars,
30888 not just space.
30889 * src/regex.c (ISGRAPH): Exclude U+00A0 (NO-BREAK SPACE).
30890
30891 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
30892
30893 * lisp/subr.el (substitute-key-definition-key, special-form-p)
30894 (macrop): Drop deprecated second arg to indirect-function.
30895 (looking-back): Make the second arg non-optional.
30896
30897 * lisp/org/org-clock.el (org-x11idle-exists-p): Be honest about which
30898 command is actually sent to the shell.
30899
30900 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
30901
30902 Port jpeg configuration to Solaris 10 with Sun C
30903 * configure.ac: Check for jpeglib 6b by trying to link it, instead
30904 of relying on cpp magic that has problems in practice. Check for
30905 both jpeglib.h and jerror.h features. Remove special case for
30906 mingw32, which should no longer be needed (and if it were needed,
30907 should now be addressable by hotwiring emacs_cv_jpeglib).
30908 (Bug#20332)
30909
30910 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
30911
30912 Move some Elisp-specific code from lisp-mode.el to elisp-mode.el
30913 * lisp/emacs-lisp/lisp-mode.el (lisp--el-font-lock-flush-elisp-buffers):
30914 Move to elisp-mode.el.
30915 (lisp-mode-variables): (Re)move elisp-specific settings.
30916 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add settings removed
30917 from lisp-mode-variables.
30918 (elisp--font-lock-flush-elisp-buffers): New function, moved from
30919 lisp-mode.el.
30920
30921 * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p):
30922 Avoid pathological slowdown at top-level in large file.
30923
30924 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
30925
30926 Standardize names of ChangeLog history files
30927 Suggested by Glenn Morris in:
30928 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
30929 * Makefile.in (install-man): Don't treat ChangeLog.1 as a man page.
30930 * doc/man/ChangeLog.1: Rename back from doc/man/ChangeLog.01.
30931 * lisp/erc/ChangeLog.1: New file, containing the old contents of ...
30932 * lisp/erc/ChangeLog.01, lisp/erc/ChangeLog.02, lisp/erc/ChangeLog.03:
30933 * lisp/erc/ChangeLog.04, lisp/erc/ChangeLog.05, lisp/erc/ChangeLog.06:
30934 * lisp/erc/ChangeLog.07, lisp/erc/ChangeLog.08, lisp/erc/ChangeLog.09:
30935 Remove.
30936
30937 Split top-level entries into pre- and post-April 7
30938 This more clearly distingiushes pre-April-7 ChangeLog entries (which
30939 are for top-level files only) from post-April-7 entries (which are
30940 about files at all levels. Problem reported by Glenn Morris in:
30941 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00678.html
30942 * ChangeLog.1: Move post-April-7 entries from here ...
30943 * ChangeLog.2: ... to this new file.
30944 * Makefile.in (CHANGELOG_HISTORY_INDEX_MAX): Bump to 2.
30945
30946 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
30947
30948 Fix recent cus-start changes that added customize-rogues
30949 * lisp/cus-start.el (custom-delayed-init-variables): Initialize the
30950 vars early.
30951 * lisp/loadup.el ("cus-start"): Move to the end to reduce
30952 customize-rogue.
30953
30954 2015-04-15 Nicolas Petton <nicolas@petton.fr>
30955
30956 Define cl-concatenate as an alias to seq-concatenate
30957 * lisp/emacs-lisp/cl-extra.el (cl-concatenate): Removes duplicated
30958 code by making cl-concatenate an alias to seq-concatenate.
30959
30960 2015-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
30961
30962 * src/lread.c (intern_1): Make sure we'd find the symbol we add
30963 (Bug#20334)
30964 * src/xfaces.c (resolve_face_name): Don't use `intern' with
30965 Lisp_Strings.
30966
30967 2015-04-15 Glenn Morris <rgm@gnu.org>
30968
30969 * doc/lispref/sequences.texi (Sequence Functions): Fix typo in previous.
30970
30971 2015-04-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
30972
30973 Clean up gnus-uu saving code slightly
30974 * lisp/gnus/gnus-uu.el (gnus-uu-save-article): Make the
30975 save-restriction/widen calls make more sense.
30976
30977 2015-04-15 Paul Eggert <eggert@cs.ucla.edu>
30978
30979 Make [:graph:] act like [:print:] sans space
30980 In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
30981 [:graph:] so that it matches everything that [:print:] does,
30982 except for space.
30983 * doc/lispref/searching.texi (Char Classes):
30984 * etc/NEWS:
30985 * lisp/emacs-lisp/rx.el (rx):
30986 Document [:graph:] to be [:print:] sans ' '.
30987 * src/character.c, src/character.h (graphicp): New function.
30988 * src/regex.c (ISGRAPH) [emacs]: Use it.
30989 (BIT_GRAPH): New macro.
30990 (BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
30991 (re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
30992 Return BIT_GRAPH for RECC_GRAPH.
30993 (re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
30994 and ISPRINT if BIT_PRINT.
30995
30996 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
30997
30998 automated/eieio-test-methodinvoke.el (make-instance) <(subclass C)>:
30999 Don't use call-next-method in a cl-defmethod.
31000
31001 * lisp/emacs-lisp/eieio-core.el (eieio--class): Derive from cl--class
31002 (eieio--class-p): Remove, provided by cl-defstruct.
31003
31004 2015-04-14 Nicolas Petton <nicolas@petton.fr>
31005
31006 Add seq-intersection and seq-difference to the seq library
31007 * lisp/emacs-lisp/seq.el (seq-intersection, seq-difference):
31008 New functions.
31009 * test/automated/seq-tests.el: Add tests for seq-intersection and
31010 seq-difference.
31011 * doc/lispref/sequences.texi: Add documentation for seq-intersection
31012 and seq-difference.
31013
31014 2015-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
31015
31016 * lisp/emacs-lisp/eieio-core.el (class-abstract-p): Don't inline,
31017 to avoid leaking internals.
31018
31019 2015-04-14 Sam Steingold <sds@gnu.org>
31020
31021 package--ensure-init-file: widen requires save-restriction
31022
31023 2015-04-14 Eli Zaretskii <eliz@gnu.org>
31024
31025 Improve the commit-msg Git hook for unibyte environments
31026 * build-aux/git-hooks/commit-msg: Set LC_ALL=C, before running Awk
31027 in unibyte environments. (Suggested by Paul Eggert
31028 <eggert@cs.ucla.edu>.) Use a more accurate approximation to
31029 [:print:], based on UTF-8 sequences of the unprintable characters.
31030
31031 Describe problems with cursor caused by Windows Magnifier
31032 * etc/PROBLEMS: Describe the problem with cursor shape on
31033 MS-Windows due to Windows Magnifier.
31034 (Bug#20271)
31035
31036 Make [:print:] support non-ASCII characters correctly
31037 * src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
31038 (BIT_PRINT): New bit mask.
31039 (re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
31040 * src/character.c (printablep): New function.
31041 * src/character.h (printablep): Add prototype.
31042 * lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
31043 of 'print', 'alnum', and 'alphabetic'.
31044 * doc/lispref/searching.texi (Char Classes): Document the new
31045 behavior of [:print:].
31046 * etc/NEWS: Mention the new behavior of [:print:].
31047
31048 Assign correct general-category and names to surrogates
31049 * admin/unidata/unidata-gen.el (unidata-setup-list): Don't ignore
31050 surrogates. This avoids assigning them the default
31051 general-category of 'Cn', i.e. unassigned codepoints.
31052 (unidata-get-name): Give surrogates synthetic names.
31053
31054 2015-04-14 Paul Eggert <eggert@cs.ucla.edu>
31055
31056 Assume C89 offsetof in xterm.c, xlwmenu.c
31057 * lwlib/xlwmenu.c (offset):
31058 * src/xterm.c (cvt_string_to_pixel_args):
31059 Use offsetof, not XtOffset.
31060
31061 2015-04-14 Paul Eggert <eggert@Penguin.CS.UCLA.EDU>
31062
31063 Assume C89 offsetof in widget.c
31064 * src/widget.c (XtOffset): Remove; no longer needed.
31065 (offset): Implement via offsetof instead of via pre-C89 XtOffset hack.
31066
31067 Fix think-o in previous patch
31068 * src/window.c (count_windows, get_leaf_windows):
31069 Don't optimize count_windows incorrectly.
31070
31071 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
31072
31073 Avoid some int overflows in window.c
31074 * src/print.c (print_object):
31075 * src/window.c (sequence_number):
31076 * src/window.h (struct window.sequence_number):
31077 Don't assume window sequence number fits in int.
31078 * src/window.c (window_select_count):
31079 * src/window.h (struct window.use_time, window_select_count):
31080 Don't assume window use time fits in int.
31081 * src/window.c (Fsplit_window_internal):
31082 Don't assume user-supplied integer, or sum, fits in int.
31083 (Fset_window_configuration, count_windows, get_leaf_windows)
31084 (save_window_save, Fcurrent_window_configuration):
31085 Use ptrdiff_t for object counts.
31086 (Fset_window_configuration): Omit unused local 'n'.
31087 (count_windows): Simplify by writing in terms of get_leaf_windows.
31088 (get_leaf_windows): Don't store through FLAT if it's null.
31089 (extract_dimension): New static function.
31090 (set_window_margins, set_window_fringes, set_window_scroll_bars):
31091 Use it to avoid undefined behavior when converting user-supplied
31092 integer to 'int'.
31093
31094 2015-04-13 Glenn Morris <rgm@gnu.org>
31095
31096 Minor doc copyedits
31097 * doc/emacs/custom.texi (Init Examples): Tweak example, replace typo.
31098 * doc/lispintro/emacs-lisp-intro.texi (condition-case): Typo fix.
31099
31100 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
31101
31102 [Gnus] Catch the invalid-operation that idna.el will issue
31103 * lisp/gnus/gnus-art.el (gnus-use-idna):
31104 * lisp/gnus/gnus-sum.el (gnus-summary-idna-message):
31105 * lisp/gnus/message.el (message-use-idna):
31106 Catch the invalid-operation that idna.el will issue.
31107
31108 2015-04-13 Paul Eggert <eggert@cs.ucla.edu>
31109
31110 * doc/lispref/processes.texi (Shell Arguments): Prefer diff -u.
31111
31112 2015-04-13 Sam Steingold <sds@gnu.org>
31113
31114 package--ensure-init-file: widen before looking for
31115 "(package-initialize)"
31116
31117 2015-04-13 Dmitry Gutov <dgutov@yandex.ru>
31118
31119 Change diff-switches default to `-u' (Bug#20290)
31120 * doc/emacs/files.texi (Comparing Files): Document the new default
31121 value of `diff-switches'.
31122 * doc/emacs/trouble.texi (Sending Patches): Document the preference
31123 for unified diff format. Escape the plus in the suggested `-F' regexp
31124 value.
31125 * lisp/vc/diff.el (diff-switches): Change the default to `-u'.
31126
31127 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
31128
31129 (gnus-group--setup-tool-bar-update): Fix last change
31130 * lisp/gnus/gnus-group.el (gnus-group--setup-tool-bar-update):
31131 cursor-sensor-functions should be a list of functions.
31132
31133 2015-04-13 Katsumi Yamaoka <yamaoka@jpl.org>
31134
31135 * lisp/gnus/gnus-topic.el (gnus-topic-mode):
31136 Use gmm-called-interactively-p.
31137
31138 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
31139
31140 * lisp/loadup.el ("cus-start"): Load it after loaddefs.el
31141 (Bug#20321)
31142 * lisp/cus-start.el (read-buffer-function): Don't advertise
31143 iswitchb-read-buffer any more.
31144 (iswitchb): Don't tweak this obsolete group any more.
31145
31146 2015-04-13 Artur Malabarba <bruce.connor.am@gmail.com>
31147
31148 * lisp/emacs-lisp/package.el: Fix package--ensure-init-file.
31149
31150 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Implement docstrings.
31151 Adding a string after a constructor's argument list will use
31152 that string as the constructor function docstring. If this string
31153 is absent but the struct itself was given a docstring, use that as
31154 the constructor's docstring.
31155 Fixes bug#17284.
31156
31157 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
31158
31159 Deprecate `intangible' and `point-entered' properties
31160 * lisp/emacs-lisp/cursor-sensor.el: New file.
31161 * lisp/simple.el (pre-redisplay-functions): New hook.
31162 (redisplay--pre-redisplay-functions): New function.
31163 (pre-redisplay-function): Use it.
31164 (minibuffer-avoid-prompt): Mark obsolete.
31165 (redisplay--update-region-highlight): Adapt it to work as a function on
31166 pre-redisplay-functions.
31167 * lisp/cus-start.el (minibuffer-prompt-properties--setter): New fun.
31168 (minibuffer-prompt-properties): Use it. Use cursor-intangible rather
31169 than point-entered to make the prompt intangible.
31170 * lisp/forms.el: Move `provide' calls to the end.
31171 (forms-mode): Don't use `run-hooks' on a local var.
31172 (forms--make-format, forms--make-format-elt-using-text-properties):
31173 Use cursor-intangible rather than `intangible'.
31174 (forms-mode): Enable cursor-intangible-mode.
31175 * lisp/isearch.el (isearch-mode): Use defvar-local.
31176 (cursor-sensor-inhibit): Declare.
31177 (isearch-mode): Set cursor-sensor-inhibit.
31178 (isearch-done): Set it back.
31179 (isearch-open-overlay-temporary, isearch-open-necessary-overlays)
31180 (isearch-close-unnecessary-overlays): Don't bother with `intangible'
31181 any more.
31182 * lisp/ses.el (ses-localvars): Remove `mode-line-process'.
31183 (ses-sym-rowcol, ses-cell-value, ses-col-width, ses-col-printer):
31184 Add Edebug spec.
31185 (ses-goto-print, ses-print-cell, ses-adjust-print-width)
31186 (ses-goto-data, ses-setup, ses-copy-region): Don't let-bind
31187 inhibit-point-motion-hooks any more.
31188 (ses--cell-at-pos, ses--curcell): New functions, extracted from
31189 ses-set-curcell.
31190 (ses-set-curcell): Use them.
31191 (ses-print-cell, ses-setup): Use cursor-intangible instead of
31192 `intangible'. Make sure cursor-intangible isn't sticky at BOB.
31193 (ses-print-cell-new-width, ses-reprint-all, ses-recalculate-all):
31194 Use ses--cell-at-pos.
31195 (ses--mode-line-process, ses--cursor-sensor-highlight): New functions,
31196 extracted from ses-command-hook. Make them work with multiple windows
31197 displaying the same buffer.
31198 (ses-mode): Use them via mode-line-process and pre-redisplay-functions.
31199 Enable cursor-intangible-mode.
31200 (ses-command-hook): Remove cell highlight and mode-line update code.
31201 (ses-forward-or-insert, ses-copy-region-helper, ses-sort-column):
31202 Update for new name of text-property holding the cell name.
31203 (ses-rename-cell): Don't mess with mode-line-process.
31204 * lisp/erc/erc-stamp.el (erc-add-timestamp): Use the new
31205 cursor-sensor-functions property instead of point-entered.
31206 (erc-insert-timestamp-right, erc-format-timestamp):
31207 Use cursor-intangible rather than `intangible'.
31208 (erc-munge-invisibility-spec): Use add-to-invisibility-spec and
31209 remove-from-invisibility-spec. Enable cursor-intangible-mode and
31210 cursor-sensor-mode if needed.
31211 (erc-echo-timestamp): Adapt to calling convention of
31212 cursor-sensor-functions.
31213 (erc-insert-timestamp-right): Remove unused vars `current-window' and
31214 `indent'.
31215 * lisp/gnus/gnus-group.el (gnus-tmp-*): Declare.
31216 (gnus-update-group-mark-positions): Remove unused `topic' var.
31217 (gnus-group-insert-group-line): Remove unused var `header'.
31218 (gnus-group--setup-tool-bar-update): New function.
31219 (gnus-group-insert-group-line): Use it.
31220 (gnus-group-update-eval-form): Declare local
31221 dynamically-bound variables.
31222 (gnus-group-unsubscribe-group): Use \` and \' to match string bounds.
31223 * lisp/gnus/gnus-topic.el (gnus-topic-jump-to-topic)
31224 (gnus-group-prepare-topics, gnus-topic-update-topic)
31225 (gnus-topic-change-level, gnus-topic-catchup-articles)
31226 (gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
31227 Use inhibit-read-only.
31228 (gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
31229 (gnus-topic-mode): Use define-minor-mode and derived-mode-p.
31230 * lisp/textmodes/reftex-index.el (reftex-display-index):
31231 Use cursor-intangible-mode if available.
31232 (reftex-index-post-command-hook): Check cursor-intangible.
31233 * lisp/textmodes/reftex-toc.el (reftex-toc):
31234 Use cursor-intangible-mode if available.
31235 (reftex-toc-recenter, reftex-toc-post-command-hook):
31236 Check cursor-intangible.
31237 * lisp/textmodes/sgml-mode.el: Use lexical-binding.
31238 (sgml-tag): Use cursor-sensor-functions instead of point-entered.
31239 (sgml-tags-invisible): Use with-silent-modifications and
31240 inhibit-read-only. Enable cursor-sensor-mode.
31241 (sgml-cursor-sensor): Rename from sgml-point-entered and adjust to
31242 calling convention of cursor-sensor-functions.
31243 * lisp/textmodes/table.el (table-cell-map-hook, table-load-hook)
31244 (table-point-entered-cell-hook, table-point-left-cell-hook):
31245 Don't autoload.
31246 (table-cell-entered-state): Remove var.
31247 (table--put-cell-point-entered/left-property)
31248 (table--remove-cell-properties):
31249 Use cursor-sensor-functions rather than point-entered/left.
31250 (table--point-entered/left-cell-function): Merge
31251 table--point-entered-cell-function and table--point-left-cell-function
31252 and adjust to calling convention of cursor-sensor-functions.
31253
31254 Update ldef-boots.el
31255
31256 * lisp/emacs-lisp/pcase.el (pcase-dolist): Autoload as well.
31257
31258 * doc/misc/eieio.texi: Don't advertise now obsolete constructs
31259
31260 Collapse successive char deletions in the undo log
31261 * src/cmds.c (remove_excessive_undo_boundaries): New function,
31262 extracted from Fself_insert_command.
31263 (Fdelete_char, Fself_insert_command): Use it.
31264 * src/fileio.c (Fmake_symbolic_link): Rename arg to `target'.
31265 * src/keyboard.c (syms_of_keyboard): `top-level' shouldn't be special.
31266
31267 xterm and OSC 52: Add NEWS entry, and tweak the code
31268 * lisp/term/xterm.el (gui-set-selection) <nil>: Move method definition
31269 to top-level.
31270 (terminal-init-xterm-activate-set-selection): Set a terminal property.
31271 (xterm--set-selection): Use it instead of checking the value of
31272 `terminal-initted'. Don't use string-bytes.
31273
31274 2015-04-13 Philipp Stephani <p.stephani2@gmail.com>
31275
31276 xterm.el: Implement OSC-52 functionality for setting the X selection
31277 * lisp/term/xterm.el (xterm-max-cut-length): New var.
31278 (xterm--set-selection, terminal-init-xterm-activate-set-selection):
31279 New funs.
31280 (terminal-init-xterm, xterm--version-handler): Use them.
31281
31282 2015-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
31283
31284 Remove left over code from when we used an obsolete/loaddefs.el file
31285 * lisp/subr.el (do-after-load-evaluation): Remove left over code from
31286 when we used an obsolete/loaddefs.el file.
31287
31288 * lisp/cedet/semantic/fw.el (semantic-exit-on-input)
31289 (semanticdb-without-unloaded-file-searches): Use declare.
31290 (semantic-fw-add-edebug-spec): Remove.
31291
31292 * lisp/completion.el (completion-lisp-mode-hook):
31293 Use completion-separator-chars rather than local key binding.
31294
31295 * src/*.c: Set deactivate_mark buffer-locally
31296 (Bug#20260)
31297 * src/insdel.c (prepare_to_modify_buffer_1):
31298 * src/fileio.c (Finsert_file_contents): Set deactivate_mark
31299 buffer-locally.
31300
31301 2015-04-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
31302
31303 python.el: Keep symmetry on sexp navigation with parens
31304 (Bug#19954)
31305 * lisp/progmodes/python.el
31306 (python-nav--forward-sexp): Add argument skip-parens-p.
31307 (python-nav-forward-sexp, python-nav-backward-sexp)
31308 (python-nav-forward-sexp-safe)
31309 (python-nav-backward-sexp-safe): Use it.
31310 * test/automated/python-tests.el
31311 (python-nav-forward-sexp-1): Fix test.
31312
31313 2015-04-12 João Távora <joaotavora@gmail.com>
31314
31315 Don't use `setq-local' in Gnus code
31316 This might break upstream builds with older Emacsen
31317 * lisp/gnus/message.el (message-mode): Use `set' and
31318 `make-local-variable' instead of `setq-local'.
31319
31320 2015-04-12 Paul Eggert <eggert@cs.ucla.edu>
31321
31322 Update Makefile.in's .PHONY dependencies
31323 * Makefile.in (change-history-commit, master-branch-is-current)
31324 (no-ChangeLog): Now phony.
31325
31326 Remove configure's --with-mmdf option
31327 * configure.ac (MAIL_USE_MMDF): Remove.
31328 * etc/NEWS: Document this.
31329 * lib-src/movemail.c: Assume MAIL_USE_MMDF is not defined.
31330 (Bug#20308)
31331
31332 * doc/man/ChangeLog.01: Rename from doc/man/ChangeLog.1.
31333 That way, 'make install' won't think it's a man page.
31334 Reported by Ashish SHUKLA in:
31335 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00656.html
31336
31337 Improve 'make change-history' prereq tests
31338 * Makefile.in (gen_origin): Fix to match what's in the master branch.
31339 (no-ChangeLog, master-branch-is-current): New rules.
31340 (change-history): Depend on them, to avoid similar future problems.
31341 Escape the local-variables string to pacify Emacs when editing
31342 Makefile.in.
31343
31344 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
31345
31346 * test/automated/package-test.el (with-package-test):
31347 Kill Packages buffer.
31348
31349 * lisp/emacs-lisp/package.el: Improve transaction y-or-n prompt.
31350 (package-menu--prompt-transaction-p): Prompt for "Delete" first,
31351 "Upgrade" last, and use capitalized instead of all-caps.
31352
31353 * lisp/emacs-lisp/package.el: Completely silence async operations.
31354 (package--make-autoloads-and-stuff): Silence autoloads.
31355 (package--save-selected-packages): New function, silences
31356 `customize-save-variable'.
31357 (package--user-selected-p, package-install-from-buffer)
31358 (package-delete, package-install): Use it.
31359 (package-install-from-archive)
31360 (package-menu--perform-transaction): Silence.
31361 (package-menu-execute): Feedback when operation starts.
31362
31363 Use delay-mode-hooks when visiting the init-file
31364 * lisp/emacs-lisp/package.el (package--ensure-init-file):
31365 delay-mode-hooks.
31366 * lisp/cus-edit.el (custom-save-all): delay-mode-hooks.
31367
31368 * lisp/files.el: Only message when saving if save-silently is nil.
31369 (save-silently): New variable.
31370 (files--message): New function.
31371 (find-file-noselect, save-buffer, basic-save-buffer)
31372 (basic-save-buffer-2, save-some-buffers, not-modified)
31373 (append-to-file): Use them.
31374
31375 2015-04-12 Johan Bockgård <bojohan@gnu.org>
31376
31377 Support debug declarations in pcase macros
31378 * lisp/emacs-lisp/pcase.el (pcase-MACRO): New edebug spec.
31379 (pcase-UPAT): Use it. Remove "`".
31380 (pcase--edebug-match-macro): New function.
31381 (pcase-defmacro): Support debug declarations.
31382 * lisp/emacs-lisp/cl-macs.el (cl-struct) <pcase-defmacro>:
31383 * lisp/emacs-lisp/eieio.el (eieio) <pcase-defmacro>:
31384 * lisp/emacs-lisp/pcase.el (\`): <pcase-defmacro>:
31385 Add debug declaration.
31386
31387 pcase.el: Edebug support for `app' and vector patterns
31388 * lisp/emacs-lisp/pcase.el (pcase-FUN): New edebug spec.
31389 (pcase-UPAT): Use it. Support `app' patterns.
31390 (pcase-QPAT): Support vector patterns.
31391
31392 edebug.el: Disambiguate vector specifications
31393 * lisp/emacs-lisp/edebug.el (edebug-match-list): Always treat
31394 `(vector ...)' as a vector specification, not as a sublist.
31395
31396 (gnus-summary-refer-thread): Don't clobber unread articles
31397 This fixes a bug where `A T' causes "random" articles to become marked
31398 as read.
31399 * lisp/gnus/gnus-sum.el (gnus-summary-refer-thread): Make sure
31400 gnus-newsgroup-unreads remains sorted.
31401
31402 mouse-sel.el: Fix mouse-sel-get-selection-function
31403 * lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
31404 Use gui--last-selected-text-primary instead of no longer existing
31405 gui-last-selected-text.
31406
31407 * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL.
31408
31409 * lisp/net/nsm.el (nsm-query-user): Use cursor-in-echo-area.
31410
31411 2015-04-12 Artur Malabarba <bruce.connor.am@gmail.com>
31412
31413 * lisp/emacs-lisp/package.el (list-packages): Avoid redundant generate.
31414
31415 * lisp/emacs-lisp/package.el (list-packages): Call refresh in
31416 right buffer.
31417
31418 * lisp/emacs-lisp/bytecomp.el: Silence noninteractive compilations.
31419 (byte-compile--interactive): New var.
31420 (byte-compile--message): New function.
31421 (byte-compile-log-1, byte-force-recompile)
31422 (byte-recompile-directory, byte-recompile-file)
31423 (byte-compile-file, compile-defun)
31424 (byte-compile-file-form-defmumble, byte-compile)
31425 (byte-compile-file-form-defalias, display-call-tree): Use it.
31426
31427 * lisp/files.el: Don't message when nothing happened.
31428 (save-some-buffers, basic-save-buffer): Before messaging to say
31429 "nothing was saved" check if (called-interactively-p 'any).
31430
31431 2015-04-12 João Távora <joaotavora@gmail.com>
31432
31433 Summary: Improve sexp-based movement in message-mode
31434 Works by giving citations and smileys a different syntax. This helps
31435 modes like `show-paren-mode', `electric-pair-mode', and C-M-*
31436 sexp-based movement.
31437 * lisp/gnus/message.el (message--syntax-propertize): New function.
31438 (message-mode): Set syntax-related vars.
31439 (message-smileys): New variable.
31440 * test/automated/message-mode-tests.el: New file
31441
31442 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
31443
31444 Use bool for boolean in window.c
31445 * src/window.c: Omit unnecessary static function decls.
31446 (adjust_window_count, select_window, Fselect_window)
31447 (window_body_width, Fwindow_body_height, Fwindow_body_width)
31448 (set_window_hscroll, check_window_containing, Fwindow_at)
31449 (Fwindow_end, Fset_window_start, Fpos_visible_in_window_p)
31450 (unshow_buffer, replace_window, recombine_windows)
31451 (add_window_to_list, candidate_window_p, next_window)
31452 (Fnext_window, Fprevious_window, window_loop, check_all_windows)
31453 (Fget_buffer_window, Fdelete_other_windows_internal)
31454 (replace_buffer_in_windows_safely, set_window_buffer)
31455 (Fset_window_buffer, Fforce_window_update)
31456 (temp_output_buffer_show, make_parent_window)
31457 (window_resize_check, window_resize_apply, Fwindow_resize_apply)
31458 (resize_frame_windows, Fsplit_window_internal)
31459 (Fdelete_window_internal, grow_mini_window, shrink_mini_window)
31460 (Fresize_mini_window_internal, mark_window_cursors_off)
31461 (window_scroll, window_scroll_pixel_based)
31462 (window_scroll_line_based, scroll_command, Fscroll_other_window)
31463 (Fscroll_left, Fscroll_right, displayed_window_lines, Frecenter)
31464 (Fmove_to_window_line, Fset_window_configuration)
31465 (delete_all_child_windows, apply_window_adjustment)
31466 (set_window_fringes, set_window_scroll_bars)
31467 (Fset_window_vscroll, foreach_window, foreach_window_1)
31468 (compare_window_configurations, Fcompare_window_configurations):
31469 Prefer 'bool', 'true', and 'false' for booleans.
31470 * src/window.h (WINDOW_MODE_LINE_LINES)
31471 (WINDOW_HEADER_LINE_LINES): Omit unnecessary "!!" on bool value.
31472
31473 2015-04-11 Artur Malabarba <bruce.connor.am@gmail.com>
31474
31475 Speed up byte-compilation and autoload generation by avoiding mode-hooks
31476 This prevents emacs-lisp-mode-hook from being run everytime an
31477 autoload file is generated, which can account for a fraction of
31478 package installation time depending on the hooks the user has
31479 configured.
31480 * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use delay-mode-hooks.
31481 * lisp/emacs-lisp/autoload.el (autoload-find-file)
31482 (autoload-find-generated-file): Use delay-mode-hooks.
31483
31484 * lisp/emacs-lisp/package.el: Improve `package-menu-refresh'.
31485 (package-menu-refresh): Respect async and do new package checking.
31486 (list-packages): Use `package-menu-refresh' instead of repeating code.
31487
31488 * lisp/emacs-lisp/package.el: Improve package-menu-quick-help.
31489 (package--quick-help-keys): New variable.
31490 (package--prettify-quick-help-key): New function.
31491 (package-menu-quick-help): Use it.
31492
31493 * lisp/emacs-lisp/package.el: Fix initially wrong compat table.
31494 (package--build-compatibility-table): Require finder.
31495
31496 * test/automated/package-test.el: Fix new test.
31497
31498 * lisp/emacs-lisp/package.el: Silence async operations.
31499 (package--silence): New variable.
31500 (package--message): New function.
31501 (package-import-keyring, package-refresh-contents)
31502 (package-compute-transaction, package-install, package-delete)
31503 (package-menu--perform-transaction, package-menu-execute): Use it.
31504
31505 * test/automated/package-test.el: Test async functionality.
31506 (package-test-update-archives-async): New test.
31507
31508 2015-04-11 Daiki Ueno <ueno@gnu.org>
31509
31510 Utilize `make-process' in epg.el
31511 * lisp/epg.el (epg-error-output): Abolish.
31512 (epg-context): New slot `error-buffer'.
31513 (epg--start): Use `make-process' and `make-pipe-process'.
31514 (epg--process-filter): Remove code separating stderr from stdout.
31515 (epg-wait-for-completion): Simplify `error-output' handling.
31516 (epg-reset): Dispose error buffer.
31517
31518 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
31519
31520 * .gitignore: Ignore doc temps and outputs.
31521
31522 Port commit-msg to MSYS Bash+Gawk
31523 See Eli Zaretskii in:
31524 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00610.html
31525 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format)
31526 (cent_sign, print_at_sign, at_sign): Revert previous change.
31527 (print_at_sign): Prepend "BEGIN".
31528 (at_sign): Redirect from /dev/null to be safer with pre-POSIX awk.
31529
31530 Port commit-msg to broken MS-Windows shell
31531 * build-aux/git-hooks/commit-msg (cent_sign):
31532 Just use UTF-8 here rather than ASCII + printf, as the latter fails
31533 on a broken MS-Windows shell. Reported by Eli Zaretskii in:
31534 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00592.html
31535
31536 2015-04-11 Chris Zheng <chriszheng99@gmail.com> (tiny change)
31537
31538 Support GnuTLS v3.4 and later on MS-Windows
31539 * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
31540 * lisp/term/w32-win.el (dynamic-library-alist): Determine which
31541 GnuTLS DLL to load according to value of libgnutls-version.
31542 (Bug#20294)
31543
31544 2015-04-11 Paul Eggert <eggert@cs.ucla.edu>
31545
31546 Minor quoting etc. fixes to misc manuals
31547 Fix some minor quoting and spacing issues. Distinguish more
31548 clearly among grave accent and apostrophe (which are ASCII) and
31549 single quote (which is not). Prefer the standard terms
31550 "apostrophe" and "grave accent" to alternative names that can be
31551 confusing. Use apostrophes to single-quote ASCII text.
31552 * doc/misc/remember.texi: Spell the mystic's pseudonym in UTF-8
31553 rather than approximating it in ASCII with grave accent.
31554
31555 2015-04-11 Daiki Ueno <ueno@gnu.org>
31556
31557 Respect more keyword args in `make-process'
31558 * src/process.c (Fmake_process): Respect `:sentinel' and `:filter'
31559 keywords as documented.
31560
31561 2015-04-10 Dmitry Gutov <dgutov@yandex.ru>
31562
31563 Extract ChangeLog entries when committing a directory
31564 * lisp/vc/vc-dispatcher.el (vc-log-edit): Update FIXME comment.
31565 * lisp/vc/log-edit.el (log-edit-changelog-insert-entries):
31566 Add a FIXME comment.
31567 (log-edit-changelog-entries): Extract from
31568 `log-edit-changelog-entries', handle FILE being a directory
31569 (http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00555.html).
31570
31571 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
31572
31573 Fix problems found by --enable-gcc-warnings
31574 * src/process.c (create_process, Fmake_pipe_process)
31575 (Fmake_network_process): Omit unused locals.
31576
31577 Fix commit-msg to handle scissors lines
31578 * build-aux/git-hooks/commit-msg:
31579 Ignore every line after a scissors line, such as a line generated
31580 by 'git commit -v'. Problem reported by Johan Bockgård in:
31581 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00580.html
31582
31583 port commit-msg to Gawk 3.0.4 (1999)
31584 * build-aux/git-hooks/commit-msg (cent_sign_utf8_format, cent_sign)
31585 (print_at_sign, at_sign): New vars. Use them to avoid problems
31586 Eli Zaretskii encountered with Gawk 3.0.4 (1999) on MSYS. See:
31587 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
31588
31589 Have commit-msg report commit failure
31590 * build-aux/git-hooks/commit-msg: If the commit is aborted,
31591 say so. Simplify by doing this at the end. Problem reported
31592 by Eli Zaretskii in:
31593 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00566.html
31594
31595 2015-04-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
31596
31597 Clean up LDAP Configuration section of EUDC manual
31598 * doc/misc/eudc.texi: Combine indices.
31599 (LDAP Configuration): Use command markup. Add index entries.
31600 Change formatting. Wrap long lines. Add noindent markup.
31601
31602 2015-04-10 Daiki Ueno <ueno@gnu.org>
31603
31604 Add facility to collect stderr of async subprocess
31605 * src/w32.h (register_aux_fd): New function declaration.
31606 * src/w32.c (register_aux_fd): New function.
31607 * src/process.h (struct Lisp_Process): New member stderrproc.
31608 * src/process.c (PIPECONN_P): New macro.
31609 (PIPECONN1_P): New macro.
31610 (Fdelete_process, Fprocess_status, Fset_process_buffer)
31611 (Fset_process_filter, Fset_process_sentinel, Fstop_process)
31612 (Fcontinue_process): Handle pipe process specially.
31613 (create_process): Respect p->stderrproc.
31614 (Fmake_pipe_process): New function.
31615 (Fmake_process): Add new keyword argument :stderr.
31616 (wait_reading_process_output): Specially handle a pipe process when
31617 it gets an EOF.
31618 (syms_of_process): Register Qpipe and Smake_pipe_process.
31619 * doc/lispref/processes.texi (Asynchronous Processes): Document
31620 `make-pipe-process' and `:stderr' keyword of `make-process'.
31621 * lisp/subr.el (start-process): Suggest to use `make-process' handle
31622 standard error separately.
31623 * test/automated/process-tests.el (process-test-stderr-buffer)
31624 (process-test-stderr-filter): New tests.
31625 * etc/NEWS: Mention new process type `pipe' and its usage with the
31626 `:stderr' keyword of `make-process'.
31627
31628 2015-04-10 Paul Eggert <eggert@cs.ucla.edu>
31629
31630 Minor quoting etc. fixes to lispref manual
31631 * doc/lispref/tips.texi (Documentation Tips):
31632 Distinguish more clearly among grave accent, apostrophe,
31633 and single quote.
31634 * doc/lispref/README, doc/lispref/buffers.texi:
31635 * doc/lispref/commands.texi, doc/lispref/control.texi:
31636 * doc/lispref/customize.texi, doc/lispref/display.texi:
31637 * doc/lispref/elisp.texi, doc/lispref/files.texi:
31638 * doc/lispref/frames.texi, doc/lispref/hash.texi:
31639 * doc/lispref/help.texi, doc/lispref/internals.texi:
31640 * doc/lispref/loading.texi, doc/lispref/makefile.w32-in:
31641 * doc/lispref/markers.texi, doc/lispref/modes.texi:
31642 * doc/lispref/nonascii.texi, doc/lispref/objects.texi:
31643 * doc/lispref/os.texi, doc/lispref/positions.texi:
31644 * doc/lispref/strings.texi, doc/lispref/syntax.texi:
31645 * doc/lispref/text.texi, doc/lispref/tips.texi:
31646 * doc/lispref/two-volume-cross-refs.txt, doc/lispref/windows.texi:
31647 Use American-style double quoting in ordinary text,
31648 and quote 'like this' when single-quoting in ASCII text.
31649 Also, fix some minor spacing issues.
31650
31651 2015-04-10 Michael Albinus <michael.albinus@gmx.de>
31652
31653 Handle symlinked test directory in tramp-tests.el
31654 * test/automated/tramp-tests.el (tramp-test18-file-attributes)
31655 (tramp--test-check-files): Use `file-truename' for directories.
31656
31657 2015-04-10 Eli Zaretskii <eliz@gnu.org>
31658
31659 Fix 'recenter' when visual-line-mode is turned on
31660 * src/window.c (Frecenter): Use the same code for GUI and TTY
31661 frames alike; use vmotion only for "initial" frames. This is
31662 because vmotion doesn't support visual-line-mode. Rewrite the
31663 'iarg >= 0' case to use move_it_* functions instead of using
31664 vmotion, for the same reason. Fix the clipping of the argument
31665 value to support scroll-margin in all cases and avoid unwarranted
31666 recentering. Reported by Milan Stanojević <milanst@gmail.com> in
31667 http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
31668 which see.
31669
31670 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
31671
31672 * lisp/abbrev.el (define-abbrev-table): Refine last change.
31673
31674 * lisp/emacs-lisp/cl-lib.el: Partial revert of "2015-04-05 Rationalize
31675 use of c[ad]+r", so as to keep the "cl-" prefix on all
31676 cl-lib definitions.
31677
31678 * lisp/progmodes/vhdl-mode.el (vhdl-prepare-search-2):
31679 Use inhibit-point-motion-hooks.
31680
31681 * lisp/cedet/semantic: Remove some dead code.
31682 * lisp/cedet/semantic/util-modes.el
31683 (semantic-stickyfunc-header-line-format): Emacs<22 is not supported
31684 any more.
31685 * lisp/cedet/semantic/fw.el (semantic-buffer-local-value): Emacs<21 is
31686 not supported any more.
31687 (semantic-safe): Use `declare'.
31688 * lisp/cedet/semantic/decorate.el (semantic-set-tag-intangible)
31689 (semantic-tag-intangible-p): Remove unused functions.
31690 * lisp/cedet/semantic/complete.el (semantic-displayor-window-edges):
31691 Remove unused function.
31692
31693 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Simplify.
31694 (gnus-article-hide-text, gnus-article-unhide-text)
31695 (gnus-article-unhide-text-type): Remove special handling of
31696 `intangible' since that property is not used any more.
31697 (gnus-article-treat-body-boundary): Use gnus-hidden-properties.
31698
31699 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
31700
31701 Use the VC root in `log-edit-listfun'
31702 * lisp/vc/vc-dispatcher.el (vc-log-edit): Use the VC root in
31703 `log-edit-listfun'.
31704
31705 2015-04-09 Jay Belanger <jay.p.belanger@gmail.com>
31706
31707 Fix description of Unix time, mention new function.
31708 * lisp/calc/calc-forms.el (calcFunc-unixtime): Fix adjustment for
31709 Unix time.
31710 * doc/misc/calc.texi (Date Forms): Fix description of Unix time.
31711 (Basic Operations on Units): Mention `calc-convert-exact-units'.
31712
31713 2015-04-09 Artur Malabarba <bruce.connor.am@gmail.com>
31714
31715 * lisp/emacs-lisp/package.el: Use mode-line-process for notification.
31716
31717 2015-04-09 Dmitry Gutov <dgutov@yandex.ru>
31718
31719 * lisp/vc/log-edit.el (log-edit-insert-changelog-entries):
31720 Don't add newline after the last entry.
31721
31722 2015-04-09 Simen Heggestøyl <simenheg@gmail.com>
31723
31724 css-mode.el: Add "not" pseudo-class
31725 (Bug#20267)
31726 * lisp/textmodes/css-mode.el (css-pseudo-class-ids): Add "not" to
31727 list of CSS pseudo-classes.
31728
31729 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
31730
31731 * etc/NEWS: Add missing entry for "Stop messing with the EMACS env var".
31732
31733 2015-04-09 Michael Albinus <michael.albinus@gmx.de>
31734
31735 Stop messing with the EMACS env var
31736 * doc/emacs/misc.texi (Interactive Shell): Remove description of
31737 EMACS env var.
31738
31739 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
31740
31741 Adapt 'make change-history' to coding cookie
31742 * Makefile.in (change-history): Adjust to change of format of
31743 ChangeLog file, which now has a coding cookie before an indented
31744 copyright notice.
31745
31746 2015-04-09 Paul Eggert <eggert@cs.ucla.edu>
31747
31748 Adapt 'make change-history' to coding cookie
31749 * Makefile.in (change-history): Adjust to change of format of
31750 ChangeLog file, which now has a coding cookie before an indented
31751 copyright notice.
31752
31753 gitlog-to-changelog coding cookie and mv -i
31754 * build-aux/gitlog-to-emacslog: Use ChangeLog.1, not Makefile.in,
31755 for copyright notice prototype, so that we get a proper "coding:"
31756 cookie. Use 'mv -i' to avoid unconditionally overwriting an
31757 existing ChangeLog. Problems reported by Eli Zaretskii in:
31758 http://lists.gnu.org/archive/html/emacs-devel/2015-04/msg00504.html
31759
31760 Merge from gnulib
31761 * build-aux/gitlog-to-changelog: Update from gnulib, incorporating:
31762 2015-04-09 gitlog-to-changelog: port to MS-Windows
31763
31764 2015-04-09 Boruch Baum <boruch_baum@gmx.com> (tiny change)
31765
31766 * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop.
31767 (Bug#20212)
31768
31769 2015-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
31770
31771 Stop messing with the EMACS env var
31772 (Bug#20202)
31773 * lisp/net/tramp-sh.el (tramp-remote-process-environment):
31774 * lisp/comint.el (comint-exec-1):
31775 * lisp/term.el (term-exec-1): Don't set EMACS envvar.
31776 * lisp/progmodes/compile.el (compilation-start): Same and bring
31777 INSIDE_EMACS's format in line with other users.
31778
31779 css-mode.el (css-smie-rules): Fix indentation after complex selectors
31780 (Bug#20282)
31781 * lisp/textmodes/css-mode.el (css-smie-rules): Don't get confused by
31782 inner structure of selectors.
31783
31784 2015-04-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
31785
31786 python.el: Indent docstring lines to base-indent
31787 (Bug#19595)
31788 Thanks to immerrr <immerrr@gmail.com> for reporting and providing
31789 an initial patch.
31790 * lisp/progmodes/python.el
31791 (python-indent-context): Add :inside-docstring context.
31792 (python-indent--calculate-indentation): Handle :inside-docstring.
31793 (python-indent-region): Re-indent docstrings.
31794 * test/automated/python-tests.el (python-indent-region-5)
31795 (python-indent-inside-string-2): Fix tests.
31796
31797 python.el: Increase native completion robustness
31798 (Bug#19755)
31799 Thanks to Carlos Pita <carlosjosepita@gmail.com> for reporting
31800 this and providing useful ideas.
31801 * lisp/progmodes/python.el
31802 (python-shell-completion-native-output-timeout): Increase value.
31803 (python-shell-completion-native-try-output-timeout): New var.
31804 (python-shell-completion-native-try): Use it.
31805 (python-shell-completion-native-setup): New readline setup avoids
31806 polluting current context, ensures output when no-completions are
31807 available and includes output end marker.
31808 (python-shell-completion-native-get-completions): Trigger with one
31809 tab only. Call accept-process-output until output end is found or
31810 python-shell-completion-native-output-timeout is exceeded.
31811
31812 2015-04-08 Samer Masterson <samer@samertm.com>
31813
31814 * lisp/eshell: Make backslash a no-op in front of normal chars
31815 (Bug#8531)
31816 * lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
31817 (eshell-parse-backslash): Return escaped character after backslash
31818 if it is special. Otherwise, if the backslash is not in a quoted
31819 string, ignore the backslash and return the character after; if
31820 the backslash is in a quoted string, return the backslash and the
31821 character after.
31822 * test/automated/eshell.el (eshell-test/escape-nonspecial)
31823 (eshell-test/escape-nonspecial-unicode)
31824 (eshell-test/escape-nonspecial-quoted)
31825 (eshell-test/escape-special-quoted): Add tests for new
31826 `eshell-parse-backslash' behavior.
31827
31828 2015-04-08 Gustav Hållberg <gustav@gmail.com> (tiny change)
31829
31830 * lisp/vc/diff-mode.el (diff-hunk-file-names): Don't require a TAB
31831 after the file name.
31832 (Bug#20276)
31833
31834 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
31835
31836 Minor quoting etc. fixes to Emacs manual
31837 * doc/emacs/Makefile.in, doc/emacs/ack.texi, doc/emacs/building.texi:
31838 * doc/emacs/calendar.texi, doc/emacs/cmdargs.texi:
31839 * doc/emacs/custom.texi, doc/emacs/dired.texi, doc/emacs/emacs.texi:
31840 * doc/emacs/files.texi, doc/emacs/glossary.texi, doc/emacs/gnu.texi:
31841 * doc/emacs/indent.texi, doc/emacs/macos.texi:
31842 * doc/emacs/maintaining.texi, doc/emacs/makefile.w32-in:
31843 * doc/emacs/programs.texi, doc/emacs/rmail.texi:
31844 * doc/emacs/search.texi, doc/emacs/trouble.texi:
31845 * doc/emacs/vc1-xtra.texi:
31846 Use American-style double quoting in ordinary text,
31847 and quote 'like this' when single-quoting in ASCII text.
31848 Also, fix some minor spacing issues.
31849
31850 Minor quoting etc. fixes to elisp intro
31851 * doc/lispintro/emacs-lisp-intro.texi: Consistently use
31852 American-style double quoting in ordinary text. In ASCII text,
31853 consistently quote 'like this' instead of `like this', unless
31854 Emacs requires the latter.
31855
31856 2015-04-08 Dmitry Gutov <dgutov@yandex.ru>
31857
31858 * CONTRIBUTE: Mention log-edit-insert-changelog.
31859
31860 * CONTRIBUTE: Emphasize creating the top-level ChangeLog file manually.
31861
31862 2015-04-08 Paul Eggert <eggert@cs.ucla.edu>
31863
31864 * doc/misc/calc.texi (Summary): Avoid '@:' when usurped.
31865
31866 2015-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
31867
31868 * lisp/emacs-lisp/eieio-core.el (eieio-copy-parents-into-subclass):
31869 Fix inheritance of initargs. (Bug#20270)
31870
31871 2015-04-08 Artur Malabarba <bruce.connor.am@gmail.com>
31872
31873 * lisp/emacs-lisp/package.el (package-menu-mode): Mode-line notification
31874 while dowloading information.
31875
31876 * lisp/emacs-lisp/package.el: More conservative `ensure-init-file'
31877 (package--ensure-init-file): Check file contents before visiting.
31878 (package-initialize): Call it.
31879 (package-install-from-buffer, package-install): Don't call it.
31880
31881 2015-04-08 Eli Zaretskii <eliz@gnu.org>
31882
31883 * src/eval.c (init_eval_once): Bump max_lisp_eval_depth to 800.
31884 (Bug#17517)
31885
31886 2015-04-08 Michael Albinus <michael.albinus@gmx.de>
31887
31888 * lisp/net/tramp-cache.el (tramp-flush-file-property):
31889 Fix nasty scoping bug.
31890
31891 2015-04-08 Tassilo Horn <tsdh@gnu.org>
31892
31893 Add notice to visual commands section
31894 * doc/misc/eshell.texi (Input/Output): Add notice that some tools
31895 such as git call less with its -F option which omits pagination if
31896 the contents is less than one page long. This interferes with
31897 eshell's visual (sub-)commands.
31898
31899 2015-04-07 Dmitry Gutov <dgutov@yandex.ru>
31900
31901 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support
31902 environment variable expansion in file names. (Bug#19839)
31903
31904 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
31905
31906 Prefer double-quote to accent-grave in man pages
31907
31908 2015-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
31909
31910 (Bug#20257)
31911 * lisp/files.el (set-visited-file-name): Clear auto-save if nil.
31912
31913 2015-04-07 Ivan Shmakov <ivan@siamics.net>
31914
31915 Update etc/PROBLEMS.
31916 * etc/PROBLEMS: Mention visible-cursor; a few more mentions of
31917 ~/.Xresources and xrdb(1); refer to 'GNU Coreutils' and
31918 'X Window System' or 'X' (were: 'GNU Fileutils' and 'X Windows',
31919 respectively); other minor updates and tweaks. (Bug#20011)
31920
31921 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
31922
31923 Add doc strings for some Isearch state vars
31924 * lisp/misearch.el (multi-isearch-buffer-list)
31925 (multi-isearch-file-list): Add doc strings.
31926 (Bug#20232)
31927
31928 2015-04-07 Alan Mackenzie <acm@muc.de>
31929
31930 Always mark "<" and ">" in #include directives with text properties.
31931 * lisp/progmodes/cc-fonts.el (c-cpp-matchers): Replace a font-lock
31932 "anchored matcher" with an invocation of
31933 c-make-font-lock-search-function to allow fontification when there's
31934 no trailing space on an "#include <..>" line.
31935
31936 2015-04-07 Paul Eggert <eggert@cs.ucla.edu>
31937
31938 Generate a ChangeLog file from commit logs
31939 * .gitignore: Add 'ChangeLog'.
31940 * build-aux/gitlog-to-changelog: New file, from Gnulib.
31941 * build-aux/gitlog-to-emacslog: New file.
31942 * CONTRIBUTE: Document the revised workflow.
31943 * Makefile.in (clean): Remove *.tmp and etc/*.tmp*
31944 instead of just special cases.
31945 (CHANGELOG_HISTORY_INDEX_MAX, CHANGELOG_N, gen_origin): New vars.
31946 (ChangeLog, unchanged-history-files, change-history)
31947 (change-history-commit): New rules.
31948 * admin/admin.el (make-manuals-dist--1):
31949 Don't worry about doc/ChangeLog.
31950 * admin/authors.el: Add a FIXME.
31951 * admin/make-tarball.txt:
31952 * lisp/calendar/icalendar.el:
31953 * lisp/gnus/deuglify.el:
31954 * lisp/obsolete/gulp.el:
31955 * lwlib/README:
31956 Adjust to renamed ChangeLog history files.
31957 * admin/merge-gnulib (GNULIB_MODULES): Add gitlog-to-changelog.
31958 * admin/notes/repo: Call it 'master' a la Git, not 'trunk' a la Bzr.
31959 Remove obsolete discussion of merging ChangeLog files.
31960 New section "Maintaining ChangeLog history".
31961 * build-aux/git-hooks/pre-commit:
31962 Reject attempts to commit files named 'ChangeLog'.
31963 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
31964 * make-dist: Make and distribute top-level ChangeLog if there's a
31965 .git directory. Distribute the new ChangeLog history files
31966 instead of scattered ChangeLog files. Distribute the new files
31967 gitlog-to-changelog and gitlog-to-emacslog.
31968 (Bug#19113)
31969
31970 Rename ChangeLogs for gitlog-to-changelog
31971 This patch was implemented via the following shell commands:
31972 find * -name ChangeLog |
31973 sed 's,.*,git mv & &.1,
31974 s, lisp/ChangeLog\.1$, lisp/ChangeLog.17,
31975 s, lisp/erc/ChangeLog\.1$, lisp/erc/ChangeLog.09,
31976 s, lisp/gnus/ChangeLog\.1$, lisp/gnus/ChangeLog.3,
31977 s, lisp/mh-e/ChangeLog\.1$, lisp/mh-e/ChangeLog.2,
31978 s, src/ChangeLog\.1$, src/ChangeLog.13,' |
31979 sh
31980 git commit -am"[this commit message]"
31981
31982 This file records repository revisions from
31983 commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
31984 2016-01-30f9a297dc45a40c9b7175715ffe4f1612 (inclusive).
31985 commit 8cdb9ac0fb060366bc823de84ecdba258716addb (inclusive).
31986 See ChangeLog.1 for earlier changes.
31987
31988 ;; Local Variables:
31989 ;; coding: utf-8
31990 ;; End:
31991
31992 Copyright (C) 2015-2016 Free Software Foundation, Inc.
31993
31994 This file is part of GNU Emacs.
31995
31996 GNU Emacs is free software: you can redistribute it and/or modify
31997 it under the terms of the GNU General Public License as published by
31998 the Free Software Foundation, either version 3 of the License, or
31999 (at your option) any later version.
32000
32001 GNU Emacs is distributed in the hope that it will be useful,
32002 but WITHOUT ANY WARRANTY; without even the implied warranty of
32003 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32004 GNU General Public License for more details.
32005
32006 You should have received a copy of the GNU General Public License
32007 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.